Searched defs:first (Results 1 - 12 of 12) sorted by last modified time

/system/core/debuggerd/
H A Dtombstone.c271 size_t first, last; local
276 first = i;
287 // Dump a few words before the first frame.
289 uintptr_t sp = backtrace[first].stack_top - STACK_WORDS * sizeof(uint32_t);
293 // Only log the first 3 frames, put the rest in the tombstone.
294 for (size_t i = first; i <= last; i++) {
300 if (i - first == 3) {
462 bool first = true; local
516 if (first) {
519 first
[all...]
/system/core/gpttool/
H A Dgpttool.c118 int add_ptn(struct ptable *ptbl, u64 first, u64 last, const char *name) argument
124 if (first < 34) {
138 entry->first_lba = first;
/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)
225 insert(posn, *first);
239 iterator erase(iterator first, iterator last) { argument
240 while (first != last)
241 erase(first++); // don't erase than incr later!
260 * Measure the distance between two iterators. On exist, "first"
275 _ListIterator<U, CL> first, _ListIterato
274 distance( _ListIterator<U, CL> first, _ListIterator<U, CR> last) const argument
[all...]
/system/core/libsysutils/src/
H A DNetlinkEvent.cpp168 int first = 1; local
178 if (first) {
187 first = 0;
/system/core/sh/
H A Dcd.c156 int first; local
174 first = 1;
178 if (! first)
180 first = 0;
343 static int first = 1; local
348 if (first) {
349 first = 0;
H A Dhistedit.c227 int first, last, direction; local
334 * determine [first] and [last]
356 first = str_to_event(firststr, 0);
361 last = first;
362 first = i;
369 direction = first < last ? H_PREV : H_NEXT;
395 retval = history(hist, &he, H_NEXT_EVENT, first);
507 * the notion of first and last is
H A Dshow.c127 int first; local
131 first = 1;
133 if (! first)
136 first = 0;
139 if (! first)
159 first = 0;
/system/core/toolbox/grep/
H A Dutil.c58 static bool first, first_global = true; variable
228 for (first = true, c = 0; c == 0 || !(lflag || qflag); ) {
367 (first || since_printed > Bflag))
377 first = false;
/system/extras/ext4_utils/
H A Dallocate.c27 struct region *first; member in struct:region_list
65 alloc->list.first = NULL;
67 alloc->oob_list.first = NULL;
84 if (list->first == reg)
85 list->first = reg->next;
96 if (list->first == NULL) {
97 list->first = reg;
124 dump_starting_from(alloc->list.first);
127 dump_starting_from(alloc->oob_list.first);
196 /* Marks a the first num_block
[all...]
/system/extras/tests/bionic/libc/bionic/
H A Dlib_relocs.c6 struct foo { int first, second; }; member in struct:foo
9 int* FooPtr[] = { &Foo.first, &Foo.second };
/system/extras/tests/lib/testUtil/
H A DtestUtil.c101 // second, is later than the time pointed to by first.
102 struct timespec tsDelta(const struct timespec *first, argument
107 assert(first != NULL);
109 assert(first->tv_nsec >= 0 && first->tv_nsec < nSecsPerSec);
111 rv.tv_sec = second->tv_sec - first->tv_sec;
112 if (second->tv_nsec >= first->tv_nsec) {
113 rv.tv_nsec = second->tv_nsec - first->tv_nsec;
115 rv.tv_nsec = (second->tv_nsec + nSecsPerSec) - first->tv_nsec;
124 // second, is later than the time pointed to by first
125 tvDelta(const struct timeval *first, const struct timeval *second) argument
[all...]
/system/netd/
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)
225 insert(posn, *first);
239 iterator erase(iterator first, iterator last) { argument
240 while (first != last)
241 erase(first++); // don't erase than incr later!
260 * Measure the distance between two iterators. On exist, "first"
275 _ListIterator<U, CL> first, _ListIterato
274 distance( _ListIterator<U, CL> first, _ListIterator<U, CR> last) const argument
[all...]

Completed in 1822 milliseconds