Lines Matching refs:nodep
60 char *nodep;
73 nodep = Curl_hash_add(&hash_static, &key1, strlen(key1), &key1);
74 fail_unless(nodep, "insertion into hash failed");
75 nodep = Curl_hash_pick(&hash_static, &key1, strlen(key1));
76 fail_unless(nodep == key1, "hash retrieval failed");
78 nodep = Curl_hash_add(&hash_static, &key2, strlen(key2), &key2);
79 fail_unless(nodep, "insertion into hash failed");
80 nodep = Curl_hash_pick(&hash_static, &key2, strlen(key2));
81 fail_unless(nodep == key2, "hash retrieval failed");
83 nodep = Curl_hash_add(&hash_static, &key3, strlen(key3), &key3);
84 fail_unless(nodep, "insertion into hash failed");
85 nodep = Curl_hash_pick(&hash_static, &key3, strlen(key3));
86 fail_unless(nodep == key3, "hash retrieval failed");
89 nodep = Curl_hash_add(&hash_static, &key4, strlen(key4), &key4);
90 fail_unless(nodep, "insertion into hash failed");
91 nodep = Curl_hash_pick(&hash_static, &key4, strlen(key4));
92 fail_unless(nodep == key4, "hash retrieval failed");
95 nodep = Curl_hash_pick(&hash_static, &key1, strlen(key1));
96 fail_unless(nodep == key1, "hash retrieval failed");
97 nodep = Curl_hash_pick(&hash_static, &key2, strlen(key2));
98 fail_unless(nodep == key2, "hash retrieval failed");
99 nodep = Curl_hash_pick(&hash_static, &key3, strlen(key3));
100 fail_unless(nodep == key3, "hash retrieval failed");
101 nodep = Curl_hash_pick(&hash_static, &key4, strlen(key4));
102 fail_unless(nodep == key4, "hash retrieval failed");
107 nodep = Curl_hash_pick(&hash_static, &key1, strlen(key1));
108 fail_unless(nodep == key1, "hash retrieval failed");
109 nodep = Curl_hash_pick(&hash_static, &key4, strlen(key4));
110 fail_unless(!nodep, "hash retrieval should have failed");
113 nodep = Curl_hash_add(&hash_static, &key4, strlen(key4), &key4);
114 fail_unless(nodep, "insertion into hash failed");
115 nodep = Curl_hash_pick(&hash_static, &key4, strlen(key4));
116 fail_unless(nodep == key4, "hash retrieval failed");
121 nodep = Curl_hash_pick(&hash_static, &key1, strlen(key1));
122 fail_unless(!nodep, "hash retrieval should have failed");
123 nodep = Curl_hash_pick(&hash_static, &key4, strlen(key4));
124 fail_unless(nodep == key4, "hash retrieval failed");
129 nodep = Curl_hash_pick(&hash_static, &key1, strlen(key1));
130 fail_unless(!nodep, "hash retrieval should have failed");
131 nodep = Curl_hash_pick(&hash_static, &key4, strlen(key4));
132 fail_unless(!nodep, "hash retrieval should have failed");
139 nodep = Curl_hash_add(&hash_static, &key1, strlen(key1), ¬akey);
140 fail_unless(nodep, "insertion into hash failed");
141 nodep = Curl_hash_pick(&hash_static, &key1, strlen(key1));
142 fail_unless(nodep == notakey, "hash retrieval failed");
145 nodep = Curl_hash_pick(&hash_static, &key2, strlen(key2));
146 fail_unless(nodep == key2, "hash retrieval failed");
147 nodep = Curl_hash_pick(&hash_static, &key3, strlen(key3));
148 fail_unless(nodep == key3, "hash retrieval failed");