/bionic/libc/malloc_debug/ |
D | MapData.cpp | 70 MapEntry* entry = new MapEntry(start, end, offset, name, name_len, flags); in parse_line() local 73 entry->load_bias = 0; in parse_line() 74 entry->init = true; in parse_line() 75 entry->valid = false; in parse_line() 77 return entry; in parse_line() 81 static inline bool get_val(MapEntry* entry, uintptr_t addr, T* store) { in get_val() argument 82 if (!(entry->flags & PROT_READ) || addr < entry->start || addr + sizeof(T) > entry->end) { in get_val() 93 static bool valid_elf(MapEntry* entry) { in valid_elf() argument 94 uintptr_t addr = entry->start; in valid_elf() 96 if (__builtin_add_overflow(addr, SELFMAG, &end) || end >= entry->end) { in valid_elf() [all …]
|
D | RecordData.cpp | 92 ThreadData(RecordData* record_data, ThreadCompleteEntry* entry) in ThreadData() 93 : record_data(record_data), entry(entry) {} in ThreadData() 95 ThreadCompleteEntry* entry; member 108 thread_data->record_data->AddEntryOnly(thread_data->entry); in ThreadKeyDelete() 203 void RecordData::AddEntryOnly(const RecordEntry* entry) { in AddEntryOnly() argument 206 entries_[entry_index] = entry; in AddEntryOnly() 210 void RecordData::AddEntry(const RecordEntry* entry) { in AddEntry() argument 217 AddEntryOnly(entry); in AddEntry()
|
D | backtrace.cpp | 149 const MapEntry* entry = g_map_data.find(frames[frame_num], &rel_pc); in backtrace_string() local 151 const char* soname = (entry != nullptr) ? entry->name.c_str() : info.dli_fname; in backtrace_string() 157 if (entry != nullptr && entry->elf_start_offset != 0) { in backtrace_string() 158 snprintf(offset_buf, sizeof(offset_buf), " (offset 0x%" PRIxPTR ")", entry->elf_start_offset); in backtrace_string()
|
D | PointerData.cpp | 155 auto entry = key_to_index_.find(key); in AddBacktrace() local 156 if (entry == key_to_index_.end()) { in AddBacktrace() 167 hash_index = entry->second; in AddBacktrace() 212 auto entry = pointers_.find(pointer); in Remove() local 213 if (entry == pointers_.end()) { in Remove() 218 hash_index = entry->second.hash_index; in Remove() 230 auto entry = pointers_.find(pointer); in GetFrames() local 231 if (entry == pointers_.end()) { in GetFrames() 234 hash_index = entry->second.hash_index; in GetFrames() 387 for (const auto& entry : pointers_) { in GetList() local [all …]
|
D | RecordData.h | 155 void AddEntry(const RecordEntry* entry); 156 void AddEntryOnly(const RecordEntry* entry);
|
/bionic/libc/bionic/ |
D | pthread_atfork.cpp | 64 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 …]
|
D | dirent.cpp | 123 dirent* entry = d->next_; in __readdir_locked() local 124 d->next_ = reinterpret_cast<dirent*>(reinterpret_cast<char*>(entry) + entry->d_reclen); in __readdir_locked() 125 d->available_bytes_ -= entry->d_reclen; in __readdir_locked() 128 d->current_pos_ = static_cast<long>(entry->d_off); in __readdir_locked() 129 return entry; in __readdir_locked() 139 int readdir_r(DIR* d, dirent* entry, dirent** result) { in readdir_r() argument 155 memcpy(entry, next, next->d_reclen); in readdir_r() 156 *result = entry; in readdir_r()
|
D | scandir.cpp | 51 bool Add(dirent* entry) { in Add() argument 63 dirent* copy = CopyDirent(entry); in Add() 114 dirent* entry; in scandirat() local 115 while ((entry = reader.ReadEntry()) != nullptr) { in scandirat() 117 if (filter != nullptr && !(*filter)(entry)) { in scandirat() 120 names.Add(entry); in scandirat()
|
D | atexit.cpp | 62 bool append_entry(const AtexitEntry& entry); 91 bool AtexitArray::append_entry(const AtexitEntry& entry) { in append_entry() argument 97 array_[idx] = entry; in append_entry() 130 const AtexitEntry entry = array_[src]; in recompact() local 132 if (entry.fn != nullptr) { in recompact() 133 array_[dst++] = entry; in recompact() 258 const AtexitEntry entry = g_array.extract_entry(i); in __cxa_finalize() local 261 entry.fn(entry.arg); in __cxa_finalize()
|
D | sysinfo.cpp | 56 dirent* entry; in get_nprocs_conf() local 57 while ((entry = reader.ReadEntry()) != nullptr) { in get_nprocs_conf() 58 if (entry->d_type == DT_DIR && __matches_cpuN(entry->d_name)) { in get_nprocs_conf()
|
/bionic/libc/upstream-freebsd/lib/libc/stdlib/ |
D | hsearch_r.c | 49 ENTRY *entry = &hsearch->entries[index & hsearch->index_mask]; in hsearch_lookup_free() local 50 if (entry->key == NULL) in hsearch_lookup_free() 51 return (entry); in hsearch_lookup_free() 79 ENTRY *entry, *old_entries, *new_entries; in hsearch_r() local 90 entry = &hsearch->entries[index & hsearch->index_mask]; in hsearch_r() 91 if (entry->key == NULL) in hsearch_r() 93 if (strcmp(entry->key, item.key) == 0) { in hsearch_r() 94 *retval = entry; in hsearch_r() 125 entry = &old_entries[i]; in hsearch_r() 126 if (entry->key != NULL) { in hsearch_r() [all …]
|
/bionic/libfdtrack/ |
D | fdtrack.cpp | 77 for (auto& entry : stack_traces) { in ctor() local 78 entry.backtrace.reserve(kStackDepth); in ctor() 116 if (FdEntry* entry = GetFdEntry(event->fd); entry) { in fd_hook() local 117 std::lock_guard<std::mutex> lock(entry->mutex); in fd_hook() 118 entry->backtrace.clear(); in fd_hook() 119 Unwinder().Unwind(&entry->backtrace, kStackDepth); in fd_hook() 122 if (FdEntry* entry = GetFdEntry(event->fd); entry) { in fd_hook() local 123 std::lock_guard<std::mutex> lock(entry->mutex); in fd_hook() 124 entry->backtrace.clear(); in fd_hook() 135 FdEntry* entry = GetFdEntry(fd); in fdtrack_iterate() local [all …]
|
/bionic/tests/ |
D | mntent_test.cpp | 29 struct mntent entry; in TEST() local 31 while (getmntent_r(fp, &entry, buf, sizeof(buf)) != nullptr) { in TEST() 32 if (strcmp(entry.mnt_fsname, "proc") == 0 && strcmp(entry.mnt_dir, "/proc") == 0) { in TEST()
|
D | link_test.cpp | 238 static uintptr_t read_exidx_func(uintptr_t* entry) { in read_exidx_func() argument 239 int32_t offset = *entry; in read_exidx_func() 244 return reinterpret_cast<uintptr_t>(entry) + offset; in read_exidx_func()
|
/bionic/libc/system_properties/ |
D | contexts_split.cpp | 123 static inline int read_spec_entry(char** entry, char** ptr, int* len) { in read_spec_entry() argument 124 *entry = nullptr; in read_spec_entry() 138 *entry = strndup(tmp_buf, *len); in read_spec_entry() 139 if (!*entry) return -1; in read_spec_entry() 328 auto entry = ListFind(prefixes_, [name](PrefixNode* l) { in GetPrefixNodeForName() local 332 return entry; in GetPrefixNodeForName() 336 auto entry = GetPrefixNodeForName(name); in GetPropAreaForName() local 337 if (!entry) { in GetPropAreaForName() 341 auto cnode = entry->context; in GetPropAreaForName()
|
/bionic/tests/libs/ |
D | bionic_tests_zipalign.cpp | 50 ZipEntry entry; in GetEntries() local 52 while ((return_value = Next(cookie, &entry, &name)) == 0) { in GetEntries() 53 entries->emplace_back(std::make_pair(std::make_unique<ZipEntry>(entry), name)); in GetEntries() 78 for (auto& entry : entries) { in CreateAlignedZip() local 79 ZipEntry* zip_entry = entry.first.get(); in CreateAlignedZip() 80 std::string& zip_name = entry.second; in CreateAlignedZip()
|
/bionic/linker/ |
D | linked_list.h | 45 explicit LinkedListIterator(LinkedListEntry<T>* entry) : entry_(entry) {} in LinkedListIterator() argument 120 LinkedListEntry<T>* entry = head_; in pop_front() local 121 T* element = entry->element; in pop_front() 122 head_ = entry->next; in pop_front() 123 Allocator::free(entry); in pop_front()
|
D | linker_common_types.h | 47 static void free(LinkedListEntry<soinfo>* entry); 57 static void free(LinkedListEntry<android_namespace_t>* entry);
|
/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ |
D | ip6_tables.h | 87 struct ip6t_entry entry; member 91 struct ip6t_entry entry; member 98 {.entry = IP6T_ENTRY_INIT(sizeof(struct ip6t_standard)),.target = XT_TARGET_INIT(XT_STANDARD_TARGET… 101 {.entry = IP6T_ENTRY_INIT(sizeof(struct ip6t_error)),.target = XT_TARGET_INIT(XT_ERROR_TARGET, size…
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
D | x_tables.h | 101 …atch_foreach(pos,entry) for((pos) = (struct xt_entry_match *) entry->elems; (pos) < (struct xt_ent… argument
|
/bionic/libc/tzcode/ |
D | bionic.cpp | 172 index_entry_t* entry = reinterpret_cast<index_entry_t*>(index); in __bionic_open_tzdata_path() local 175 memcpy(this_id, entry->buf, NAME_LENGTH); in __bionic_open_tzdata_path() 179 specific_zone_offset = ntohl(entry->start) + ntohl(header.data_offset); in __bionic_open_tzdata_path() 180 *entry_length = ntohl(entry->length); in __bionic_open_tzdata_path() 184 ++entry; in __bionic_open_tzdata_path()
|
/bionic/libc/upstream-openbsd/lib/libc/stdlib/ |
D | insque.c | 40 insque(void *entry, void *pred) in insque() argument 42 struct qelem *e = entry; in insque()
|
/bionic/linker/arch/arm_neon/ |
D | linker_gnu_hash_neon.cpp | 124 const struct GnuHashInitEntry* entry = &kInitTable[offset]; in calculate_gnu_hash_neon() local 127 chunk |= vld1_u8(reinterpret_cast<const uint8_t*>(&entry->ignore_mask)); in calculate_gnu_hash_neon() 130 uint32x4_t accum_hi = { entry->accum, 0, 0, 0 }; in calculate_gnu_hash_neon()
|
/bionic/libc/kernel/uapi/linux/ |
D | mpls.h | 24 __be32 entry; member
|
/bionic/tests/headers/posix/ |
D | search_h.c | 35 TYPE(struct entry); in search_h()
|