Home
last modified time | relevance | path

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

/dflybsd-src/libexec/bootpd/
H A Dhash.c181 hash_Exists(hash_tbl *hashtable, unsigned hashcode, hash_cmpfp compare, in hash_Exists() argument
186 memberptr = (hashtable->table)[hashcode % (hashtable->size)]; in hash_Exists()
209 hash_Insert(hash_tbl *hashtable, unsigned hashcode, hash_cmpfp compare, in hash_Insert() argument
214 hashcode %= hashtable->size; in hash_Insert()
215 if (hash_Exists(hashtable, hashcode, compare, key)) { in hash_Insert()
223 temp->next = (hashtable->table)[hashcode]; in hash_Insert()
224 (hashtable->table)[hashcode] = temp; in hash_Insert()
237 hash_Delete(hash_tbl *hashtable, unsigned hashcode, hash_cmpfp compare, in hash_Delete() argument
245 hashcode %= hashtable->size; in hash_Delete()
252 memberptr = (hashtable->table)[hashcode]; in hash_Delete()
[all …]
H A Dbootpd.c624 unsigned hlen, hashcode; in handle_request() local
674 hashcode = hash_HashFunction(bp->bp_chaddr, hlen); in handle_request()
675 hp = (struct host *) hash_Lookup(hwhashtable, hashcode, hwlookcmp, in handle_request()
687 hashcode = hash_HashFunction(dummyhost.haddr, hlen); in handle_request()
688 hp = (struct host *) hash_Lookup(hwhashtable, hashcode, in handle_request()
713 hashcode = hash_HashFunction((u_char *) &(bp->bp_ciaddr.s_addr), 4); in handle_request()
714 hp = (struct host *) hash_Lookup(iphashtable, hashcode, iplookcmp, in handle_request()
H A Dreadfile.c322 unsigned hashcode, buflen; in readtab() local
434 hashcode = hash_HashFunction(hp->haddr, haddrlength(hp->htype)); in readtab()
435 if (hash_Insert(hwhashtable, hashcode, hwinscmp, hp, hp) < 0) { in readtab()
445 hashcode = hash_HashFunction((u_char *) & (hp->iaddr.s_addr), 4); in readtab()
446 if (hash_Insert(iphashtable, hashcode, nullcmp, hp, hp) < 0) { in readtab()
455 hashcode = hash_HashFunction((u_char *) hp->hostname->string, in readtab()
457 if (hash_Insert(nmhashtable, hashcode, nullcmp, in readtab()
1415 unsigned int tlen, hashcode; in fill_defaults() local
1421 hashcode = hash_HashFunction((u_char *) tstring, tlen); in fill_defaults()
1422 hp2 = (struct host *) hash_Lookup(nmhashtable, hashcode, nmcmp, tstring); in fill_defaults()
/dflybsd-src/contrib/gcc-4.7/gcc/
H A Dtree-ssa-sccvn.c323 if (vc1->hashcode != vc2->hashcode) in vn_constant_eq()
335 return vc1->hashcode; in vn_constant_hash()
347 vc.hashcode = vn_hash_constant_with_type (constant); in get_constant_value_id()
350 vc.hashcode, NO_INSERT); in get_constant_value_id()
366 vc.hashcode = vn_hash_constant_with_type (constant); in get_or_alloc_constant_value_id()
369 vc.hashcode, INSERT); in get_or_alloc_constant_value_id()
374 vcp->hashcode = vc.hashcode; in get_or_alloc_constant_value_id()
431 return vr1->hashcode; in vn_reference_hash()
493 if (vr1->hashcode != vr2->hashcode) in vn_reference_eq()
497 if (vr1->hashcode != vr2->hashcode) in vn_reference_eq()
[all …]
H A Dtree-ssa-sccvn.h42 hashval_t hashcode; member
67 hashval_t hashcode; member
107 hashval_t hashcode; member
119 hashval_t hashcode; member
H A Dgenattrtab.c306 int hashcode; /* Hash code of this rtx or string. */ member
331 attr_hash_add_rtx (int hashcode, rtx rtl) in attr_hash_add_rtx() argument
336 h->hashcode = hashcode; in attr_hash_add_rtx()
338 h->next = attr_hash_table[hashcode % RTL_HASH_SIZE]; in attr_hash_add_rtx()
339 attr_hash_table[hashcode % RTL_HASH_SIZE] = h; in attr_hash_add_rtx()
345 attr_hash_add_string (int hashcode, char *str) in attr_hash_add_string() argument
350 h->hashcode = -hashcode; in attr_hash_add_string()
352 h->next = attr_hash_table[hashcode % RTL_HASH_SIZE]; in attr_hash_add_string()
353 attr_hash_table[hashcode % RTL_HASH_SIZE] = h; in attr_hash_add_string()
370 int hashcode; in attr_rtx_1() local
[all …]
H A Dtree.c4220 hashval_t hashcode = 0; in build_type_attribute_qual_variant() local
4246 hashcode = iterative_hash_object (code, hashcode); in build_type_attribute_qual_variant()
4248 hashcode = iterative_hash_object (TYPE_HASH (TREE_TYPE (ntype)), in build_type_attribute_qual_variant()
4249 hashcode); in build_type_attribute_qual_variant()
4250 hashcode = attribute_hash_list (attribute, hashcode); in build_type_attribute_qual_variant()
4255 hashcode = type_hash_list (TYPE_ARG_TYPES (ntype), hashcode); in build_type_attribute_qual_variant()
4259 hashcode = iterative_hash_object (TYPE_HASH (TYPE_DOMAIN (ntype)), in build_type_attribute_qual_variant()
4260 hashcode); in build_type_attribute_qual_variant()
4263 hashcode = iterative_hash_object in build_type_attribute_qual_variant()
4264 (TREE_INT_CST_LOW (TYPE_MAX_VALUE (ntype)), hashcode); in build_type_attribute_qual_variant()
[all …]
H A Dtree-ssa-structalias.c1884 hashval_t hashcode; member
1904 return ecl->hashcode; in equiv_class_label_hash()
1914 return (eql1->hashcode == eql2->hashcode in equiv_class_label_eq()
1928 ecl.hashcode = bitmap_hash (labels); in equiv_class_lookup()
1931 ecl.hashcode, NO_INSERT); in equiv_class_lookup()
1960 ecl->hashcode = bitmap_hash (labels); in equiv_class_add()
1963 ecl->hashcode, INSERT); in equiv_class_add()
5765 hashval_t hashcode; member
5777 return bi->hashcode; in shared_bitmap_hash()
5800 sbi.hashcode = bitmap_hash (pt_vars); in shared_bitmap_lookup()
[all …]
H A Dtree-ssa-pre.c221 return PRE_EXPR_NARY (e)->hashcode; in pre_expr_hash()
223 return PRE_EXPR_REFERENCE (e)->hashcode; in pre_expr_hash()
510 hashval_t hashcode; member
520 return ve->hashcode; in expr_pred_trans_hash()
553 ept.hashcode = iterative_hash_hashval_t (pre_expr_hash (e), pred->index); in phi_trans_lookup()
554 slot = htab_find_slot_with_hash (phi_translate_table, &ept, ept.hashcode, in phi_trans_lookup()
574 new_pair->hashcode = iterative_hash_hashval_t (pre_expr_hash (e), in phi_trans_add()
578 new_pair->hashcode, INSERT); in phi_trans_add()
/dflybsd-src/contrib/gcc-8.0/gcc/
H A Dtree-ssa-sccvn.h42 hashval_t hashcode; member
67 hashval_t hashcode; member
122 hashval_t hashcode; member
135 hashval_t hashcode; member
H A Dgenattrtab.c322 unsigned int hashcode; /* Hash code of this rtx or string. */ member
347 attr_hash_add_rtx (unsigned int hashcode, rtx rtl) in attr_hash_add_rtx() argument
352 h->hashcode = hashcode; in attr_hash_add_rtx()
354 h->next = attr_hash_table[hashcode % RTL_HASH_SIZE]; in attr_hash_add_rtx()
355 attr_hash_table[hashcode % RTL_HASH_SIZE] = h; in attr_hash_add_rtx()
361 attr_hash_add_string (unsigned int hashcode, char *str) in attr_hash_add_string() argument
366 h->hashcode = -hashcode; in attr_hash_add_string()
368 h->next = attr_hash_table[hashcode % RTL_HASH_SIZE]; in attr_hash_add_string()
369 attr_hash_table[hashcode % RTL_HASH_SIZE] = h; in attr_hash_add_string()
386 unsigned int hashcode; in attr_rtx_1() local
[all …]
H A Dtree-ssa-sccvn.c151 return vno1->hashcode; in hash()
184 return vp1->hashcode; in hash()
250 return vr1->hashcode; in hash()
295 return vc1->hashcode; in hash()
303 if (vc1->hashcode != vc2->hashcode) in equal()
499 vc.hashcode = vn_hash_constant_with_type (constant); in get_constant_value_id()
517 vc.hashcode = vn_hash_constant_with_type (constant); in get_or_alloc_constant_value_id()
524 vcp->hashcode = vc.hashcode; in get_or_alloc_constant_value_id()
615 if (vr1->hashcode != vr2->hashcode) in vn_reference_eq()
1571 hash = vr->hashcode; in vn_reference_lookup_1()
[all …]
H A Dtree-ssa-pre.c309 return PRE_EXPR_NARY (e)->hashcode; in hash()
311 return PRE_EXPR_REFERENCE (e)->hashcode; in hash()
556 hashval_t hashcode; member
567 return e->hashcode; in hash()
600 tem.hashcode = hash; in phi_trans_add()
611 (*entry)->hashcode = hash; in phi_trans_add()
1676 phi_translate_table->remove_elt_with_hash (slot, slot->hashcode); in phi_translate()
H A Dtree-ssa-structalias.c1898 hashval_t hashcode; member
1918 return ecl->hashcode; in hash()
1927 return (eql1->hashcode == eql2->hashcode in equal()
1951 ecl.hashcode = bitmap_hash (labels); in equiv_class_lookup_or_add()
1957 (*slot)->hashcode = ecl.hashcode; in equiv_class_lookup_or_add()
6291 hashval_t hashcode; member
6309 return bi->hashcode; in hash()
6335 sbi.hashcode = bitmap_hash (pt_vars); in shared_bitmap_lookup()
6354 sbi->hashcode = bitmap_hash (pt_vars); in shared_bitmap_add()
H A Dtree.c6604 type_hash_canon (unsigned int hashcode, tree type) in type_hash_canon() argument
6617 in.hash = hashcode; in type_hash_canon()
6620 loc = type_hash_table->find_slot_with_hash (&in, hashcode, INSERT); in type_hash_canon()
6658 h->hash = hashcode; in type_hash_canon()
/dflybsd-src/libexec/bootpd/tools/bootpef/
H A Dbootpef.c233 unsigned int tlen, hashcode; in main() local
237 hashcode = hash_HashFunction((u_char *)argv[0], tlen); in main()
239 hashcode, in main()
/dflybsd-src/contrib/gcc-4.7/gcc/cp/
H A Dtree.c1579 hashval_t hashcode = 0; in list_hash_pieces() local
1582 hashcode += TREE_HASH (chain); in list_hash_pieces()
1585 hashcode += TREE_HASH (value); in list_hash_pieces()
1587 hashcode += 1007; in list_hash_pieces()
1589 hashcode += TREE_HASH (purpose); in list_hash_pieces()
1591 hashcode += 1009; in list_hash_pieces()
1592 return hashcode; in list_hash_pieces()
1613 int hashcode = 0; in hash_tree_cons() local
1618 hashcode = list_hash_pieces (purpose, value, chain); in hash_tree_cons()
1625 slot = htab_find_slot_with_hash (list_hash_table, &proxy, hashcode, in hash_tree_cons()
/dflybsd-src/contrib/gcc-8.0/gcc/cp/
H A Dtree.c1980 hashval_t hashcode = 0; in list_hash_pieces() local
1983 hashcode += TREE_HASH (chain); in list_hash_pieces()
1986 hashcode += TREE_HASH (value); in list_hash_pieces()
1988 hashcode += 1007; in list_hash_pieces()
1990 hashcode += TREE_HASH (purpose); in list_hash_pieces()
1992 hashcode += 1009; in list_hash_pieces()
1993 return hashcode; in list_hash_pieces()
2013 int hashcode = 0; in hash_tree_cons() local
2018 hashcode = list_hash_pieces (purpose, value, chain); in hash_tree_cons()
2025 slot = list_hash_table->find_slot_with_hash (&proxy, hashcode, INSERT); in hash_tree_cons()
/dflybsd-src/contrib/gcc-8.0/gcc/c-family/
H A Dc-ada-spec.c1476 const hashval_t hashcode in compute_overloading_index() local
1486 in.hash = hashcode; in compute_overloading_index()
1489 slot = overloaded_names->find_slot_with_hash (&in, hashcode, INSERT); in compute_overloading_index()
1495 h->hash = hashcode; in compute_overloading_index()
H A Dc-common.c6393 hashval_t hashcode = type_hash_canon_hash (main_type); in complete_array_type() local
6394 main_type = type_hash_canon (hashcode, main_type); in complete_array_type()
/dflybsd-src/contrib/gcc-4.7/gcc/c-family/
H A Dc-common.c9116 hashval_t hashcode = 0; in complete_array_type() local
9204 hashcode = iterative_hash_object (TYPE_HASH (unqual_elt), hashcode); in complete_array_type()
9205 hashcode = iterative_hash_object (TYPE_HASH (TYPE_DOMAIN (main_type)), in complete_array_type()
9206 hashcode); in complete_array_type()
9207 main_type = type_hash_canon (hashcode, main_type); in complete_array_type()