Searched refs:testcase (Results 1 - 17 of 17) sorted by relevance

/freebsd-9.3-release/contrib/ntp/lib/isc/tests/
H A Dhash_test.c202 hash_testcase_t *testcase = testcases; local
204 while (testcase->input != NULL && testcase->result != NULL) {
206 for(i = 0; i < testcase->repeats; i++) {
208 (const isc_uint8_t *) testcase->input,
209 testcase->input_len);
213 ATF_CHECK_STREQ(str, testcase->result);
215 testcase++;
329 hash_testcase_t *testcase = testcases; local
331 while (testcase
461 hash_testcase_t *testcase = testcases; local
607 hash_testcase_t *testcase = testcases; local
754 hash_testcase_t *testcase = testcases; local
833 hash_testcase_t *testcase = testcases; local
922 hash_testcase_t *testcase = testcases; local
1075 hash_testcase_t *testcase = testcases; local
1238 hash_testcase_t *testcase = testcases; local
1407 hash_testcase_t *testcase = testcases; local
1576 hash_testcase_t *testcase = testcases; local
1719 hash_testcase_t *testcase = testcases; local
[all...]
/freebsd-9.3-release/contrib/ntp/sntp/libevent/test/
H A Dregress_main.c194 basic_test_setup(const struct testcase_t *testcase) argument
201 if (testcase->flags & TT_ENABLE_IOCP_FLAG)
205 if (testcase->flags & TT_NEED_THREADS) {
206 if (!(testcase->flags & TT_FORK))
219 if (testcase->flags & TT_NEED_SOCKETPAIR) {
235 if (testcase->flags & TT_NEED_BASE) {
236 if (testcase->flags & TT_LEGACY)
243 if (testcase->flags & TT_ENABLE_IOCP_FLAG) {
250 if (testcase->flags & TT_NEED_DNS) {
256 if (testcase
270 basic_test_cleanup(const struct testcase_t *testcase, void *ptr) argument
313 legacy_test_setup(const struct testcase_t *testcase) argument
351 legacy_test_cleanup(const struct testcase_t *testcase, void *ptr) argument
[all...]
H A Dtinytest.c92 testcase_run_bare_(const struct testcase_t *testcase) argument
96 if (testcase->setup) {
97 env = testcase->setup->setup_fn(testcase);
105 testcase->fn(env);
108 if (testcase->setup) {
109 if (testcase->setup->cleanup_fn(testcase, env) == 0)
122 const struct testcase_t *testcase)
148 commandname, verbosity_flag, group->prefix, testcase
121 testcase_run_forked_(const struct testgroup_t *group, const struct testcase_t *testcase) argument
223 testcase_run_one(const struct testgroup_t *group, const struct testcase_t *testcase) argument
288 struct testcase_t *testcase = &groups[i].cases[j]; local
[all...]
H A Dregress_buffer.c2212 setup_passthrough(const struct testcase_t *testcase) argument
2214 return testcase->setup_data;
2217 cleanup_passthrough(const struct testcase_t *testcase, void *ptr) argument
H A Dregress_dns.c1803 testleak_setup(const struct testcase_t *testcase) argument
1829 testleak_cleanup(const struct testcase_t *testcase, void *env_) argument
/freebsd-9.3-release/tools/test/netfibs/
H A Dreflect.c49 static char *testcase; variable
78 * We expected a "START testcase" on first connect. Otherwise it means
88 if (strcmp(buf+6, testcase) != 0)
90 "'%s': '%s'", testcase, buf+6);
94 fprintf(stderr, "<< %s: %s\n", testcase, buf);
102 fprintf(stderr, ">> %s: %s\n", testcase, buf);
338 testcase = optarg;
351 if (testcase == NULL)
352 errx(EX_USAGE, "Mandatory option -t <testcase> not given");
/freebsd-9.3-release/crypto/heimdal/lib/roken/
H A Dparse_reply-test.c53 static struct testcase { struct
94 const struct testcase *t = &tests[i];
H A Dparse_bytes-test.c42 static struct testcase { struct
H A Dparse_time-test.c44 static struct testcase { struct
H A Dstrpftime-test.c45 static struct testcase { struct
/freebsd-9.3-release/crypto/heimdal/lib/krb5/
H A Dn-fold-test.c39 static struct testcase { struct
99 struct testcase *t;
H A Dname-45-test.c40 static struct testcase { struct
153 struct testcase *t;
H A Dparse-name-test.c40 static struct testcase { struct
69 struct testcase *t;
H A Dstring-to-key-test.c40 static struct testcase { struct
95 struct testcase *t;
H A Dderived-key-test.c40 static struct testcase { struct
83 struct testcase *t;
/freebsd-9.3-release/tools/regression/lib/libc/gen/
H A Dtest-fnmatch.c37 struct testcase { struct
220 struct testcase *t;
262 struct testcase *t;
/freebsd-9.3-release/tools/regression/doat/
H A Ddoat.c56 struct testcase { struct
65 struct testcase tests[10]; /* no more than 10 tests */

Completed in 154 milliseconds