Home
last modified time | relevance | path

Searched refs:CHECK (Results 1 – 25 of 673) sorted by relevance

12345678910>>...27

/netbsd-src/tests/include/sys/
H A Dt_cdefs.c75 #define CHECK(a, b) ATF_REQUIRE(__type_min(a) == s[b].min); \ in ATF_TC_BODY() macro
78 CHECK(signed char, 0); in ATF_TC_BODY()
79 CHECK(signed short, 1); in ATF_TC_BODY()
80 CHECK(signed int, 2); in ATF_TC_BODY()
81 CHECK(signed long, 3); in ATF_TC_BODY()
82 CHECK(signed long long, 4); in ATF_TC_BODY()
83 #undef CHECK in ATF_TC_BODY()
94 #define CHECK(a, b) ATF_REQUIRE(__type_min(a) == u[b].min); \ in ATF_TC_BODY() macro
97 CHECK(unsigned char, 0); in ATF_TC_BODY()
98 CHECK(unsigned short, 1); in ATF_TC_BODY()
[all …]
/netbsd-src/tests/lib/libm/
H A Dt_next.c53 #define CHECK(i, next, x, d, y) do \ macro
81 CHECK(i, nextafter, x[i], x[i], x[i]); in check()
82 CHECK(i, nexttoward, x[i], x[i], x[i]); in check()
83 CHECK(i, nextafter, -x[i], -x[i], -x[i]); in check()
84 CHECK(i, nexttoward, -x[i], -x[i], -x[i]); in check()
91 CHECK(i, nexttoward, x[i], x[i]*(1 + LDBL_EPSILON), in check()
95 CHECK(i, nextafter, x[i], x[i + 1], x[i + 1]); in check()
96 CHECK(i, nexttoward, x[i], x[i + 1], x[i + 1]); in check()
97 CHECK(i, nextafter, x[i], x[n - 1], x[i + 1]); in check()
98 CHECK(i, nexttoward, x[i], x[n - 1], x[i + 1]); in check()
[all …]
/netbsd-src/external/gpl2/dtc/dist/tests/
H A Dsw_tree1.c88 #define CHECK(code) \ macro
166 CHECK(fdt_create_with_flags(fdt, size, create_flags)); in main()
170 CHECK(fdt_add_reservemap_entry(fdt, TEST_ADDR_1, TEST_SIZE_1)); in main()
172 CHECK(fdt_add_reservemap_entry(fdt, TEST_ADDR_2, TEST_SIZE_2)); in main()
173 CHECK(fdt_finish_reservemap(fdt)); in main()
175 CHECK(fdt_begin_node(fdt, "")); in main()
176 CHECK(fdt_property_string(fdt, "compatible", "test_tree1")); in main()
177 CHECK(fdt_property_u32(fdt, "prop-int", TEST_VALUE_1)); in main()
178 CHECK(fdt_property_u64(fdt, "prop-int64", TEST_VALUE64_1)); in main()
179 CHECK(fdt_property_string(fdt, "prop-str", TEST_STRING_1)); in main()
[all …]
H A Drw_tree1.c23 #define CHECK(code) \ macro
48 CHECK(fdt_create_empty_tree(fdt, SPACE)); in main()
50 CHECK(fdt_add_mem_rsv(fdt, TEST_ADDR_1, TEST_SIZE_1)); in main()
51 CHECK(fdt_add_mem_rsv(fdt, TEST_ADDR_2, TEST_SIZE_2)); in main()
53 CHECK(fdt_setprop_string(fdt, 0, "compatible", "test_tree1")); in main()
54 CHECK(fdt_setprop_u32(fdt, 0, "prop-int", TEST_VALUE_1)); in main()
55 CHECK(fdt_setprop_u64(fdt, 0, "prop-int64", TEST_VALUE64_1)); in main()
56 CHECK(fdt_setprop_string(fdt, 0, "prop-str", TEST_STRING_1)); in main()
60 CHECK(fdt_setprop_string(fdt, s1, "compatible", "subnode1")); in main()
61 CHECK(fdt_setprop_cell(fdt, s1, "prop-int", TEST_VALUE_1)); in main()
[all …]
H A Doverlay.c17 #define CHECK(code) \ macro
68 CHECK(node_off < 0); in check_getprop_u32_by_name()
81 CHECK(node_off < 0); in check_getprop_null_by_name()
129 CHECK(off < 0); in fdt_overlay_local_phandle()
132 CHECK(!local_phandle); in fdt_overlay_local_phandle()
134 CHECK(fdt_getprop_u32_by_poffset(fdt, "/test-node", in fdt_overlay_local_phandle()
137 CHECK(val != local_phandle); in fdt_overlay_local_phandle()
139 CHECK(fdt_getprop_u32_by_poffset(fdt, "/test-node", in fdt_overlay_local_phandle()
142 CHECK(val != local_phandle); in fdt_overlay_local_phandle()
154 CHECK(off < 0); in fdt_overlay_local_phandles()
[all …]
H A Dappendprop1.c23 #define CHECK(code) \ macro
40 CHECK(fdt_create(fdt, SPACE)); in main()
41 CHECK(fdt_finish_reservemap(fdt)); in main()
42 CHECK(fdt_begin_node(fdt, "")); in main()
43 CHECK(fdt_end_node(fdt)); in main()
44 CHECK(fdt_finish(fdt)); in main()
47 CHECK(fdt_open_into(fdt, fdt, SPACE)); in main()
49 CHECK(fdt_appendprop(fdt, 0, "prop-bytes", bytes, sizeof(bytes))); in main()
50 CHECK(fdt_appendprop_cell(fdt, 0, "prop-int", TEST_VALUE_1)); in main()
51 CHECK(fdt_appendprop_u64(fdt, 0, "prop-int64", TEST_VALUE64_1)); in main()
[all …]
/netbsd-src/external/bsd/kyua-testers/dist/
H A Datf_result_test.c112 #define CHECK(name, input, wait_status, timed_out, exp_output, exp_success) \ macro
126 CHECK(rewrite__expected_death__exit_failure,
131 CHECK(rewrite__expected_death__signaled,
136 CHECK(rewrite__expected_death__exit_success,
141 CHECK(rewrite__expected_death__no_reason,
147 CHECK(rewrite__expected_death__unexpected_arg,
155 CHECK(rewrite__expected_exit__exit_success,
160 CHECK(rewrite__expected_exit__exit_failure,
165 CHECK(rewrite__expected_exit__arg_match,
170 CHECK(rewrite__expected_exit__arg_not_match,
[all …]
/netbsd-src/crypto/external/bsd/heimdal/dist/kadmin/
H A Drpc.c42 #define CHECK(x) \ macro
53 #define INSIST(x) CHECK(!(x))
235 CHECK(read_data(sp, msg, len)); in collect_framents()
305 CHECK(krb5_ret_uint32(sp, &gcred->version)); in ret_gcred()
306 CHECK(krb5_ret_uint32(sp, &gcred->proc)); in ret_gcred()
307 CHECK(krb5_ret_uint32(sp, &gcred->seq_num)); in ret_gcred()
308 CHECK(krb5_ret_uint32(sp, &gcred->service)); in ret_gcred()
309 CHECK(ret_data_xdr(sp, &gcred->handle)); in ret_gcred()
355 CHECK(ret_data_xdr(sp, &c)); in ret_string_xdr()
372 CHECK(krb5_unparse_name(contextp, p, &str)); in store_principal_xdr()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/GISel/
H A Dselect-saddo.mir15 ; CHECK-LABEL: name: saddo_s32
16 ; CHECK: liveins: $w0, $w1, $x2
17 ; CHECK: %reg0:gpr32 = COPY $w0
18 ; CHECK: %reg1:gpr32 = COPY $w1
19 ; CHECK: %saddo:gpr32 = ADDSWrr %reg0, %reg1, implicit-def $nzcv
20 ; CHECK: [[CSINCWr:%[0-9]+]]:gpr32 = CSINCWr $wzr, $wzr, 7, implicit $nzcv
21 ; CHECK: $w0 = COPY %saddo
22 ; CHECK: RET_ReallyLR implicit $w0
40 ; CHECK-LABEL: name: saddo_s64
41 ; CHECK: liveins: $x0, $x1, $x2
[all …]
H A Dselect-ssubo.mir15 ; CHECK-LABEL: name: ssubo_s32
16 ; CHECK: liveins: $w0, $w1, $x2
17 ; CHECK: %reg0:gpr32 = COPY $w0
18 ; CHECK: %reg1:gpr32 = COPY $w1
19 ; CHECK: %ssubo:gpr32 = SUBSWrr %reg0, %reg1, implicit-def $nzcv
20 ; CHECK: [[CSINCWr:%[0-9]+]]:gpr32 = CSINCWr $wzr, $wzr, 7, implicit $nzcv
21 ; CHECK: $w0 = COPY %ssubo
22 ; CHECK: RET_ReallyLR implicit $w0
40 ; CHECK-LABEL: name: ssubo_s64
41 ; CHECK: liveins: $x0, $x1, $x2
[all …]
/netbsd-src/external/lgpl3/mpfr/dist/tests/
H A Dtisnan.c35 #define CHECK MPFR_ASSERTN (i == ++j) in main() macro
64 CHECK; in main()
70 CHECK; in main()
76 CHECK; in main()
82 CHECK; in main()
88 CHECK; in main()
97 CHECK; in main()
103 CHECK; in main()
109 CHECK; in main()
115 CHECK; in main()
[all …]
/netbsd-src/external/bsd/openldap/dist/tests/scripts/
H A Dtest045-syncreplication-proxied157 CHECK=1
158 echo "$CHECK > Using ldapadd to populate the provider directory..."
170 -s base '(objectClass=*)' contextCSN > "${PROVIDEROUT}.$CHECK" 2>&1
182 -s base '(objectClass=*)' contextCSN > "${CONSUMEROUT}.$CHECK" 2>&1
191 $CMP ${PROVIDEROUT}.$CHECK ${CONSUMEROUT}.$CHECK > $CMPOUT
203 '(objectClass=*)' > "${PROVIDEROUT}.$CHECK" 2>&1
214 '(objectClass=*)' > "${CONSUMEROUT}.$CHECK" 2>&1
224 $LDIFFILTER < "${PROVIDEROUT}.$CHECK" > $PROVIDERFLT
226 $LDIFFILTER < "${CONSUMEROUT}.$CHECK" > $CONSUMERFLT
228 echo "$CHECK < Comparing retrieved entries from provider and consumer..."
[all …]
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/ntlm/
H A Dntlm.c117 #define CHECK(f, e) \ macro
280 CHECK(krb5_ret_uint16(sp, &buf->length), 0); in ret_sec_buffer()
281 CHECK(krb5_ret_uint16(sp, &buf->allocated), 0); in ret_sec_buffer()
282 CHECK(krb5_ret_uint32(sp, &buf->offset), 0); in ret_sec_buffer()
291 CHECK(krb5_store_uint16(sp, buf->length), 0); in store_sec_buffer()
292 CHECK(krb5_store_uint16(sp, buf->allocated), 0); in store_sec_buffer()
293 CHECK(krb5_store_uint32(sp, buf->offset), 0); in store_sec_buffer()
354 CHECK(wind_ucs2utf8_length(data, utf16len, &utf8len), 0); in ret_string()
364 CHECK(wind_ucs2utf8(data, utf16len, *s, &utf8len), 0); in ret_string()
381 CHECK(ret_string(sp, ucs2, desc->length, s), 0); in ret_sec_string()
[all …]
/netbsd-src/external/bsd/atf/dist/atf-c++/
H A Dtests_test.cpp94 #define CHECK \ in ATF_TEST_CASE_BODY() macro
102 CHECK; in ATF_TEST_CASE_BODY()
110 CHECK; in ATF_TEST_CASE_BODY()
114 CHECK; in ATF_TEST_CASE_BODY()
117 CHECK; in ATF_TEST_CASE_BODY()
125 CHECK; in ATF_TEST_CASE_BODY()
129 CHECK; in ATF_TEST_CASE_BODY()
132 CHECK; in ATF_TEST_CASE_BODY()
136 CHECK; in ATF_TEST_CASE_BODY()
139 CHECK; in ATF_TEST_CASE_BODY()
[all …]
/netbsd-src/external/mit/isl/dist/imath/
H A Dgmp_compat.c41 #define CHECK(res) (res) macro
43 #define CHECK(res) assert(((res) == MP_OK) && "expected MP_OK") macro
64 void GMPQAPI(init)(mp_rat x) { CHECK(mp_rat_init(x)); } in GMPQAPI()
68 CHECK(mp_rat_mul(multiplier, multiplicand, product)); in GMPQAPI()
72 void GMPQAPI(set)(mp_rat rop, mp_rat op) { CHECK(mp_rat_copy(op, rop)); } in GMPQAPI()
75 void GMPZAPI(abs)(mp_int rop, mp_int op) { CHECK(mp_int_abs(op, rop)); } in GMPZAPI()
79 CHECK(mp_int_add(op1, op2, rop)); in GMPZAPI()
99 void GMPZAPI(init)(mp_int x) { CHECK(mp_int_init(x)); } in GMPZAPI()
103 CHECK(mp_int_mul(op1, op2, rop)); in GMPZAPI()
107 void GMPZAPI(neg)(mp_int rop, mp_int op) { CHECK(mp_int_neg(op, rop)); } in GMPZAPI()
[all …]
/netbsd-src/regress/sys/kern/getcwd/
H A Dgetcwd.c229 #define CHECK(dir, call, ret, err) \ macro
250 CHECK("/tmp/permdir/subdir", __getcwd(kbuf, sizeof(kbuf)), -1, EACCES); in test___getcwd_perms()
263 CHECK("/tmp/permdir/subdir", __getcwd(kbuf, sizeof(kbuf)), 20, 0); in test___getcwd_perms()
289 CHECK ("/tmp/chrootdir", __getcwd(kbuf, sizeof(kbuf)), 15, 0); in test___getcwd_chroot()
303 CHECK ("/chrootdir", __getcwd(kbuf, sizeof(kbuf)), 11, 0); in test___getcwd_chroot()
306 CHECK ("/", __getcwd(kbuf, sizeof(kbuf)), 2, 0); in test___getcwd_chroot()
308 CHECK ("/subdir", __getcwd(kbuf, sizeof(kbuf)), 8, 0); in test___getcwd_chroot()
341 CHECK("/", __getcwd(0, 0), -1, ERANGE); in test___getcwd()
342 CHECK("/", __getcwd(0, -1), -1, ERANGE); in test___getcwd()
343 CHECK("/", __getcwd(kbuf, 0xdeadbeef), -1, ERANGE); /* large negative */ in test___getcwd()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-env/
H A Denv-calls-env.txt4 # RUN: | FileCheck -check-prefix=CHECK-2-EMPTY %s
6 # CHECK-2-EMPTY: BAR = 2
7 # CHECK-2-EMPTY: FOO = 1
10 # RUN: | FileCheck -check-prefix=CHECK-2-VAL %s
12 # CHECK-2-VAL: BAR = 1
13 # CHECK-2-VAL: FOO = 2
16 # RUN: | FileCheck -check-prefix=CHECK-2-U %s
18 # CHECK-2-U-NOT: BAR
19 # CHECK-2-U-NOT: FOO
22 # RUN: | FileCheck -check-prefix=CHECK-2-U-VAL %s
[all …]
/netbsd-src/external/bsd/atf/dist/tools/
H A Dtest_program_test.cpp538 #define CHECK \ in ATF_TEST_CASE_BODY() macro
546 CHECK; in ATF_TEST_CASE_BODY()
554 CHECK; in ATF_TEST_CASE_BODY()
558 CHECK; in ATF_TEST_CASE_BODY()
562 CHECK; in ATF_TEST_CASE_BODY()
570 CHECK; in ATF_TEST_CASE_BODY()
574 CHECK; in ATF_TEST_CASE_BODY()
582 CHECK; in ATF_TEST_CASE_BODY()
586 CHECK; in ATF_TEST_CASE_BODY()
594 CHECK; in ATF_TEST_CASE_BODY()
[all …]
/netbsd-src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/
H A Dcheck.h57 #define CHECK(b) \ macro
62 #define CHECK(b) ::benchmark::internal::GetNullLogInstance() macro
67 #define CHECK_EQ(a, b) CHECK((a) == (b))
68 #define CHECK_NE(a, b) CHECK((a) != (b))
69 #define CHECK_GE(a, b) CHECK((a) >= (b))
70 #define CHECK_LE(a, b) CHECK((a) <= (b))
71 #define CHECK_GT(a, b) CHECK((a) > (b))
72 #define CHECK_LT(a, b) CHECK((a) < (b))
74 #define CHECK_FLOAT_EQ(a, b, eps) CHECK(std::fabs((a) - (b)) < (eps))
75 #define CHECK_FLOAT_NE(a, b, eps) CHECK(std::fabs((a) - (b)) >= (eps))
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/utils/benchmark/src/
H A Dcheck.h57 #define CHECK(b) \ macro
62 #define CHECK(b) ::benchmark::internal::GetNullLogInstance() macro
65 #define CHECK_EQ(a, b) CHECK((a) == (b))
66 #define CHECK_NE(a, b) CHECK((a) != (b))
67 #define CHECK_GE(a, b) CHECK((a) >= (b))
68 #define CHECK_LE(a, b) CHECK((a) <= (b))
69 #define CHECK_GT(a, b) CHECK((a) > (b))
70 #define CHECK_LT(a, b) CHECK((a) < (b))
72 #define CHECK_FLOAT_EQ(a, b, eps) CHECK(std::fabs((a) - (b)) < (eps))
73 #define CHECK_FLOAT_NE(a, b, eps) CHECK(std::fabs((a) - (b)) >= (eps))
[all …]
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/msan/
H A Dmsan_linux.cc86 CHECK(addr_is_type(start, type)); in CheckMemoryLayoutSanity()
87 CHECK(addr_is_type((start + end) / 2, type)); in CheckMemoryLayoutSanity()
88 CHECK(addr_is_type(end - 1, type)); in CheckMemoryLayoutSanity()
91 CHECK(MEM_IS_SHADOW(MEM_TO_SHADOW(addr))); in CheckMemoryLayoutSanity()
92 CHECK(MEM_IS_ORIGIN(MEM_TO_ORIGIN(addr))); in CheckMemoryLayoutSanity()
96 CHECK(MEM_IS_SHADOW(MEM_TO_SHADOW(addr))); in CheckMemoryLayoutSanity()
97 CHECK(MEM_IS_ORIGIN(MEM_TO_ORIGIN(addr))); in CheckMemoryLayoutSanity()
101 CHECK(MEM_IS_SHADOW(MEM_TO_SHADOW(addr))); in CheckMemoryLayoutSanity()
102 CHECK(MEM_IS_ORIGIN(MEM_TO_ORIGIN(addr))); in CheckMemoryLayoutSanity()
140 CHECK(!(map && protect)); in InitShadow()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/utils/benchmark/docs/
H A DAssemblyTests.md21 * Add `// CHECK` lines to match against the verified assembly.
26 // CHECK-LABEL: test_add:
31 // CHECK: movl ExternInt(%rip), %eax
32 // CHECK: addl %eax
33 // CHECK: ret
41 is used to test the generated assembly against the `// CHECK` lines
43 linked above for information on how to write `CHECK` directives.
48 correctness. `CHECK` directives don't have to match on the exact next line
50 bits of assembly. ([`CHECK-NEXT`](https://llvm.org/docs/CommandGuide/FileCheck.html#the-check-next-…
63 * Filecheck supports using [`CHECK` prefixes](https://llvm.org/docs/CommandGuide/FileCheck.html#cmd…
[all …]
/netbsd-src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/docs/
H A DAssemblyTests.md21 * Add `// CHECK` lines to match against the verified assembly.
26 // CHECK-LABEL: test_add:
31 // CHECK: movl ExternInt(%rip), %eax
32 // CHECK: addl %eax
33 // CHECK: ret
41 is used to test the generated assembly against the `// CHECK` lines
43 linked above for information on how to write `CHECK` directives.
48 correctness. `CHECK` directives don't have to match on the exact next line
50 bits of assembly. ([`CHECK-NEXT`](https://llvm.org/docs/CommandGuide/FileCheck.html#the-check-next-…
63 * Filecheck supports using [`CHECK` prefixes](https://llvm.org/docs/CommandGuide/FileCheck.html#cmd…
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/docs/CommandGuide/
H A DFileCheck.rst39 match. By default, these patterns are prefixed with "``CHECK:``".
87 matches from ``CHECK-NOT`` are not affected by this option!)
109 ``CHECK-NOT``\ s.
114 warnings not covered by any ``CHECK:`` patterns.
155 All other variables get undefined after each encountered ``CHECK-LABEL``.
160 used in ``CHECK:`` lines.
166 ``CHECK:`` lines. See section
182 discarded overlapping ``CHECK-DAG:`` matches, implicit EOF pattern matches,
183 and ``CHECK-NOT:`` patterns that do not have matches. Implies ``-v``.
189 Enable overlapping among matches in a group of consecutive ``CHECK-DAG:``
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/
H A Dsequencing-0.txt4 # RUN: FileCheck --check-prefix CHECK-AND < %t.out %s
6 # CHECK-AND: first-line
7 # CHECK-AND: second-line
13 # RUN: FileCheck --check-prefix CHECK-OR-1 < %t.out %s
15 # CHECK-OR-1: first-line
16 # CHECK-OR-1-NOT: second-line
19 # RUN: FileCheck --check-prefix CHECK-OR-2 < %t.out %s
21 # CHECK-OR-2: second-line
25 # RUN: FileCheck --check-prefix CHECK-SEQ < %t.out %s
27 # CHECK-SEQ: first-line
[all …]

12345678910>>...27