Home
last modified time | relevance | path

Searched refs:testnum (Results 1 – 10 of 10) sorted by relevance

/freebsd/crypto/openssl/apps/
H A Dspeed.c586 static unsigned int testnum; variable
651 for (count = 0; COND(c[algindex][testnum]); count++) { in EVP_Digest_loop()
653 || !EVP_DigestUpdate(ctx, buf, (size_t)lengths[testnum]) in EVP_Digest_loop()
660 for (count = 0; COND(c[algindex][testnum]); count++) { in EVP_Digest_loop()
661 if (!EVP_Digest(buf, (size_t)lengths[testnum], digest, NULL, md, in EVP_Digest_loop()
742 for (count = 0; COND(c[algindex][testnum]); count++) { in EVP_MAC_loop()
746 || !EVP_MAC_update(mctx, buf, lengths[testnum]) in EVP_MAC_loop()
808 for (count = 0; COND(c[algindex][testnum]); count++) in EVP_Cipher_loop()
809 if (EVP_Cipher(tempargs->ctx, buf, buf, (size_t)lengths[testnum]) <= 0) in EVP_Cipher_loop()
822 for (count = 0; COND(c[D_GHASH][testnum]); count++) { in GHASH_loop()
[all …]
/freebsd/lib/libc/tests/stdio/
H A Dmkostemp_test.c44 static int testnum; variable
60 testnum++, oflags, strerror(errno)); in test_one()
66 testnum++, oflags, tmpf); in test_one()
74 testnum++, oflags); in test_one()
80 testnum++, oflags); in test_one()
86 testnum++, oflags, tmpf, strerror(errno)); in test_one()
92 testnum++, oflags, fd, strerror(errno)); in test_one()
99 testnum++, oflags); in test_one()
106 testnum++, oflags); in test_one()
112 testnum++, oflags); in test_one()
[all …]
/freebsd/contrib/pam-krb5/tests/tap/
H A Dbasic.c67 unsigned long testnum = 1; variable
293 unsigned long highest = testnum - 1; in finish()
384 testnum = 1; in plan()
403 testnum = 1; in plan_lazy()
436 printf("%sok %lu", success ? "" : "not ", testnum++); in ok()
453 printf("%sok %lu", success ? "" : "not ", testnum++); in okv()
473 printf("ok %lu # skip", testnum++); in skip()
490 printf("%sok %lu", success ? "" : "not ", testnum++); in ok_block()
511 printf("ok %lu # skip", testnum++); in skip_block()
530 printf("ok %lu", testnum++); in is_bool()
[all …]
H A Dbasic.h55 extern unsigned long testnum;
/freebsd/usr.bin/units/tests/
H A Dbasics_test.sh8 testnum="$1"
13 echo "ok $testnum - $fn"
15 echo "not ok $testnum - $fn"
/freebsd/tools/regression/usr.bin/cc/
H A Dfloat.c54 static int testnum, failures; variable
60 testnum++; in test1()
61 printf("%sok %d - %s%s\n", pass || skip ? "" : "not ", testnum, in test1()
/freebsd/tests/sys/kqueue/libkqueue/
H A Dmain.c24 static int testnum = 1; variable
276 printf("\n\nTest %d: %s\n", testnum++, func); in test_begin()
366 "+OK All %d tests completed.\n", testnum - 1); in main()
/freebsd/contrib/pam-krb5/tests/pam-util/
H A Dvector-t.c118 basprintf(&command, "echo ok %lu - vector_exec", testnum++); in main()
135 basprintf(&string, "NUMBER=%lu", testnum++); in main()
/freebsd/tools/regression/security/open_to_operation/
H A Dopen_to_operation.c124 static int testnum; variable
131 testnum++; in ok_mode()
133 printf("ok %d - %s # mode 0x%x\n", testnum, testname, mode); in ok_mode()
135 printf("ok %d - %s # mode 0x%x - %s\n", testnum, testname, in ok_mode()
143 testnum++; in notok_mode()
145 printf("not ok %d - %s # mode 0x%x\n", testnum, testname, in notok_mode()
148 printf("not ok %d - %s # mode 0x%x - %s\n", testnum, testname, in notok_mode()
/freebsd/tests/sys/file/
H A Dflock_helper.c1547 int testnum; in main() local
1561 testnum = strtol(argv[2], NULL, 0); in main()
1565 testnum = 0; in main()
1591 if (!testnum || tests[i].num == testnum) in main()