Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/refer/
H A Dinv6.c33 long *hpt; in whash() local
36 hpt = (long *)calloc(nhash+1, sizeof (*hpt)); in whash()
37 assert(hpt != NULL); in whash()
40 hpt[0] = 0; in whash()
51 hpt[++hash] = lp; in whash()
54 hpt[hash] = lp += iflong ? sizeof (long) : sizeof (int); in whash()
70 hpt[++hash] = lp; in whash()
73 fwrite(hpt, sizeof (*hpt), nhash, fa); in whash()
H A Dglue1.c68 static long *hpt = 0; in huntmain() local
164 if (hpt) in huntmain()
165 free(hpt, maxhash, sizeof (*hpt)); in huntmain()
166 hpt = 0; in huntmain()
176 if (hpt == 0) in huntmain()
177 hpt = (long *)zalloc(nhash, sizeof (*hpt)); in huntmain()
179 fprintf(stderr, "hpt now %o\n", hpt); in huntmain()
181 if (hpt == NULL) in huntmain()
190 fread(hpt, sizeof (*hpt), nhash, fa); in huntmain()
245 nfound = doquery(hpt, nhash, fb, nitem, qitem, masterp); in huntmain()
H A Dhunt2.c35 doquery(long *hpt, int nhash, FILE *fb, int nitem, in doquery() argument
55 hpt[0], hpt[1], hpt[2], hpt[3], hpt[4]); in doquery()
82 fprintf(stderr, "past that loop nhash %d hpt is %lo\n", nhash, hpt); in doquery()
95 lp = hpt [hh[0]]; in doquery()
134 lp = hpt[hh[nterm]]; in doquery()
H A Dhunt1.c63 long *hpt; in main() local
180 hpt = (long *)calloc(nhash, sizeof (*hpt)); in main()
181 kk = fread(hpt, sizeof (*hpt), nhash, fa); in main()
203 nfound = doquery(hpt, nhash, fb, nitem, qitem, master); in main()
/illumos-gate/usr/src/cmd/xstr/
H A Dxstr.c303 off_t hpt; member
320 return (hp->hpt + i); in hashit()
327 hp->hpt = mesgpt; in hashit()
333 return (hp->hpt); in hashit()
357 found(hp->hnew, hp->hpt, hp->hstr); in flushsh()
359 (void) fseek(mesgwrit, hp->hpt, 0); in flushsh()
/illumos-gate/usr/src/ucbcmd/mkstr/
H A Dmkstr.c263 unsigned int hpt; member
286 (void) fseek(mesgread, (long)hp->hpt, 0); in hashit()
295 hp->hpt = really ? ftell(mesgwrite) : fakept; in hashit()
303 return (hp->hpt); in hashit()
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvsw_ldc.c3778 mblk_t **hp, mblk_t **hpt) in vsw_get_pri_packets() argument
3830 *hpt = hmpt; in vsw_get_pri_packets()