Home | History | Annotate | Download | only in lib

Lines Matching refs:hval

68 lookup (htab, hval, val)
70 unsigned long int hval;
74 size_t idx = 1 + hval % htab->size;
80 if (htab->table[idx].hashval == hval
85 hash = 1 + hval % (htab->size - 2);
95 if (htab->table[idx].hashval == hval
106 insert_entry_2 (NAME *htab, unsigned long int hval, size_t idx, TYPE data)
127 htab->table[idx].hashval = hval;
236 INSERT(NAME) (htab, hval, data)
238 unsigned long int hval;
244 hval = hval ?: 1;
246 idx = lookup (htab, hval, data);
253 insert_entry_2 (htab, hval, idx, data);
263 INSERT(NAME) (htab, hval, data)
265 unsigned long int hval;
271 hval = hval ?: 1;
273 idx = lookup (htab, hval, data);
276 insert_entry_2 (htab, hval, idx, data);
286 FIND(NAME) (htab, hval, val)
288 unsigned long int hval;
294 hval = hval ?: 1;
296 idx = lookup (htab, hval, val);