Searched refs:last (Results 1 - 25 of 37) sorted by relevance

12

/gem5/ext/systemc/src/sysc/utils/
H A Dsc_hash.cpp155 sc_phash_elem** last = &(bins[hash_val]); local
156 sc_phash_elem* ptr = *last;
161 last = &(ptr->next);
162 ptr = *last;
165 *last = ptr->next;
168 last = &(bins[hash_val]);
170 if (plast) *plast = last;
177 sc_phash_elem** last = &(bins[hash_val]); local
178 sc_phash_elem* ptr = *last;
181 last
320 sc_phash_elem** last; local
337 sc_phash_elem** last; local
373 sc_phash_elem** last; local
400 sc_phash_elem** last; local
427 sc_phash_elem** last; local
455 sc_phash_elem** last; local
[all...]
H A Dsc_vector.h71 , ArgumentIterator last
79 , ArgumentIterator last
395 iterator bind( BindableIterator first, BindableIterator last )
396 { return bind( first, last, this->begin() ); }
399 iterator bind( BindableIterator first, BindableIterator last
401 { return sc_vector_do_bind( *this, first, last, from ); }
412 iterator operator()( ArgumentIterator first, ArgumentIterator last )
413 { return operator()( first, last, this->begin() ); }
416 iterator operator()( ArgumentIterator first, ArgumentIterator last
418 { return sc_vector_do_operator_paren( *this, first, last, fro
[all...]
H A Dsc_string.cpp305 sc_string_old sc_string_old::substr(int first,int last) const
307 if(first<0 || last<0 || first>last || first>=length() || last>=length())
309 return sc_string_old(rep->str+first, last-first+1);
H A Dsc_string.h103 // returns substring [first,last]
105 sc_string_old substr( int first, int last ) const;
H A Dsc_hash.h132 sc_phash_elem** last; member in class:sc_core::sc_phash_base_iter
140 : table(t), entry(0), next(0), last(0), index(0)
143 : table(&t), entry(0), next(0), last(0), index(0)
/gem5/src/base/
H A Dstr.cc72 string::size_type last = s.find_first_of(token); local
77 if (ignore && last == first) {
78 while (last == first)
79 last = s.find_first_of(token, ++first);
81 if (last == string::npos) {
88 while (last != string::npos) {
89 v.push_back(s.substr(first, last - first));
92 first = s.find_first_not_of(token, last + 1);
97 first = last + 1;
99 last
[all...]
H A Dbitunion.hh161 template<class Storage, int first, int last>
164 static_assert(first >= last,
171 return bits(storage, first, last);
177 replaceBits(storage, first, last, val);
181 template<class Storage, int first, int last>
184 static_assert(first >= last,
191 return sext<first - last + 1>(bits(storage, first, last));
197 replaceBits(storage, first, last, val);
209 template<int first, int last
[all...]
H A Dbitfield.hh66 * Extract the bitfield from position 'first' to 'last' (inclusive)
72 bits(T val, int first, int last) argument
74 int nbits = first - last + 1;
75 return (val >> last) & mask(nbits);
96 mbits(T val, int first, int last) argument
98 return val & (mask(first+1) & ~mask(last));
102 mask(int first, int last) argument
104 return mbits((uint64_t)-1LL, first, last);
120 * Return val with bits first to last set to bit_val
125 insertBits(T val, int first, int last, argument
150 replaceBits(T& val, int first, int last, B bit_val) argument
[all...]
H A Dchunk_generator.hh119 * Are we done? That is, did the last call to next() advance
126 * Is this the last chunk?
129 bool last() const { return (sizeLeft == 0); } function in class:ChunkGenerator
134 * (because we were at the last chunk).
H A Daddr_range_map.hh214 // If the cache is full, move the last element to the
217 auto last = cache.end();
218 last--;
219 *last = it;
221 cache.splice(cache.begin(), cache, last);
H A Dstatistics.cc242 size_type last = min(v1.size(), v2.size()) - 1; local
243 for (off_type i = 0; i < last; ++i)
247 // Special compare for last element.
248 if (v1[last] == v2[last])
251 return v1[last] < v2[last];
H A Dinifile.cc197 int last = line.size() - 1; local
199 if (line[0] == '[' && line[last] == ']') {
200 string sectionName = line.substr(1, last - 1);
/gem5/src/cpu/o3/
H A Dfree_list.hh81 addRegs(InputIt first, InputIt last) { argument
82 std::for_each(first, last, [this](typename InputIt::value_type& reg) {
199 void addRegs(InputIt first, InputIt last);
260 UnifiedFreeList::addRegs(InputIt first, InputIt last) argument
263 if (first == last)
266 panic_if((first != last) &&
267 first->classValue() != (last-1)->classValue(),
270 (last-1)->className());
273 intList.addRegs(first, last);
276 floatList.addRegs(first, last);
[all...]
/gem5/src/systemc/ext/utils/
H A Dsc_vector.hh537 bind(BindableIterator first, BindableIterator last) argument
539 return bind(first, last, this->begin());
544 bind(BindableIterator first, BindableIterator last, iterator from) argument
546 if (!size() || from == end() || first == last)
549 while (from != end() && first != last)
570 operator () (ArgumentIterator first, ArgumentIterator last) argument
572 return (*this)(first, last, this->begin());
577 operator () (ArgumentIterator first, ArgumentIterator last, iterator from) argument
579 if (!size() || from == end() || first == last)
582 while (from != end() && first != last)
704 bind(BindableIterator first, BindableIterator last) argument
711 bind(BindableIterator first, BindableIterator last, iterator from) argument
723 bind(BindableIterator first, BindableIterator last, typename sc_vector<T>::iterator from) argument
745 operator ()(ArgumentIterator first, ArgumentIterator last) argument
752 operator ()(ArgumentIterator first, ArgumentIterator last, iterator from) argument
764 operator ()(ArgumentIterator first, ArgumentIterator last, typename sc_vector<T>::iterator from) argument
[all...]
/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-more-actions.h99 InputIterator last,
101 for (; first != last; ++first, ++output) {
197 // Action SetArrayArgument<k>(first, last) copies the elements in
198 // source range [first, last) to the array pointed to by the k-th
204 AND_2_VALUE_PARAMS(first, last)) {
207 internal::CopyElements(first, last, ::testing::get<k>(args));
209 ::std::copy(first, last, ::testing::get<k>(args));
98 CopyElements(InputIterator first, InputIterator last, OutputIterator output) argument
/gem5/src/arch/x86/
H A Dpagetable.hh155 template <int first, int last>
175 entryAddr += bits(vaddr, first, last) * sizeof(PageTableEntry);
196 return 1 << ((first - last) + 4 - PageShift);
/gem5/src/gpu-compute/
H A Dkernel_cfg.cc138 GPUStaticInst* last = lastInstruction(bb.get()); local
139 if (last->isReturn()) {
143 if (last->isBranch()) {
144 const uint32_t target_pc = last->getTargetPc();
150 if (!last->isUnconditionalJump()) {
151 BasicBlock* next_bb = basicBlock(last->nextInstAddr());
/gem5/ext/libfdt/
H A Dfdt.c183 const char *last = strtab + tabsize - len; local
186 for (p = strtab; p <= last; p++)
/gem5/src/mem/cache/prefetch/
H A Ddelta_correlating_prediction_tables.cc86 unsigned int last = (deltaPointer - 1) % deltas.size(); local
90 int delta_1 = deltas[last];
99 // remaining deltas (adding each delta to the last Addr to generate the
/gem5/util/style/
H A Dstyle.py152 last = group[-1]
154 regions.extend(Region(first[3], last[4] + 1))
/gem5/src/dev/serial/
H A Dterminal.cc334 static char last = '\0'; local
336 if ((c != '\n' && c != '\r') || (last != '\n' && last != '\r')) {
349 last = c;
/gem5/util/
H A Drundiff38 # automatically fork a subprocess if the last character in the
119 last if (!defined($line));
131 last if (!defined($line));
146 # we're about to print is contiguous with the end of the last
/gem5/tests/
H A Ddiff-out84 last if /Begin Simulation Statistics/;
125 last if /End Simulation Statistics/;
322 last;
/gem5/util/stats/
H A Ddb.py35 last = min(len(v1), len(v2)) - 1
36 for i,j in zip(v1[0:last], v2[0:last]):
40 # Special compare for last element.
42 return cmp(v1[last], v2[last])
/gem5/ext/pybind11/include/pybind11/detail/
H A Dcommon.h537 constexpr int last(int /*i*/, int result) { return result; } function
539 constexpr int last(int i, int result, T v, Ts... vs) { return last(i + 1, v ? i : result, vs...); } function
547 /// Return the index of the last type in Ts which satisfies Predicate<T>, or -1 if none match.
549 constexpr int constexpr_last() { return constexpr_impl::last(0, -1, Predicate<Ts>::value...); }
778 any_container(It first, It last) : v(first, last) { } argument

Completed in 53 milliseconds

12