Searched refs:hash (Results 1 – 6 of 6) sorted by relevance
/bionic/libc/regex/ |
D | regex2.h | 108 uch hash; /* hash code */ member 113 #define CHadd(cs, c) ((cs)->ptr[(uch)(c)] |= (cs)->mask, (cs)->hash += (c)) 114 #define CHsub(cs, c) ((cs)->ptr[(uch)(c)] &= ~(cs)->mask, (cs)->hash -= (c))
|
D | regcomp.c | 1061 cs->hash = 0; in allocset() 1105 uch h = cs->hash; in freezeset() 1113 if (cs2->hash == h && cs2 != cs) { in freezeset()
|
/bionic/libc/netbsd/resolv/ |
D | res_cache.c | 782 _dnsPacket_hashBytes( DnsPacket* packet, int numBytes, unsigned hash ) in _dnsPacket_hashBytes() argument 788 hash = hash*FNV_MULT ^ *p++; in _dnsPacket_hashBytes() 791 return hash; in _dnsPacket_hashBytes() 796 _dnsPacket_hashQName( DnsPacket* packet, unsigned hash ) in _dnsPacket_hashQName() argument 824 hash = hash*FNV_MULT ^ *p++; in _dnsPacket_hashQName() 829 return hash; in _dnsPacket_hashQName() 833 _dnsPacket_hashQR( DnsPacket* packet, unsigned hash ) in _dnsPacket_hashQR() argument 837 hash = _dnsPacket_hashQName(packet, hash); in _dnsPacket_hashQR() 838 hash = _dnsPacket_hashBytes(packet, 4, hash); /* TYPE and CLASS */ in _dnsPacket_hashQR() 839 return hash; in _dnsPacket_hashQR() [all …]
|
/bionic/libc/bionic/ |
D | malloc_debug_leak.c | 90 int hash = 0; in get_hash() local 93 hash = (hash * 33) + (backtrace[i] >> 2); in get_hash() 96 return hash; in get_hash() 123 size_t hash = get_hash(backtrace, numEntries); in record_backtrace() local 124 size_t slot = hash % HASHTABLE_SIZE; in record_backtrace()
|
D | pthread_debug.c | 748 const uint32_t hash = get_hashcode(key, ksize); in hashmap_lookup() local 749 const size_t slot = get_index(hash); in hashmap_lookup()
|
/bionic/linker/ |
D | linker.c | 380 static Elf32_Sym *_elf_lookup(soinfo *si, unsigned hash, const char *name) in _elf_lookup() argument 388 name, si->name, si->base, hash, hash % si->nbucket); in _elf_lookup() 389 n = hash % si->nbucket; in _elf_lookup() 391 for(n = si->bucket[hash % si->nbucket]; n != 0; n = si->chain[n]){ in _elf_lookup()
|