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

/system/core/logcat/tests/
H A Dlogcat_benchmark.cpp77 } last(NULL);
89 if (!last.valid()) {
92 last.init(buffer);
95 if (next < last) {
105 last.init(buffer);
/system/core/include/sysutils/
H A DList.h190 * Return the first element or one past the last element. The
223 void insert(iterator posn, const_iterator first, const_iterator last) { argument
224 for ( ; first != last; ++first)
239 iterator erase(iterator first, iterator last) { argument
240 while (first != last)
242 return iterator(last);
261 * will be equal to "last". The iterators must refer to the same
275 _ListIterator<U, CL> first, _ListIterator<U, CR> last) const
278 while (first != last) {
/system/core/include/utils/
H A DList.h189 * Return the first element or one past the last element. The
222 void insert(iterator posn, const_iterator first, const_iterator last) { argument
223 for ( ; first != last; ++first)
238 iterator erase(iterator first, iterator last) { argument
239 while (first != last)
241 return iterator(last);
260 * will be equal to "last". The iterators must refer to the same
274 _ListIterator<U, CL> first, _ListIterator<U, CR> last) const
277 while (first != last) {
/system/netd/server/
H A DList.h190 * Return the first element or one past the last element. The
223 void insert(iterator posn, const_iterator first, const_iterator last) { argument
224 for ( ; first != last; ++first)
239 iterator erase(iterator first, iterator last) { argument
240 while (first != last)
242 return iterator(last);
261 * will be equal to "last". The iterators must refer to the same
275 _ListIterator<U, CL> first, _ListIterator<U, CR> last) const
278 while (first != last) {
/system/core/logd/
H A DLogReader.cpp112 log_time last; member in class:LogFindStart
120 , last(LogTimeEntry::EPOCH)
133 me->start = me->last;
136 me->last = element->getMonotonicTime();
H A DLogStatistics.cpp139 PidStatisticsCollection::iterator last; local
141 for (last = it = begin(); it != end(); last = it, ++it) {
149 bool insert_before_last = (last != it) && p && (p->getPid() == p->gone);
152 insert(last, p);
283 UidStatisticsCollection::iterator last; local
289 for (last = it = begin(); it != end(); last = it, ++it) {
293 if ((last != it) && ((*last)
[all...]
H A DLogBuffer.cpp149 LogBufferElementCollection::iterator last = it; local
171 last = it;
174 if (last == mLogElements.end()) {
200 || (end_set && (end >= (*last)->getMonotonicTime()))) {
203 mLogElements.insert(last,elem);
/system/media/camera/docs/
H A Dmetadata_helpers_test.py114 for (x, last) in enumerate_with_last(single_value):
116 self.assertEquals(True, last)
H A Dmetadata_helpers.py581 Enumerate a sequence of iterable, while knowing if this element is the last in
588 (element, bool) where the bool is True iff the element is last in the seq.
603 # last element. no more elements left
1052 for (split_string, last) in enumerate_with_last(split_by_wbr_list):
1055 if not last:
/system/extras/ext4_utils/
H A Dallocate.h28 struct region *last; member in struct:region_list
H A Dallocate.c60 alloc->list.last = NULL;
62 alloc->oob_list.last = NULL;
102 if (list->last == reg)
103 list->last = reg->prev;
113 list->last = reg;
118 list->last->next = reg;
119 reg->prev = list->last;
120 list->last = reg;
254 /* Reduces an existing allocation by len blocks by return the last blocks
256 returned were the last one
[all...]
/system/core/liblog/tests/
H A Dbenchmark_main.cpp127 unsigned last = iterations; local
133 iterations = std::max(last + 1, std::min(iterations + iterations/2, 100*last));
/system/core/gpttool/
H A Dgpttool.c117 int add_ptn(struct ptable *ptbl, u64 first, u64 last, const char *name) argument
128 if (last > hdr->last_lba) {
138 entry->last_lba = last;
/system/core/libpixelflinger/arch-arm64/
H A Dt32cb16blend.S166 last: label
210 b last
/system/core/libpixelflinger/
H A Dt32cb16blend.S152 last: label
202 b last
/system/extras/showmap/
H A Dshowmap.c266 mapinfo* last = mi; local
296 free(last);
/system/core/debuggerd/
H A Dtombstone.cpp284 size_t first = 0, last; local
291 last = i;
305 for (size_t i = first; i <= last; i++) {
311 if (i == last) {
448 // If "tail" is non-zero, log the last "tail" number of lines.
/system/core/adb/
H A Dsysdeps_win32.c2183 adb_strtok_r(char *s, const char *delim, char **last) argument
2190 if (s == NULL && (s = *last) == NULL)
2204 *last = NULL;
2222 *last = s;

Completed in 375 milliseconds