Home
last modified time | relevance | path

Searched refs:ntests (Results 1 – 15 of 15) sorted by relevance

/freebsd/crypto/heimdal/lib/asn1/
H A Dcheck-der.c76 int ntests = sizeof(tests) / sizeof(*tests); in test_integer() local
78 for (i = 0; i < ntests; ++i) { in test_integer()
86 ret = generic_test (tests, ntests, sizeof(int), in test_integer()
94 for (i = 0; i < ntests; ++i) in test_integer()
200 int ntests = sizeof(tests) / sizeof(*tests); in test_unsigned() local
202 for (i = 0; i < ntests; ++i) { in test_unsigned()
210 ret = generic_test (tests, ntests, sizeof(int), in test_unsigned()
217 for (i = 0; i < ntests; ++i) in test_unsigned()
242 int ntests = sizeof(tests) / sizeof(*tests); in test_octet_string() local
251 ret = generic_test (tests, ntests, sizeof(heim_octet_string), in test_octet_string()
[all …]
H A Dcheck-gen.c123 int ntests = sizeof(tests) / sizeof(*tests); in test_principal() local
125 for (i = 0; i < ntests; ++i) { in test_principal()
133 ret = generic_test (tests, ntests, sizeof(Principal), in test_principal()
140 for (i = 0; i < ntests; ++i) in test_principal()
193 int ntests = sizeof(tests) / sizeof(*tests); in test_authenticator() local
195 for (i = 0; i < ntests; ++i) { in test_authenticator()
203 ret = generic_test (tests, ntests, sizeof(Authenticator), in test_authenticator()
210 for (i = 0; i < ntests; ++i) in test_authenticator()
276 int ntests = sizeof(tests) / sizeof(*tests); in test_krb_error() local
298 return generic_test (tests, ntests, sizeo in test_krb_error()
336 int ntests = sizeof(tests) / sizeof(*tests); test_Name() local
427 int ntests = sizeof(tests) / sizeof(*tests); test_bit_string() local
487 int ntests = sizeof(tests) / sizeof(*tests); test_bit_string_rfc1510() local
539 int ntests = sizeof(tests) / sizeof(*tests); test_time() local
690 int ntests = sizeof(tests) / sizeof(*tests); test_large_tag() local
781 int ret = 0, ntests = sizeof(tests) / sizeof(*tests); test_choice() local
852 int ret = 0, ntests = sizeof(tests) / sizeof(*tests); test_implicit() local
935 int ret = 0, ntests = sizeof(tests) / sizeof(*tests); test_taglessalloc() local
1021 int ret = 0, ntests = sizeof(tests) / sizeof(*tests); test_optional() local
1083 int ntests = sizeof(tests) / sizeof(*tests); check_fail_largetag() local
1108 int ntests = sizeof(tests) / sizeof(*tests); check_fail_sequence() local
1125 int ntests = sizeof(tests) / sizeof(*tests); check_fail_choice() local
[all...]
H A Dcheck-common.h51 unsigned ntests,
62 unsigned ntests,
H A Dcheck-common.c197 unsigned ntests, in generic_test() argument
216 for (i = 0; i < ntests; ++i) { in generic_test()
355 unsigned ntests, in generic_decode_fail() argument
369 for (i = 0; i < ntests; ++i) { in generic_decode_fail()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/vdev_disk/
H A Dpage_alignment.c449 run_test_set(const page_test_t *tests, bool want, int *ntests, int *npassed) in run_test_set() argument
462 (*ntests)++; in run_test_set()
467 int ntests = 0, npassed = 0; in main() local
469 run_test_set(valid_tests, true, &ntests, &npassed); in main()
470 run_test_set(invalid_tests, false, &ntests, &npassed); in main()
472 printf("\n%d/%d tests passed\n", npassed, ntests); in main()
474 return (ntests == npassed ? 0 : 1); in main()
/freebsd/contrib/arm-optimized-routines/math/test/rtest/
H A Dmain.c25 int ntests = 0; variable
177 int ntests, i; in dofile() local
183 ntests = atoi(p); in dofile()
185 ntests = 100; /* *shrug* */ in dofile()
188 gencases(&functions[i], ntests); in dofile()
329 fprintf(stderr, "Tests expected to run: %d\n", ntests); in main()
H A Ddotest.c21 extern int lib_fo, lib_no_arith, ntests;
1623 ntests++; in vet_for_decline()
1625 ntests += 3; in vet_for_decline()
/freebsd/crypto/openssh/regress/unittests/sshbuf/
H A Dtest_sshbuf_fuzz.c32 size_t sz, sz2, i, ntests = NUM_FUZZ_TESTS; in sshbuf_fuzz_tests() local
37 ntests >>= 2; in sshbuf_fuzz_tests()
39 ntests <<= 2; in sshbuf_fuzz_tests()
48 for (i = 0; i < ntests; i++) { in sshbuf_fuzz_tests()
/freebsd/contrib/expat/tests/
H A Dminicheck.c94 if (tc->allocated == tc->ntests) { in tcase_add_test()
103 tc->tests[tc->ntests] = test; in tcase_add_test()
104 tc->ntests++; in tcase_add_test()
200 for (i = 0; i < tc->ntests; ++i) { in srunner_run_all()
H A Dminicheck.h119 int ntests; member
/freebsd/lib/msun/tests/
H A Dconj_test.c73 static const int ntests = sizeof(tests) / sizeof(tests[0]) / 2; in ATF_TC_BODY() local
78 for (i = 0; i < ntests; i++) { in ATF_TC_BODY()
/freebsd/lib/libcrypt/
H A Dcrypt-sha256.c303 #define ntests (sizeof (tests) / sizeof (tests[0])) macro
359 for (cnt = 0; cnt < (int)ntests; ++cnt) { in main()
H A Dcrypt-sha512.c334 #define ntests (sizeof (tests) / sizeof (tests[0])) macro
392 for (cnt = 0; cnt < (int)ntests; ++cnt) { in main()
/freebsd/contrib/libucl/tests/
H A Dtest_msgpack.c30 static const int ntests = 10; variable
140 for (j = 0; j < ntests; j ++) { in main()
/freebsd/sys/dev/xen/netback/
H A Dnetback_unit_tests.c107 static int xnb_unit_test_runner(test_fixture_t const tests[], int ntests,
209 xnb_unit_test_runner(test_fixture_t const tests[], int ntests, char *buffer, in xnb_unit_test_runner() argument
216 for (i = 0; i < ntests; i++) { in xnb_unit_test_runner()
237 n_passes = ntests - n_failures; in xnb_unit_test_runner()