/freebsd-13-stable/crypto/heimdal/lib/roken/ |
H A D | fnmatch.c | 65 char c, test; local 107 while ((test = *string) != EOS) { 110 if (test == '/' && flags & FNM_PATHNAME) 142 rangematch(const char *pattern, int test, int flags) argument 169 if (c <= test && test <= c2) 171 } else if (c == test)
|
/freebsd-13-stable/contrib/cortex-strings/scripts/ |
H A D | plot.py | 1 """Plot the results for each test. Spits out a set of images into the 13 Record = collections.namedtuple('Record', 'variant test size loops src_alignment dst_alignment run_id rawtime comment time bytes rate') 47 bounces = pylab.array([(x.loops, x.rawtime) for x in r if x.test == 'bounce']) 68 tests = unique(records, 'test') 77 for test in tests: 79 v = [x for x in records if x.test==test and x.variant==variant] 97 # michaelh1 likes to run this script while the test is 99 print ex, 'on %s of %s' % (variant, test) 104 pylab.title('%s %s' % (test, fiel 112 def test(): function [all...] |
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/setjmp/ |
H A D | t_setjmp.c | 97 h_check(int test) argument 107 if (test == TEST_SETJMP || test == TEST_SIGSETJMP_SAVE) 109 else if (test == TEST_U_SETJMP || test == TEST_SIGSETJMP_NOSAVE) 112 atf_tc_fail("unknown test"); 122 if (test == TEST_SETJMP) 124 else if (test == TEST_U_SETJMP) 138 if (test == TEST_SETJMP) 140 else if (test [all...] |
H A D | t_threadjmp.c | 102 h_check(int test) argument 113 if (test == TEST_SETJMP || test == TEST_SIGSETJMP_SAVE) 115 else if (test == TEST_U_SETJMP || test == TEST_SIGSETJMP_NOSAVE) 118 atf_tc_fail("unknown test"); 129 if (test == TEST_SETJMP) 131 else if (test == TEST_U_SETJMP) 148 if (test == TEST_SETJMP) 150 else if (test [all...] |
/freebsd-13-stable/sys/libkern/ |
H A D | fnmatch.c | 60 char c, test; local 105 while ((test = *string) != EOS) { 108 if (test == '/' && flags & FNM_PATHNAME) 159 rangematch(const char *pattern, char test, int flags, char **newp) argument 175 test = tolower((unsigned char)test); 207 if (c <= test && test <= c2) 209 } else if (c == test)
|
/freebsd-13-stable/lib/libc/string/ |
H A D | strtok.c | 114 char blah[80], test[80]; local 120 printf("String tokenizer test:\n"); 121 strcpy(test, "This;is.a:test:of=the/string\\tokenizer-function."); 122 for (word = strtok(test, sep); word; word = strtok(NULL, sep)) 124 strcpy(test, "This;is.a:test:of=the/string\\tokenizer-function."); 126 for (word = strtok_r(test, sep, &brkt); word;
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/tsan/benchmarks/ |
H A D | mop.cpp | 47 void test() { function 57 case 1: return test<char, write>(); 58 case 2: return test<short, write>(); 59 case 4: return test<int, write>(); 60 case 8: return test<long long, write>();
|
/freebsd-13-stable/contrib/netbsd-tests/kernel/kqueue/ |
H A D | t_ioctl.c | 93 const char **test; local 100 for (test = &tests[0]; *test != NULL; ++test) { 101 (void)strlcpy(buf, *test, sizeof(buf));
|
/freebsd-13-stable/share/mk/ |
H A D | googletest.test.mk | 3 # You must include bsd.test.mk instead of this file from your Makefile. 5 # Logic to build and install GoogleTest based test programs. 7 # GoogleTest is a C++ test framework, thus, it does not describe/articulate how 9 # and TAP raw test interfaces. 11 # For now this is a thin wrapper around the `plain` test interface, but in the 15 .if !target(__<bsd.test.mk>__) 16 .error googletest.test.mk cannot be included directly. 19 # List of GoogleTest test programs to build. 30 .include <googletest.test.inc.mk> 39 # A stopgap/workaround to let kyua execute test cas [all...] |
/freebsd-13-stable/tools/tools/sortbench/ |
H A D | bench.py | 52 for test in tests: 55 filename = '{}/{}{}'.format(datadir, test, sort) 60 ret = os.system('./{} {} {} {} {}'.format(progname, sort, test, runs, elts)) 66 with open('{}/{}'.format(outdir, test), 'w+') as f: 70 command += '> {}/{}stats'.format(outdir, test)
|
/freebsd-13-stable/tools/regression/posixsem/ |
H A D | test.c | 39 #include "test.h" 42 static struct regression_test *test; variable in typeref:struct:regression_test 48 * Outputs a test summary of the following: 50 * <status> <test #> [name] [# <fmt> [fmt args]] 57 if (test->rt_name) 58 printf(" - %s", test->rt_name); 124 test = *testp; 125 test->rt_function();
|
/freebsd-13-stable/contrib/ofed/librdmacm/examples/ |
H A D | cmatose.c | 72 static struct cmatest test; variable in typeref:struct:cmatest 213 test.connects_left--; 252 conn_param.private_data = test.rai->ai_connect; 253 conn_param.private_data_len = test.rai->ai_connect_len; 270 if (test.conn_index == connections) { 274 node = &test.nodes[test.conn_index++]; 319 test.connects_left--; 320 test.disconnects_left++; 334 test [all...] |
H A D | udaddy.c | 69 static struct cmatest test; variable in typeref:struct:cmatest 233 test.connects_left--; 273 conn_param.private_data = test.rai->ai_connect; 274 conn_param.private_data_len = test.rai->ai_connect_len; 292 if (test.conn_index == connections) { 296 node = &test.nodes[test.conn_index++]; 321 test.connects_left--; 345 test.connects_left--; 380 /* Cleanup will occur after test complete [all...] |
/freebsd-13-stable/contrib/sendmail/libsm/ |
H A D | t-inet6_ntop.c | 16 #include <sm/test.h> 40 test() function 60 sm_test_begin(argc, argv, "test inet6_ntop"); 61 test();
|
/freebsd-13-stable/contrib/libarchive/libarchive/test/ |
H A D | test_archive_read_next_header_raw.c | 26 #include "test.h" 34 test(int skip_explicitely) function 63 test(1); 64 test(0);
|
H A D | test_archive_read_set_format_option.c | 26 #include "test.h" 33 test(int pristine) function 65 test(1); 66 test(0);
|
H A D | test_archive_read_set_option.c | 26 #include "test.h" 33 test(int pristine) function 67 test(1); 68 test(0);
|
H A D | test_archive_write_set_format_option.c | 26 #include "test.h" 33 test(int pristine) function 65 test(1); 66 test(0);
|
H A D | test_archive_write_set_option.c | 26 #include "test.h" 33 test(int pristine) function 67 test(1); 68 test(0);
|
/freebsd-13-stable/contrib/ntp/sntp/tests/ |
H A D | utilities.c | 25 const char * Version = "stub unit test Version string"; 161 l_fp test; local 162 test.l_ui = 8; 163 test.l_uf = 2147483647; // Lots of ones. 164 HTONL_FP(&test, &testpkt.xmt); 177 l_fp test; local 178 test.l_ui = 63; // 00000000 00000000 00000000 00111111 179 test.l_uf = 127; // 00000000 00000000 00000000 01111111 182 HTONL_FP(&test, &network); 195 l_fp test; local [all...] |
/freebsd-13-stable/contrib/bmake/unit-tests/ |
H A D | depsrc-meta.mk | 8 .if make(actual-test) 13 actual-test: depsrc-meta-target 28 @${MAKE} -f ${MAKEFILE} actual-test
|
/freebsd-13-stable/usr.bin/bmake/tests/ |
H A D | test-new.mk | 6 rm -rf /tmp/${USER}.make.test
|
/freebsd-13-stable/tests/sys/pjdfstest/tests/ |
H A D | pjdfstest.test.mk | 14 .include <bsd.test.mk>
|
/freebsd-13-stable/tools/regression/sockets/listen_backlog/ |
H A D | listen_backlog.c | 40 * This regression test is intended to validate that the backlog parameter 45 * Future things to test: 54 * - That we also test SO_LISTENQLEN and SO_LISTENINCQLEN. 70 const char *test, const char *testfunc) 78 "SOL_SOCKET, SO_LISTENQLIMIT)", testclass, test, 86 testclass, test, testfunc, len); 103 const char *test) 110 test, domainstring, typestring); 115 if (socket_get_backlog(sock, &backlog_retrieved, testclass, test, 123 testclass, test, backlog_retrieve 69 socket_get_backlog(int sock, int *backlogp, const char *testclass, const char *test, const char *testfunc) argument 100 socket_listen(int domain, int type, int protocol, int backlog, int create_backlog_assertion, int listen_backlog_assertion, int *sockp, const char *domainstring, const char *typestring, const char *testclass, const char *test) argument 221 socket_listen_update(int domain __unused, int type __unused, int protocol __unused, int backlog, int update_backlog, int listen_backlog_assertion, int update_backlog_assertion, int *sockp, const char *domainstring, const char *typestring, const char *testclass, const char *test) argument [all...] |
/freebsd-13-stable/tools/test/iconv/gnu/ |
H A D | gnu.c | 412 test(int (tester) (void), const char * label) function 425 test(ctl_get_translit1, "ctl_get_translit1"); 426 test(ctl_get_translit2, "ctl_get_translit2"); 427 test(ctl_set_translit1, "ctl_set_translit1"); 428 test(ctl_set_translit2, "ctl_set_translit2"); 429 test(ctl_get_discard_ilseq1, "ctl_get_discard_ilseq1"); 430 test(ctl_get_discard_ilseq2, "ctl_get_discard_ilseq2"); 431 test(ctl_set_discard_ilseq1, "ctl_set_discard_ilseq1"); 432 test(ctl_set_discard_ilseq2, "ctl_set_discard_ilseq2"); 433 test(ctl_trivialp [all...] |