| /src/tests/include/sys/ |
| t_cdefs.c | 75 #define CHECK(a, b) ATF_REQUIRE(__type_min(a) == s[b].min); \ 78 CHECK(signed char, 0); 79 CHECK(signed short, 1); 80 CHECK(signed int, 2); 81 CHECK(signed long, 3); 82 CHECK(signed long long, 4); 83 #undef CHECK 94 #define CHECK(a, b) ATF_REQUIRE(__type_min(a) == u[b].min); \ 97 CHECK(unsigned char, 0); 98 CHECK(unsigned short, 1) [all...] |
| /src/external/gpl2/dtc/dist/tests/ |
| rw_tree1.c | 23 #define CHECK(code) \ 48 CHECK(fdt_create_empty_tree(fdt, SPACE)); 50 CHECK(fdt_add_mem_rsv(fdt, TEST_ADDR_1, TEST_SIZE_1)); 51 CHECK(fdt_add_mem_rsv(fdt, TEST_ADDR_2, TEST_SIZE_2)); 53 CHECK(fdt_setprop_string(fdt, 0, "compatible", "test_tree1")); 54 CHECK(fdt_setprop_u32(fdt, 0, "prop-int", TEST_VALUE_1)); 55 CHECK(fdt_setprop_u64(fdt, 0, "prop-int64", TEST_VALUE64_1)); 56 CHECK(fdt_setprop_string(fdt, 0, "prop-str", TEST_STRING_1)); 60 CHECK(fdt_setprop_string(fdt, s1, "compatible", "subnode1")); 61 CHECK(fdt_setprop_cell(fdt, s1, "prop-int", TEST_VALUE_1)) [all...] |
| appendprop1.c | 23 #define CHECK(code) \ 40 CHECK(fdt_create(fdt, SPACE)); 41 CHECK(fdt_finish_reservemap(fdt)); 42 CHECK(fdt_begin_node(fdt, "")); 43 CHECK(fdt_end_node(fdt)); 44 CHECK(fdt_finish(fdt)); 47 CHECK(fdt_open_into(fdt, fdt, SPACE)); 49 CHECK(fdt_appendprop(fdt, 0, "prop-bytes", bytes, sizeof(bytes))); 50 CHECK(fdt_appendprop_cell(fdt, 0, "prop-int", TEST_VALUE_1)); 51 CHECK(fdt_appendprop_u64(fdt, 0, "prop-int64", TEST_VALUE64_1)) [all...] |
| appendprop2.c | 23 #define CHECK(code) \ 40 CHECK(fdt_open_into(fdt, buf, SPACE)); 43 CHECK(fdt_appendprop(fdt, 0, "prop-bytes", bytes, sizeof(bytes))); 44 CHECK(fdt_appendprop_cell(fdt, 0, "prop-int", TEST_VALUE_2)); 45 CHECK(fdt_appendprop_u64(fdt, 0, "prop-int64", TEST_VALUE64_1)); 46 CHECK(fdt_appendprop_string(fdt, 0, "prop-str", TEST_STRING_2)); 48 CHECK(fdt_pack(fdt));
|
| sw_tree1.c | 88 #define CHECK(code) \ 166 CHECK(fdt_create_with_flags(fdt, size, create_flags)); 170 CHECK(fdt_add_reservemap_entry(fdt, TEST_ADDR_1, TEST_SIZE_1)); 172 CHECK(fdt_add_reservemap_entry(fdt, TEST_ADDR_2, TEST_SIZE_2)); 173 CHECK(fdt_finish_reservemap(fdt)); 175 CHECK(fdt_begin_node(fdt, "")); 176 CHECK(fdt_property_string(fdt, "compatible", "test_tree1")); 177 CHECK(fdt_property_u32(fdt, "prop-int", TEST_VALUE_1)); 178 CHECK(fdt_property_u64(fdt, "prop-int64", TEST_VALUE64_1)); 179 CHECK(fdt_property_string(fdt, "prop-str", TEST_STRING_1)) [all...] |
| add_subnode_with_nops.c | 23 #define CHECK(code) \ 47 CHECK(fdt_create(fdt, SPACE)); 49 CHECK(fdt_finish_reservemap(fdt)); 50 CHECK(fdt_begin_node(fdt, "")); 51 CHECK(fdt_property_cell(fdt, "prop1", TEST_VALUE_1)); 52 CHECK(fdt_property_cell(fdt, "prop2", TEST_VALUE_2)); 53 CHECK(fdt_end_node(fdt)); 54 CHECK(fdt_finish(fdt)); 59 CHECK(fdt_open_into(fdt, fdt, SPACE)); 64 CHECK(fdt_nop_property(fdt, 0, "prop1")) [all...] |
| rw_oom.c | 24 #define CHECK(code) \ 46 * Check OOM path, and check that property is cleaned up if it fails 56 CHECK(fdt_create_empty_tree(fdt, SPACE)); 58 CHECK(fdt_add_mem_rsv(fdt, TEST_ADDR_1, TEST_SIZE_1)); 59 CHECK(fdt_add_mem_rsv(fdt, TEST_ADDR_2, TEST_SIZE_2)); 61 CHECK(fdt_setprop_string(fdt, 0, "compatible", "test_oom")); 62 CHECK(fdt_setprop_u32(fdt, 0, "prop-int", TEST_VALUE_1)); 63 CHECK(fdt_setprop_u64(fdt, 0, "prop-int64", TEST_VALUE64_1)); 64 CHECK(fdt_setprop_string(fdt, 0, "prop-str", TEST_STRING_1)) [all...] |
| /src/external/bsd/kyua-testers/dist/ |
| atf_result_test.c | 103 /// The code of this check is all within the macro instead of in a separate 112 #define CHECK(name, input, wait_status, timed_out, exp_output, exp_success) \ 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 [all...] |
| /src/external/bsd/atf/dist/atf-c++/ |
| tests_test.cpp | 70 std::cout << "String equality check failed.\n" 94 #define CHECK \ 102 CHECK; 110 CHECK; 114 CHECK; 117 CHECK; 125 CHECK; 129 CHECK; 132 CHECK; 136 CHECK; [all...] |
| /src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/ |
| check.h | 26 // CheckHandler is the class constructed by failing CHECK macros. CheckHandler 30 CheckHandler(const char* check, const char* file, const char* func, int line) 32 log_ << file << ":" << line << ": " << func << ": Check `" << check local 54 // The CHECK macro returns a std::ostream object that can have extra information 57 #define CHECK(b) \ 62 #define CHECK(b) ::benchmark::internal::GetNullLogInstance() 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) [all...] |
| thread_timer.h | 4 #include "check.h" 23 CHECK(running_); 38 CHECK(!running_); 44 CHECK(!running_); 50 CHECK(!running_);
|
| /src/external/apache2/llvm/dist/llvm/utils/benchmark/src/ |
| check.h | 26 // CheckHandler is the class constructed by failing CHECK macros. CheckHandler 30 CheckHandler(const char* check, const char* file, const char* func, int line) 32 log_ << file << ":" << line << ": " << func << ": Check `" << check local 54 // The CHECK macro returns a std::ostream object that can have extra information 57 #define CHECK(b) \ 62 #define CHECK(b) ::benchmark::internal::GetNullLogInstance() 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) [all...] |
| thread_timer.h | 4 #include "check.h" 23 CHECK(running_); 38 CHECK(!running_); 44 CHECK(!running_); 50 CHECK(!running_);
|
| /src/sys/external/bsd/compiler_rt/dist/lib/asan/ |
| asan_posix.cc | 53 CHECK(tsd_destructor); 63 CHECK(!tsd_destructor); 68 CHECK(tsd_destructor); 73 CHECK(tsd_destructor); 74 CHECK(tsd); 75 CHECK(!key.key); 80 CHECK(tsd_destructor); 91 CHECK(!tsd_key_inited); 97 CHECK(tsd_key_inited); 102 CHECK(tsd_key_inited) [all...] |
| /src/external/gpl3/gdb/dist/gdb/unittests/ |
| lookup_name_info-selftests.c | 26 /* Check that removing parameter info out of NAME produces EXPECTED. 29 location information in case the check fails. */ 53 /* Helper for CHECK and CHECK_INCOMPL. */ 65 /* Check that removing parameter info out of NAME produces EXPECTED. 67 #define CHECK(LANG, NAME, EXPECTED) \ 81 CHECK (language_ada, "pck.ada_hello", "pck__ada_hello"); 82 CHECK (language_go, "pck.go_hello", "pck.go_hello"); 83 CHECK (language_fortran, "mod::func", "mod::func"); 88 CHECK (language_d, "pck.d_hello", "pck.d_hello"); 94 CHECK (language_cplus, "function()", "function") [all...] |
| /src/external/gpl3/gdb.old/dist/gdb/unittests/ |
| lookup_name_info-selftests.c | 26 /* Check that removing parameter info out of NAME produces EXPECTED. 29 location information in case the check fails. */ 53 /* Helper for CHECK and CHECK_INCOMPL. */ 65 /* Check that removing parameter info out of NAME produces EXPECTED. 67 #define CHECK(LANG, NAME, EXPECTED) \ 81 CHECK (language_ada, "pck.ada_hello", "pck__ada_hello"); 82 CHECK (language_go, "pck.go_hello", "pck.go_hello"); 83 CHECK (language_fortran, "mod::func", "mod::func"); 88 CHECK (language_d, "pck.d_hello", "pck.d_hello"); 94 CHECK (language_cplus, "function()", "function") [all...] |
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.rocm/ |
| fork-exec-non-gpu-to-gpu-execee.cpp | 20 #define CHECK(cmd) \ 46 CHECK (hipDeviceSynchronize ());
|
| precise-memory-warning-sigsegv.cpp | 20 #define CHECK(cmd) \ 42 CHECK (hipDeviceSynchronize ());
|
| precise-memory.cpp | 20 #define CHECK(cmd) \ 41 CHECK (hipDeviceSynchronize ());
|
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.rocm/ |
| fork-exec-non-gpu-to-gpu-execee.cpp | 20 #define CHECK(cmd) \ 46 CHECK (hipDeviceSynchronize ());
|
| precise-memory-warning-sigsegv.cpp | 20 #define CHECK(cmd) \ 42 CHECK (hipDeviceSynchronize ());
|
| precise-memory.cpp | 20 #define CHECK(cmd) \ 41 CHECK (hipDeviceSynchronize ());
|
| /src/tests/lib/libm/ |
| t_next.c | 53 #define CHECK(i, next, x, d, y) do \ 69 * check(x, n) 76 check(const double *x, unsigned n) function 81 CHECK(i, nextafter, x[i], x[i], x[i]); 82 CHECK(i, nexttoward, x[i], x[i], x[i]); 83 CHECK(i, nextafter, -x[i], -x[i], -x[i]); 84 CHECK(i, nexttoward, -x[i], -x[i], -x[i]); 91 CHECK(i, nexttoward, x[i], x[i]*(1 + LDBL_EPSILON), 95 CHECK(i, nextafter, x[i], x[i + 1], x[i + 1]); 96 CHECK(i, nexttoward, x[i], x[i + 1], x[i + 1]) [all...] |
| /src/tests/lib/libc/tls/ |
| t_tls_static.c | 62 #define CHECK(a, b) \ 64 CHECK(1, 1); 65 CHECK(2, 0); 67 CHECK(1, -1); 68 CHECK(2, -1);
|
| /src/external/lgpl3/mpfr/dist/tests/ |
| tisnan.c | 32 /* We need to check that when the function is implemented by a macro, 35 #define CHECK MPFR_ASSERTN (i == ++j) 56 /* check +infinity gives non-zero for mpfr_inf_p only */ 64 CHECK; 70 CHECK; 76 CHECK; 82 CHECK; 88 CHECK; 97 CHECK; 103 CHECK; [all...] |