Home
last modified time | relevance | path

Searched refs:hash (Results 1 – 8 of 8) sorted by relevance

/bionic/libc/dns/resolv/
Dres_cache.c769 _dnsPacket_hashBytes( DnsPacket* packet, int numBytes, unsigned hash ) in _dnsPacket_hashBytes() argument
775 hash = hash*FNV_MULT ^ *p++; in _dnsPacket_hashBytes()
778 return hash; in _dnsPacket_hashBytes()
783 _dnsPacket_hashQName( DnsPacket* packet, unsigned hash ) in _dnsPacket_hashQName() argument
811 hash = hash*FNV_MULT ^ *p++; in _dnsPacket_hashQName()
816 return hash; in _dnsPacket_hashQName()
820 _dnsPacket_hashQR( DnsPacket* packet, unsigned hash ) in _dnsPacket_hashQR() argument
822 hash = _dnsPacket_hashQName(packet, hash); in _dnsPacket_hashQR()
823 hash = _dnsPacket_hashBytes(packet, 4, hash); /* TYPE and CLASS */ in _dnsPacket_hashQR()
824 return hash; in _dnsPacket_hashQR()
[all …]
/bionic/libc/upstream-netbsd/lib/libc/regex/
Dregex2.h160 uch hash; /* hash code */ member
165 #define CHadd(cs, c) ((cs)->ptr[(uch)(c)] |= (cs)->mask, (cs)->hash += (c))
166 #define CHsub(cs, c) ((cs)->ptr[(uch)(c)] &= ~(cs)->mask, (cs)->hash -= (c))
Dregcomp.c1268 cs->hash = 0; in allocset()
1329 h = cs->hash; in freezeset()
1335 if (cs2->hash == h && cs2 != cs) { in freezeset()
/bionic/libc/tools/
Dgenerate-NOTICE.py37 hash = lines[i].startswith("#")
41 if not hash:
52 if hash and len(lines[i]) == 0:
/bionic/libc/kernel/uapi/linux/
Dbpf.h197 __u32 hash; member
/bionic/linker/
Dlinker.cpp761 uint32_t hash = symbol_name.gnu_hash(); in gnu_lookup() local
762 uint32_t h2 = hash >> gnu_shift2_; in gnu_lookup()
765 uint32_t word_num = (hash / bloom_mask_bits) & gnu_maskwords_; in gnu_lookup()
774 …if ((1 & (bloom_word >> (hash % bloom_mask_bits)) & (bloom_word >> (h2 % bloom_mask_bits))) == 0) { in gnu_lookup()
782 uint32_t n = gnu_bucket_[hash % gnu_nbucket_]; in gnu_lookup()
809 if (((gnu_chain_[n] ^ hash) >> 1) == 0 && in gnu_lookup()
830 uint32_t hash = symbol_name.elf_hash(); in elf_lookup() local
834 reinterpret_cast<void*>(base), hash, hash % nbucket_); in elf_lookup()
841 for (uint32_t n = bucket_[hash % nbucket_]; n != 0; n = chain_[n]) { in elf_lookup()
864 reinterpret_cast<void*>(base), hash, hash % nbucket_); in elf_lookup()
/bionic/libm/
DAndroid.bp326 ldflags: ["-Wl,--hash-style=both"],
442 ldflags: ["-Wl,--hash-style=both"],
/bionic/libc/
DAndroid.bp382 srcs: ["upstream-netbsd/common/lib/libc/hash/sha1/sha1.c"],
1752 ldflags: ["-Wl,--hash-style=both"],
1794 ldflags: ["-Wl,--hash-style=both"],
1844 ldflags: ["-Wl,--hash-style=both"],
1847 ldflags: ["-Wl,--hash-style=both"],