Searched refs:first (Results 1 - 25 of 35) sorted by relevance

12

/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/core/
H A DAndroid.mk18 include $(call first-makefiles-under,$(LOCAL_PATH))
/system/core/adf/
H A DAndroid.mk18 include $(call first-makefiles-under,$(LOCAL_PATH))
/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/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/core/logcat/
H A DAndroid.mk16 include $(call first-makefiles-under,$(LOCAL_PATH))
/system/extras/tests/include/
H A DtestUtil.h32 struct timespec tsDelta(const struct timespec *first,
34 struct timeval tvDelta(const struct timeval *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/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...]
H A DUidRanges.cpp25 return (iter != mRanges.end() && iter->first == uid) ||
/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/libion/
H A DAndroid.mk22 include $(call first-makefiles-under,$(LOCAL_PATH))
/system/core/logd/
H A DAndroid.mk33 include $(call first-makefiles-under,$(LOCAL_PATH))
H A DLogStatistics.cpp744 bool first = true; local
776 first = true;
777 } else if (!first && (spaces > 0)) {
792 string.appendFormat(first ? "\n%-12s" : "%-12s",
818 first = !first;
853 if (!first && (spaces > 0)) {
859 string.appendFormat(first ? "\n%-12s" : "%-12s",
884 first = !first;
[all...]
/system/extras/ext4_utils/
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...]
H A Dallocate.c59 alloc->list.first = NULL;
61 alloc->oob_list.first = NULL;
99 if (list->first == reg)
100 list->first = reg->next;
111 if (list->first == NULL) {
112 list->first = reg;
137 dump_starting_from(alloc->list.first);
140 dump_starting_from(alloc->oob_list.first);
147 for (reg = alloc->list.first; reg; reg = reg->next) {
206 /* Marks a the first num_block
[all...]
H A Dallocate.h27 struct region *first; member in struct:region_list
/system/keymaster/
H A Docb.c1396 int first = ((i/3)/(BPI*16))*(BPI*16);
1397 int second = first;
1398 int third = i - (first + second);
1415 ae_encrypt(&ctx,nonce,pt,first,pt,first,ct,NULL,AE_PENDING);
1416 ae_encrypt(&ctx,NULL,pt+first,second,pt+first,second,ct+first,NULL,AE_PENDING);
1417 ae_encrypt(&ctx,NULL,pt+first+second,third,pt+first
[all...]
/system/core/liblog/
H A DAndroid.mk88 include $(call first-makefiles-under,$(LOCAL_PATH))
/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/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/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/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;

Completed in 1034 milliseconds

12