Searched refs:curl_hash (Results 1 – 12 of 12) sorted by relevance
/external/curl/lib/ |
D | hash.h | 46 struct curl_hash { struct 66 struct curl_hash *hash; argument 71 int Curl_hash_init(struct curl_hash *h, 77 void *Curl_hash_add(struct curl_hash *h, void *key, size_t key_len, void *p); 78 int Curl_hash_delete(struct curl_hash *h, void *key, size_t key_len); 79 void *Curl_hash_pick(struct curl_hash *, void * key, size_t key_len); 80 void Curl_hash_apply(struct curl_hash *h, void *user, 82 int Curl_hash_count(struct curl_hash *h); 83 void Curl_hash_destroy(struct curl_hash *h); 84 void Curl_hash_clean(struct curl_hash *h); [all …]
|
D | hash.c | 34 struct curl_hash *h = (struct curl_hash *) user; in hash_element_dtor() 51 Curl_hash_init(struct curl_hash *h, in Curl_hash_init() 124 Curl_hash_add(struct curl_hash *h, void *key, size_t key_len, void *p) in Curl_hash_add() 159 int Curl_hash_delete(struct curl_hash *h, void *key, size_t key_len) in Curl_hash_delete() 177 Curl_hash_pick(struct curl_hash *h, void *key, size_t key_len) in Curl_hash_pick() 198 Curl_hash_apply(curl_hash *h, void *user, in Curl_hash_apply() 219 Curl_hash_destroy(struct curl_hash *h) in Curl_hash_destroy() 238 Curl_hash_clean(struct curl_hash *h) in Curl_hash_clean() 245 Curl_hash_clean_with_criterium(struct curl_hash *h, void *user, in Curl_hash_clean_with_criterium() 295 void Curl_hash_start_iterate(struct curl_hash *hash, in Curl_hash_start_iterate() [all …]
|
D | hostip.h | 63 struct curl_hash *Curl_global_host_cache_init(void); 128 int Curl_mk_dnscache(struct curl_hash *hash); 238 void Curl_hostcache_clean(struct SessionHandle *data, struct curl_hash *hash);
|
D | multihandle.h | 91 struct curl_hash hostcache; 100 struct curl_hash sockhash;
|
D | hostip.c | 110 static struct curl_hash hostname_cache; 122 struct curl_hash *Curl_global_host_cache_init(void) in Curl_global_host_cache_init() 241 hostcache_prune(struct curl_hash *hostcache, long cache_timeout, time_t now) in hostcache_prune() 747 int Curl_mk_dnscache(struct curl_hash *hash) in Curl_mk_dnscache() 761 struct curl_hash *hash) in Curl_hostcache_clean()
|
D | share.h | 47 struct curl_hash hostcache;
|
D | conncache.h | 27 struct curl_hash hash;
|
D | http.h | 214 struct curl_hash streamsh;
|
D | multi.c | 165 static struct Curl_sh_entry *sh_addentry(struct curl_hash *sh, in sh_addentry() 196 static void sh_delentry(struct curl_hash *sh, curl_socket_t s) in sh_delentry() 252 static int sh_init(struct curl_hash *hash, int hashsize) in sh_init() 387 struct curl_hash *global = Curl_global_host_cache_init(); in curl_multi_add_handle()
|
D | urldata.h | 1631 struct curl_hash *hostcache;
|
/external/curl/tests/unit/ |
D | unit1602.c | 52 struct curl_hash hash_static;
|
D | unit1305.c | 43 static struct curl_hash hp;
|