| /src/tests/usr.bin/xlint/lint1/ |
| H A D | stmt_for.c | 13 test(void) function in typeref:typename:void
|
| H A D | msg_331.c | 13 test(bool); 18 test(b && b); 22 test(c && b); 26 test(i && b); 28 test(c != '\0'); 29 test(i != 0);
|
| H A D | msg_332.c | 13 test(bool); 18 test(b && b); 22 test(b && c); 26 test(b && i); 28 test(c != '\0'); 29 test(i != 0);
|
| H A D | msg_336.c | 13 test(bool); 20 test(b + i); 22 test(b); 24 test(i != 0);
|
| H A D | msg_337.c | 13 test(bool); 20 test(i + b); 22 test(b); 24 test(i != 0);
|
| H A D | msg_023.c | 9 test(void) function in typeref:typename:void
|
| H A D | msg_345.c | 10 test(int x) function in typeref:typename:int
|
| H A D | c99_bool_strict_suppressed.c | 25 test(_Bool b, int i, const char *p) function in typeref:typename:void
|
| H A D | lex_string.c | 15 test(void) function in typeref:typename:void 37 /* TODO: test digraphs inside string literals */ 38 /* TODO: test trigraphs inside string literals */
|
| H A D | msg_103.c | 13 test(struct point pt, struct point *ptr) function in typeref:typename:void
|
| H A D | msg_104.c | 14 test(struct point pt, struct point *ptr) function in typeref:typename:void
|
| H A D | Makefile | 23 add-test: .PHONY 25 test=${NAME:Q}; \ 26 [ "$$test" ] || { \ 27 echo "usage: ${MAKE} add-test NAME=<name>"; \ 31 if [ -f "$$test.c" ]; then \ 32 echo "error: test $$test already exists in $$PWD."; \ 36 echo "=> Adding test $$test"; \ 39 "# 3 \"$$test [all...] |
| H A D | msg_215.c | 20 test(struct str str, const double *p_double) function in typeref:typename:void
|
| /src/libexec/httpd/testsuite/ |
| H A D | test-simple | 2 # $NetBSD: test-simple,v 1.6 2018/12/14 23:57:22 maya Exp $ 4 test="$1"; shift 10 in="$curdir/$test.in" 11 out="$curdir/$test.out" 12 tmpout="tmp.$test.out" 13 tmperr="tmp.$test.err" 16 echo "Running test $test" 28 echo "Failed test $test [all...] |
| H A D | test-bigfile | 2 # $NetBSD: test-bigfile,v 1.6 2018/12/14 23:57:22 maya Exp $ 4 test="$1"; shift # partial4000 or partial8000 10 tmperr="tmp.$test.err" 13 echo "Running test $test" 21 cp "${datadir}/bigfile.${test}" ./bigfile 37 echo "Failed test $test:"
|
| /src/tests/lib/libbluetooth/ |
| H A D | t_sdp_put.c | 49 sdp_data_t test = { buf, buf + sizeof(buf) }; local in function:ATF_TC_BODY 57 ATF_REQUIRE(sdp_put_data(&test, &value)); 58 test.end = test.next; 59 test.next = buf; 67 ATF_REQUIRE_EQ(test.end - test.next, sizeof(expect)); 68 ATF_CHECK(memcmp(expect, test.next, sizeof(expect)) == 0); 82 sdp_data_t test = { buf, buf + sizeof(buf) }; local in function:ATF_TC_BODY 89 ATF_REQUIRE_EQ(sdp_put_attr(&test, 115 sdp_data_t test = { buf, buf + sizeof(buf) }; local in function:ATF_TC_BODY 173 sdp_data_t test = { buf, buf + sizeof(buf) }; local in function:ATF_TC_BODY 198 sdp_data_t test = { buf, buf + sizeof(buf) }; local in function:ATF_TC_BODY 224 sdp_data_t test = { buf, buf + sizeof(buf) }; local in function:ATF_TC_BODY 261 sdp_data_t test = { buf, buf + sizeof(buf) }; local in function:ATF_TC_BODY 288 sdp_data_t test = { buf, buf + sizeof(buf) }; local in function:ATF_TC_BODY 333 sdp_data_t test = { buf, buf + sizeof(buf) }; local in function:ATF_TC_BODY 360 sdp_data_t test = { buf, buf + sizeof(buf) }; local in function:ATF_TC_BODY 391 sdp_data_t test = { buf, buf + sizeof(buf) }; local in function:ATF_TC_BODY 429 sdp_data_t test = { buf, buf + sizeof(buf) }; local in function:ATF_TC_BODY 476 sdp_data_t test = { buf, buf + sizeof(buf) }; local in function:ATF_TC_BODY 541 sdp_data_t test = { buf, buf + sizeof(buf) }; local in function:ATF_TC_BODY 570 sdp_data_t test = { buf, buf + sizeof(buf) }; local in function:ATF_TC_BODY 603 sdp_data_t test = { buf, buf + sizeof(buf) }; local in function:ATF_TC_BODY 647 sdp_data_t test = { buf, buf + sizeof(buf) }; local in function:ATF_TC_BODY 706 sdp_data_t test = { buf, buf + sizeof(buf) }; local in function:ATF_TC_BODY 740 sdp_data_t test = { buf, buf + sizeof(buf) }; local in function:ATF_TC_BODY 774 sdp_data_t test = { buf, buf + sizeof(buf) }; local in function:ATF_TC_BODY 818 sdp_data_t test = { buf, buf + sizeof(buf) }; local in function:ATF_TC_BODY [all...] |
| H A D | t_sdp_set.c | 53 sdp_data_t test = { data, data + sizeof(data) }; local in function:ATF_TC_BODY 56 ATF_CHECK_EQ(sdp_data_type(&test), SDP_DATA_BOOL); 57 ATF_REQUIRE(sdp_set_bool(&test, true)); 58 ATF_CHECK_EQ(test.next[1], 0x01); 59 ATF_REQUIRE(sdp_set_bool(&test, false)); 60 ATF_CHECK_EQ(test.next[1], 0x00); 61 ATF_REQUIRE(sdp_get_data(&test, &discard)); 63 ATF_CHECK_EQ(sdp_data_type(&test), SDP_DATA_NIL); 64 ATF_CHECK_EQ(sdp_set_bool(&test, true), false); /* not bool */ 65 ATF_REQUIRE(sdp_get_data(&test, 97 sdp_data_t test = { data, data + sizeof(data) }; local in function:ATF_TC_BODY 177 sdp_data_t test = { data, data + sizeof(data) }; local in function:ATF_TC_BODY 250 sdp_data_t test = { data, data + sizeof(data) }; local in function:ATF_TC_BODY 309 sdp_data_t test = { data, data + sizeof(data) }; local in function:ATF_TC_BODY [all...] |
| H A D | t_sdp_match.c | 58 sdp_data_t test = { data, data + sizeof(data) }; local in function:ATF_TC_BODY 65 ATF_REQUIRE_EQ(sdp_match_uuid16(&test, 0x1100), false); /* mismatch */ 66 ATF_REQUIRE(sdp_match_uuid16(&test, 0x1111)); 68 ATF_REQUIRE_EQ(sdp_match_uuid16(&test, 0x1234), false); /* not uuid */ 69 ATF_REQUIRE(sdp_get_data(&test, &nil)); /* (skip) */ 71 ATF_REQUIRE(sdp_match_uuid16(&test, 0x1234)); 73 ATF_REQUIRE(sdp_match_uuid16(&test, 0x3456)); 75 ATF_REQUIRE_EQ(sdp_match_uuid16(&test, 0x1234), false); /* mismatch */ 76 ATF_REQUIRE(sdp_match_uuid16(&test, 0x4321)); 78 ATF_CHECK_EQ(test [all...] |
| H A D | t_sdp_data.c | 50 sdp_data_t test = { data, data + sizeof(data) }; local in function:ATF_TC_BODY 53 ATF_REQUIRE(sdp_get_data(&test, &value)); 56 ATF_REQUIRE(sdp_get_data(&test, &value)); 59 ATF_CHECK_EQ(test.next, test.end); 90 sdp_data_t test = { data, data + sizeof(data) }; local in function:ATF_TC_BODY 93 ATF_REQUIRE(sdp_get_data(&test, &value)); 96 ATF_REQUIRE(sdp_get_data(&test, &value)); 99 ATF_REQUIRE(sdp_get_data(&test, &value)); 102 ATF_REQUIRE(sdp_get_data(&test, [all...] |
| H A D | t_sdp_get.c | 58 sdp_data_t test = { data, data + sizeof(data) }; local in function:ATF_TC_BODY 63 * the next data element, advancing test if successful 65 ATF_REQUIRE(sdp_get_data(&test, &value)); 69 ATF_REQUIRE(sdp_get_data(&test, &value)); 73 ATF_REQUIRE(sdp_get_data(&test, &value)); 79 ATF_REQUIRE(sdp_get_data(&test, &value)); 83 ATF_CHECK_EQ(test.next, test.end); 105 sdp_data_t test = { data, data + sizeof(data) }; local in function:ATF_TC_BODY 111 * and advances test i 152 sdp_data_t test = { data, data + sizeof(data) }; local in function:ATF_TC_BODY 215 sdp_data_t test = { data, data + sizeof(data) }; local in function:ATF_TC_BODY 278 sdp_data_t test = { data, data + sizeof(data) }; local in function:ATF_TC_BODY 388 sdp_data_t test = { data, data + sizeof(data) }; local in function:ATF_TC_BODY 475 sdp_data_t test = { data, data + sizeof(data) }; local in function:ATF_TC_BODY 515 sdp_data_t test = { data, data + sizeof(data) }; local in function:ATF_TC_BODY 558 sdp_data_t test = { data, data + sizeof(data) }; local in function:ATF_TC_BODY 603 sdp_data_t test = { data, data + sizeof(data) }; local in function:ATF_TC_BODY [all...] |
| /src/sys/external/bsd/sljit/dist/regex_src/ |
| H A D | regexMain.c | 64 printf("Start test '%s' matches to '%s'\n", pattern, string); 107 void run_tests(struct test_case* test, int verbose, int silent) argument 119 for ( ; test->string ; test++) { 121 printf("test: '%s' '%s': ", test->pattern ? test->pattern : "[[REUSE]]", test->string); 124 if (test->pattern) { 128 ptr = test [all...] |
| /src/usr.bin/make/unit-tests/ |
| H A D | depsrc-nopath.exp | 1 : Making test-regular from depsrc-nopath.dir/regular.file 2 : Making test-nopath from nopath.file
|
| H A D | directive-ifnmake.mk | 9 .ifnmake(test) 14 .MAKEFLAGS: test 16 .ifnmake(test) 21 test: target
|
| H A D | depsrc-nopath.mk | 5 .if !target(test-*) 13 @${MAKE} -f ${MAKEFILE} test-regular 14 @${MAKE} -f ${MAKEFILE} test-nopath || echo "should have failed" 19 test-regular: regular.file 21 test-nopath: nopath.file 26 # expect: : Making test-regular from depsrc-nopath.dir/regular.file 27 # expect: : Making test-nopath from nopath.file
|
| /src/games/backgammon/teachgammon/ |
| H A D | tutor.c | 70 if (!brdeq(test[i].brd, board)) { 92 wrtext(*test[i].com); 97 mm->D0 = test[i].roll1; 98 mm->D1 = test[i].roll2; 102 if (test[i].mp[j] == test[i].mg[j]) 104 mm->p[j] = test[i].mp[j]; 105 mm->g[j] = test[i].mg[j]; 115 mm->D0 = test[i].new1; 116 mm->D1 = test[ [all...] |