Lines Matching refs:tsd
5 tsd_t *tsd; in TEST_BEGIN() local
8 tsd = tsd_fetch(); in TEST_BEGIN()
10 assert_false(ckh_new(tsd, &ckh, 2, ckh_string_hash, ckh_string_keycomp), in TEST_BEGIN()
12 ckh_delete(tsd, &ckh); in TEST_BEGIN()
14 assert_false(ckh_new(tsd, &ckh, 3, ckh_pointer_hash, in TEST_BEGIN()
16 ckh_delete(tsd, &ckh); in TEST_BEGIN()
22 tsd_t *tsd; in TEST_BEGIN() local
33 tsd = tsd_fetch(); in TEST_BEGIN()
35 assert_false(ckh_new(tsd, &ckh, 2, ckh_string_hash, ckh_string_keycomp), in TEST_BEGIN()
43 ckh_insert(tsd, &ckh, strs[i], strs[i]); in TEST_BEGIN()
88 assert_false(ckh_remove(tsd, &ckh, strs[i], kp, vp), in TEST_BEGIN()
104 ckh_delete(tsd, &ckh); in TEST_BEGIN()
111 tsd_t *tsd; in TEST_BEGIN() local
117 tsd = tsd_fetch(); in TEST_BEGIN()
119 assert_false(ckh_new(tsd, &ckh, 2, ckh_pointer_hash, in TEST_BEGIN()
131 assert_false(ckh_insert(tsd, &ckh, p[j], p[j]), in TEST_BEGIN()
146 assert_false(ckh_remove(tsd, &ckh, p[j], &q, &r), in TEST_BEGIN()
152 assert_true(ckh_remove(tsd, &ckh, p[j], &q, &r), in TEST_BEGIN()
187 assert_false(ckh_remove(tsd, &ckh, p[i], &q, &r), in TEST_BEGIN()
193 assert_true(ckh_remove(tsd, &ckh, p[i], &q, &r), in TEST_BEGIN()
201 ckh_delete(tsd, &ckh); in TEST_BEGIN()