Lines Matching refs:htab
125 CONCAT(PREFIX,fshash_fini) (struct CONCAT(PREFIX,fshash) *htab) in CONCAT()
127 free (htab); in CONCAT()
133 CONCAT(PREFIX,fshash_lookup) (struct CONCAT(PREFIX,fshash) *htab, in CONCAT()
136 size_t idx = 1 + hval % htab->nslots; in CONCAT()
138 if (htab->table[idx].hval != 0) in CONCAT()
143 if (htab->table[idx].hval == hval in CONCAT()
144 && COMPARE (data, ENTRYP (htab->table[idx])) == 0) in CONCAT()
145 return &htab->table[idx]; in CONCAT()
148 hash = 1 + hval % (htab->nslots - 2); in CONCAT()
153 idx = htab->nslots + idx - hash; in CONCAT()
157 if (htab->table[idx].hval == hval in CONCAT()
158 && COMPARE (data, ENTRYP(htab->table[idx])) == 0) in CONCAT()
159 return &htab->table[idx]; in CONCAT()
161 while (htab->table[idx].hval != 0); in CONCAT()
164 return &htab->table[idx]; in CONCAT()
170 CONCAT(PREFIX,fshash_insert) (struct CONCAT(PREFIX,fshash) *htab, in CONCAT()
177 slot = CONCAT(PREFIX,fshash_lookup) (htab, hval, data); in CONCAT()
196 CONCAT(PREFIX,fshash_insert_hash) (struct CONCAT(PREFIX,fshash) *htab, in CONCAT()
201 slot = CONCAT(PREFIX,fshash_lookup) (htab, hval, data); in CONCAT()
220 CONCAT(PREFIX,fshash_overwrite) (struct CONCAT(PREFIX,fshash) *htab, in CONCAT()
228 slot = CONCAT(PREFIX,fshash_lookup) (htab, hval, data); in CONCAT()
241 CONCAT(PREFIX,fshash_find) (const struct CONCAT(PREFIX,fshash) *htab, in CONCAT()
248 slot = CONCAT(PREFIX,fshash_lookup) ((struct CONCAT(PREFIX,fshash) *) htab, in CONCAT()