Home
last modified time | relevance | path

Searched refs:nel (Results 1 – 2 of 2) sorted by relevance

/picolibc-3.5.0-3.4.0/newlib/libc/search/
Dhcreate_r.c89 hcreate_r(size_t nel, struct hsearch_data *htab) in hcreate_r() argument
101 if (nel < MIN_BUCKETS) in hcreate_r()
102 nel = MIN_BUCKETS; in hcreate_r()
105 if (nel > MAX_BUCKETS) in hcreate_r()
106 nel = MAX_BUCKETS; in hcreate_r()
109 if ((nel & (nel - 1)) != 0) { in hcreate_r()
110 for (p2 = 0; nel != 0; p2++) in hcreate_r()
111 nel >>= 1; in hcreate_r()
112 nel = 1 << p2; in hcreate_r()
116 htab->htablesize = nel; in hcreate_r()
Dhcreate.c60 hcreate (size_t nel) in hcreate() argument
62 return hcreate_r (nel, &htab); in hcreate()