Lines Matching refs:he
88 struct curl_hash_element *he = malloc(sizeof(struct curl_hash_element) + in mk_hash_element() local
90 if(he) { 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()
94 he->ptr = (void *) p; in mk_hash_element()
96 return he; in mk_hash_element()
111 struct curl_hash_element *he; in Curl_hash_add() local
116 he = (struct curl_hash_element *) le->ptr; 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()
125 if(he) { in Curl_hash_add()
126 Curl_llist_insert_next(l, l->tail, he, &he->list); in Curl_hash_add()
145 struct curl_hash_element *he = le->ptr; in Curl_hash_delete() local
146 if(h->comp_func(he->key, he->key_len, key, key_len)) { in Curl_hash_delete()
168 struct curl_hash_element *he = le->ptr; in Curl_hash_pick() local
169 if(h->comp_func(he->key, he->key_len, key, key_len)) { in Curl_hash_pick()
170 return he->ptr; in Curl_hash_pick()
245 struct curl_hash_element *he = le->ptr; in Curl_hash_clean_with_criterium() local
248 if(comp == NULL || comp(user, he->ptr)) { in Curl_hash_clean_with_criterium()
310 struct curl_hash_element *he = iter->current_element->ptr; in Curl_hash_next_element() local
311 return he; in Curl_hash_next_element()
322 struct curl_hash_element *he;
332 he = Curl_hash_next_element(&iter);
333 while(he) {
343 func(he->ptr);
345 fprintf(stderr, " [%p]", (void *)he->ptr);
347 he = Curl_hash_next_element(&iter);