Home | History | Annotate | Download | only in lib

Lines Matching defs:idx

124   size_t idx = 1 + hval % htab->nslots;
126 if (htab->table[idx].hval != 0)
131 if (htab->table[idx].hval == hval
132 && COMPARE (data, ENTRYP (htab->table[idx])) == 0)
133 return &htab->table[idx];
140 if (idx <= hash)
141 idx = htab->nslots + idx - hash;
143 idx -= hash;
145 if (htab->table[idx].hval == hval
146 && COMPARE (data, ENTRYP(htab->table[idx])) == 0)
147 return &htab->table[idx];
149 while (htab->table[idx].hval != 0);
152 return &htab->table[idx];