Home
last modified time | relevance | path

Searched refs:testcase (Results 1 – 25 of 154) sorted by relevance

1234567

/minix3/external/bsd/bind/dist/lib/isc/tests/
H A Dhash_test.c205 hash_testcase_t *testcase = testcases; in ATF_TC_BODY() local
207 while (testcase->input != NULL && testcase->result != NULL) { in ATF_TC_BODY()
209 for(i = 0; i < testcase->repeats; i++) { in ATF_TC_BODY()
211 (const isc_uint8_t *) testcase->input, in ATF_TC_BODY()
212 testcase->input_len); in ATF_TC_BODY()
216 ATF_CHECK_STREQ(str, testcase->result); in ATF_TC_BODY()
218 testcase++; in ATF_TC_BODY()
332 hash_testcase_t *testcase = testcases; in ATF_TC_BODY() local
334 while (testcase->input != NULL && testcase->result != NULL) { in ATF_TC_BODY()
336 for(i = 0; i < testcase->repeats; i++) { in ATF_TC_BODY()
[all …]
H A Daes_test.c134 aes_testcase_t *testcase = testcases; in ATF_TC_BODY() local
136 while (testcase->key != NULL) { in ATF_TC_BODY()
137 len = fromhexstr(testcase->key, key); in ATF_TC_BODY()
139 len = fromhexstr(testcase->input, plaintext); in ATF_TC_BODY()
143 ATF_CHECK_STREQ(str, testcase->result); in ATF_TC_BODY()
145 testcase++; in ATF_TC_BODY()
196 aes_testcase_t *testcase = testcases; in ATF_TC_BODY() local
198 while (testcase->key != NULL) { in ATF_TC_BODY()
199 len = fromhexstr(testcase->key, key); in ATF_TC_BODY()
201 len = fromhexstr(testcase->input, plaintext); in ATF_TC_BODY()
[all …]
/minix3/external/bsd/libevent/dist/test/
H A Dregress_main.c194 basic_test_setup(const struct testcase_t *testcase) in basic_test_setup() argument
201 if (testcase->flags & TT_ENABLE_IOCP_FLAG) in basic_test_setup()
205 if (testcase->flags & TT_NEED_THREADS) { in basic_test_setup()
206 if (!(testcase->flags & TT_FORK)) in basic_test_setup()
219 if (testcase->flags & TT_NEED_SOCKETPAIR) { in basic_test_setup()
235 if (testcase->flags & TT_NEED_BASE) { in basic_test_setup()
236 if (testcase->flags & TT_LEGACY) in basic_test_setup()
243 if (testcase->flags & TT_ENABLE_IOCP_FLAG) { in basic_test_setup()
250 if (testcase->flags & TT_NEED_DNS) { in basic_test_setup()
256 if (testcase->flags & TT_NO_LOGS) in basic_test_setup()
[all …]
H A Dtinytest.c87 _testcase_run_bare(const struct testcase_t *testcase) in _testcase_run_bare() argument
91 if (testcase->setup) { in _testcase_run_bare()
92 env = testcase->setup->setup_fn(testcase); in _testcase_run_bare()
100 testcase->fn(env); in _testcase_run_bare()
103 if (testcase->setup) { in _testcase_run_bare()
104 if (testcase->setup->cleanup_fn(testcase, env) == 0) in _testcase_run_bare()
115 const struct testcase_t *testcase) in _testcase_run_forked() argument
141 commandname, verbosity_flag, group->prefix, testcase->name); in _testcase_run_forked()
182 test_r = _testcase_run_bare(testcase); in _testcase_run_forked()
215 const struct testcase_t *testcase) in testcase_run_one() argument
[all …]
/minix3/external/bsd/bind/dist/lib/dns/tests/
H A Dprivate_test.c63 make_signing(signing_testcase_t *testcase, dns_rdata_t *private, in make_signing() argument
68 buf[0] = testcase->alg; in make_signing()
69 buf[1] = (testcase->keyid & 0xff00) >> 8; in make_signing()
70 buf[2] = (testcase->keyid & 0xff); in make_signing()
71 buf[3] = testcase->remove; in make_signing()
72 buf[4] = testcase->complete; in make_signing()
80 make_nsec3(nsec3_testcase_t *testcase, dns_rdata_t *private, in make_nsec3() argument
92 salt = htonl(testcase->salt); in make_nsec3()
101 params.hash = testcase->hash; in make_nsec3()
102 params.iterations = testcase->iterations; in make_nsec3()
[all …]
H A Dgost_test.c206 hash_testcase_t *testcase = testcases; in ATF_TC_BODY() local
208 while (testcase->input != NULL && testcase->result != NULL) { in ATF_TC_BODY()
211 for(i = 0; i < testcase->repeats; i++) { in ATF_TC_BODY()
213 (const isc_uint8_t *) testcase->input, in ATF_TC_BODY()
214 testcase->input_len); in ATF_TC_BODY()
220 ATF_CHECK_STREQ(str, testcase->result); in ATF_TC_BODY()
222 testcase++; in ATF_TC_BODY()
/minix3/crypto/external/bsd/heimdal/dist/lib/wind/
H A Dtest-ldap.c47 struct testcase { struct
54 static const struct testcase testcases[] = { argument
61 static const struct testcase testcases2[] = {
78 const struct testcase *t = &testcases[i]; in main()
103 const struct testcase *t = &testcases2[i]; in main()
H A Dtest-utf8.c75 struct testcase { struct
82 static const struct testcase testcases[] = { argument
125 const struct testcase *t = &testcases[i]; in main()
/minix3/crypto/external/bsd/libsaslc/dist/test/
H A DMakefile43 echo " * $$testcase"; \
44 $(VALGRIND) $(VALGRIND_OPTS) ./$$prog $$testcase ; \
/minix3/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Dn-fold-test.c39 static struct testcase { struct
99 struct testcase *t; in main()
H A Dderived-key-test.c40 static struct testcase { struct
83 struct testcase *t; in main()
H A Dstring-to-key-test.c40 static struct testcase { struct
97 struct testcase *t; in main()
/minix3/external/bsd/byacc/dist/
H A DMANIFEST360 test/btyacc_calc1.y testcase for btyacc
361 test/btyacc_demo.y testcase for btyacc
369 test/empty.y testcase for btyacc
370 test/err_inherit1.y testcase for btyacc
371 test/err_inherit2.y testcase for btyacc
372 test/err_inherit3.y testcase for btyacc
373 test/err_inherit4.y testcase for btyacc
374 test/err_inherit5.y testcase for btyacc
376 test/err_syntax10.y testcase for retyped_warning()
377 test/err_syntax11.y testcase for reprec_warning()
[all …]
/minix3/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dparse_reply-test.c52 static struct testcase { struct
93 const struct testcase *t = &tests[i]; in main()
/minix3/external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/
H A DiterationCount_zext_or_trunc.ll3 ; ModuleID = 'testcase.bc'
7 define i32 @testcase(i5 zeroext %k) {
/minix3/external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/
H A Darm64-dead-register-def-bug.ll11 define void @testcase() {
12 ; CHECK: testcase:
/minix3/tests/lib/libc/stdio/
H A Dt_fmemopen.c70 struct testcase { struct
414 struct testcase *t; in ATF_TC_BODY()
465 struct testcase *t; in ATF_TC_BODY()
513 struct testcase *t; in ATF_TC_BODY()
573 struct testcase *t; in ATF_TC_BODY()
631 struct testcase *t; in ATF_TC_BODY()
681 struct testcase *t; in ATF_TC_BODY()
750 struct testcase *t; in ATF_TC_BODY()
786 struct testcase *t; in ATF_TC_BODY()
821 struct testcase *t; in ATF_TC_BODY()
[all …]
/minix3/external/bsd/llvm/dist/clang/test/CodeGen/
H A Dbuiltin-recursive.cpp7 void testcase(void) { in testcase() function
/minix3/external/bsd/llvm/dist/llvm/test/Transforms/ADCE/
H A D2002-05-23-ZeroArgPHITest.ll1 ; This testcase contains a entire loop that should be removed. The only thing
2 ; left is the store instruction in BB0. The problem this testcase was running
/minix3/tests/lib/libm/
H A Dt_scalbn.c44 struct testcase { struct
50 struct testcase test_vals[] = { argument
78 const struct testcase *tests = test_vals; in ATF_TC_BODY()
219 const struct testcase *tests = test_vals; in ATF_TC_BODY()
363 const struct testcase *tests = test_vals; in ATF_TC_BODY()
/minix3/external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/
H A D2002-03-11-InstCombineHang.ll1 ; This testcase causes instcombine to hang.
H A D2004-08-09-RemInfLoop.ll3 ; This testcase should not send the instcombiner into an infinite loop!
/minix3/external/bsd/llvm/dist/llvm/test/CodeGen/X86/
H A Dreturn_zeroext_i2.ll2 ; Check that the testcase does not crash
/minix3/external/bsd/llvm/dist/llvm/test/Assembler/
H A D2003-04-25-UnresolvedGlobalReference.ll3 ; There should be absolutely no problem with this testcase.
/minix3/external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/
H A D2003-08-15-AllocaAssertion.ll3 ; This testcase failed to work because two variable sized allocas confused the

1234567