Searched refs:htab (Results 1 – 4 of 4) sorted by relevance
69 if (htab == NULL) in hcreate_r()76 if (htab->table != NULL) in hcreate_r()84 htab->size = nel; in hcreate_r()85 htab->filled = 0; in hcreate_r()88 htab->table = (_ENTRY *) calloc (htab->size + 1, sizeof (_ENTRY)); in hcreate_r()104 if (htab == NULL) in libc_hidden_def()111 free (htab->table); in libc_hidden_def()114 htab->table = NULL; in libc_hidden_def()153 hval %= htab->size; in libc_hidden_def()204 if (htab->filled == htab->size) in libc_hidden_def()[all …]
23 static struct hsearch_data htab; variable31 (void) hsearch_r (item, action, &result, &htab); in hsearch()39 return hcreate_r (nel, &htab); in hcreate()46 hdestroy_r (&htab); in hdestroy()
81 if (htab->free) in htab_delete()82 htab->free (htab->entries); in htab_delete()83 free (htab); in htab_delete()139 if (htab->n_elements * 2 > htab->size) in htab_expand()142 nsize = htab->size; in htab_expand()148 htab->size = nsize; in htab_expand()170 if (htab->free) in htab_expand()175 htab->free = free; in htab_expand()197 if (htab->size * 3 <= htab->n_elements * 4 in htab_find_slot()203 size = htab->size; in htab_find_slot()[all …]
260 if (htab->entries[i]) in htab_delete()263 _dl_free(htab->entries); in htab_delete()264 _dl_free(htab); in htab_delete()278 size_t size = htab->size; in find_empty_slot_for_expand()316 oentries = htab->entries; in htab_expand()323 if (htab->n_elements * 2 > htab->size) in htab_expand()326 nsize = htab->size; in htab_expand()333 htab->size = nsize; in htab_expand()375 if (htab->size * 3 <= htab->n_elements * 4 && in htab_find_slot()381 size = htab->size; in htab_find_slot()[all …]
Completed in 7 milliseconds