Searched refs:hash_static (Results 1 – 3 of 3) sorted by relevance
/curl/tests/unit/ |
H A D | unit1603.c | 33 static struct Curl_hash hash_static; variable 54 Curl_hash_init(&hash_static, slots, Curl_hash_str, in unit_setup() 61 Curl_hash_destroy(&hash_static); in unit_stop() 85 nodep = Curl_hash_pick(&hash_static, &key1, strlen(key1)); 90 nodep = Curl_hash_pick(&hash_static, &key2, strlen(key2)); 95 nodep = Curl_hash_pick(&hash_static, &key3, strlen(key3)); 101 nodep = Curl_hash_pick(&hash_static, &key4, strlen(key4)); 115 rc = Curl_hash_delete(&hash_static, &key4, strlen(key4)); 129 rc = Curl_hash_delete(&hash_static, &key1, strlen(key1)); 137 rc = Curl_hash_delete(&hash_static, &key4, strlen(key4)); [all …]
|
H A D | unit1616.c | 33 static struct Curl_hash hash_static; variable 43 Curl_hash_offt_init(&hash_static, 15, mydtor); in unit_setup() 49 Curl_hash_destroy(&hash_static); in unit_stop() 64 nodep = Curl_hash_offt_set(&hash_static, key, value); 68 v = Curl_hash_offt_get(&hash_static, key); 70 v = Curl_hash_offt_get(&hash_static, key2); 72 Curl_hash_clean(&hash_static); 78 nodep = Curl_hash_offt_set(&hash_static, key2, value2); 82 v = Curl_hash_offt_get(&hash_static, key2); 84 v = Curl_hash_offt_get(&hash_static, key);
|
H A D | unit1602.c | 33 static struct Curl_hash hash_static; variable 43 Curl_hash_init(&hash_static, 7, Curl_hash_str, in unit_setup() 50 Curl_hash_destroy(&hash_static); in unit_stop() 66 nodep = Curl_hash_add(&hash_static, &key, klen, value); 70 Curl_hash_clean(&hash_static); 76 nodep = Curl_hash_add(&hash_static, &key2, klen, value2);
|
Completed in 16 milliseconds