/freebsd-current/crypto/heimdal/lib/asn1/ |
H A D | hash.h | 63 void *hashtabsearch(Hashtab *htab, /* The hash table */ 67 void *hashtabadd(Hashtab *htab, /* The hash table */ 70 int _hashtabdel(Hashtab *htab, /* The table */ 74 void hashtabforeach(Hashtab *htab, 85 #define hashtabdel(htab,key) _hashtabdel(htab,key,FALSE) 87 #define hashtabfree(htab,key) _hashtabdel(htab,key,TRUE) /* Do! */
|
H A D | hash.c | 42 static Hashentry *_search(Hashtab * htab, /* The hash table */ 50 Hashtab *htab; local 55 htab = (Hashtab *) malloc(sizeof(Hashtab) + (sz - 1) * sizeof(Hashentry *)); 56 if (htab == NULL) 60 htab->tab[i] = NULL; 62 htab->cmp = cmp; 63 htab->hash = hash; 64 htab->sz = sz; 65 return htab; 71 _search(Hashtab * htab, voi argument 88 hashtabsearch(Hashtab * htab, void *ptr) argument 101 hashtabadd(Hashtab * htab, void *ptr) argument 129 _hashtabdel(Hashtab * htab, void *ptr, int freep) argument 150 hashtabforeach(Hashtab * htab, int (*func) (void *ptr, void *arg), void *arg) argument [all...] |
H A D | symbol.c | 37 static Hashtab *htab; variable 59 htab = hashtabnew(101, cmp, hash); 79 s = (Symbol *) hashtabsearch(htab, (void *) &key); 86 hashtabadd(htab, s); 106 hashtabforeach(htab, checkfunc, &f);
|
/freebsd-current/lib/libc/stdlib/ |
H A D | hdestroy_r.c | 32 hdestroy_r(struct hsearch_data *htab) argument 37 hsearch = htab->__hsearch;
|
H A D | hcreate_r.c | 32 hcreate_r(size_t nel, struct hsearch_data *htab) argument 58 htab->__hsearch = hsearch;
|
H A D | hsearch_r.c | 73 hsearch_r(ENTRY item, ACTION action, ENTRY **retval, struct hsearch_data *htab) argument 79 hsearch = htab->__hsearch; 138 hsearch = htab->__hsearch;
|
/freebsd-current/sbin/hastd/ |
H A D | lzf.c | 104 , LZF_STATE htab 109 LZF_STATE htab; local 137 memset (htab, 0, sizeof (htab)); 139 for (hslot = htab; hslot < htab + HSIZE; hslot++) 150 hslot = htab + IDX (hval); 243 htab[IDX (hval)] = ip; 248 htab[IDX (hval)] = ip; 257 htab[ID [all...] |
/freebsd-current/contrib/mandoc/ |
H A D | mansearch.c | 94 struct ohash *htab; local 163 if ((htab = manmerge(e, NULL)) == NULL) { 168 for (rp = ohash_first(htab, &slot); rp != NULL; 169 rp = ohash_next(htab, &slot)) { 211 ohash_delete(htab); 212 free(htab); 234 * into the the result list htab. 237 manmerge(struct expr *e, struct ohash *htab) argument 241 return manmerge_term(e, htab); 243 return manmerge_or(e->child, htab); 252 manmerge_term(struct expr *e, struct ohash *htab) argument 311 manmerge_or(struct expr *e, struct ohash *htab) argument 321 manmerge_and(struct expr *e, struct ohash *htab) argument [all...] |
H A D | roff.c | 640 struct ohash *htab; local 646 htab = mandoc_malloc(sizeof(*htab)); 647 mandoc_ohash_init(htab, 8, offsetof(struct roffreq, name)); 656 slot = ohash_qlookup(htab, req->name); 657 ohash_insert(htab, slot, req); 659 return htab; 663 roffhash_free(struct ohash *htab) argument 668 if (htab == NULL) 670 for (req = ohash_first(htab, 678 roffhash_find(struct ohash *htab, const char *name, size_t sz) argument [all...] |
H A D | mandocdb.c | 1854 struct ohash *htab; local 1866 htab = &names; 1875 htab = &strings; 1885 slot = ohash_qlookupi(htab, cp, &end); 1886 s = ohash_find(htab, slot); 1894 ohash_insert(htab, slot, s);
|
/freebsd-current/sys/dev/cxgbe/cudbg/ |
H A D | fastlz.c | 190 const unsigned char **htab = g_htab; local 210 for (hslot = htab; hslot < htab + HASH_SIZE; hslot++) 243 hslot = htab + hval; 244 ref = htab[hval]; 385 htab[hval] = ip++; 387 htab[hval] = ip++;
|
/freebsd-current/usr.sbin/config/ |
H A D | main.cc | 100 } *htab; variable in typeref:struct:hdr_list 669 for (hl = htab; hl != NULL; hl = hl->h_next) { 700 for (hl = htab; hl != NULL; hl = hl->h_next) { 710 hl->h_next = htab; 711 htab = hl;
|
/freebsd-current/sys/netpfil/ipfilter/netinet/ |
H A D | ip_htable.c | 261 iphtable_t htab, *iph, *oiph; local 265 if (op->iplo_size != sizeof(htab)) { 269 err = COPYIN(op->iplo_struct, &htab, sizeof(htab)); 276 if (htab.iph_unit != unit) { 280 if (htab.iph_size < 1) { 305 *iph = htab;
|
/freebsd-current/usr.bin/compress/ |
H A D | zopen.c | 146 #define htab zs->zs_htab macro 176 * from the beginning of htab. The output stack uses the rest of htab, and 181 #define htabof(i) htab[i] 185 #define tab_suffixof(i) ((char_type *)(htab))[i] 664 htab_p = htab + cl_hsize;
|
/freebsd-current/lib/libc/db/hash/ |
H A D | hash.h | 88 typedef struct htab { /* Memory resident data structure */ struct
|