/freebsd/crypto/openssl/apps/ |
H A D | speed.c | 506 static unsigned int testnum; variable 560 for (count = 0; COND(c[algindex][testnum]); count++) { in EVP_Digest_loop() 561 if (!EVP_Digest(buf, (size_t)lengths[testnum], digest, NULL, md, in EVP_Digest_loop() 604 for (count = 0; COND(c[algindex][testnum]); count++) { in EVP_MAC_loop() 608 || !EVP_MAC_update(mctx, buf, lengths[testnum]) in EVP_MAC_loop() 660 for (count = 0; COND(c[algindex][testnum]); count++) in EVP_Cipher_loop() 661 if (EVP_Cipher(tempargs->ctx, buf, buf, (size_t)lengths[testnum]) <= 0) in EVP_Cipher_loop() 674 for (count = 0; COND(c[D_GHASH][testnum]); count++) { in GHASH_loop() 675 if (!EVP_MAC_update(mctx, buf, lengths[testnum])) in GHASH_loop() 727 for (count = 0; COND(c[D_RAND][testnum]); count++) in RAND_bytes_loop() [all …]
|
/freebsd/tests/sys/file/ |
H A D | fcntlflags_test.c | 39 static int testnum; variable 49 testnum++, path, omodetext); in subtests() 52 testnum++, path, omodetext); in subtests() 55 printf("not ok %d - fcntl(F_GETFL) failed\n", testnum++); in subtests() 58 testnum++); in subtests() 62 testnum++, flags1, CORRECT_O_ACCMODE, omode); in subtests() 65 testnum++); in subtests() 68 testnum++); in subtests() 71 printf("not ok %d - fcntl(F_GETFL) failed\n", testnum++); in subtests() 74 testnum++); in subtests() [all …]
|
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()
|
/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/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/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()
|