Home
last modified time | relevance | path

Searched refs:index_mask (Results 1 – 3 of 3) sorted by relevance

/bionic/libc/upstream-freebsd/lib/libc/stdlib/
Dhsearch_r.c49 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()
Dhsearch.h35 size_t index_mask; /* Bitmask for indexing the table. */ member
Dhcreate_r.c59 hsearch->index_mask = 0xf; in hcreate_r()