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

/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)
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/debuggerd/
H A Dtombstone.cpp284 size_t first = 0, last; local
288 if (!first) {
289 first = i+1;
294 if (!first) {
297 first--;
299 // Dump a few words before the first frame.
300 word_t sp = backtrace->GetFrame(first)->sp - STACK_WORDS * sizeof(word_t);
304 // Only log the first 3 frames, put the rest in the tombstone.
305 for (size_t i = first; i <= last; i++) {
453 bool first local
[all...]
/system/core/gpttool/
H A Dgpttool.c117 int add_ptn(struct ptable *ptbl, u64 first, u64 last, const char *name) argument
123 if (first < 34) {
137 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/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)
224 insert(posn, *first);
238 iterator erase(iterator first, iterator last) { argument
239 while (first != last)
240 erase(first++); // don't erase than incr later!
259 * Measure the distance between two iterators. On exist, "first"
274 _ListIterator<U, CL> first, _ListIterato
273 distance( _ListIterator<U, CL> first, _ListIterator<U, CR> last) const argument
[all...]
/system/core/libnativebridge/
H A Dnative_bridge.cc101 // Characters allowed in a native bridge filename. The first character must
103 static bool CharacterAllowed(char c, bool first) { argument
104 if (first) {
124 ALOGE("Native bridge library %s has been rejected for first character %c", nb_library_filename, *ptr);
/system/core/libsysutils/src/
H A DNetlinkEvent.cpp184 // Only look at the first address, because we only support notifying
406 // So only parse the first ND option in the message.
475 * there are multiple valid messages in the buffer, only the first one will be
478 * TODO: consider only ever looking at the first message.
548 int first = 1; local
558 if (first) {
567 first = 0;
/system/core/libutils/
H A DThreads.cpp753 bool first = true; local
757 if (first) {
758 first = false;
/system/core/lmkd/
H A Dlmkd.c565 int minfree, int min_score_adj, bool first)
589 first ? "" : "~", other_file * page_k, minfree * page_k, min_score_adj,
590 first ? "" : "~", other_free * page_k, other_free >= 0 ? "above" : "below");
607 static int find_and_kill_process(int other_free, int other_file, bool first) argument
633 killed_size = kill_one_process(procp, other_free, other_file, minfree, min_score_adj, first);
653 bool first = true; local
672 killed_size = find_and_kill_process(other_free, other_file, first);
674 first = false;
564 kill_one_process(struct proc *procp, int other_free, int other_file, int minfree, int min_score_adj, bool first) argument
/system/core/logd/
H A DLogStatistics.cpp763 bool first = true; local
795 first = true;
796 } else if (!first && (spaces > 0)) {
811 string.appendFormat(first ? "\n%-12s" : "%-12s",
837 first = !first;
872 if (!first && (spaces > 0)) {
878 string.appendFormat(first ? "\n%-12s" : "%-12s",
903 first = !first;
[all...]
/system/core/toolbox/upstream-netbsd/bin/ln/
H A Dln.c58 static int hflag; /* Check new name for symlink first. */
158 int ch, exists, first; local
196 first = ch = getchar();
199 if (first != 'y' && first != 'Y') {
/system/core/toolbox/upstream-netbsd/bin/rm/
H A Drm.c534 int ch, first; local
537 /* Check -i first. */
545 * first because we may not have stat'ed the file.
564 first = ch = getchar();
567 return (first == 'y' || first == 'Y');
/system/core/toolbox/upstream-netbsd/usr.bin/grep/
H A Dutil.c58 static bool first, first_global = true; variable
229 for (first = true, c = 0; c == 0 || !(lflag || qflag); ) {
368 (first || since_printed > Bflag))
378 first = false;
/system/extras/ext4_utils/
H A Dallocate.h27 struct region *first; member in struct:region_list
H A Dcontents.c308 * which name comes first. For example, "selinux" would come before "yelinux".
372 struct ext4_xattr_entry *first,
382 size_t available_size = xattr_free_space(first, block_end);
388 struct ext4_xattr_entry *new_entry = xattr_get_last(first);
404 xattr_assert_sane(first);
412 struct ext4_xattr_entry *first = (struct ext4_xattr_entry *) (hdr + 1); local
416 xattr_addto_range(first, block_end, first, name_index, name, value, value_len);
434 struct ext4_xattr_entry *first = (struct ext4_xattr_entry *) (header + 1); local
438 xattr_addto_range(header, block_end, first, name_inde
369 xattr_addto_range( void *block_start, void *block_end, struct ext4_xattr_entry *first, int name_index, const char *name, const void *value, size_t value_len) argument
[all...]
/system/extras/memtrack/
H A Dmemtrack.cpp202 if (all_.count(it->first) == 0) {
204 all_[it->first].num_samples = 0;
205 all_[it->first].name = it->first;
206 all_[it->first].avg_pss_kb = 0;
207 all_[it->first].min_pss_kb = 0;
208 all_[it->first].max_pss_kb = 0;
211 if (it->second.pids.size() > all_[it->first].max_num_pids) {
212 all_[it->first].max_num_pids = it->second.pids.size();
215 all_[it->first]
234 comparePss(const process_info_t *first, const process_info_t *second) argument
[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...]

Completed in 338 milliseconds