Home
last modified time | relevance | path

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

/freebsd-12.1/libexec/bootpd/
H A Dhash.c192 hash_Exists(hashtable, hashcode, compare, key) in hash_Exists() argument
194 unsigned hashcode;
225 unsigned hashcode;
231 hashcode %= hashtable->size;
240 temp->next = (hashtable->table)[hashcode];
241 (hashtable->table)[hashcode] = temp;
256 unsigned hashcode;
266 hashcode %= hashtable->size;
273 memberptr = (hashtable->table)[hashcode];
281 memberptr = (hashtable->table)[hashcode];
[all …]
H A Dbootpd.c637 unsigned hlen, hashcode; in handle_request() local
691 hashcode = hash_HashFunction(bp->bp_chaddr, hlen); in handle_request()
692 hp = (struct host *) hash_Lookup(hwhashtable, hashcode, hwlookcmp, in handle_request()
704 hashcode = hash_HashFunction(dummyhost.haddr, hlen); in handle_request()
705 hp = (struct host *) hash_Lookup(hwhashtable, hashcode, in handle_request()
730 hashcode = hash_HashFunction((u_char *) &(bp->bp_ciaddr.s_addr), 4); in handle_request()
731 hp = (struct host *) hash_Lookup(iphashtable, hashcode, iplookcmp, in handle_request()
H A Dreadfile.c323 unsigned hashcode, buflen; local
435 hashcode = hash_HashFunction(hp->haddr, haddrlength(hp->htype));
436 if (hash_Insert(hwhashtable, hashcode, hwinscmp, hp, hp) < 0) {
446 hashcode = hash_HashFunction((u_char *) & (hp->iaddr.s_addr), 4);
447 if (hash_Insert(iphashtable, hashcode, nullcmp, hp, hp) < 0) {
456 hashcode = hash_HashFunction((u_char *) hp->hostname->string,
458 if (hash_Insert(nmhashtable, hashcode, nullcmp,
1436 unsigned int tlen, hashcode; local
1442 hashcode = hash_HashFunction((u_char *) tstring, tlen);
1443 hp2 = (struct host *) hash_Lookup(nmhashtable, hashcode, nmcmp, tstring);
/freebsd-12.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-12.1/contrib/gcc/
H A Dtree.c3391 hashcode = iterative_hash_object (code, hashcode); in build_type_attribute_qual_variant()
3394 hashcode); in build_type_attribute_qual_variant()
3395 hashcode = attribute_hash_list (attribute, hashcode); in build_type_attribute_qual_variant()
3400 hashcode = type_hash_list (TYPE_ARG_TYPES (ntype), hashcode); in build_type_attribute_qual_variant()
3415 hashcode = iterative_hash_object (precision, hashcode); in build_type_attribute_qual_variant()
4144 hashcode); in type_hash_list()
4146 return hashcode; in type_hash_list()
5292 hashcode = type_hash_list (arg_types, hashcode); in build_function_type()
5360 hashcode = type_hash_list (argtypes, hashcode); in build_method_type_directly()
5402 hashcode = iterative_hash_object (TYPE_HASH (type), hashcode); in build_offset_type()
[all …]
H A Dtree-vn.c55 hashval_t hashcode; member
142 return ve->hashcode; in val_expr_pair_hash()
261 new_pair->hashcode = vn_compute (expr, 0); in vn_add_with_vuses()
262 slot = htab_find_slot_with_hash (value_table, new_pair, new_pair->hashcode, in vn_add_with_vuses()
302 vep.hashcode = vn_compute (expr, 0); in vn_lookup_with_vuses()
303 slot = htab_find_slot_with_hash (value_table, &vep, vep.hashcode, NO_INSERT); in vn_lookup_with_vuses()
H A Dgenattrtab.c322 h->hashcode = hashcode; in attr_hash_add_rtx()
336 h->hashcode = -hashcode; in attr_hash_add_string()
356 int hashcode; in attr_rtx_1() local
378 if (h->hashcode == hashcode in attr_rtx_1()
409 if (h->hashcode == hashcode in attr_rtx_1()
432 if (h->hashcode == hashcode in attr_rtx_1()
453 if (h->hashcode == hashcode in attr_rtx_1()
578 int hashcode; in attr_string() local
585 hashcode = ((hashcode * 613) + (unsigned) str[i]); in attr_string()
587 hashcode = -hashcode; in attr_string()
[all …]
H A Dtree-ssa-pre.c372 hashval_t hashcode; member
381 return ve->hashcode; in expr_pred_trans_hash()
437 ept.hashcode = vn_compute (e, (unsigned long) pred); in phi_trans_lookup()
438 slot = htab_find_slot_with_hash (phi_translate_table, &ept, ept.hashcode, in phi_trans_lookup()
459 new_pair->hashcode = vn_compute (e, (unsigned long) pred); in phi_trans_add()
461 new_pair->hashcode, INSERT); in phi_trans_add()
H A Dtree-ssa-structalias.c4359 hashval_t hashcode; member
4370 return bi->hashcode; in shared_bitmap_hash()
4393 sbi.hashcode = bitmap_hash (pt_vars); in shared_bitmap_lookup()
4396 sbi.hashcode, NO_INSERT); in shared_bitmap_lookup()
4413 sbi->hashcode = bitmap_hash (pt_vars); in shared_bitmap_add()
4416 sbi->hashcode, INSERT); in shared_bitmap_add()
H A DChangeLog-200026939 (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
26989 * tree.c (struct type_hash): hashcode is unsigned.
/freebsd-12.1/libexec/bootpd/tools/bootpef/
H A Dbootpef.c234 unsigned int tlen, hashcode; local
238 hashcode = hash_HashFunction((u_char *)argv[0], tlen);
240 hashcode,
/freebsd-12.1/contrib/gperf/src/
H A Dsearch.cc1313 int hashcode; in find_asso_values() local
1321 hashcode = sum; in find_asso_values()
1326 if (_collision_detector->set_bit (hashcode)) in find_asso_values()
1532 int hashcode = compute_hash (keyword); in find_good_asso_values() local
1533 if (max_hash_value < hashcode) in find_good_asso_values()
1534 max_hash_value = hashcode; in find_good_asso_values()
1535 if (_collision_detector->set_bit (hashcode)) in find_good_asso_values()
1606 unsigned int hashcode = compute_hash (curr); in optimize() local
1607 if (_collision_detector->set_bit (hashcode)) in optimize()
/freebsd-12.1/contrib/gcc/cp/
H A Dtree.c732 hashval_t hashcode = 0; in list_hash_pieces() local
735 hashcode += TREE_HASH (chain); in list_hash_pieces()
738 hashcode += TREE_HASH (value); in list_hash_pieces()
740 hashcode += 1007; in list_hash_pieces()
742 hashcode += TREE_HASH (purpose); in list_hash_pieces()
744 hashcode += 1009; in list_hash_pieces()
745 return hashcode; in list_hash_pieces()
766 int hashcode = 0; in hash_tree_cons() local
771 hashcode = list_hash_pieces (purpose, value, chain); in hash_tree_cons()
778 slot = htab_find_slot_with_hash (list_hash_table, &proxy, hashcode, in hash_tree_cons()
H A DChangeLog-19986479 (hash_tree_cons): Initialize hashcode to 0.
/freebsd-12.1/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_sendrecv.c181 uint32_t hashcode; in ddt_update() local
184 hashcode = BF64_GET(cs->zc_word[0], 0, ddt->numhashbits); in ddt_update()
186 for (ddepp = &(ddt->dedup_hash_array[hashcode]); *ddepp != NULL; in ddt_update()