Home
last modified time | relevance | path

Searched refs:HASHMOD (Results 1 – 7 of 7) sorted by relevance

/titanic_44/usr/src/tools/cscope-fast/
H A Dlookup.c98 #define HASHMOD (KEYWORDS * 2 + 1) macro
100 static struct keystruct *hashtab[HASHMOD]; /* pointer table */
112 j = hash(p->text) % HASHMOD; in initsymtab()
127 for (p = hashtab[hash(ident) % HASHMOD]; p != NULL; p = p->next) { in lookup()
H A Ddir.c47 #define HASHMOD 2003 /* must be a prime number */ macro
48 #define SRCINC HASHMOD /* source file list size increment */
64 } *srcfiletable[HASHMOD];
382 for (p = srcfiletable[hash(compath(file)) % HASHMOD]; in infilelist()
407 i = hash(p->file) % HASHMOD; in addsrcfile()
424 for (i = 0; i < HASHMOD; ++i) { in freefilelist()
/titanic_44/usr/src/lib/libast/common/hash/
H A Dhashlook.c62 HASHMOD(tab, n); in hashlook()
99 HASHMOD(tab, n); in hashlook()
138 HASHMOD(tab, n); in hashlook()
332 HASHMOD(tab, n); in hashlook()
H A Dhashsize.c70 HASHMOD(tab, index); in hashsize()
H A Dhashlib.h81 #define HASHMOD(t,h) (h &= (t->size - 1)) macro
/titanic_44/usr/src/lib/nsswitch/nis/common/
H A Dgetnetgrent.c236 #define HASHMOD 113 macro
241 struct netgrnam *hash_heads[HASHMOD];
272 head = &ngt->hash_heads[hashval % HASHMOD];
323 for (i = 0; i < HASHMOD; i++) {
/titanic_44/usr/src/lib/rpcsec_gss/
H A Dsvc_rpcsec_gss.c105 #define HASHMOD 256 macro
108 static svc_rpc_gss_data *clients[HASHMOD];
1385 for (index = 0; index < HASHMOD; index++) { in sweep_clients()