Home | History | Annotate | Download | only in unit

Lines Matching refs:nodep

57   char *nodep;
70 nodep = Curl_hash_add(&hash_static, &key1, strlen(key1), &key1);
71 fail_unless(nodep, "insertion into hash failed");
72 nodep = Curl_hash_pick(&hash_static, &key1, strlen(key1));
73 fail_unless(nodep == key1, "hash retrieval failed");
75 nodep = Curl_hash_add(&hash_static, &key2, strlen(key2), &key2);
76 fail_unless(nodep, "insertion into hash failed");
77 nodep = Curl_hash_pick(&hash_static, &key2, strlen(key2));
78 fail_unless(nodep == key2, "hash retrieval failed");
80 nodep = Curl_hash_add(&hash_static, &key3, strlen(key3), &key3);
81 fail_unless(nodep, "insertion into hash failed");
82 nodep = Curl_hash_pick(&hash_static, &key3, strlen(key3));
83 fail_unless(nodep == key3, "hash retrieval failed");
86 nodep = Curl_hash_add(&hash_static, &key4, strlen(key4), &key4);
87 fail_unless(nodep, "insertion into hash failed");
88 nodep = Curl_hash_pick(&hash_static, &key4, strlen(key4));
89 fail_unless(nodep == key4, "hash retrieval failed");
92 nodep = Curl_hash_pick(&hash_static, &key1, strlen(key1));
93 fail_unless(nodep == key1, "hash retrieval failed");
94 nodep = Curl_hash_pick(&hash_static, &key2, strlen(key2));
95 fail_unless(nodep == key2, "hash retrieval failed");
96 nodep = Curl_hash_pick(&hash_static, &key3, strlen(key3));
97 fail_unless(nodep == key3, "hash retrieval failed");
98 nodep = Curl_hash_pick(&hash_static, &key4, strlen(key4));
99 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, &key4, strlen(key4));
107 fail_unless(!nodep, "hash retrieval should have failed");
110 nodep = Curl_hash_add(&hash_static, &key4, strlen(key4), &key4);
111 fail_unless(nodep, "insertion into hash failed");
112 nodep = Curl_hash_pick(&hash_static, &key4, strlen(key4));
113 fail_unless(nodep == key4, "hash retrieval failed");
118 nodep = Curl_hash_pick(&hash_static, &key1, strlen(key1));
119 fail_unless(!nodep, "hash retrieval should have failed");
120 nodep = Curl_hash_pick(&hash_static, &key4, strlen(key4));
121 fail_unless(nodep == key4, "hash retrieval failed");
126 nodep = Curl_hash_pick(&hash_static, &key1, strlen(key1));
127 fail_unless(!nodep, "hash retrieval should have failed");
128 nodep = Curl_hash_pick(&hash_static, &key4, strlen(key4));
129 fail_unless(!nodep, "hash retrieval should have failed");
136 nodep = Curl_hash_add(&hash_static, &key1, strlen(key1), &notakey);
137 fail_unless(nodep, "insertion into hash failed");
138 nodep = Curl_hash_pick(&hash_static, &key1, strlen(key1));
139 fail_unless(nodep == notakey, "hash retrieval failed");
142 nodep = Curl_hash_pick(&hash_static, &key2, strlen(key2));
143 fail_unless(nodep == key2, "hash retrieval failed");
144 nodep = Curl_hash_pick(&hash_static, &key3, strlen(key3));
145 fail_unless(nodep == key3, "hash retrieval failed");