Home
last modified time | relevance | path

Searched refs:entry (Results 1 – 24 of 24) sorted by relevance

/bionic/libc/bionic/
Dpthread_atfork.cpp64 void push_back(atfork_t* entry) { in push_back() argument
65 entry->next = nullptr; in push_back()
66 entry->prev = last_; in push_back()
67 if (entry->prev != nullptr) { in push_back()
68 entry->prev->next = entry; in push_back()
71 first_ = entry; in push_back()
73 last_ = entry; in push_back()
81 atfork_t* entry = it; in remove_if() local
83 remove(entry); in remove_if()
91 void remove(atfork_t* entry) { in remove() argument
[all …]
Dmalloc_debug_leak.cpp74 HashEntry* entry; member
104 HashEntry* entry = table->slots[slot]; in find_entry() local
105 while (entry != NULL) { in find_entry()
112 if (entry->size == size && entry->numEntries == numEntries && in find_entry()
113 !memcmp(backtrace, entry->backtrace, numEntries * sizeof(uintptr_t))) { in find_entry()
114 return entry; in find_entry()
117 entry = entry->next; in find_entry()
138 HashEntry* entry = find_entry(g_hash_table, slot, backtrace, numEntries, size); in record_backtrace() local
139 if (entry != NULL) { in record_backtrace()
140 entry->allocations++; in record_backtrace()
[all …]
Dscandir.cpp50 bool Add(dirent* entry) { in Add() argument
62 dirent* copy = CopyDirent(entry); in Add()
103 dirent* entry; in scandir() local
104 while ((entry = reader.ReadEntry()) != NULL) { in scandir()
106 if (filter != NULL && !(*filter)(entry)) { in scandir()
109 names.Add(entry); in scandir()
Ddirent.cpp110 dirent* entry = d->next_; in __readdir_locked() local
111 d->next_ = reinterpret_cast<dirent*>(reinterpret_cast<char*>(entry) + entry->d_reclen); in __readdir_locked()
112 d->available_bytes_ -= entry->d_reclen; in __readdir_locked()
115 d->current_pos_ = static_cast<long>(entry->d_off); in __readdir_locked()
116 return entry; in __readdir_locked()
125 int readdir_r(DIR* d, dirent* entry, dirent** result) { in readdir_r() argument
139 memcpy(entry, next, next->d_reclen); in readdir_r()
140 *result = entry; in readdir_r()
Dsysinfo.cpp54 dirent* entry; in get_nprocs_conf() local
55 while ((entry = reader.ReadEntry()) != NULL) { in get_nprocs_conf()
56 if (entry->d_type == DT_DIR && __matches_cpuN(entry->d_name)) { in get_nprocs_conf()
Dsystem_properties_compat.c85 unsigned entry = *toc++; in __system_property_find_compat() local
86 if(TOC_NAME_LEN(entry) != len) continue; in __system_property_find_compat()
88 pi = TOC_TO_INFO(pa, entry); in __system_property_find_compat()
127 unsigned entry = pa->toc[i]; in __system_property_foreach_compat() local
128 prop_info_compat *pi = TOC_TO_INFO(pa, entry); in __system_property_foreach_compat()
Dmalloc_debug_common.cpp196 HashEntry* entry = g_hash_table.slots[i]; in get_malloc_leak_info() local
197 while (entry != NULL) { in get_malloc_leak_info()
198 list[index] = entry; in get_malloc_leak_info()
199 *totalMemory = *totalMemory + ((entry->size & ~SIZE_FLAG_MASK) * entry->allocations); in get_malloc_leak_info()
201 entry = entry->next; in get_malloc_leak_info()
223 HashEntry* entry = list[i]; in get_malloc_leak_info() local
224 size_t entrySize = (sizeof(size_t) * 2) + (sizeof(uintptr_t) * entry->numEntries); in get_malloc_leak_info()
232 memcpy(head, &(entry->size), entrySize); in get_malloc_leak_info()
/bionic/tests/
Dmntent_test.cpp29 struct mntent entry; in TEST() local
31 while (getmntent_r(fp, &entry, buf, sizeof(buf)) != NULL) { in TEST()
32 if (strcmp(entry.mnt_fsname, "proc") == 0 && strcmp(entry.mnt_dir, "/proc") == 0) { in TEST()
/bionic/libc/upstream-openbsd/lib/libc/stdlib/
Dinsque.c40 insque(void *entry, void *pred) in insque() argument
42 struct qelem *e = entry; in insque()
/bionic/libc/kernel/uapi/linux/
Dmpls.h25 __be32 entry; member
Dflat.h27 unsigned long entry; member
Dcoff.h69 char entry[4]; member
Dkvm.h1129 __u16 entry; member
Dvideodev2.h1122 struct v4l2_enc_idx_entry entry[V4L2_ENC_IDX_ENTRIES]; member
/bionic/libc/kernel/uapi/linux/netfilter/
Dx_tables.h120 …atch_foreach(pos,entry) for((pos) = (struct xt_entry_match *) entry->elems; (pos) < (struct xt_ent… argument
/bionic/libc/kernel/uapi/linux/netfilter_ipv6/
Dip6_tables.h102 struct ip6t_entry entry; member
107 struct ip6t_entry entry; member
115 {.entry = IP6T_ENTRY_INIT(sizeof(struct ip6t_standard)),.target = XT_TARGET_INIT(XT_STANDARD_TARGET…
119 {.entry = IP6T_ENTRY_INIT(sizeof(struct ip6t_error)),.target = XT_TARGET_INIT(XT_ERROR_TARGET, size…
/bionic/linker/
Dlinked_list.h72 LinkedListEntry<T>* entry = head_; in pop_front() local
73 T* element = entry->element; in pop_front()
74 head_ = entry->next; in pop_front()
75 Allocator::free(entry); in pop_front()
Dlinker.h116 static void free(LinkedListEntry<soinfo>* entry);
182 ElfW(Addr) entry;
Dlinker.cpp224 void SoinfoListAllocator::free(LinkedListEntry<soinfo>* entry) { in free() argument
225 g_soinfo_links_allocator.free(entry); in free()
1120 ZipEntry entry; in open_library_in_zipfile() local
1122 if (FindEntry(handle, ZipEntryName(file_path), &entry) != 0) { in open_library_in_zipfile()
1129 if (entry.method != kCompressStored || (entry.offset % PAGE_SIZE) != 0) { in open_library_in_zipfile()
1134 *file_offset = entry.offset; in open_library_in_zipfile()
3186 si->entry = args.getauxval(AT_ENTRY);
3315 TRACE("[ Ready to execute '%s' @ %p ]", si->get_realpath(), reinterpret_cast<void*>(si->entry));
3316 return si->entry;
/bionic/libc/kernel/uapi/xen/
Dprivcmd.h40 struct privcmd_mmap_entry __user * entry; member
/bionic/libc/arch-mips/bionic/
Dsetjmp.S254 # Alternate entry points:
/bionic/libc/arch-mips64/bionic/
Dsetjmp.S254 # Alternate entry points:
/bionic/libc/tzcode/
Dlocaltime.c2218 struct index_entry_t* entry = (struct index_entry_t*) index; in __bionic_open_tzdata_path() local
2221 memcpy(this_id, entry->buf, NAME_LENGTH); in __bionic_open_tzdata_path()
2225 specific_zone_offset = ntohl(entry->start) + ntohl(header.data_offset); in __bionic_open_tzdata_path()
2226 *data_size = ntohl(entry->length); in __bionic_open_tzdata_path()
2230 ++entry; in __bionic_open_tzdata_path()
/bionic/
DREADME.md33 has a `DT_INTERP` entry that says "use the following program to start me". On