/freebsd-10.1-release/contrib/ntp/sntp/libevent/test/ |
H A D | tinytest.c | 78 const char *cur_test_prefix = NULL; /**< prefix of the current test group */ 79 /** Name of the current test, if we haven't logged is yet. Used for --quiet */ 89 static int process_test_option(struct testgroup_t *groups, const char *test); 127 line) with a command line that tells it to run just the test we 317 puts(" To skip a test, prefix its name with a colon."); 318 puts(" To enable a disabled test, prefix its name with a plus."); 328 process_test_alias(struct testgroup_t *groups, const char *test) argument 332 if (!strcmp(cfg_aliases[i].name, test)) { 343 printf("No such test alias as @%s!",test); 348 process_test_option(struct testgroup_t *groups, const char *test) argument [all...] |
/freebsd-10.1-release/crypto/openssl/crypto/dsa/ |
H A D | dsa_gen.c | 141 BIGNUM *r0, *W, *X, *c, *test; local 191 test = BN_CTX_get(ctx); 193 if (!BN_lshift(test, BN_value_one(), bits - 1)) 293 if (!BN_add(X, X, test)) 307 if (BN_cmp(p, test) >= 0) { 331 if (!BN_sub(test, p, BN_value_one())) 333 if (!BN_div(r0, NULL, test, q, ctx)) 336 if (!BN_set_word(test, h)) 342 /* g=test^r0%p */ 343 if (!BN_mod_exp_mont(g, test, r [all...] |
/freebsd-10.1-release/share/mk/ |
H A D | plain.test.mk | 3 # You must include bsd.test.mk instead of this file from your Makefile. 5 # Logic to build and install plain test programs. A plain test programs it not 7 # and report the test's pass or fail status via a 0 or 1 exit code. 9 .if !target(__<bsd.test.mk>__) 10 .error plain.test.mk cannot be included directly. 13 # List of C, C++ and shell test programs to build.
|
/freebsd-10.1-release/contrib/binutils/libiberty/ |
H A D | argv.c | 178 argv, even for null strings. See NOTES above, test case below. */ 466 /* Simple little test driver. */ 489 const char *const *test; local 492 for (test = tests; *test != NULL; test++) 494 printf ("buildargv(\"%s\")\n", *test); 495 if ((argv = buildargv (*test)) == NULL)
|
/freebsd-10.1-release/lib/libkse/test/ |
H A D | verify | 122 # Run sequence test(s). 130 foreach $test (@ARGV) 132 # Strip out any whitespace in $test. 133 $test =~ s/^\s*(.*)\s*$/$1/; 137 if (-e "$opt_srcdir/$test.exp") 141 ($okay, $utime, $stime) = &run_test($test); 143 if (-e "$opt_objdir/$test.out") 145 `diff $opt_srcdir/$test.exp $opt_objdir/$test.out > $opt_objdir/$test [all...] |
/freebsd-10.1-release/contrib/libarchive/libarchive/test/ |
H A D | test_archive_read_set_options.c | 26 #include "test.h" 33 test(int pristine) function 124 test(1); 125 test(0);
|
H A D | test_archive_write_set_options.c | 26 #include "test.h" 33 test(int pristine) function 124 test(1); 125 test(0);
|
/freebsd-10.1-release/contrib/sendmail/libsm/ |
H A D | t-fopen.c | 15 #include <sm/test.h> 26 sm_test_begin(argc, argv, "test sm_io_fopen");
|
H A D | t-match.c | 15 #include <sm/test.h> 31 sm_test_begin(argc, argv, "test sm_match");
|
H A D | t-strio.c | 14 #include <sm/test.h> 25 sm_test_begin(argc, argv, "test strio");
|
/freebsd-10.1-release/lib/libc/gen/ |
H A D | fnmatch.c | 217 rangematch(pattern, test, flags, newp, patmbs) 219 wchar_t test; 242 test = towlower(test); 285 c <= test && test <= c2 : 286 __collate_range_cmp(table, c, test) <= 0 287 && __collate_range_cmp(table, test, c2) <= 0 290 } else if (c == test)
|
/freebsd-10.1-release/tools/regression/netinet/udpzerobyte/ |
H A D | udpzerobyte.c | 59 test(int domain, const char *domainstr, struct sockaddr *sa, socklen_t salen) function 96 err(-1, "Protocol %s recv(sock_receive, NULL, 0) test", 125 test(PF_INET, "PF_INET", (struct sockaddr *)&sin, sizeof(sin)); 133 test(PF_INET6, "PF_INET6", (struct sockaddr *)&sin6, sizeof(sin6)); 142 test(PF_LOCAL, "PF_LOCAL", (struct sockaddr *)&sun, sizeof(sun));
|
/freebsd-10.1-release/tools/test/iconv/posix/ |
H A D | posix.c | 245 test(int (tester) (void), const char * label) function 259 test(open_1, "open_1"); 260 test(open_2, "open_2"); 261 test(close_1, "close_1"); 262 test(conv_ret, "conv_ret"); 263 test(conv_ebadf, "conv_ebadf"); 264 test(conv_2big, "conv_2big"); 265 test(conv_einval, "conv_einval"); 266 test(conv_eilseq, "conv_eilseq");
|
/freebsd-10.1-release/tools/regression/lib/msun/ |
H A D | test-cexp.c | 41 #include "test-utils.h" 62 #define test(func, z, result, exceptmask, excepts, checksign) do { \ macro 78 test(cexp, x, result, exceptmask, excepts, checksign); \ 79 test(cexpf, x, result, exceptmask, excepts, checksign); \ 91 /* Various finite non-zero numbers to test. */ 192 test(cexp, CMPLXL(finites[i], 0.0), 195 test(cexp, CMPLXL(finites[i], -0.0), 198 test(cexpf, CMPLXL(finites[i], 0.0), 201 test(cexpf, CMPLXL(finites[i], -0.0), 213 test(cex [all...] |
H A D | test-rem.c | 48 #define test(x, y, e_r, e_q) do { \ macro 68 test(4, 4, 0, 1); 69 test(0, 3.0, 0, 0); 72 test(3.0, 4, -1, 1); 73 test(3.0, -4, -1, -1); 75 test(4.5 * 7.5, 4.5, -2.25, 8); /* we should get the even one */ 87 * the wrong way. This test ensures that remquo() is smart 93 test(0x1.fp100, 0x1.ep-40, -0x1.cp-41, 143165577); 99 test(0x1.66666cp+120, 0x1p+71, 0.0, 1476395008);
|
/freebsd-10.1-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/pid/ |
H A D | tst.br.d | 30 * ASSERTION: Trace all instructions in the function 'test' to verify that 44 pid$1:a.out:test: 67 trace("test timed out");
|
/freebsd-10.1-release/contrib/bmake/mk/ |
H A D | install-new.mk | 21 if ! test -s $$target || ! cmp -s $$target $$src; then \ 23 if test -s $$target; then \ 24 if test "x$$_bak" != x; then \ 46 if test $$_t $$new; then \
|
/freebsd-10.1-release/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/ |
H A D | PostOrderCFGView.h | 57 if (VisitedBlockIDs.test(Block->getBlockID())) 67 return VisitedBlockIDs.test(Block->getBlockID());
|
/freebsd-10.1-release/contrib/ncurses/ |
H A D | convert_configure.pl | 87 if (/if\s+test\s+-z\s+\"\$INSTALL\"/) { 93 s{^((\s*)if\s+test)\s*-f\s*(\$$varname/\S+)\s*;} 104 s/\btest\s+-s\s+conftest\b/test -f conftest/g; # Fix exe test 106 s/^\s*host=`.*\$ac_config_sub \$host_alias`/$&\nif test -z "\$host"; then host=\$host_alias; fi/;
|
/freebsd-10.1-release/sys/boot/arm/at91/ |
H A D | Makefile.inc | 35 echo "$$x bytes available"; test $$x -ge 0
|
/freebsd-10.1-release/crypto/openssl/crypto/md5/ |
H A D | md5test.c | 75 static char *test[] = { variable 104 P = test; 115 printf("test %d ok\n", i);
|
/freebsd-10.1-release/crypto/openssl/crypto/ripemd/ |
H A D | rmdtest.c | 79 static char *test[] = { variable 110 P = test; 125 printf("test %d ok\n", i);
|
/freebsd-10.1-release/crypto/openssl/crypto/md2/ |
H A D | md2test.c | 79 static char *test[] = { variable 108 P = test; 120 printf("test %d ok\n", i);
|
/freebsd-10.1-release/tools/regression/file/closefrom/ |
H A D | closefrom.c | 54 static int test = 1; variable 60 printf("ok %d - %s\n", test, descr); 61 test++; 69 printf("not ok %d - %s", test, descr); 70 test++; 215 /* Fork a child process to test closefrom(0). */ 233 /* Fork a child process to test closefrom(-1). */
|
/freebsd-10.1-release/tools/regression/sockets/sendfile/ |
H A D | sendfile.c | 49 * Simple regression test for sendfile. Creates a file sized at four pages 119 printf("# test timeout\n"); 269 send_test(int connect_socket, struct sendfile_test test) argument 286 length = st.st_size - test.offset; 287 if (test.length > 0 && test.length < (uint32_t)length) 288 length = test.length; 290 init_th(&th, test.hdr_length, test.offset, length); 296 if (test [all...] |