Home
last modified time | relevance | path

Searched refs:curl_hash (Results 1 – 14 of 14) sorted by relevance

/external/curl/lib/
Dhash.h46 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 …]
Dhash.c37 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 …]
Dhostip.h63 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);
Dmultihandle.h99 struct curl_hash hostcache;
113 struct curl_hash sockhash;
Dhostip.c118 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()
Dshare.h49 struct curl_hash hostcache;
Dconncache.h33 struct curl_hash hash;
Dmulti.c211 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()
Durldata.h1745 struct curl_hash *hostcache;
/external/curl/tests/unit/
Dunit1602.c31 static struct curl_hash hash_static;
Dunit1305.c43 static struct curl_hash hp;
Dunit1609.c35 static struct curl_hash *hostcache;
Dunit1607.c35 static struct curl_hash *hostcache;
Dunit1603.c31 static struct curl_hash hash_static;