Lines Matching refs:htab
113 CONCAT(PREFIX,fshash_fini) (struct CONCAT(PREFIX,fshash) *htab) in CONCAT()
115 free (htab); in CONCAT()
121 CONCAT(PREFIX,fshash_lookup) (struct CONCAT(PREFIX,fshash) *htab, in CONCAT()
124 size_t idx = 1 + hval % htab->nslots; in CONCAT()
126 if (htab->table[idx].hval != 0) in CONCAT()
131 if (htab->table[idx].hval == hval in CONCAT()
132 && COMPARE (data, ENTRYP (htab->table[idx])) == 0) in CONCAT()
133 return &htab->table[idx]; in CONCAT()
136 hash = 1 + hval % (htab->nslots - 2); in CONCAT()
141 idx = htab->nslots + idx - hash; in CONCAT()
145 if (htab->table[idx].hval == hval in CONCAT()
146 && COMPARE (data, ENTRYP(htab->table[idx])) == 0) in CONCAT()
147 return &htab->table[idx]; in CONCAT()
149 while (htab->table[idx].hval != 0); in CONCAT()
152 return &htab->table[idx]; in CONCAT()
158 CONCAT(PREFIX,fshash_insert) (struct CONCAT(PREFIX,fshash) *htab, in CONCAT()
164 slot = CONCAT(PREFIX,fshash_lookup) (htab, hval, data); in CONCAT()
183 CONCAT(PREFIX,fshash_insert_hash) (struct CONCAT(PREFIX,fshash) *htab, in CONCAT()
188 slot = CONCAT(PREFIX,fshash_lookup) (htab, hval, data); in CONCAT()
207 CONCAT(PREFIX,fshash_overwrite) (struct CONCAT(PREFIX,fshash) *htab, in CONCAT()
213 slot = CONCAT(PREFIX,fshash_lookup) (htab, hval, data); in CONCAT()
226 CONCAT(PREFIX,fshash_find) (const struct CONCAT(PREFIX,fshash) *htab, in CONCAT()
232 slot = CONCAT(PREFIX,fshash_lookup) ((struct CONCAT(PREFIX,fshash) *) htab, in CONCAT()