Lines Matching refs:tsd
4 tsd_t *tsd; in TEST_BEGIN() local
7 tsd = tsd_fetch(); in TEST_BEGIN()
9 assert_false(ckh_new(tsd, &ckh, 2, ckh_string_hash, in TEST_BEGIN()
11 ckh_delete(tsd, &ckh); in TEST_BEGIN()
13 assert_false(ckh_new(tsd, &ckh, 3, ckh_pointer_hash, in TEST_BEGIN()
15 ckh_delete(tsd, &ckh); in TEST_BEGIN()
20 tsd_t *tsd; in TEST_BEGIN() local
31 tsd = tsd_fetch(); in TEST_BEGIN()
33 assert_false(ckh_new(tsd, &ckh, 2, ckh_string_hash, in TEST_BEGIN()
41 ckh_insert(tsd, &ckh, strs[i], strs[i]); in TEST_BEGIN()
86 assert_false(ckh_remove(tsd, &ckh, strs[i], kp, vp), in TEST_BEGIN()
102 ckh_delete(tsd, &ckh); in TEST_BEGIN()
108 tsd_t *tsd; in TEST_BEGIN() local
114 tsd = tsd_fetch(); in TEST_BEGIN()
116 assert_false(ckh_new(tsd, &ckh, 2, ckh_pointer_hash, in TEST_BEGIN()
128 assert_false(ckh_insert(tsd, &ckh, p[j], p[j]), in TEST_BEGIN()
143 assert_false(ckh_remove(tsd, &ckh, p[j], &q, &r), in TEST_BEGIN()
149 assert_true(ckh_remove(tsd, &ckh, p[j], &q, &r), in TEST_BEGIN()
186 assert_false(ckh_remove(tsd, &ckh, p[i], &q, &r), in TEST_BEGIN()
192 assert_true(ckh_remove(tsd, &ckh, p[i], &q, &r), in TEST_BEGIN()
200 ckh_delete(tsd, &ckh); in TEST_BEGIN()