/bionic/libc/upstream-freebsd/lib/libc/stdlib/ |
D | hsearch_r.c | 44 hsearch_lookup_free(struct __hsearch *hsearch, size_t hash) in hsearch_lookup_free() argument 48 for (index = hash, i = 0;; index += ++i) { in hsearch_lookup_free() 62 size_t hash; in hsearch_hash() local 64 hash = offset_basis; in hsearch_hash() 66 hash ^= (uint8_t)*str++; in hsearch_hash() 68 hash *= UINT32_C(16777619); in hsearch_hash() 70 hash *= UINT64_C(1099511628211); in hsearch_hash() 72 return (hash); in hsearch_hash() 80 size_t hash, index, i, old_hash, old_count, new_count; in hsearch_r() local 83 hash = hsearch_hash(hsearch->offset_basis, item.key); in hsearch_r() [all …]
|
/bionic/libfdtrack/ |
D | fdtrack.cpp | 188 size_t hash = 0; in hash_stack() local 191 hash = std::__hash_combine(hash, std::hash<std::string_view>()(function_names[i])); in hash_stack() 192 hash = std::__hash_combine(hash, std::hash<uint64_t>()(function_offsets[i])); in hash_stack() 194 return hash; in hash_stack() 210 size_t hash = 0; in fdtrack_dump_impl() member 241 size_t hash = hash_stack(function_names, function_offsets, stack_depth); in fdtrack_dump_impl() local 244 if (stacks->data[i].hash == hash) { in fdtrack_dump_impl() 254 stack.hash = hash; in fdtrack_dump_impl()
|
/bionic/libc/dns/resolv/ |
D | res_cache.c | 761 _dnsPacket_hashBytes( DnsPacket* packet, int numBytes, unsigned hash ) in _dnsPacket_hashBytes() argument 767 hash = hash*FNV_MULT ^ *p++; in _dnsPacket_hashBytes() 770 return hash; in _dnsPacket_hashBytes() 775 _dnsPacket_hashQName( DnsPacket* packet, unsigned hash ) in _dnsPacket_hashQName() argument 803 hash = hash*FNV_MULT ^ *p++; in _dnsPacket_hashQName() 808 return hash; in _dnsPacket_hashQName() 812 _dnsPacket_hashQR( DnsPacket* packet, unsigned hash ) in _dnsPacket_hashQR() argument 814 hash = _dnsPacket_hashQName(packet, hash); in _dnsPacket_hashQR() 815 hash = _dnsPacket_hashBytes(packet, 4, hash); /* TYPE and CLASS */ in _dnsPacket_hashQR() 816 return hash; in _dnsPacket_hashQR() [all …]
|
/bionic/linker/ |
D | linker_soinfo.cpp | 121 const auto [ hash, name_len ] = calculate_gnu_hash(name); in ElfW() 151 const uint32_t word_num = (hash / kBloomMaskBits) & lib->gnu_maskwords_; in ElfW() 153 const uint32_t h1 = hash % kBloomMaskBits; in ElfW() 154 const uint32_t h2 = (hash >> lib->gnu_shift2_) % kBloomMaskBits; in ElfW() 157 sym_idx = lib->gnu_bucket_[hash % lib->gnu_nbucket_]; in ElfW() 179 if ((chain_value >> 1) == (hash >> 1)) { in ElfW() 328 const uint32_t hash = symbol_name.gnu_hash(); in ElfW() local 331 const uint32_t word_num = (hash / kBloomMaskBits) & gnu_maskwords_; in ElfW() 333 const uint32_t h1 = hash % kBloomMaskBits; in ElfW() 334 const uint32_t h2 = (hash >> gnu_shift2_) % kBloomMaskBits; in ElfW() [all …]
|
/bionic/tools/versioner/src/ |
D | CompilationType.h | 49 struct hash<CompilationType> { 65 return std::hash<int32_t>()(value);
|
/bionic/linker/arch/arm_neon/ |
D | linker_gnu_hash_neon.cpp | 198 const uint32_t hash = sum[0] + sum[1]; in calculate_gnu_hash_neon() local 200 return { hash, name_len }; in calculate_gnu_hash_neon()
|
/bionic/libdl/ |
D | Android.bp | 89 ldflags: ["-Wl,--hash-style=both"], 101 "-Wl,--hash-style=both",
|
/bionic/libc/malloc_debug/ |
D | PointerData.h | 70 struct hash<FrameKeyType> {
|
/bionic/libc/kernel/uapi/linux/ |
D | virtio_crypto.h | 252 struct virtio_crypto_hash_para hash; member
|
D | bpf.h | 789 __u32 hash; member 971 __u32 hash; member
|
/bionic/tests/libs/ |
D | Android.bp | 174 // Library to test gnu-styled hash 177 name: "libgnu-hash-table-library", 180 ldflags: ["-Wl,--hash-style=gnu"], 184 // Library to test sysv-styled hash 187 name: "libsysv-hash-table-library", 190 ldflags: ["-Wl,--hash-style=sysv"],
|
/bionic/ |
D | android-changes-for-ndk-developers.md | 100 The GNU hash style available with `--hash-style=gnu` allows faster 102 above. Use `--hash-style=both` if you want to build code that uses this
|
/bionic/tests/ |
D | Android.bp | 883 "libgnu-hash-table-library", 905 "libsysv-hash-table-library",
|
/bionic/libm/ |
D | Android.bp | 286 ldflags: ["-Wl,--hash-style=both"], 375 ldflags: ["-Wl,--hash-style=both"],
|
/bionic/libc/ |
D | Android.bp | 451 srcs: ["upstream-netbsd/common/lib/libc/hash/sha1/sha1.c"], 1592 "-Wl,--hash-style=both", 1638 ldflags: ["-Wl,--hash-style=both"], 1949 ldflags: ["-Wl,--hash-style=both"], 1960 ldflags: ["-Wl,--hash-style=both"],
|