| /freebsd/crypto/openssl/apps/ |
| H A D | speed.c | 586 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 D | mkostemp_test.c | 44 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 D | basic.c | 67 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 D | basic.h | 55 extern unsigned long testnum;
|
| /freebsd/usr.bin/units/tests/ |
| H A D | basics_test.sh | 8 testnum="$1" 13 echo "ok $testnum - $fn" 15 echo "not ok $testnum - $fn"
|
| /freebsd/tools/regression/usr.bin/cc/ |
| H A D | float.c | 54 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 D | main.c | 24 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 D | vector-t.c | 118 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 D | open_to_operation.c | 124 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 D | flock_helper.c | 1547 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()
|