/netbsd-current/include/ |
H A D | mpool.h | 47 #define HASHSIZE 128 macro 48 #define HASHKEY(pgno) ((pgno - 1) % HASHSIZE) 66 TAILQ_HEAD(_hqh, _bkt) hqh[HASHSIZE];
|
/netbsd-current/external/gpl2/xcvs/dist/src/ |
H A D | hash.h | 17 #define HASHSIZE 151 macro 46 Node *hasharray[HASHSIZE];
|
H A D | hash.c | 46 return h % HASHSIZE; 67 for (i = 0; i < HASHSIZE; i++) 113 for (i = 0; i < HASHSIZE; i++) 575 (void) printf("List at %p: list = %p, HASHSIZE = %d, next = %p\n", 576 (void *) list, (void *) list->list, HASHSIZE, (void *) list->next); 578 (void) printf("List at 0x%lx: list = 0x%lx, HASHSIZE = %d, next = 0x%lx\n", 579 (unsigned long) list, (unsigned long) list->list, HASHSIZE,
|
/netbsd-current/external/gpl3/gdb.old/dist/gdb/ |
H A D | stabsread.h | 29 #define HASHSIZE 127 /* Size of things hashed via macro 64 extern struct symbol *global_sym_chain[HASHSIZE];
|
H A D | stabsread.c | 57 struct symbol *global_sym_chain[HASHSIZE]; 4541 for (hash = 0; hash < HASHSIZE; hash++) 4546 if (hash >= HASHSIZE) 4629 for (hash = 0; hash < HASHSIZE; hash++) 4747 return fast_hash (name, strlen (name)) % HASHSIZE;
|
H A D | coffread.c | 128 static struct symbol *opaque_type_chain[HASHSIZE];
|
/netbsd-current/external/gpl3/gdb/dist/gdb/ |
H A D | stabsread.h | 29 #define HASHSIZE 127 /* Size of things hashed via macro 64 extern struct symbol *global_sym_chain[HASHSIZE];
|
H A D | stabsread.c | 57 struct symbol *global_sym_chain[HASHSIZE]; 4544 for (hash = 0; hash < HASHSIZE; hash++) 4549 if (hash >= HASHSIZE) 4626 for (hash = 0; hash < HASHSIZE; hash++) 4744 return fast_hash (name, strlen (name)) % HASHSIZE;
|
H A D | coffread.c | 129 static struct symbol *opaque_type_chain[HASHSIZE];
|
/netbsd-current/games/battlestar/ |
H A D | parse.c | 43 #define HASHSIZE 256 macro 45 #define HASHMASK (HASHSIZE - 1) 51 static struct wlist *hashtab[HASHSIZE];
|
/netbsd-current/usr.bin/rdist/ |
H A D | lookup.c | 54 static struct syment *hashtab[HASHSIZE]; 138 n %= HASHSIZE;
|
H A D | defs.h | 78 #define HASHSIZE 1021 macro
|
/netbsd-current/usr.bin/sockstat/ |
H A D | sockstat.c | 95 #define HASHSIZE 1009 macro 96 struct socklist sockhash[HASHSIZE]; 401 hash = (int)(kp[i].ki_sockaddr % HASHSIZE); 465 hash = (int)(f->ki_fdata % HASHSIZE);
|
/netbsd-current/sbin/restore/ |
H A D | dirs.c | 72 #define HASHSIZE 1000 macro 73 #define INOHASH(val) (val % HASHSIZE) 80 static struct inotab *inotab[HASHSIZE];
|
/netbsd-current/usr.bin/tsort/ |
H A D | tsort.c | 80 #define HASHSIZE 53 /* doesn't need to be big */ macro
|
/netbsd-current/external/mpl/dhcp/bind/dist/lib/isc/ |
H A D | ht.c | 42 #define HASHSIZE(bits) (UINT64_C(1) << (bits)) macro 169 while (newcount >= HASHSIZE(newbits) && newbits <= HT_MAX_BITS) { 254 ht->size[idx] = HASHSIZE(ht->hashbits[idx]);
|
/netbsd-current/external/mpl/bind/dist/lib/isc/ |
H A D | ht.c | 42 #define HASHSIZE(bits) (UINT64_C(1) << (bits)) macro 169 while (newcount >= HASHSIZE(newbits) && newbits <= HT_MAX_BITS) { 254 ht->size[idx] = HASHSIZE(ht->hashbits[idx]);
|
/netbsd-current/external/mpl/dhcp/bind/dist/lib/dns/ |
H A D | rbt.c | 80 #define HASHSIZE(bits) (UINT64_C(1) << (bits)) macro 1081 size_t size = HASHSIZE(rbt->hashbits) * sizeof(dns_rbtnode_t *); 2378 size = HASHSIZE(rbt->hashbits) * sizeof(dns_rbtnode_t *); 2389 while (newcount >= HASHSIZE(newbits) && newbits < RBT_HASH_MAX_BITS) { 2410 oldsize = HASHSIZE(oldbits); 2414 newsize = HASHSIZE(rbt->hashbits); 2449 if (rbt->nodecount >= (HASHSIZE(rbt->hashbits) * RBT_HASH_OVERCOMMIT)) {
|
H A D | rbtdb.c | 359 #define HASHSIZE(bits) (UINT64_C(1) << (bits)) macro 1346 size = HASHSIZE(version->glue_table_bits) * 10095 for (i = 0; i < HASHSIZE(version->glue_table_bits); i++) { 10111 size = HASHSIZE(version->glue_table_bits) * 10123 while (newcount >= HASHSIZE(newbits) && 10142 oldcount = HASHSIZE(oldbits); 10146 newsize = HASHSIZE(newbits) * sizeof(version->glue_table[0]); 10180 size_t overcommit = HASHSIZE(version->glue_table_bits) *
|
H A D | zone.c | 18465 #define HASHSIZE(bits) (UINT64_C(1) << (bits)) macro 18475 while (count >= HASHSIZE(newbits) && newbits < KEYMGMT_BITS_MAX) { 18484 while (count <= HASHSIZE(newbits) && newbits > KEYMGMT_BITS_MIN) { 18501 size = HASHSIZE(mgmt->bits); 18518 size = HASHSIZE(mgmt->bits); 18544 size = HASHSIZE(bits); 18570 newsize = HASHSIZE(newbits);
|
/netbsd-current/external/mpl/bind/dist/lib/dns/ |
H A D | rbt.c | 74 #define HASHSIZE(bits) (UINT64_C(1) << (bits)) macro 1652 size = HASHSIZE(rbt->hashbits[index]) * sizeof(dns_rbtnode_t *); 1659 size_t size = HASHSIZE(rbt->hashbits[index]) * sizeof(dns_rbtnode_t *); 1670 while (newcount >= HASHSIZE(newbits) && newbits < RBT_HASH_MAX_BITS) { 1707 HASHSIZE(rbt->hashbits[RBT_HASH_NEXTTABLE(rbt->hindex)]); 1758 (HASHSIZE(rbt->hashbits[rbt->hindex]) * RBT_HASH_OVERCOMMIT));
|
H A D | resolver.c | 234 #define HASHSIZE(bits) (UINT64_C(1) << (bits)) macro 10255 for (i = 0; i < HASHSIZE(res->dhashbits); i++) { 10260 HASHSIZE(res->dhashbits) * sizeof(zonebucket_t)); 10429 HASHSIZE(res->dhashbits) * 10431 for (size_t i = 0; i < HASHSIZE(res->dhashbits); i++) { 10481 for (size_t i = 0; i < HASHSIZE(res->dhashbits); i++) { 10485 HASHSIZE(res->dhashbits) * sizeof(zonebucket_t)); 11695 for (size_t i = 0; i < HASHSIZE(resolver->dhashbits); i++) {
|
H A D | rbtdb.c | 321 #define HASHSIZE(bits) (UINT64_C(1) << (bits)) macro 1278 size = HASHSIZE(version->glue_table_bits) * 9686 for (i = 0; i < HASHSIZE(version->glue_table_bits); i++) { 9702 size = HASHSIZE(version->glue_table_bits) * 9714 while (newcount >= HASHSIZE(newbits) && 9733 oldcount = HASHSIZE(oldbits); 9737 newsize = HASHSIZE(newbits) * sizeof(version->glue_table[0]); 9771 size_t overcommit = HASHSIZE(version->glue_table_bits) *
|
/netbsd-current/lib/libc/db/mpool/ |
H A D | mpool.c | 98 for (entry = 0; entry < HASHSIZE; ++entry)
|
/netbsd-current/usr.bin/m4/ |
H A D | main.c | 64 ndptr hashtab[HASHSIZE]; /* hash table for macros etc. */
|