Searched refs:HASH_SIZE (Results 1 - 20 of 20) sorted by relevance

/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/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;
49 i = (i+1) % HASH_SIZE;
181 fprintf (outf, "#define HASH_SIZE %d\n", HASH_SIZE);
182 fprintf (outf, "short hash_tab[HASH_SIZE] = {\n");
183 for (i = 0; i < HASH_SIZE; i++)
H A Dprint-tree.c36 #define HASH_SIZE 37 macro
53 table = xcalloc (HASH_SIZE, sizeof (struct bucket *));
202 hash = ((unsigned long) node) % HASH_SIZE;
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];
951 for (i = 0; i < HASH_SIZE; i++)
1364 for (hash = 0; hash < HASH_SIZE; hash++)
1755 for (i = 0; i < HASH_SIZE; i++)
1854 for (hash = 0; hash < HASH_SIZE; hash++)
1899 for (i = 0; i < HASH_SIZE; i++)
1943 for (i = 0; i < HASH_SIZE; i++)
1963 for (i = 0; i < HASH_SIZE;
[all...]
H A Dfix-header.c399 int i = hashstr (name, name_length) % HASH_SIZE;
410 i = (i+1) % HASH_SIZE;
/netbsd-6-1-5-RELEASE/crypto/external/bsd/libsaslc/dist/src/
H A Ddict.c68 #define HASH_SIZE 18 macro
77 * NB: The defines HASH_INIT, HASH_SHIFT, and HASH_SIZE should be
90 return hval % HASH_SIZE;
173 for (i = 0; i < HASH_SIZE; i++) {
245 head = calloc(HASH_SIZE, sizeof(*head));
249 for (i = 0; i < HASH_SIZE; i++)
/netbsd-6-1-5-RELEASE/sys/external/bsd/drm/dist/libdrm/
H A Dxf86drmHash.c82 #define HASH_SIZE 512 /* Good for about 100 entries */ macro
116 HashBucketPtr buckets[HASH_SIZE];
150 hash %= HASH_SIZE;
170 for (i = 0; i < HASH_SIZE; i++) table->buckets[i] = NULL;
183 for (i = 0; i < HASH_SIZE; i++) {
281 while (table->p0 < HASH_SIZE) {
337 for (i = 0; i < HASH_SIZE; i++) {
/netbsd-6-1-5-RELEASE/external/bsd/pkg_install/dist/lib/
H A Dlicense.c46 #define HASH_SIZE 521 macro
80 static char **license_hash[HASH_SIZE];
92 return hash % HASH_SIZE;
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/opcodes/
H A Dsparc-dis.c46 #define HASH_SIZE 256 macro
59 static sparc_opcode_hash *opcode_hash_table[HASH_SIZE];
403 int hash_count[HASH_SIZE];
409 memset (hash_table, 0, HASH_SIZE * sizeof (hash_table[0]));
410 memset (hash_count, 0, HASH_SIZE * sizeof (hash_count[0]));
430 for (i = 0; i < HASH_SIZE; ++i)
440 min_count, max_count, (double) total / HASH_SIZE);
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/opcodes/
H A Dsparc-dis.c46 #define HASH_SIZE 256 macro
59 static sparc_opcode_hash *opcode_hash_table[HASH_SIZE];
403 int hash_count[HASH_SIZE];
409 memset (hash_table, 0, HASH_SIZE * sizeof (hash_table[0]));
410 memset (hash_count, 0, HASH_SIZE * sizeof (hash_count[0]));
430 for (i = 0; i < HASH_SIZE; ++i)
440 min_count, max_count, (double) total / HASH_SIZE);
/netbsd-6-1-5-RELEASE/external/bsd/top/dist/machine/
H A Dm_linuxthr.c188 #define HASH_SIZE (1003) macro
191 static struct top_proc *ptable[HASH_SIZE];
207 #define HASH(x) (((x) * 1686629713U) % HASH_SIZE)
365 memset(ptable, 0, HASH_SIZE * sizeof(struct top_proc *));
701 for (i = 0; i < HASH_SIZE; ++i)
792 for (i = 0; i < HASH_SIZE; i++)
H A Dm_linux.c206 #define HASH_SIZE (1003) macro
234 #define HASH(x) (((x) * 1686629713U) % HASH_SIZE)
437 ptable = hash_create(HASH_SIZE);
438 tasktable = hash_create(HASH_SIZE);
/netbsd-6-1-5-RELEASE/usr.sbin/dev_mkdb/
H A Ddev_mkdb.c53 #define HASH_SIZE 65536 macro
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.dg/compat/
H A Dstruct-layout-1_generate.c494 #define HASH_SIZE 32749 macro
495 static struct entry *hash_table[HASH_SIZE];
1118 for (h = hash_table[hval % HASH_SIZE]; h; h = h->next)
1130 e->next = hash_table[hval % HASH_SIZE];
1131 hash_table[hval % HASH_SIZE] = e;
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/objc.dg/gnu-encoding/
H A Dstruct-layout-encoding-1_generate.c184 #define HASH_SIZE 32749 macro
185 static struct entry *hash_table[HASH_SIZE];
866 for (h = hash_table[hval % HASH_SIZE]; h; h = h->next)
878 e->next = hash_table[hval % HASH_SIZE];
879 hash_table[hval % HASH_SIZE] = e;
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/g++.dg/compat/
H A Dstruct-layout-1_generate.c478 #define HASH_SIZE 32749 macro
479 static struct entry *hash_table[HASH_SIZE];
1097 for (h = hash_table[hval % HASH_SIZE]; h; h = h->next)
1109 e->next = hash_table[hval % HASH_SIZE];
1110 hash_table[hval % HASH_SIZE] = e;
/netbsd-6-1-5-RELEASE/usr.bin/tic/
H A Dtic.c60 #define HASH_SIZE 16384 /* 2012-06-01: 3600 entries */ macro
528 hcreate(HASH_SIZE);
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/
H A Dprint-tree.c40 #define HASH_SIZE 37 macro
57 table = XCNEWVEC (struct bucket *, HASH_SIZE);
246 hash = ((unsigned long) node) % HASH_SIZE;
H A Dcse.c443 #define HASH_SIZE (1 << HASH_SHIFT) macro
444 #define HASH_MASK (HASH_SIZE - 1)
510 static struct table_elt *table[HASH_SIZE];
877 for (i = 0; i < HASH_SIZE; i++)
1453 for (hash = 0; hash < HASH_SIZE; hash++)
1831 for (i = 0; i < HASH_SIZE; i++)
1929 for (hash = 0; hash < HASH_SIZE; hash++)
1973 for (i = 0; i < HASH_SIZE; i++)
2017 for (i = 0; i < HASH_SIZE; i++)
2037 for (i = 0; i < HASH_SIZE;
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.dg/compat/
H A Dstruct-layout-1_generate.c747 #define HASH_SIZE 32749 macro
748 static struct entry *hash_table[HASH_SIZE];
1466 for (h = hash_table[hval % HASH_SIZE]; h; h = h->next)
1478 e->next = hash_table[hval % HASH_SIZE];
1479 hash_table[hval % HASH_SIZE] = e;
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.dg/compat/
H A Dstruct-layout-1_generate.c656 #define HASH_SIZE 32749 macro
657 static struct entry *hash_table[HASH_SIZE];
1336 for (h = hash_table[hval % HASH_SIZE]; h; h = h->next)
1348 e->next = hash_table[hval % HASH_SIZE];
1349 hash_table[hval % HASH_SIZE] = e;

Completed in 344 milliseconds