Lines Matching refs:bin_pos
234 #define FIND_ENTRY(table, ptr, hash_val, bin_pos) do {\ argument
235 bin_pos = hash_val%(table)->num_bins;\
236 ptr = (table)->bins[bin_pos];\
252 unsigned int hash_val, bin_pos; local
256 FIND_ENTRY(table, ptr, hash_val, bin_pos);
267 #define ADD_DIRECT(table, key, value, hash_val, bin_pos, ret) \ argument
272 bin_pos = hash_val % table->num_bins;\
279 entry->next = table->bins[bin_pos];\
280 table->bins[bin_pos] = entry;\
290 unsigned int hash_val, bin_pos; local
294 FIND_ENTRY(table, ptr, hash_val, bin_pos);
297 ADD_DIRECT(table, key, value, hash_val, bin_pos, ONIGERR_MEMORY);
312 unsigned int hash_val, bin_pos; local
315 bin_pos = hash_val % table->num_bins;
316 ADD_DIRECT(table, key, value, hash_val, bin_pos,);