Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/refer/
H A Dinv6.c35 long *hpt; in whash() local
38 hpt = (long *)calloc(nhash+1, sizeof (*hpt)); in whash()
39 assert(hpt != NULL); in whash()
42 hpt[0] = 0; in whash()
53 hpt[++hash] = lp; in whash()
56 hpt[hash] = lp += iflong ? sizeof (long) : sizeof (int); in whash()
72 hpt[++hash] = lp; in whash()
75 fwrite(hpt, sizeof (*hpt), nhash, fa); in whash()
H A Dglue1.c70 static long *hpt = 0; in huntmain() local
166 if (hpt) in huntmain()
167 free(hpt, maxhash, sizeof (*hpt)); in huntmain()
168 hpt = 0; in huntmain()
178 if (hpt == 0) in huntmain()
179 hpt = (long *)zalloc(nhash, sizeof (*hpt)); in huntmain()
181 fprintf(stderr, "hpt now %o\n", hpt); in huntmain()
183 if (hpt == NULL) in huntmain()
192 fread(hpt, sizeof (*hpt), nhash, fa); in huntmain()
247 nfound = doquery(hpt, nhash, fb, nitem, qitem, masterp); in huntmain()
H A Dhunt2.c37 doquery(long *hpt, int nhash, FILE *fb, int nitem, in doquery() argument
57 hpt[0], hpt[1], hpt[2], hpt[3], hpt[4]); in doquery()
84 fprintf(stderr, "past that loop nhash %d hpt is %lo\n", nhash, hpt); in doquery()
97 lp = hpt [hh[0]]; in doquery()
136 lp = hpt[hh[nterm]]; in doquery()
H A Dhunt1.c65 long *hpt; in main() local
182 hpt = (long *)calloc(nhash, sizeof (*hpt)); in main()
183 kk = fread(hpt, sizeof (*hpt), nhash, fa); in main()
205 nfound = doquery(hpt, nhash, fb, nitem, qitem, master); in main()
/titanic_50/usr/src/cmd/vi/misc/
H A Dmkstr.c232 unsigned hpt; member
257 fseek(mesgread, (long) hp->hpt, 0);
269 hp->hpt = really ? ftell(mesgwrite) : fakept;
279 return (hp->hpt);
H A Dxstr.c304 off_t hpt; member
323 return (hp->hpt + i);
326 hp->hpt = mesgpt;
332 return (hp->hpt);
353 found(hp->hnew, hp->hpt, hp->hstr); in flushsh()
355 fseek(mesgwrit, hp->hpt, 0); in flushsh()
/titanic_50/usr/src/cmd/xstr/
H A Dxstr.c305 off_t hpt; member
322 return (hp->hpt + i); in hashit()
329 hp->hpt = mesgpt; in hashit()
335 return (hp->hpt); in hashit()
359 found(hp->hnew, hp->hpt, hp->hstr); in flushsh()
361 (void) fseek(mesgwrit, hp->hpt, 0); in flushsh()
/titanic_50/usr/src/ucbcmd/mkstr/
H A Dmkstr.c265 unsigned int hpt; member
288 (void) fseek(mesgread, (long)hp->hpt, 0); in hashit()
297 hp->hpt = really ? ftell(mesgwrite) : fakept; in hashit()
305 return (hp->hpt); in hashit()
/titanic_50/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()