Searched refs:test (Results 1 - 25 of 359) sorted by relevance

1234567891011>>

/src/tests/usr.bin/xlint/lint1/
H A Dstmt_for.c13 test(void) function in typeref:typename:void
H A Dmsg_331.c13 test(bool);
18 test(b && b);
22 test(c && b);
26 test(i && b);
28 test(c != '\0');
29 test(i != 0);
H A Dmsg_332.c13 test(bool);
18 test(b && b);
22 test(b && c);
26 test(b && i);
28 test(c != '\0');
29 test(i != 0);
H A Dmsg_336.c13 test(bool);
20 test(b + i);
22 test(b);
24 test(i != 0);
H A Dmsg_337.c13 test(bool);
20 test(i + b);
22 test(b);
24 test(i != 0);
H A Dmsg_023.c9 test(void) function in typeref:typename:void
H A Dmsg_345.c10 test(int x) function in typeref:typename:int
H A Dc99_bool_strict_suppressed.c25 test(_Bool b, int i, const char *p) function in typeref:typename:void
H A Dlex_string.c15 test(void) function in typeref:typename:void
37 /* TODO: test digraphs inside string literals */
38 /* TODO: test trigraphs inside string literals */
H A Dmsg_103.c13 test(struct point pt, struct point *ptr) function in typeref:typename:void
H A Dmsg_104.c14 test(struct point pt, struct point *ptr) function in typeref:typename:void
H A DMakefile23 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 Dmsg_215.c20 test(struct str str, const double *p_double) function in typeref:typename:void
/src/libexec/httpd/testsuite/
H A Dtest-simple2 # $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 Dtest-bigfile2 # $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 Dt_sdp_put.c49 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 Dt_sdp_set.c53 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 Dt_sdp_match.c58 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 Dt_sdp_data.c50 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 Dt_sdp_get.c58 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 DregexMain.c64 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 Ddepsrc-nopath.exp1 : Making test-regular from depsrc-nopath.dir/regular.file
2 : Making test-nopath from nopath.file
H A Ddirective-ifnmake.mk9 .ifnmake(test)
14 .MAKEFLAGS: test
16 .ifnmake(test)
21 test: target
H A Ddepsrc-nopath.mk5 .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 Dtutor.c70 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...]

Completed in 11 milliseconds

1234567891011>>