Home
last modified time | relevance | path

Searched refs:hash_static (Results 1 – 3 of 3) sorted by relevance

/curl/tests/unit/
H A Dunit1603.c32 static struct Curl_hash hash_static; variable
53 Curl_hash_init(&hash_static, slots, Curl_hash_str, in unit_setup()
60 Curl_hash_destroy(&hash_static); in unit_stop()
84 nodep = Curl_hash_pick(&hash_static, &key1, strlen(key1));
89 nodep = Curl_hash_pick(&hash_static, &key2, strlen(key2));
94 nodep = Curl_hash_pick(&hash_static, &key3, strlen(key3));
100 nodep = Curl_hash_pick(&hash_static, &key4, strlen(key4));
114 rc = Curl_hash_delete(&hash_static, &key4, strlen(key4));
128 rc = Curl_hash_delete(&hash_static, &key1, strlen(key1));
136 rc = Curl_hash_delete(&hash_static, &key4, strlen(key4));
[all …]
H A Dunit1616.c32 static struct Curl_hash hash_static; variable
42 Curl_hash_offt_init(&hash_static, 15, mydtor); in unit_setup()
48 Curl_hash_destroy(&hash_static); in unit_stop()
63 nodep = Curl_hash_offt_set(&hash_static, key, value);
67 v = Curl_hash_offt_get(&hash_static, key);
69 v = Curl_hash_offt_get(&hash_static, key2);
71 Curl_hash_clean(&hash_static);
77 nodep = Curl_hash_offt_set(&hash_static, key2, value2);
81 v = Curl_hash_offt_get(&hash_static, key2);
83 v = Curl_hash_offt_get(&hash_static, key);
H A Dunit1602.c32 static struct Curl_hash hash_static; variable
42 Curl_hash_init(&hash_static, 7, Curl_hash_str, in unit_setup()
49 Curl_hash_destroy(&hash_static); in unit_stop()
65 nodep = Curl_hash_add(&hash_static, &key, klen, value);
69 Curl_hash_clean(&hash_static);
75 nodep = Curl_hash_add(&hash_static, &key2, klen, value2);

Completed in 6 milliseconds