Lines Matching refs:nodep
69 char *nodep; variable
82 nodep = Curl_hash_add(&hash_static, &key1, strlen(key1), &key1);
83 fail_unless(nodep, "insertion into hash failed");
84 nodep = Curl_hash_pick(&hash_static, &key1, strlen(key1));
85 fail_unless(nodep == key1, "hash retrieval failed");
87 nodep = Curl_hash_add(&hash_static, &key2, strlen(key2), &key2);
88 fail_unless(nodep, "insertion into hash failed");
89 nodep = Curl_hash_pick(&hash_static, &key2, strlen(key2));
90 fail_unless(nodep == key2, "hash retrieval failed");
92 nodep = Curl_hash_add(&hash_static, &key3, strlen(key3), &key3);
93 fail_unless(nodep, "insertion into hash failed");
94 nodep = Curl_hash_pick(&hash_static, &key3, strlen(key3));
95 fail_unless(nodep == key3, "hash retrieval failed");
98 nodep = Curl_hash_add(&hash_static, &key4, strlen(key4), &key4);
99 fail_unless(nodep, "insertion into hash failed");
100 nodep = Curl_hash_pick(&hash_static, &key4, strlen(key4));
101 fail_unless(nodep == key4, "hash retrieval failed");
104 nodep = Curl_hash_pick(&hash_static, &key1, strlen(key1));
105 fail_unless(nodep == key1, "hash retrieval failed");
106 nodep = Curl_hash_pick(&hash_static, &key2, strlen(key2));
107 fail_unless(nodep == key2, "hash retrieval failed");
108 nodep = Curl_hash_pick(&hash_static, &key3, strlen(key3));
109 fail_unless(nodep == key3, "hash retrieval failed");
110 nodep = Curl_hash_pick(&hash_static, &key4, strlen(key4));
111 fail_unless(nodep == key4, "hash retrieval failed");
116 nodep = Curl_hash_pick(&hash_static, &key1, strlen(key1));
117 fail_unless(nodep == key1, "hash retrieval failed");
118 nodep = Curl_hash_pick(&hash_static, &key4, strlen(key4));
119 fail_unless(!nodep, "hash retrieval should have failed");
122 nodep = Curl_hash_add(&hash_static, &key4, strlen(key4), &key4);
123 fail_unless(nodep, "insertion into hash failed");
124 nodep = Curl_hash_pick(&hash_static, &key4, strlen(key4));
125 fail_unless(nodep == key4, "hash retrieval failed");
130 nodep = Curl_hash_pick(&hash_static, &key1, strlen(key1));
131 fail_unless(!nodep, "hash retrieval should have failed");
132 nodep = Curl_hash_pick(&hash_static, &key4, strlen(key4));
133 fail_unless(nodep == key4, "hash retrieval failed");
138 nodep = Curl_hash_pick(&hash_static, &key1, strlen(key1));
139 fail_unless(!nodep, "hash retrieval should have failed");
140 nodep = Curl_hash_pick(&hash_static, &key4, strlen(key4));
141 fail_unless(!nodep, "hash retrieval should have failed");
148 nodep = Curl_hash_add(&hash_static, &key1, strlen(key1), ¬akey);
149 fail_unless(nodep, "insertion into hash failed");
150 nodep = Curl_hash_pick(&hash_static, &key1, strlen(key1));
151 fail_unless(nodep == notakey, "hash retrieval failed");
154 nodep = Curl_hash_pick(&hash_static, &key2, strlen(key2));
155 fail_unless(nodep == key2, "hash retrieval failed");
156 nodep = Curl_hash_pick(&hash_static, &key3, strlen(key3));
157 fail_unless(nodep == key3, "hash retrieval failed");
160 nodep = Curl_hash_add2(&hash_static, &key1, strlen(key1), &key1,
162 fail_unless(nodep, "add2 insertion into hash failed");
165 nodep = Curl_hash_add2(&hash_static, &key1, strlen(key1), &key1,
167 fail_unless(nodep, "add2 again, insertion into hash failed");