Searched refs:htab (Results 1 – 1 of 1) sorted by relevance
66 static void _hdelete(const char *key, struct hsearch_data *htab, ENTRY *ep,100 int hcreate_r(size_t nel, struct hsearch_data *htab) in hcreate_r() argument103 if (htab == NULL) { in hcreate_r()109 if (htab->table != NULL) in hcreate_r()117 htab->size = nel; in hcreate_r()118 htab->filled = 0; in hcreate_r()121 htab->table = (_ENTRY *) calloc(htab->size + 1, sizeof(_ENTRY)); in hcreate_r()122 if (htab->table == NULL) in hcreate_r()139 void hdestroy_r(struct hsearch_data *htab) in hdestroy_r() argument144 if (htab == NULL) { in hdestroy_r()[all …]