/frameworks/wilhelm/tests/sandbox/ |
nativewindow.cpp | 31 #define CHECK assert 32 #define CHECK_EQ(a,b) CHECK((a)==(b)) 60 CHECK(control != NULL); 61 CHECK(control->isValid()); 69 CHECK(surface != NULL);
|
/bionic/libc/async_safe/include/async_safe/ |
log.h | 97 #define CHECK(predicate) \ 100 async_safe_fatal("%s:%d: %s CHECK '" #predicate "' failed", \
|
/external/dtc/tests/ |
dtb_reverse.c | 32 #define CHECK(code) \ 50 CHECK(fdt_get_mem_rsv(in, n, &addr, &size)); 51 CHECK(fdt_add_reservemap_entry(out, addr, size)); 76 CHECK(fdt_property(out, name, data, len)); 91 CHECK(fdt_get_path(in, nextoffset, path, sizeof(path))); 112 CHECK(fdt_get_path(in, nodeoffset, path, sizeof(path))); 116 CHECK(fdt_begin_node(out, name)); 129 CHECK(fdt_end_node(out)); 149 CHECK(fdt_create(out, bufsize)); 154 CHECK(fdt_finish_reservemap(out)) [all...] |
overlay.c | 28 #define CHECK(code) \ 79 CHECK(node_off < 0); 92 CHECK(node_off < 0); 140 CHECK(off < 0); 143 CHECK(!local_phandle); 145 CHECK(fdt_getprop_u32_by_poffset(fdt, "/test-node", 148 CHECK(val != local_phandle); 150 CHECK(fdt_getprop_u32_by_poffset(fdt, "/test-node", 153 CHECK(val != local_phandle); 165 CHECK(off < 0) [all...] |
dtbs_equal_ordered.c | 49 #define CHECK(code) \ 65 CHECK(fdt_get_mem_rsv(fdt1, i, &addr1, &size1)); 66 CHECK(fdt_get_mem_rsv(fdt2, i, &addr2, &size2));
|
dtbs_equal_unordered.c | 50 #define CHECK(code) \ 90 CHECK(fdt_get_mem_rsv(fdt1, i, &addr1, &size1)); 91 CHECK(fdt_get_mem_rsv(fdt2, i, &addr2, &size2)); 108 /* Check the properties */ 183 CHECK(fdt_get_path(fdt1, offset1, path1, sizeof(path1))); 184 CHECK(fdt_get_path(fdt2, offset2, path2, sizeof(path2)));
|
/external/libffi/testsuite/libffi.call/ |
ffitest.h | 18 #define CHECK(x) (void)(!(x) ? (abort(), 1) : 0)
|
/external/libxcam/tests/ |
test_common.h | 31 #undef CHECK 40 #define CHECK(ret, msg, ...) \
|
/external/python/cpython2/Modules/_ctypes/libffi/testsuite/libffi.call/ |
ffitest.h | 18 #define CHECK(x) (void)(!(x) ? (abort(), 1) : 0)
|
/external/python/cpython3/Modules/_ctypes/libffi/testsuite/libffi.call/ |
ffitest.h | 18 #define CHECK(x) (void)(!(x) ? (abort(), 1) : 0)
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/utils/google-benchmark/src/ |
check.h | 25 // CheckHandler is the class constructed by failing CHECK macros. CheckHandler 29 CheckHandler(const char* check, const char* file, const char* func, int line) 31 log_ << file << ":" << line << ": " << func << ": Check `" << check local 53 // The CHECK macro returns a std::ostream object that can have extra information 56 #define CHECK(b) \ 61 #define CHECK(b) ::benchmark::internal::GetNullLogInstance() 64 #define CHECK_EQ(a, b) CHECK((a) == (b)) 65 #define CHECK_NE(a, b) CHECK((a) != (b)) 66 #define CHECK_GE(a, b) CHECK((a) >= (b) [all...] |
/bionic/tools/relocation_packer/src/ |
debug.h | 18 // CHECK(predicate) logs a FATAL error if predicate is false. 108 // CHECK(predicate) fails with a FATAL log message if predicate is false. 109 #define CHECK(predicate) (LOG_IF(FATAL, !(predicate)) \ 111 << __FUNCTION__ << ": CHECK '" #predicate "' failed")
|
/external/brotli/research/ |
draw_diff.cc | 19 #ifndef CHECK 20 #define CHECK(X) if (!(X)) exit(EXIT_FAILURE); 25 CHECK(fscanf(f, "P5\n%lu %lu\n%d\n", width, height, &colors) == 3); 30 CHECK(fread((*image)[i], 1, *width, f) == *width);
|
/external/clang/test/CodeGenCXX/ |
empty-classes.cpp | 3 // CHECK: %"struct.rdar20621065::B" = type { float, float } 31 #define CHECK(x) if (!(x)) return __LINE__ 34 // CHECK-LABEL: define i32 @_Z1fv() 38 // Check that A::a is not overwritten by the Empty default constructor. 39 CHECK(b1.a == 0xffffffff); 44 // Check that A::a has the value set in the C::C copy constructor. 45 CHECK(c2.a == 0x12345678); 50 // Check that A::as has the value set in the D copy assignment operator. 51 CHECK(d2.a == 0x87654321); 54 // CHECK: ret i32 [all...] |
/external/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() 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...] |
/external/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() 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...] |
/external/valgrind/memcheck/tests/ |
unit_libcbase.c | 41 #define CHECK(x) \ 47 CHECK( ! VG_STREQ(NULL, NULL) ); // Nb: strcmp() considers these equal 48 CHECK( ! VG_STREQ(NULL, "ab") ); // Nb: strcmp() seg faults on this 49 CHECK( ! VG_STREQ("ab", NULL) ); // Nb: strcmp() seg faults on this 50 CHECK( ! VG_STREQ("", "a") ); 51 CHECK( ! VG_STREQ("a", "") ); 52 CHECK( ! VG_STREQ("abc", "abcd")); 53 CHECK( ! VG_STREQ("abcd", "abc") ); 54 CHECK( ! VG_STREQ("Abcd", "abcd")); 55 CHECK( ! VG_STREQ("abcd", "Abcd")) [all...] |
/frameworks/rs/rsov/compiler/unit_tests/ |
TestRunner.h | 92 #define CHECK(CONDITION) \
|
/toolchain/binutils/binutils-2.27/gold/testsuite/ |
test.h | 131 // Check that a condition is true. If it is false, report a failure. 133 #define CHECK(cond) \
|
/external/boringssl/src/crypto/fipsmodule/digest/ |
digests.c | 72 #define CHECK(x) (void) (x) 74 #define CHECK(x) assert(x) 79 CHECK(MD4_Init(ctx->md_data)); 83 CHECK(MD4_Update(ctx->md_data, data, count)); 87 CHECK(MD4_Final(out, ctx->md_data)); 103 CHECK(MD5_Init(ctx->md_data)); 107 CHECK(MD5_Update(ctx->md_data, data, count)); 111 CHECK(MD5_Final(out, ctx->md_data)); 127 CHECK(SHA1_Init(ctx->md_data)); 131 CHECK(SHA1_Update(ctx->md_data, data, count)) [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_state_init.c | 188 #define CHECK( NM, FLAG, ADD ) \ 202 CHECK( always, GL_TRUE, 0 ) 203 CHECK( always_add2, GL_TRUE, 2 ) 204 CHECK( always_add4, GL_TRUE, 4 ) 205 CHECK( tex0_mm, GL_TRUE, 3 ) 206 CHECK( tex1_mm, GL_TRUE, 3 ) 208 CHECK( tex2_mm, GL_TRUE, 3 ) 209 CHECK( cube0_mm, (ctx->Texture.Unit[0]._Current && ctx->Texture.Unit[0]._Current->Target == GL_TEXTURE_CUBE_MAP), 2 + 4*5 - CUBE_STATE_SIZE ) 210 CHECK( cube1_mm, (ctx->Texture.Unit[1]._Current && ctx->Texture.Unit[1]._Current->Target == GL_TEXTURE_CUBE_MAP), 2 + 4*5 - CUBE_STATE_SIZE ) 211 CHECK( cube2_mm, (ctx->Texture.Unit[2]._Current && ctx->Texture.Unit[2]._Current->Target == GL_TEXTURE_C (…) [all...] |
/external/perf_data_converter/src/quipper/mybase/base/ |
logging.h | 123 #define CHECK(x) \ 137 #define DCHECK(x) CHECK(x)
|
/external/v8/src/base/ |
logging.h | 40 // CHECK dies with a fatal error if condition is not true. It is *not* 41 // controlled by DEBUG, so the check will be executed regardless of 44 // We make sure CHECK et al. always evaluates their arguments, as 45 // doing CHECK(FunctionWithSideEffect()) is a common idiom. 49 V8_Fatal(__FILE__, __LINE__, "Check failed: %s.", message); \ 52 #define CHECK(condition) CHECK_WITH_MSG(condition, #condition) 61 ::v8::base::Check##name##Impl<decltype(lhs), decltype(rhs)>( \ 63 V8_Fatal(__FILE__, __LINE__, "Check failed: %s.", _msg->c_str()); \ 70 // Make all CHECK functions discard their log strings to reduce code 137 #define DEFINE_SIGNED_MISMATCH_COMP(CHECK, NAME, IMPL) [all...] |
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
ADebug.h | 56 #ifdef CHECK 57 #undef CHECK 59 #define CHECK(condition) \ 64 " CHECK(" #condition ") failed.") 124 #define CHECK_DBG CHECK
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/ |
inflate.h | 30 DICTID, /* i: waiting for dictionary check value */
33 TYPEDO, /* i: same, but skip check to exit inflate on new block */
45 CHECK, /* i: waiting for 32-bit check value */
47 DONE, /* finished check, done -- remain here until reset */
65 TYPE -> STORED or TABLE or LEN or CHECK
73 CHECK -> LENGTH -> DONE
84 unsigned long check; /* protected copy of check value */
member in struct:inflate_state
|