Home
last modified time | relevance | path

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

/NextBSD/libexec/bootpd/
HDhash.c192 hash_Exists(hashtable, hashcode, compare, key) in hash_Exists() argument
194 unsigned hashcode;
200 memberptr = (hashtable->table)[hashcode % (hashtable->size)];
223 hash_Insert(hashtable, hashcode, compare, key, element) in hash_Insert() argument
225 unsigned hashcode;
231 hashcode %= hashtable->size;
232 if (hash_Exists(hashtable, hashcode, compare, key)) {
240 temp->next = (hashtable->table)[hashcode];
241 (hashtable->table)[hashcode] = temp;
254 hash_Delete(hashtable, hashcode, compare, key, free_data) in hash_Delete() argument
[all …]
HDbootpd.c632 unsigned hlen, hashcode; in handle_request() local
682 hashcode = hash_HashFunction(bp->bp_chaddr, hlen); in handle_request()
683 hp = (struct host *) hash_Lookup(hwhashtable, hashcode, hwlookcmp, in handle_request()
695 hashcode = hash_HashFunction(dummyhost.haddr, hlen); in handle_request()
696 hp = (struct host *) hash_Lookup(hwhashtable, hashcode, in handle_request()
721 hashcode = hash_HashFunction((u_char *) &(bp->bp_ciaddr.s_addr), 4); in handle_request()
722 hp = (struct host *) hash_Lookup(iphashtable, hashcode, iplookcmp, in handle_request()
HDreadfile.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);
/NextBSD/sys/boot/ficl/softwords/
HDstring.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
HDficlclass.fr14 c-2byte obj: .hashcode
/NextBSD/contrib/gcc/
HDtree.c3376 hashval_t hashcode = 0; in build_type_attribute_qual_variant() local
3391 hashcode = iterative_hash_object (code, hashcode); in build_type_attribute_qual_variant()
3393 hashcode = iterative_hash_object (TYPE_HASH (TREE_TYPE (ntype)), 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()
3403 hashcode = iterative_hash_object (TYPE_HASH (TYPE_DOMAIN (ntype)), in build_type_attribute_qual_variant()
3404 hashcode); in build_type_attribute_qual_variant()
3407 hashcode = iterative_hash_object in build_type_attribute_qual_variant()
3408 (TREE_INT_CST_LOW (TYPE_MAX_VALUE (ntype)), hashcode); in build_type_attribute_qual_variant()
[all …]
HDtree-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()
HDgenattrtab.c292 int hashcode; /* Hash code of this rtx or string. */ member
317 attr_hash_add_rtx (int hashcode, rtx rtl) in attr_hash_add_rtx() argument
322 h->hashcode = hashcode; in attr_hash_add_rtx()
324 h->next = attr_hash_table[hashcode % RTL_HASH_SIZE]; in attr_hash_add_rtx()
325 attr_hash_table[hashcode % RTL_HASH_SIZE] = h; in attr_hash_add_rtx()
331 attr_hash_add_string (int hashcode, char *str) in attr_hash_add_string() argument
336 h->hashcode = -hashcode; in attr_hash_add_string()
338 h->next = attr_hash_table[hashcode % RTL_HASH_SIZE]; in attr_hash_add_string()
339 attr_hash_table[hashcode % RTL_HASH_SIZE] = h; in attr_hash_add_string()
356 int hashcode; in attr_rtx_1() local
[all …]
HDtree-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()
HDtree-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()
HDChangeLog-200026939 (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
26989 * tree.c (struct type_hash): hashcode is unsigned.
/NextBSD/libexec/bootpd/tools/bootpef/
HDbootpef.c234 unsigned int tlen, hashcode; local
238 hashcode = hash_HashFunction((u_char *)argv[0], tlen);
240 hashcode,
/NextBSD/contrib/gperf/src/
HDsearch.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()
/NextBSD/contrib/gcc/cp/
HDtree.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()
HDChangeLog-19986479 (hash_tree_cons): Initialize hashcode to 0.
/NextBSD/cddl/contrib/opensolaris/lib/libzfs/common/
HDlibzfs_sendrecv.c177 uint32_t hashcode; in ddt_update() local
180 hashcode = BF64_GET(cs->zc_word[0], 0, ddt->numhashbits); in ddt_update()
182 for (ddepp = &(ddt->dedup_hash_array[hashcode]); *ddepp != NULL; in ddt_update()