Searched refs:index_mask (Results 1 – 3 of 3) sorted by relevance
49 ENTRY *entry = &hsearch->entries[index & hsearch->index_mask]; in hsearch_lookup_free()90 entry = &hsearch->entries[index & hsearch->index_mask]; in hsearch_r()105 if (hsearch->entries_used * 2 >= hsearch->index_mask) { in hsearch_r()107 old_count = hsearch->index_mask + 1; in hsearch_r()116 new_count = (hsearch->index_mask + 1) * 2; in hsearch_r()121 hsearch->index_mask = new_count - 1; in hsearch_r()
35 size_t index_mask; /* Bitmask for indexing the table. */ member
59 hsearch->index_mask = 0xf; in hcreate_r()