Searched defs:hash (Results 1 - 5 of 5) sorted by relevance

/bionic/libc/bionic/
H A Dmalloc_debug_leak.cpp97 int hash = 0; local
100 hash = (hash * 33) + (backtrace[i] >> 2);
103 return hash;
128 size_t hash = get_hash(backtrace, numEntries); local
129 size_t slot = hash % HASHTABLE_SIZE;
H A Dpthread_debug.cpp561 const uint32_t hash = get_hashcode(key, ksize); local
562 const size_t slot = get_index(hash);
/bionic/libc/upstream-netbsd/libc/regex/
H A Dregex2.h149 * and a mask to pick out the relevant bit of each byte. A hash code
160 uch hash; /* hash code */ member in struct:__anon688
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))
/bionic/linker/
H A Dlinker.cpp442 static Elf32_Sym* soinfo_elf_lookup(soinfo* si, unsigned hash, const char* name) { argument
447 name, si->name, si->base, hash, hash % si->nbucket);
449 for (unsigned n = si->bucket[hash % si->nbucket]; n != 0; n = si->chain[n]) {
1481 DL_ERR("empty/missing DT_HASH in \"%s\" (built with --hash-style=gnu?)", si->name);
/bionic/libc/netbsd/resolv/
H A Dres_cache.c69 * - the implementation is just a (query-data) => (answer-data) hash table
775 /* use 32-bit FNV hash function */
780 _dnsPacket_hashBytes( DnsPacket* packet, int numBytes, unsigned hash )
786 hash = hash*FNV_MULT ^ *p++;
789 return hash;
794 _dnsPacket_hashQName( DnsPacket* packet, unsigned hash )
822 hash = hash*FNV_MULT ^ *p++;
827 return hash;
841 unsigned hash = FNV_BASIS; local
1005 unsigned int hash; /* hash value */ member in struct:Entry
1229 unsigned int hash; member in struct:pending_req_info
[all...]

Completed in 218 milliseconds