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

/freebsd-current/crypto/heimdal/lib/asn1/
H A Dcheck-der.c76 int ntests = sizeof(tests) / sizeof(*tests); local
78 for (i = 0; i < ntests; ++i) {
86 ret = generic_test (tests, ntests, sizeof(int),
94 for (i = 0; i < ntests; ++i)
200 int ntests = sizeof(tests) / sizeof(*tests); local
202 for (i = 0; i < ntests; ++i) {
210 ret = generic_test (tests, ntests, sizeof(int),
217 for (i = 0; i < ntests; ++i)
242 int ntests = sizeof(tests) / sizeof(*tests); local
251 ret = generic_test (tests, ntests, sizeo
284 int ntests = sizeof(tests) / sizeof(*tests); local
332 int ntests = sizeof(tests) / sizeof(*tests); local
375 int ret, ntests = sizeof(tests) / sizeof(*tests); local
412 int ntests = sizeof(tests) / sizeof(*tests); local
461 int ntests = sizeof(tests) / sizeof(*tests); local
499 int ntests = sizeof(tests) / sizeof(*tests); local
550 int ntests = sizeof(tests) / sizeof(tests[0]); local
601 int ntests = sizeof(tests) / sizeof(tests[0]); local
643 int ntests = sizeof(tests) / sizeof(*tests); local
656 int ntests = sizeof(tests) / sizeof(*tests); local
669 int ntests = sizeof(tests) / sizeof(*tests); local
681 int ntests = sizeof(tests) / sizeof(*tests); local
693 int ntests = sizeof(tests) / sizeof(*tests); local
706 int ntests = sizeof(tests) / sizeof(*tests); local
723 int ntests = sizeof(tests) / sizeof(*tests); local
750 int ntests = sizeof(tests) / sizeof(*tests); local
765 int ntests = sizeof(tests) / sizeof(*tests); local
781 int ntests = sizeof(tests) / sizeof(*tests); local
[all...]
H A Dcheck-common.h51 unsigned ntests,
62 unsigned ntests,
H A Dcheck-gen.c123 int ntests = sizeof(tests) / sizeof(*tests); local
125 for (i = 0; i < ntests; ++i) {
133 ret = generic_test (tests, ntests, sizeof(Principal),
140 for (i = 0; i < ntests; ++i)
193 int ntests = sizeof(tests) / sizeof(*tests); local
195 for (i = 0; i < ntests; ++i) {
203 ret = generic_test (tests, ntests, sizeof(Authenticator),
210 for (i = 0; i < ntests; ++i)
276 int ntests = sizeof(tests) / sizeof(*tests); local
298 return generic_test (tests, ntests, sizeo
336 int ntests = sizeof(tests) / sizeof(*tests); local
427 int ntests = sizeof(tests) / sizeof(*tests); local
487 int ntests = sizeof(tests) / sizeof(*tests); local
539 int ntests = sizeof(tests) / sizeof(*tests); local
690 int ntests = sizeof(tests) / sizeof(*tests); local
899 int ret = 0, ntests = sizeof(tests) / sizeof(*tests); local
970 int ret = 0, ntests = sizeof(tests) / sizeof(*tests); local
1053 int ret = 0, ntests = sizeof(tests) / sizeof(*tests); local
1139 int ret = 0, ntests = sizeof(tests) / sizeof(*tests); local
1201 int ntests = sizeof(tests) / sizeof(*tests); local
1226 int ntests = sizeof(tests) / sizeof(*tests); local
1243 int ntests = sizeof(tests) / sizeof(*tests); local
[all...]
H A Dcheck-common.c197 unsigned ntests,
216 for (i = 0; i < ntests; ++i) {
355 unsigned ntests,
369 for (i = 0; i < ntests; ++i) {
196 generic_test(const struct test_case *tests, unsigned ntests, size_t data_size, int (ASN1CALL *encode)(unsigned char *, size_t, void *, size_t *), int (ASN1CALL *length)(void *), int (ASN1CALL *decode)(unsigned char *, size_t, void *, size_t *), int (ASN1CALL *free_data)(void *), int (*cmp)(void *a, void *b), int (ASN1CALL *copy)(const void *from, void *to)) argument
354 generic_decode_fail(const struct test_case *tests, unsigned ntests, size_t data_size, int (ASN1CALL *decode)(unsigned char *, size_t, void *, size_t *)) argument
/freebsd-current/crypto/openssh/regress/unittests/sshbuf/
H A Dtest_sshbuf_fuzz.c32 size_t sz, sz2, i, ntests = NUM_FUZZ_TESTS; local
37 ntests >>= 2;
39 ntests <<= 2;
48 for (i = 0; i < ntests; i++) {
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/vdev_disk/
H A Dpage_alignment.c387 run_test_set(const page_test_t *tests, bool want, int *ntests, int *npassed) argument
400 (*ntests)++;
405 int ntests = 0, npassed = 0; local
407 run_test_set(valid_tests, true, &ntests, &npassed);
408 run_test_set(invalid_tests, false, &ntests, &npassed);
410 printf("\n%d/%d tests passed\n", npassed, ntests);
412 return (ntests == npassed ? 0 : 1);
/freebsd-current/contrib/arm-optimized-routines/math/test/rtest/
H A Dmain.c25 int ntests = 0; variable
144 * - "test <function> <ntests>" generates random test lines
177 int ntests, i; local
183 ntests = atoi(p);
185 ntests = 100; /* *shrug* */
188 gencases(&functions[i], ntests);
329 fprintf(stderr, "Tests expected to run: %d\n", ntests);
H A Ddotest.c21 extern int lib_fo, lib_no_arith, ntests;
1623 ntests++;
1625 ntests += 3;
/freebsd-current/lib/msun/tests/
H A Dconj_test.c73 static const int ntests = sizeof(tests) / sizeof(tests[0]) / 2; local
78 for (i = 0; i < ntests; i++) {
/freebsd-current/contrib/expat/tests/
H A Dminicheck.c94 if (tc->allocated == tc->ntests) {
103 tc->tests[tc->ntests] = test;
104 tc->ntests++;
200 for (i = 0; i < tc->ntests; ++i) {
H A Dminicheck.h119 int ntests; member in struct:TCase
/freebsd-current/lib/libcrypt/
H A Dcrypt-sha512.c333 #define ntests (sizeof (tests) / sizeof (tests[0])) macro
391 for (cnt = 0; cnt < (int)ntests; ++cnt) {
H A Dcrypt-sha256.c302 #define ntests (sizeof (tests) / sizeof (tests[0])) macro
358 for (cnt = 0; cnt < (int)ntests; ++cnt) {
/freebsd-current/contrib/libucl/tests/
H A Dtest_msgpack.c30 static const int ntests = 10; variable
140 for (j = 0; j < ntests; j ++) {
/freebsd-current/sys/dev/xen/netback/
H A Dnetback_unit_tests.c107 static int xnb_unit_test_runner(test_fixture_t const tests[], int ntests,
203 * \param ntests The length of tests
209 xnb_unit_test_runner(test_fixture_t const tests[], int ntests, char *buffer, argument
216 for (i = 0; i < ntests; i++) {
237 n_passes = ntests - n_failures;

Completed in 149 milliseconds