/bionic/libc/upstream-freebsd/lib/libc/stdlib/ |
D | hsearch_r.c | 46 size_t index, i; in hsearch_lookup_free() local 48 for (index = hash, i = 0;; index += ++i) { in hsearch_lookup_free() 49 ENTRY *entry = &hsearch->entries[index & hsearch->index_mask]; in hsearch_lookup_free() 80 size_t hash, index, i, old_hash, old_count, new_count; in hsearch_r() local 89 for (index = hash, i = 0;; index += ++i) { in hsearch_r() 90 entry = &hsearch->entries[index & hsearch->index_mask]; in hsearch_r()
|
/bionic/tests/ |
D | net_if_test.cpp | 25 unsigned index; in TEST() local 26 index = if_nametoindex("lo"); in TEST() 27 ASSERT_NE(index, 0U); in TEST() 30 char* name = if_indextoname(index, buf); in TEST() 35 unsigned index = if_nametoindex("this-interface-does-not-exist"); in TEST() local 36 ASSERT_EQ(0U, index); in TEST()
|
D | thread_local_test.cpp | 182 uintptr_t index; member 224 ASSERT_TRUE(tls_var[n].object.index != 0); in TEST() 229 ASSERT_TRUE(prev_index + 1 == tls_var[n].object.index || in TEST() 233 prev_index = tls_var[n].object.index; in TEST()
|
D | fdtrack_test.cpp | 48 void DumpEvent(std::vector<android_fdtrack_event>* events, size_t index) { in DumpEvent() argument 49 auto& event = (*events)[index]; in DumpEvent() 51 fprintf(stderr, " event %zu: fd %d created by %s\n", index, event.fd, in DumpEvent() 54 fprintf(stderr, " event %zu: fd %d closed\n", index, event.fd); in DumpEvent()
|
/bionic/libc/kernel/uapi/xen/ |
D | gntalloc.h | 27 __u64 index; member 33 __u64 index; member 38 __u64 index; member
|
D | gntdev.h | 30 __u64 index; member 35 __u64 index; member 52 __u64 index; member
|
/bionic/tools/ |
D | generate-version-script.py | 20 index = line.find("#") 21 if index != -1: 22 tags = line[index+1:].split()
|
/bionic/libc/include/sys/ |
D | cdefs.h | 314 #define __bos_dynamic_check_impl_and(bos_val, op, index, cond) \ argument 316 (__builtin_constant_p(index) && bos_val op index && (cond))) 318 #define __bos_dynamic_check_impl(bos_val, op, index) \ argument 319 __bos_dynamic_check_impl_and(bos_val, op, index, 1) 321 #define __bos_trivially_ge(bos_val, index) __bos_dynamic_check_impl((bos_val), >=, (index)) argument 322 #define __bos_trivially_gt(bos_val, index) __bos_dynamic_check_impl((bos_val), >, (index)) argument
|
/bionic/libc/system_properties/ |
D | contexts_serialized.cpp | 130 uint32_t index; in GetPropAreaForName() local 131 property_info_area_file_->GetPropertyInfoIndexes(name, &index, nullptr); in GetPropAreaForName() 132 if (index == ~0u || index >= num_context_nodes_) { in GetPropAreaForName() 137 auto* context_node = &context_nodes_[index]; in GetPropAreaForName()
|
/bionic/libc/kernel/uapi/linux/ |
D | vhost_types.h | 26 unsigned int index; member 30 unsigned int index; member 34 unsigned int index; member
|
D | ptp_clock.h | 52 unsigned int index; member 62 unsigned int index; member 94 unsigned int index; member 120 unsigned int index; member
|
D | v4l2-subdev.h | 48 __u32 index; member 55 __u32 index; member 71 __u32 index; member
|
D | hiddev.h | 37 __u32 index; member 44 __s32 index; member
|
D | erspan.h | 39 __be32 index; member
|
/bionic/libc/tzcode/ |
D | bionic.cpp | 156 char* index = reinterpret_cast<char*>(malloc(index_size)); in __bionic_open_tzdata_path() local 157 if (index == nullptr) { in __bionic_open_tzdata_path() 162 if (TEMP_FAILURE_RETRY(read(fd, index, index_size)) != static_cast<ssize_t>(index_size)) { in __bionic_open_tzdata_path() 165 free(index); in __bionic_open_tzdata_path() 172 index_entry_t* entry = reinterpret_cast<index_entry_t*>(index); in __bionic_open_tzdata_path() 186 free(index); in __bionic_open_tzdata_path()
|
/bionic/libc/kernel/uapi/linux/dvb/ |
D | ca.h | 47 unsigned int index; member 53 unsigned int index; member
|
D | dmx.h | 96 __u32 index; member 108 __u32 index; member
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
D | xt_set.h | 27 ip_set_id_t index; member 45 ip_set_id_t index; member
|
/bionic/libc/upstream-netbsd/lib/libc/isc/ |
D | ev_timers.c | 262 if (heap_element(ctx->timers, del->index) != del) in evClearTimer() 265 if (heap_delete(ctx->timers, del->index) < 0) in evClearTimer() 289 if (heap_element(ctx->timers, timer->index) != timer) in evConfigTimer() 315 if (heap_element(ctx->timers, timer->index) != timer) in evResetTimer() 344 result = heap_increased(ctx->timers, timer->index); in evResetTimer() 350 result = heap_decreased(ctx->timers, timer->index); in evResetTimer() 464 timer->index = idx; in set_index()
|
/bionic/libc/include/bits/fortify/ |
D | unistd.h | 68 #define __bos_trivially_ge_no_overflow(bos_val, index) \ argument 69 ((__bos_dynamic_check_impl_and((bos_val), >=, (index), (bos_val) <= SSIZE_MAX) && \ 70 __builtin_constant_p(index) && (index) <= SSIZE_MAX))
|
/bionic/linker/ |
D | linker_tls.h | 60 TlsIndex index; member
|
D | linker_relocate.cpp | 84 const char* get_string(ElfW(Word) index) { in get_string() argument 85 if (__predict_false(index >= si_strtab_size)) { in get_string() 87 si->get_realpath(), si_strtab_size, index); in get_string() 89 return si_strtab + index; in get_string() 451 .index.module_id = module_id, in process_relocation_impl() 452 .index.offset = sym_addr + addend, in process_relocation_impl() 461 rel_target, desc_arg.generation, desc_arg.index.module_id, in process_relocation_impl() 462 desc_arg.index.offset, sym_name); in process_relocation_impl()
|
/bionic/libc/upstream-netbsd/lib/libc/include/isc/ |
D | heap.h | 30 heap_index_func index; member
|
/bionic/libc/kernel/uapi/scsi/ |
D | scsi_bsg_ufs.h | 33 __u8 index; member
|
/bionic/libc/kernel/uapi/sound/ |
D | firewire.h | 63 unsigned int index; member
|