Home
last modified time | relevance | path

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

/external/curl/tests/unit/
Dunit1603.c31 static struct curl_hash hash_static; variable
42 return Curl_hash_init(&hash_static, slots, Curl_hash_str, in unit_setup()
48 Curl_hash_destroy(&hash_static); in unit_stop()
70 nodep = Curl_hash_add(&hash_static, &key1, strlen(key1), &key1);
72 nodep = Curl_hash_pick(&hash_static, &key1, strlen(key1));
75 nodep = Curl_hash_add(&hash_static, &key2, strlen(key2), &key2);
77 nodep = Curl_hash_pick(&hash_static, &key2, strlen(key2));
80 nodep = Curl_hash_add(&hash_static, &key3, strlen(key3), &key3);
82 nodep = Curl_hash_pick(&hash_static, &key3, strlen(key3));
86 nodep = Curl_hash_add(&hash_static, &key4, strlen(key4), &key4);
[all …]
Dunit1602.c31 static struct curl_hash hash_static; variable
41 return Curl_hash_init(&hash_static, 7, Curl_hash_str, in unit_setup()
47 Curl_hash_destroy(&hash_static); in unit_stop()
63 nodep = Curl_hash_add(&hash_static, &key, klen, value);
67 Curl_hash_clean(&hash_static);
73 nodep = Curl_hash_add(&hash_static, &key2, klen, value2);