/bionic/libc/bionic/ |
D | pthread_atfork.cpp | 89 atfork_t* entry = reinterpret_cast<atfork_t*>(malloc(sizeof(atfork_t))); in pthread_atfork() local 90 if (entry == NULL) { in pthread_atfork() 94 entry->prepare = prepare; in pthread_atfork() 95 entry->parent = parent; in pthread_atfork() 96 entry->child = child; in pthread_atfork() 101 entry->next = NULL; in pthread_atfork() 102 entry->prev = g_atfork_list.last; in pthread_atfork() 103 if (entry->prev != NULL) { in pthread_atfork() 104 entry->prev->next = entry; in pthread_atfork() 107 g_atfork_list.first = entry; in pthread_atfork() [all …]
|
D | malloc_debug_leak.cpp | 81 HashEntry* entry; member 111 HashEntry* entry = table->slots[slot]; in find_entry() local 112 while (entry != NULL) { in find_entry() 119 if (entry->size == size && entry->numEntries == numEntries && in find_entry() 120 !memcmp(backtrace, entry->backtrace, numEntries * sizeof(uintptr_t))) { in find_entry() 121 return entry; in find_entry() 124 entry = entry->next; in find_entry() 143 HashEntry* entry = find_entry(g_hash_table, slot, backtrace, numEntries, size); in record_backtrace() local 145 if (entry != NULL) { in record_backtrace() 146 entry->allocations++; in record_backtrace() [all …]
|
D | scandir.cpp | 49 bool Add(dirent* entry) { in Add() argument 60 dirent* copy = CopyDirent(entry); in Add() 100 dirent* entry; in scandir() local 101 while ((entry = reader.ReadEntry()) != NULL) { in scandir() 103 if (filter != NULL && !(*filter)(entry)) { in scandir() 106 names.Add(entry); in scandir()
|
D | dirent.cpp | 100 dirent* entry = d->next_; in __readdir_locked() local 101 d->next_ = reinterpret_cast<dirent*>(reinterpret_cast<char*>(entry) + entry->d_reclen); in __readdir_locked() 102 d->available_bytes_ -= entry->d_reclen; in __readdir_locked() 103 return entry; in __readdir_locked() 112 int readdir_r(DIR* d, dirent* entry, dirent** result) { in readdir_r() argument 126 memcpy(entry, next, next->d_reclen); in readdir_r() 127 *result = entry; in readdir_r()
|
D | system_properties_compat.c | 85 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()
|
D | malloc_debug_common.cpp | 196 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()
|
D | sysconf.cpp | 88 dirent* entry; in __sysconf_nprocessors_conf() local 89 while ((entry = reader.ReadEntry()) != NULL) { in __sysconf_nprocessors_conf() 90 if (entry->d_type == DT_DIR && __matches_cpuN(entry->d_name)) { in __sysconf_nprocessors_conf()
|
/bionic/libc/upstream-netbsd/lib/libc/stdlib/ |
D | insque.c | 43 insque(void *entry, void *pred) in insque() argument 45 struct qelem *e = (struct qelem *) entry; in insque()
|
/bionic/linker/ |
D | linked_list.h | 63 LinkedListEntry<T>* entry = head_; in pop_front() local 64 T* element = entry->element; in pop_front() 65 head_ = entry->next; in pop_front() 66 Allocator::free(entry); in pop_front()
|
D | linker.h | 105 static void free(LinkedListEntry<soinfo>* entry); 118 ElfW(Addr) entry;
|
D | linker.cpp | 278 void SoinfoListAllocator::free(LinkedListEntry<soinfo>* entry) { in free() argument 279 g_soinfo_links_allocator.free(entry); in free() 2161 si->entry = args.getauxval(AT_ENTRY); 2254 TRACE("[ Ready to execute '%s' @ %p ]", si->name, reinterpret_cast<void*>(si->entry)); 2255 return si->entry;
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
D | x_tables.h | 114 …h_foreach(pos, entry) for ((pos) = (struct xt_entry_match *)entry->elems; (pos) < (struct xt_e… argument
|
/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ |
D | ip6_tables.h | 102 struct ip6t_entry entry; member 107 struct ip6t_entry entry; member 112 #define IP6T_STANDARD_INIT(__verdict) { .entry = IP6T_ENTRY_INIT(sizeof(struct ip6t_standard)), … 114 #define IP6T_ERROR_INIT { .entry = IP6T_ENTRY_INIT(sizeof(struct ip6t_error)), .target = XT_TA…
|
/bionic/libc/kernel/uapi/linux/ |
D | flat.h | 27 unsigned long entry; member
|
D | coff.h | 70 char entry[4]; member
|
D | kvm.h | 1010 __u16 entry; member
|
D | videodev2.h | 1040 struct v4l2_enc_idx_entry entry[V4L2_ENC_IDX_ENTRIES]; member
|
/bionic/libc/kernel/uapi/xen/ |
D | privcmd.h | 40 struct privcmd_mmap_entry __user *entry; member
|
/bionic/libc/tzcode/ |
D | localtime.c | 2217 struct index_entry_t* entry = (struct index_entry_t*) index; in __bionic_open_tzdata_path() local 2220 memcpy(this_id, entry->buf, NAME_LENGTH); in __bionic_open_tzdata_path() 2224 specific_zone_offset = ntohl(entry->start) + ntohl(header.data_offset); in __bionic_open_tzdata_path() 2225 *data_size = ntohl(entry->length); in __bionic_open_tzdata_path() 2229 ++entry; in __bionic_open_tzdata_path()
|
/bionic/ |
D | HACKING.txt | 25 file has a DT_INTERP entry that says "use the following program to start me".
|