Searched refs:curl_hash (Results 1 – 14 of 14) sorted by relevance
/external/curl/lib/ |
D | hash.h | 46 struct curl_hash { struct 67 struct curl_hash *hash; argument 72 int Curl_hash_init(struct curl_hash *h, 78 void *Curl_hash_add(struct curl_hash *h, void *key, size_t key_len, void *p); 79 int Curl_hash_delete(struct curl_hash *h, void *key, size_t key_len); 80 void *Curl_hash_pick(struct curl_hash *, void *key, size_t key_len); 81 void Curl_hash_apply(struct curl_hash *h, void *user, 83 int Curl_hash_count(struct curl_hash *h); 84 void Curl_hash_destroy(struct curl_hash *h); 85 void Curl_hash_clean(struct curl_hash *h); [all …]
|
D | hash.c | 37 struct curl_hash *h = (struct curl_hash *) user; in hash_element_dtor() 57 Curl_hash_init(struct curl_hash *h, in Curl_hash_init() 109 Curl_hash_add(struct curl_hash *h, void *key, size_t key_len, void *p) in Curl_hash_add() 139 int Curl_hash_delete(struct curl_hash *h, void *key, size_t key_len) in Curl_hash_delete() 160 Curl_hash_pick(struct curl_hash *h, void *key, size_t key_len) in Curl_hash_pick() 180 Curl_hash_apply(curl_hash *h, void *user, in Curl_hash_apply() 205 Curl_hash_destroy(struct curl_hash *h) in Curl_hash_destroy() 223 Curl_hash_clean(struct curl_hash *h) in Curl_hash_clean() 230 Curl_hash_clean_with_criterium(struct curl_hash *h, void *user, in Curl_hash_clean_with_criterium() 280 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); 234 void Curl_hostcache_clean(struct Curl_easy *data, struct curl_hash *hash);
|
D | multihandle.h | 99 struct curl_hash hostcache; 113 struct curl_hash sockhash;
|
D | hostip.c | 118 static struct curl_hash hostname_cache; 130 struct curl_hash *Curl_global_host_cache_init(void) in Curl_global_host_cache_init() 245 hostcache_prune(struct curl_hash *hostcache, long cache_timeout, time_t now) in hostcache_prune() 838 int Curl_mk_dnscache(struct curl_hash *hash) in Curl_mk_dnscache() 852 struct curl_hash *hash) in Curl_hostcache_clean()
|
D | share.h | 49 struct curl_hash hostcache;
|
D | conncache.h | 33 struct curl_hash hash;
|
D | multi.c | 211 static struct Curl_sh_entry *sh_getentry(struct curl_hash *sh, in sh_getentry() 221 static struct Curl_sh_entry *sh_addentry(struct curl_hash *sh, in sh_addentry() 249 static void sh_delentry(struct curl_hash *sh, curl_socket_t s) in sh_delentry() 299 static int sh_init(struct curl_hash *hash, int hashsize) in sh_init() 414 struct curl_hash *global = Curl_global_host_cache_init(); in curl_multi_add_handle()
|
D | urldata.h | 1745 struct curl_hash *hostcache;
|
/external/curl/tests/unit/ |
D | unit1602.c | 31 static struct curl_hash hash_static;
|
D | unit1305.c | 43 static struct curl_hash hp;
|
D | unit1609.c | 35 static struct curl_hash *hostcache;
|
D | unit1607.c | 35 static struct curl_hash *hostcache;
|
D | unit1603.c | 31 static struct curl_hash hash_static;
|