Home
last modified time | relevance | path

Searched refs:HASH_SIZE (Results 1 – 11 of 11) sorted by relevance

/freebsd-12.1/contrib/gcc/
H A Dgen-protos.c31 #define HASH_SIZE 2503 /* a prime */ macro
32 int hash_tab[HASH_SIZE];
42 i = hashstr (fname, strlen (fname)) % HASH_SIZE; in add_hash()
49 i = (i+1) % HASH_SIZE; in add_hash()
181 fprintf (outf, "#define HASH_SIZE %d\n", HASH_SIZE); in main()
183 for (i = 0; i < HASH_SIZE; i++) in main()
H A Dprint-tree.c36 #define HASH_SIZE 37 macro
53 table = XCNEWVEC (struct bucket *, HASH_SIZE); in debug_tree()
211 hash = ((unsigned long) node) % HASH_SIZE; in print_node()
H A Dfix-header.c400 int i = hashstr (name, name_length) % HASH_SIZE; in lookup_std_proto()
411 i = (i+1) % HASH_SIZE; in lookup_std_proto()
H A Dcse.c467 #define HASH_SIZE (1 << HASH_SHIFT) macro
468 #define HASH_MASK (HASH_SIZE - 1)
529 static struct table_elt *table[HASH_SIZE];
947 for (i = 0; i < HASH_SIZE; i++) in new_basic_block()
1359 for (hash = 0; hash < HASH_SIZE; hash++) in remove_from_table()
1748 for (i = 0; i < HASH_SIZE; i++) in flush_hash_table()
1890 for (i = 0; i < HASH_SIZE; i++) in invalidate()
1933 for (i = 0; i < HASH_SIZE; i++) in remove_invalid_refs()
1953 for (i = 0; i < HASH_SIZE; i++) in remove_invalid_subreg_refs()
1997 for (i = 0; i < HASH_SIZE; i++) in rehash_using_reg()
[all …]
H A DChangeLog-1999959 (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
962 (new_basic_block): Likewise, use HASH_SIZE, and inline
964 (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
/freebsd-12.1/lib/libthr/thread/
H A Dthr_pshared.c48 #define HASH_SIZE 128 macro
49 static struct pshared_hash_head pshared_hash[HASH_SIZE];
50 #define PSHARED_KEY_HASH(key) (((unsigned long)(key) >> 8) % HASH_SIZE)
60 for (i = 0; i < HASH_SIZE; i++) in __thr_pshared_init()
107 for (i = 0; i < HASH_SIZE; i++) { in pshared_gc()
/freebsd-12.1/contrib/binutils/opcodes/
H A Dsparc-dis.c43 #define HASH_SIZE 256 macro
56 static sparc_opcode_hash *opcode_hash_table[HASH_SIZE];
400 int hash_count[HASH_SIZE]; in build_hash_table()
406 memset (hash_table, 0, HASH_SIZE * sizeof (hash_table[0])); in build_hash_table()
407 memset (hash_count, 0, HASH_SIZE * sizeof (hash_count[0])); in build_hash_table()
427 for (i = 0; i < HASH_SIZE; ++i) in build_hash_table()
437 min_count, max_count, (double) total / HASH_SIZE); in build_hash_table()
H A DChangeLog-92972575 * sparc-dis.c (HASH_SIZE, HASH_INSN): Define.
/freebsd-12.1/sys/dev/cxgbe/cudbg/
H A Dfastlz.c106 #define HASH_SIZE (1 << HASH_LOG) macro
107 #define HASH_MASK (HASH_SIZE - 1)
190 static const unsigned char *g_htab[HASH_SIZE]; in FASTLZ_COMPRESSOR()
212 for (hslot = htab; hslot < htab + HASH_SIZE; hslot++) in FASTLZ_COMPRESSOR()
/freebsd-12.1/contrib/bearssl/test/
H A Dtest_crypto.c89 #define HASH_SIZE(cname) br_ ## cname ## _SIZE macro
96 unsigned char res[HASH_SIZE(cname)], ref[HASH_SIZE(cname)]; \
104 check_equals("KAT " #Name " 1", res, ref, HASH_SIZE(cname)); \
110 check_equals("KAT " #Name " 2", res, ref, HASH_SIZE(cname)); \
118 check_equals("KAT " #Name " 3", res, ref, HASH_SIZE(cname)); \
121 check_equals("KAT " #Name " 4", res, ref, HASH_SIZE(cname)); \
128 check_equals("KAT " #Name " 5", res, ref, HASH_SIZE(cname)); \
133 check_equals("KAT " #Name " 6", res, ref, HASH_SIZE(cname)); \
139 unsigned char res[HASH_SIZE(cname)], ref[HASH_SIZE(cname)]; \
149 check_equals("KAT " #Name " 5", res, ref, HASH_SIZE(cname)); \
H A Dtest_speed.c31 #define HASH_SIZE(cname) br_ ## cname ## _SIZE macro
38 unsigned char tmp[HASH_SIZE(cname)]; \