/external/iproute2/lib/ |
D | ll_map.c | 55 unsigned namehash(const char *str) in namehash() function 68 unsigned h = namehash(name) & (IDXMAP_SIZE - 1); in ll_get_by_name() 115 h = namehash(ifname) & (IDXMAP_SIZE - 1); in ll_remember_index() 134 h = namehash(ifname) & (IDXMAP_SIZE - 1); in ll_remember_index()
|
/external/f2fs-tools/fsck/ |
D | dir.c | 65 unsigned int len, f2fs_hash_t namehash, int *max_slots, in find_target_dentry() argument 83 de->hash_code == namehash && in find_target_dentry() 101 const u8 *name, int len, f2fs_hash_t namehash, in find_in_block() argument 107 return find_target_dentry(name, len, namehash, max_slots, &d); in find_in_block() 120 f2fs_hash_t namehash; in find_in_level() local 124 namehash = f2fs_dentry_hash(get_encoding(sbi), IS_CASEFOLDED(&dir->i), in find_in_level() 130 bidx = dir_block_index(level, dir_level, le32_to_cpu(namehash) % nbucket); in find_in_level() 152 namehash, &max_slots); in find_in_level()
|
/external/iproute2/include/ |
D | ll_map.h | 13 unsigned namehash(const char *str);
|
/external/starlark-go/starlarkstruct/ |
D | struct.go | 164 namehash, _ := starlark.String(e.name).Hash() 165 x = x ^ 3*namehash
|
/external/mdnsresponder/mDNSCore/ |
D | uDNS.h | 78 …acheGroupForName(const mDNS *const m, const mDNSu32 slot, const mDNSu32 namehash, const domainname…
|
D | DNSCommon.h | 144 (r1)->namehash == (r2)->namehash && \
|
D | mDNS.c | 238 mDNSexport AuthGroup *AuthGroupForName(AuthHash *r, const mDNSu32 slot, const mDNSu32 namehash, con… in AuthGroupForName() argument 242 if (ag->namehash == namehash && SameDomainName(ag->name, name)) in AuthGroupForName() 249 return(AuthGroupForName(r, slot, rr->namehash, rr->name)); in AuthGroupForRecord() 258 ag->namehash = rr->namehash; in GetAuthGroup() 322 …acheGroupForName(const mDNS *const m, const mDNSu32 slot, const mDNSu32 namehash, const domainname… in CacheGroupForName() argument 326 if (cg->namehash == namehash && SameDomainName(cg->name, name)) in CacheGroupForName() 333 return(CacheGroupForName(m, slot, rr->namehash, rr->name)); in CacheGroupForRecord() 624 r1->resrec.namehash == r2->resrec.namehash && in SameResourceRecordNameClassInterface() 647 pktrr->resrec.namehash == authrr->resrec.namehash && in PacketRRMatchesSignature() 1226 rr->resrec.namehash = DomainNameHashValue(rr->resrec.name); in mDNS_Register_internal() [all …]
|
D | mDNSEmbeddedAPI.h | 1101 mDNSu32 namehash; // Name-based (i.e. case-insensitive) hash of name member 1150 mDNSu32 namehash; // Name-based (i.e. case insensitive) hash of name member 1322 mDNSu32 namehash; // Name-based (i.e. case insensitive) hash of name member 2735 …const domainname *const name, const mDNSu32 namehash, const mDNSu16 rrtype, const mDNSu16 rrclass,… 2748 extern AuthGroup *AuthGroupForName(AuthHash *r, const mDNSu32 slot, const mDNSu32 namehash, const d…
|
D | DNSCommon.c | 1267 return(rr->namehash == q->qnamehash && SameDomainName(rr->name, &q->qname)); in ResourceRecordAnswersQuestion() 1343 return(rr->namehash == q->qnamehash && SameDomainName(rr->name, &q->qname)); in LocalOnlyRecordAnswersQuestion() 1369 return(rr->namehash == q->qnamehash && SameDomainName(rr->name, &q->qname)); in AnyTypeRecordAnswersQuestion() 1391 return(rr->namehash == q->qnamehash && SameDomainName(rr->name, &q->qname)); in ResourceRecordAnswersUnicastResponse() 2170 rr->resrec.namehash = DomainNameHashValue(rr->resrec.name); in GetLargeResourceRecord()
|
/external/iproute2/ip/ |
D | ipnetns.c | 145 #define NSID_HASH_NAME(name) (namehash(name) & (NSIDMAP_SIZE - 1))
|
/external/mdnsresponder/mDNSShared/ |
D | dnsextd.c | 821 bucket = ptr->rr.resrec.namehash % newnbuckets; in RehashTable() 1400 bucket = rr->namehash % d->nbuckets; in UpdateLeaseTable() 1446 bucket = rr->namehash % d->nbuckets; in UpdateLeaseTable()
|
D | uds_daemon.c | 545 rr->resrec.namehash = DomainNameHashValue(rr->resrec.name); in read_rr_from_ipc_msg()
|