Lines Matching refs:he

94   struct Curl_hash_element *he = malloc(sizeof(struct Curl_hash_element) +  in mk_hash_element()  local
96 if(he) { in mk_hash_element()
98 memcpy(he->key, key, key_len); in mk_hash_element()
99 he->key_len = key_len; in mk_hash_element()
100 he->ptr = (void *) p; in mk_hash_element()
101 he->dtor = dtor; in mk_hash_element()
103 return he; in mk_hash_element()
111 struct Curl_hash_element *he; in Curl_hash_add2() local
130 he = (struct Curl_hash_element *) Curl_node_elem(le); in Curl_hash_add2()
131 if(h->comp_func(he->key, he->key_len, key, key_len)) { in Curl_hash_add2()
138 he = mk_hash_element(key, key_len, p, dtor); in Curl_hash_add2()
139 if(he) { in Curl_hash_add2()
140 Curl_llist_append(l, he, &he->list); in Curl_hash_add2()
177 struct Curl_hash_element *he = Curl_node_elem(le); in Curl_hash_delete() local
178 if(h->comp_func(he->key, he->key_len, key, key_len)) { in Curl_hash_delete()
203 struct Curl_hash_element *he = Curl_node_elem(le); in Curl_hash_pick() local
204 if(h->comp_func(he->key, he->key_len, key, key_len)) { in Curl_hash_pick()
205 return he->ptr; in Curl_hash_pick()
267 struct Curl_hash_element *he = Curl_node_elem(le); in Curl_hash_clean_with_criterium() local
270 if(!comp || comp(user, he->ptr)) { in Curl_hash_clean_with_criterium()
341 struct Curl_hash_element *he = Curl_node_elem(iter->current_element); in Curl_hash_next_element() local
342 return he; in Curl_hash_next_element()
352 struct Curl_hash_element *he;
362 he = Curl_hash_next_element(&iter);
363 while(he) {
373 func(he->ptr);
375 fprintf(stderr, " [%p]", (void *)he->ptr);
377 he = Curl_hash_next_element(&iter);