Lines Matching refs:htab
124 CONCAT(PREFIX,fshash_fini) (struct CONCAT(PREFIX,fshash) *htab) in CONCAT()
126 free (htab); in CONCAT()
132 CONCAT(PREFIX,fshash_lookup) (struct CONCAT(PREFIX,fshash) *htab, in CONCAT()
135 size_t idx = 1 + hval % htab->nslots; in CONCAT()
137 if (htab->table[idx].hval != 0) in CONCAT()
142 if (htab->table[idx].hval == hval in CONCAT()
143 && COMPARE (data, ENTRYP (htab->table[idx])) == 0) in CONCAT()
144 return &htab->table[idx]; in CONCAT()
147 hash = 1 + hval % (htab->nslots - 2); in CONCAT()
152 idx = htab->nslots + idx - hash; in CONCAT()
156 if (htab->table[idx].hval == hval in CONCAT()
157 && COMPARE (data, ENTRYP(htab->table[idx])) == 0) in CONCAT()
158 return &htab->table[idx]; in CONCAT()
160 while (htab->table[idx].hval != 0); in CONCAT()
163 return &htab->table[idx]; in CONCAT()
169 CONCAT(PREFIX,fshash_insert) (struct CONCAT(PREFIX,fshash) *htab, in CONCAT()
176 slot = CONCAT(PREFIX,fshash_lookup) (htab, hval, data); in CONCAT()
195 CONCAT(PREFIX,fshash_insert_hash) (struct CONCAT(PREFIX,fshash) *htab, in CONCAT()
200 slot = CONCAT(PREFIX,fshash_lookup) (htab, hval, data); in CONCAT()
219 CONCAT(PREFIX,fshash_overwrite) (struct CONCAT(PREFIX,fshash) *htab, in CONCAT()
227 slot = CONCAT(PREFIX,fshash_lookup) (htab, hval, data); in CONCAT()
240 CONCAT(PREFIX,fshash_find) (const struct CONCAT(PREFIX,fshash) *htab, in CONCAT()
247 slot = CONCAT(PREFIX,fshash_lookup) ((struct CONCAT(PREFIX,fshash) *) htab, in CONCAT()