Lines Matching refs:key_len
45 e->key_len = 0; in hash_element_dtor()
85 mk_hash_element(const void *key, size_t key_len, const void *p) in mk_hash_element() argument
89 key_len); in mk_hash_element()
92 memcpy(he->key, key, key_len); in mk_hash_element()
93 he->key_len = key_len; in mk_hash_element()
109 Curl_hash_add(struct curl_hash *h, void *key, size_t key_len, void *p) in Curl_hash_add() argument
113 struct curl_llist *l = FETCH_LIST(h, key, key_len); in Curl_hash_add()
117 if(h->comp_func(he->key, he->key_len, key, key_len)) { in Curl_hash_add()
124 he = mk_hash_element(key, key_len, p); in Curl_hash_add()
139 int Curl_hash_delete(struct curl_hash *h, void *key, size_t key_len) in Curl_hash_delete() argument
142 struct curl_llist *l = FETCH_LIST(h, key, key_len); in Curl_hash_delete()
146 if(h->comp_func(he->key, he->key_len, key, key_len)) { in Curl_hash_delete()
160 Curl_hash_pick(struct curl_hash *h, void *key, size_t key_len) in Curl_hash_pick() argument
166 l = FETCH_LIST(h, key, key_len); in Curl_hash_pick()
169 if(h->comp_func(he->key, he->key_len, key, key_len)) { in Curl_hash_pick()