Home
last modified time | relevance | path

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

/freebsd-13.1/libexec/bootpd/
H A Dhash.c185 hash_Exists(hashtable, hashcode, compare, key) in hash_Exists() argument
187 unsigned hashcode;
218 unsigned hashcode;
224 hashcode %= hashtable->size;
233 temp->next = (hashtable->table)[hashcode];
234 (hashtable->table)[hashcode] = temp;
249 unsigned hashcode;
259 hashcode %= hashtable->size;
266 memberptr = (hashtable->table)[hashcode];
274 memberptr = (hashtable->table)[hashcode];
[all …]
H A Dbootpd.c629 unsigned hlen, hashcode; in handle_request() local
683 hashcode = hash_HashFunction(bp->bp_chaddr, hlen); in handle_request()
684 hp = (struct host *) hash_Lookup(hwhashtable, hashcode, hwlookcmp, in handle_request()
696 hashcode = hash_HashFunction(dummyhost.haddr, hlen); in handle_request()
697 hp = (struct host *) hash_Lookup(hwhashtable, hashcode, in handle_request()
722 hashcode = hash_HashFunction((u_char *) &(bp->bp_ciaddr.s_addr), 4); in handle_request()
723 hp = (struct host *) hash_Lookup(iphashtable, hashcode, iplookcmp, in handle_request()
H A Dreadfile.c315 unsigned hashcode, buflen; local
427 hashcode = hash_HashFunction(hp->haddr, haddrlength(hp->htype));
428 if (hash_Insert(hwhashtable, hashcode, hwinscmp, hp, hp) < 0) {
438 hashcode = hash_HashFunction((u_char *) & (hp->iaddr.s_addr), 4);
439 if (hash_Insert(iphashtable, hashcode, nullcmp, hp, hp) < 0) {
448 hashcode = hash_HashFunction((u_char *) hp->hostname->string,
450 if (hash_Insert(nmhashtable, hashcode, nullcmp,
1428 unsigned int tlen, hashcode; local
1434 hashcode = hash_HashFunction((u_char *) tstring, tlen);
1435 hp2 = (struct host *) hash_Lookup(nmhashtable, hashcode, nmcmp, tstring);
/freebsd-13.1/stand/ficl/softwords/
H A Dstring.fr114 : hashcode ( 2:this -- hashcode )
124 c-2byte obj: .hashcode
126 : set-hashcode { 2:this -- }
127 this --> super --> hashcode
128 this --> .hashcode --> set
131 : get-hashcode ( 2:this -- hashcode )
132 --> .hashcode --> get
137 --> set-hashcode
142 --> set-hashcode
H A Dficlclass.fr14 c-2byte obj: .hashcode
/freebsd-13.1/libexec/bootpd/tools/bootpef/
H A Dbootpef.c226 unsigned int tlen, hashcode; local
230 hashcode = hash_HashFunction((u_char *)argv[0], tlen);
232 hashcode,
/freebsd-13.1/sys/contrib/openzfs/cmd/zstream/
H A Dzstream_redup.c146 uint64_t hashcode = BF64_GET(ch, 0, rdt->numhashbits); in rdt_insert() local
149 rdepp = &(rdt->redup_hash_array[hashcode]); in rdt_insert()
166 uint64_t hashcode = BF64_GET(ch, 0, rdt->numhashbits); in rdt_lookup() local
168 for (redup_entry_t *rde = rdt->redup_hash_array[hashcode]; in rdt_lookup()
/freebsd-13.1/contrib/ncurses/
H A DNEWS191 + check for invalid hashcode in _nc_find_type_entry and
194 + check for invalid hashcode in _nc_find_entry.