Searched refs:nhash (Results 1 - 13 of 13) sorted by relevance

/illumos-gate/usr/src/cmd/refer/
H A Dinv6.c23 whash(FILE *ft, FILE *fa, FILE *fb, int nhash, int iflong, argument
38 hpt = (long *)calloc(nhash+1, sizeof (*hpt));
40 hfreq = (int *)calloc(nhash, sizeof (*hfreq));
71 while (hash < nhash)
73 fwrite(&nhash, sizeof (nhash), 1, fa);
75 fwrite(hpt, sizeof (*hpt), nhash, fa);
76 fwrite(hfreq, sizeof (*hfreq), nhash, fa);
H A Dglue1.c67 static int nhash = 0; local
163 fread(&nhash, sizeof (nhash), 1, fa);
165 if (nhash > maxhash) {
172 maxhash = nhash;
179 hpt = (long *)zalloc(nhash, sizeof (*hpt));
191 nhash);
192 fread(hpt, sizeof (*hpt), nhash, fa);
194 hfreq = (int *)zalloc(nhash, sizeof (*hfreq));
202 nhash);
[all...]
H A Dinv2.c24 newkeys(FILE *outf, FILE *inf, FILE *recf, int nhash, FILE *fd, int *iflong) argument
71 fprintf(outf, "%04d %06ld\n", hash(keyv[i])%nhash, lp);
75 keyv[i], hash(keyv[i])%nhash);
89 hash(key)%nhash, lp);
H A Dhunt1.c67 int falseflg, nhash, nitem, nfound, frtbl, kk; local
177 fread(&nhash, sizeof (nhash), 1, fa);
182 hpt = (long *)calloc(nhash, sizeof (*hpt));
183 kk = fread(hpt, sizeof (*hpt), nhash, fa);
185 fprintf(stderr, "read %d hashes, iflong %d, nhash %d\n",
186 kk, iflong, nhash);
188 assert(kk == nhash);
189 hfreq = (int *)calloc(nhash, sizeof (*hfreq));
191 frtbl = fread(hfreq, sizeof (*hfreq), nhash, f
[all...]
H A Dinv5.c23 recopy(FILE *ft, FILE *fb, FILE *fa, int nhash) argument
46 if (n != nhash)
H A Dinv1.c43 int nhash = 256; local
66 nhash = atoi(argv[1]+2);
120 nhash = recopy(ftb, fb, fopen(nma, "r"));
128 docs = newkeys(fta, stdin, fc, nhash, fd, &iflong);
152 whash(fta, fa, fb, nhash, iflong, &keys, &hashes);
H A Dhunt2.c37 doquery(long *hpt, int nhash, FILE *fb, int nitem, argument
78 hh[i] = hash(qitem[i])%nhash;
84 fprintf(stderr, "past that loop nhash %d hpt is %lo\n", nhash, hpt);
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Ddoupdate.c86 static unsigned long *nhash = (unsigned long *) 0; variable
149 new = m_malloc(lines * sizeof *nhash);
152 if (nhash != (unsigned long *) 0)
153 free(nhash);
154 nhash = (unsigned long *) new;
693 if (ohash[or] != nhash[nr]
814 __m_cc_hash(newscr, nhash, i);
820 nhash[i] = __m_screen->_hash[i];
857 __m_screen->_hash[i] = nhash[i];
887 __m_cc_hash(newscr, nhash, ro
[all...]
/illumos-gate/usr/src/cmd/troff/
H A Dn4.c58 struct numtab *nhash[128]; /* 128 == the 0177 on line above */ variable in typeref:struct:numtab
234 nhash[i] = 0;
241 p->link = nhash[i];
242 nhash[i] = p;
257 lp = &nhash[NHASH(rp->r)];
280 for (p = nhash[h]; p; p = p->link)
286 p->link = nhash[h];
287 nhash[h] = p;
307 for (p = nhash[NHASH(i)]; p; p = p->link)
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Ddoupdate.c84 static unsigned int *nhash = NULL; variable
86 static unsigned long *nhash = NULL; variable
151 new = malloc(lines * sizeof (*nhash));
154 if (nhash != NULL)
155 free(nhash);
157 nhash = (unsigned int *) new;
159 nhash = (unsigned long *) new;
830 if (ohash[or] != nhash[nr]) {
945 __m_cc_hash(newscr, nhash, i);
951 nhash[
[all...]
/illumos-gate/usr/src/lib/libpkg/
H A DMakefile.com35 mappath.o ncgrpw.o nhash.o \
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dif.c102 static uint_t nhash(const void *, uint_t);
133 NULL, nhash, offsetof(struct interface, int_nhash),
156 nhash(const void *arg, size_t voffs) function
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Delfdump.c3941 ulong_t nbkt, nhash; local
3967 nhash = elf_hash(symname);
3968 nbkt = nhash % bkts;

Completed in 123 milliseconds