Lines Matching refs:htp
45 htbl_t *htp;
52 htp = (htbl_t *)my_malloc(sizeof (htbl_t), NULL);
53 htp->size = size;
54 htp->tbl = (hashb_t *)
59 temp = &htp->tbl[i];
63 return (htp);
67 destroy_hash(htbl_t *htp)
74 for (i = 0; i < htp->size; i++) {
75 cur = &htp->tbl[i];
93 free((char *)htp->tbl);
94 htp->tbl = NULL;
95 free(htp);
119 add_fcall(htbl_t *htp, char *lib, char *key, unsigned long cnt)
126 bucket = hash_str(key, htp->size);
127 cur = &htp->tbl[bucket];