Lines Matching refs:slots
67 size_t slots, in Curl_hash_init() argument
73 DEBUGASSERT(slots); in Curl_hash_init()
83 h->slots = slots; in Curl_hash_init()
106 #define FETCH_LIST(x,y,z) &x->table[x->hash_func(y, z, x->slots)]
116 DEBUGASSERT(h->slots); in Curl_hash_add2()
120 h->table = malloc(h->slots * sizeof(struct Curl_llist)); in Curl_hash_add2()
123 for(i = 0; i < h->slots; ++i) in Curl_hash_add2()
170 DEBUGASSERT(h->slots); in Curl_hash_delete()
200 DEBUGASSERT(h->slots); in Curl_hash_pick()
226 for(i = 0; i < h->slots; ++i) { in Curl_hash_destroy()
232 h->slots = 0; in Curl_hash_destroy()
262 for(i = 0; i < h->slots; ++i) { in Curl_hash_clean_with_criterium()
331 for(i = iter->slot_index; i < h->slots; i++) { in Curl_hash_next_element()
384 size_t slots, in Curl_hash_offt_init() argument
387 Curl_hash_init(h, slots, Curl_hash_str, Curl_str_key_compare, dtor); in Curl_hash_offt_init()