Home
last modified time | relevance | path

Searched refs:htab (Results 1 – 4 of 4) sorted by relevance

/l4re-core-master/uclibc/lib/contrib/uclibc/libc/misc/search/
A D_hsearch_r.c69 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 …]
A Dhsearch.c23 static struct hsearch_data htab; variable
31 (void) hsearch_r (item, action, &result, &htab); in hsearch()
39 return hcreate_r (nel, &htab); in hcreate()
46 hdestroy_r (&htab); in hdestroy()
/l4re-core-master/uclibc/lib/contrib/uclibc/ldso/include/
A Dinline-hashtab.h81 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 …]
/l4re-core-master/uclibc/lib/contrib/uclibc/ldso/ldso/fdpic/
A Ddl-inlines.h260 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