Searched refs:hpt (Results 1 – 6 of 6) sorted by relevance
/original-bsd/old/refer/inv/ |
H A D | inv6.c | 26 long *hpt; local 29 hpt = (long *) calloc (nhash+1, sizeof(*hpt)); 30 _assert (hpt != NULL); 33 hpt[0] = 0; 47 hpt[++hash] = lp; 50 hpt[hash] = lp += iflong? sizeof(long) : sizeof(int); 67 hpt[++hash]=lp; 70 fwrite(hpt, sizeof(*hpt), nhash, fa);
|
/original-bsd/old/refer/refer/ |
H A D | glue1.c | 44 static long *hpt = 0; local 143 if (hpt) 144 free (hpt, maxhash, sizeof(*hpt)); 145 hpt=0; 154 if (hpt==0) 155 hpt = (long *) zalloc(nhash, sizeof(*hpt)); 157 fprintf(stderr, "hpt now %o\n",hpt); 159 if (hpt == NULL) 161 fread( hpt, sizeof(*hpt), nhash, fa); 203 nfound = doquery(hpt, nhash, fb, nitem, qitem, master);
|
/original-bsd/old/refer/hunt/ |
H A D | hunt2.c | 16 doquery(hpt, nhash, fb, nitem, qitem, master) in doquery() argument 17 long *hpt; in doquery() 37 fprintf(stderr, "first few hashes are %ld %ld %ld %ld %ld\n", hpt[0],hpt[1],hpt[2],hpt[3],hpt[4]); 71 fprintf(stderr, "past that loop nhash %d hpt is %lo\n", nhash, hpt); 83 lp = hpt [hh[0]]; 129 lp = hpt[hh[nterm]];
|
H A D | hunt1.c | 43 long *hpt; local 154 hpt = (long *) calloc(nhash, sizeof(*hpt)); 155 kk=fread( hpt, sizeof(*hpt), nhash, fa); 178 nfound = doquery(hpt, nhash, fb, nitem, qitem, master);
|
/original-bsd/usr.bin/mkstr/ |
H A D | mkstr.c | 218 unsigned hpt; member 243 fseek(mesgread, (long) hp->hpt, 0); 255 hp->hpt = really ? ftell(mesgwrite) : fakept; 265 return (hp->hpt);
|
/original-bsd/usr.bin/xstr/ |
H A D | xstr.c | 282 off_t hpt; member 301 return (hp->hpt + i); 307 hp->hpt = mesgpt; 316 return (hp->hpt); 339 found(hp->hnew, hp->hpt, hp->hstr); in flushsh() 341 fseek(mesgwrit, hp->hpt, 0); in flushsh()
|