/freebsd/libexec/bootpd/ |
H A D | hash.c | 176 hash_Exists(hash_tbl *hashtable, unsigned hashcode, hash_cmpfp compare, in hash_Exists() argument 181 memberptr = (hashtable->table)[hashcode % (hashtable->size)]; in hash_Exists() 204 hash_Insert(hash_tbl *hashtable, unsigned hashcode, hash_cmpfp compare, in hash_Insert() argument 209 hashcode %= hashtable->size; in hash_Insert() 210 if (hash_Exists(hashtable, hashcode, compare, key)) { in hash_Insert() 218 temp->next = (hashtable->table)[hashcode]; in hash_Insert() 219 (hashtable->table)[hashcode] = temp; in hash_Insert() 232 hash_Delete(hash_tbl *hashtable, unsigned hashcode, hash_cmpfp compare, in hash_Delete() argument 240 hashcode %= hashtable->size; in hash_Delete() 247 memberptr = (hashtable->table)[hashcode]; in hash_Delete() [all …]
|
H A D | readfile.c | 311 unsigned hashcode, buflen; in readtab() local 423 hashcode = hash_HashFunction(hp->haddr, haddrlength(hp->htype)); in readtab() 424 if (hash_Insert(hwhashtable, hashcode, hwinscmp, hp, hp) < 0) { in readtab() 434 hashcode = hash_HashFunction((u_char *) & (hp->iaddr.s_addr), 4); in readtab() 435 if (hash_Insert(iphashtable, hashcode, nullcmp, hp, hp) < 0) { in readtab() 444 hashcode = hash_HashFunction((u_char *) hp->hostname->string, in readtab() 446 if (hash_Insert(nmhashtable, hashcode, nullcmp, in readtab() 1405 unsigned int tlen, hashcode; in fill_defaults() local 1411 hashcode = hash_HashFunction((u_char *) tstring, tlen); in fill_defaults() 1412 hp2 = (struct host *) hash_Lookup(nmhashtable, hashcode, nmcmp, tstring); in fill_defaults()
|
H A D | bootpd.c | 623 unsigned hlen, hashcode; in handle_request() local 677 hashcode = hash_HashFunction(bp->bp_chaddr, hlen); in handle_request() 678 hp = (struct host *) hash_Lookup(hwhashtable, hashcode, hwlookcmp, in handle_request() 690 hashcode = hash_HashFunction(dummyhost.haddr, hlen); in handle_request() 691 hp = (struct host *) hash_Lookup(hwhashtable, hashcode, in handle_request() 716 hashcode = hash_HashFunction((u_char *) &(bp->bp_ciaddr.s_addr), 4); in handle_request() 717 hp = (struct host *) hash_Lookup(iphashtable, hashcode, iplookcmp, in handle_request()
|
/freebsd/stand/ficl/softwords/ |
H A D | string.fr | 113 : hashcode ( 2:this -- hashcode ) 123 c-2byte obj: .hashcode 125 : set-hashcode { 2:this -- } 126 this --> super --> hashcode 127 this --> .hashcode --> set 130 : get-hashcode ( 2:this -- hashcode ) 131 --> .hashcode --> get 136 --> set-hashcode 141 --> set-hashcode
|
H A D | ficlclass.fr | 13 c-2byte obj: .hashcode
|
/freebsd/libexec/bootpd/tools/bootpef/ |
H A D | bootpef.c | 222 unsigned int tlen, hashcode; in main() local 226 hashcode = hash_HashFunction((u_char *)argv[0], tlen); in main() 228 hashcode, in main()
|
/freebsd/sys/contrib/openzfs/cmd/zstream/ |
H A D | zstream_redup.c | 136 uint64_t hashcode = BF64_GET(ch, 0, rdt->numhashbits); in rdt_insert() local 139 rdepp = &(rdt->redup_hash_array[hashcode]); in rdt_insert() 156 uint64_t hashcode = BF64_GET(ch, 0, rdt->numhashbits); in rdt_lookup() local 158 for (redup_entry_t *rde = rdt->redup_hash_array[hashcode]; in rdt_lookup()
|
/freebsd/contrib/ncurses/ |
H A D | NEWS | 1819 + check for invalid hashcode in _nc_find_type_entry and 1822 + check for invalid hashcode in _nc_find_entry.
|