/external/chromium_org/third_party/cld/encodings/compact_lang_det/win/ |
H A D | cld_logging.h | 14 #undef CHECK macro 15 #define CHECK(expr) macro
|
/external/chromium_org/tools/traceline/traceline/ |
H A D | logging.h | 11 #define CHECK(exp, ...) \ macro 13 printf("FAILED CHECK: %s\n %s:%d\n", #exp, __FILE__, __LINE__); \
|
/external/clang/test/Analysis/ |
H A D | traversal-path-unification.c | 9 #define CHECK(x) ((x) & 1) macro 11 #define CHECK(x) (x) macro 16 if (CHECK(i)) 27 // CHECK: --END FUNCTION-- 28 // CHECK-NOT: --END FUNCTION--
|
H A D | bitwise-ops.c | 4 #define CHECK(expr) if (!(expr)) return; clang_analyzer_eval(expr) macro 8 CHECK(x); // expected-warning{{TRUE}} 9 CHECK(x & 1); // expected-warning{{TRUE}} 12 CHECK(1 - x); // expected-warning{{UNKNOWN}} 13 CHECK(x & y); // expected-warning{{UNKNOWN}}
|
/external/chromium_org/third_party/webrtc/examples/android/media_demo/jni/ |
H A D | jni_helpers.h | 27 #define CHECK(x, msg) \ macro 43 CHECK(0, msg); \ 50 // JNIEnv-helper methods that CHECK success: no Java exception thrown and found
|
/external/libexif/test/ |
H A D | test-integers.c | 39 # define CHECK(condition) \ macro 46 # define CHECK(condition) \ macro 58 CHECK(sizeof(unsigned int) >= sizeof(uint32_t)); 61 CHECK(sizeof(enum_t) <= sizeof(int));
|
/external/chromium_org/extensions/renderer/resources/ |
H A D | utils.js | 8 var CHECK = requireNative('logging').CHECK; variable
|
/external/chromium_org/third_party/skia/tests/ |
H A D | ErrorTest.cpp | 18 #define CHECK(errcode) \ macro 43 CHECK(kNoError_SkError); 46 CHECK(kNoError_SkError); 50 CHECK(kNoError_SkError); 53 CHECK(kNoError_SkError); 57 CHECK(kInvalidArgument_SkError); 58 CHECK(kNoError_SkError); 62 CHECK(kInvalidArgument_SkError); 63 CHECK(kNoError_SkError);
|
/external/chromium_org/third_party/webrtc/voice_engine/test/auto_test/ |
H A D | voe_cpu_test.cc | 29 #define CHECK(expr) \ macro 64 CHECK(base->Init()); 70 CHECK(voice_socket_transport->SetSendDestination("127.0.0.1", 5566)); 71 CHECK(voice_socket_transport->SetLocalReceiver(5566)); 73 CHECK(codec->SetRecPayloadType(channel, isac)); 74 CHECK(codec->SetSendCodec(channel, isac)); 76 CHECK(base->StartReceive(channel)); 77 CHECK(base->StartPlayout(channel)); 78 CHECK(base->StartSend(channel)); 79 CHECK(fil [all...] |
/external/clang/test/CodeGenCXX/ |
H A D | bitfield-layout.cpp | 1 // RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - -O3 | FileCheck -check-prefix CHECK-LP64 %s 2 // RUN: %clang_cc1 %s -triple=i386-apple-darwin10 -emit-llvm -o - -O3 | FileCheck -check-prefix CHECK-LP32 %s 4 // CHECK-LP64: %union.Test1 = type { i32, [4 x i8] } 10 // CHECK-LP64: %union.Test2 = type { i8 } 15 // CHECK-LP64: %union.Test3 = type { i16 } 21 #define CHECK(x) if (!(x)) return __LINE__ macro 36 CHECK(c.a == 0); 37 CHECK(c.b == (unsigned long long)-1); 38 CHECK(c.c == 0); 40 // CHECK [all...] |
H A D | empty-classes.cpp | 29 #define CHECK(x) if (!(x)) return __LINE__ macro 32 // CHECK-LABEL: define i32 @_Z1fv() 37 CHECK(b1.a == 0xffffffff); 43 CHECK(c2.a == 0x12345678); 49 CHECK(d2.a == 0x87654321); 52 // CHECK: ret i32 0
|
/external/pcre/dist/ |
H A D | pcre_stringpiece_unittest.cc | 15 // CHECK dies with a fatal error if condition is not true. It is *not* 18 // CHECK(fp->Write(x) == 4) 19 #define CHECK(condition) do { \ macro 45 CHECK(map.size() == 3); 48 CHECK(iter->second == 1); 50 CHECK(iter->second == 2); 52 CHECK(iter->second == 0); 54 CHECK(iter == map.end()); 57 CHECK(new_iter == map.end()); 60 CHECK(new_ite [all...] |
/external/skia/tests/ |
H A D | ErrorTest.cpp | 18 #define CHECK(errcode) \ macro 40 CHECK(kNoError_SkError); 43 CHECK(kNoError_SkError); 47 CHECK(kNoError_SkError); 50 CHECK(kNoError_SkError); 54 CHECK(kInvalidArgument_SkError); 55 CHECK(kNoError_SkError); 59 CHECK(kInvalidArgument_SkError); 60 CHECK(kNoError_SkError);
|
/external/openfst/src/include/fst/ |
H A D | log.h | 54 inline void CHECK(bool x) { assert(x); } function 56 #define CHECK_EQ(x, y) CHECK((x) == (y)) 57 #define CHECK_LT(x, y) CHECK((x) < (y)) 58 #define CHECK_GT(x, y) CHECK((x) > (y)) 59 #define CHECK_LE(x, y) CHECK((x) <= (y)) 60 #define CHECK_GE(x, y) CHECK((x) >= (y)) 61 #define CHECK_NE(x, y) CHECK((x) != (y))
|
/external/chromium_org/sdch/open-vcdiff/src/ |
H A D | testing.h | 34 // CHECK is used for assertions that verify the consistency of the test itself, 37 // It is better to use a preprocessor macro for CHECK 46 #define CHECK(CONDITION) assert(CONDITION) macro 71 CHECK(!IsStarted()); 83 CHECK(IsStarted()); 119 CHECK(!IsStarted()); 131 CHECK(IsStarted());
|
/external/chromium_org/tools/relocation_packer/src/ |
H A D | debug.h | 18 // CHECK(predicate) logs a FATAL error if predicate is false. 105 // CHECK(predicate) fails with a FATAL log message if predicate is false. 106 #define CHECK(predicate) (LOG_IF(FATAL, !(predicate)) \ macro 108 << __FUNCTION__ << ": CHECK '" #predicate "' failed")
|
/external/valgrind/main/memcheck/tests/ |
H A D | unit_libcbase.c | 11 #define CHECK(x) \ macro 17 CHECK( ! VG_STREQ(NULL, NULL) ); // Nb: strcmp() considers these equal 18 CHECK( ! VG_STREQ(NULL, "ab") ); // Nb: strcmp() seg faults on this 19 CHECK( ! VG_STREQ("ab", NULL) ); // Nb: strcmp() seg faults on this 20 CHECK( ! VG_STREQ("", "a") ); 21 CHECK( ! VG_STREQ("a", "") ); 22 CHECK( ! VG_STREQ("abc", "abcd")); 23 CHECK( ! VG_STREQ("abcd", "abc") ); 24 CHECK( ! VG_STREQ("Abcd", "abcd")); 25 CHECK( ! VG_STRE [all...] |
/external/chromium_org/third_party/re2/util/ |
H A D | logging.h | 28 #define CHECK(x) if(x){}else LogMessageFatal(__FILE__, __LINE__).stream() << "Check failed: " #x macro 29 #define CHECK_LT(x, y) CHECK((x) < (y)) 30 #define CHECK_GT(x, y) CHECK((x) > (y)) 31 #define CHECK_LE(x, y) CHECK((x) <= (y)) 32 #define CHECK_GE(x, y) CHECK((x) >= (y)) 33 #define CHECK_EQ(x, y) CHECK((x) == (y)) 34 #define CHECK_NE(x, y) CHECK((x) != (y))
|
/external/chromium_org/third_party/skia/src/images/ |
H A D | bmpdecoderhelper.h | 20 #define CHECK(predicate) SkASSERT(predicate) macro
|
/external/chromium_org/third_party/webrtc/base/ |
H A D | checks.h | 30 // - CHECK(x) is an assertion that x is always true, and that if it isn't, it's 38 // - DCHECK(x) is the same as CHECK(x)---an assertion that x is always 47 // case you were wrong, use CHECK instead of DCHECK. 50 // variants of CHECK and DCHECK that print prettier messages if the condition 51 // doesn't hold. Prefer them to raw CHECK and DCHECK. 72 // CHECK dies with a fatal error if condition is not true. It is *not* 76 // We make sure CHECK et al. always evaluates their arguments, as 77 // doing CHECK(FunctionWithSideEffect()) is a common idiom. 78 #define CHECK(condition) \ macro 155 // The DCHECK macro is equivalent to CHECK excep [all...] |
/external/chromium_org/v8/src/base/ |
H A D | logging.h | 34 // The CHECK macro checks that the given condition is true; if not, it 36 #define CHECK(condition) do { \ macro 38 V8_Fatal(__FILE__, __LINE__, "CHECK(%s) failed", #condition); \ 93 // Helper function used by the CHECK function when given string 125 // Helper function used by the CHECK function when given pointer 177 #define CHECK_GT(a, b) CHECK((a) > (b)) 178 #define CHECK_GE(a, b) CHECK((a) >= (b)) 179 #define CHECK_LT(a, b) CHECK((a) < (b)) 180 #define CHECK_LE(a, b) CHECK((a) <= (b)) 193 // The DCHECK macro is equivalent to CHECK excep [all...] |
/external/regex-re2/util/ |
H A D | logging.h | 23 #define CHECK(x) if(x){}else LogMessageFatal(__FILE__, __LINE__).stream() << "Check failed: " #x macro 24 #define CHECK_LT(x, y) CHECK((x) < (y)) 25 #define CHECK_GT(x, y) CHECK((x) > (y)) 26 #define CHECK_LE(x, y) CHECK((x) <= (y)) 27 #define CHECK_GE(x, y) CHECK((x) >= (y)) 28 #define CHECK_EQ(x, y) CHECK((x) == (y)) 29 #define CHECK_NE(x, y) CHECK((x) != (y))
|
/external/skia/src/images/ |
H A D | bmpdecoderhelper.h | 20 #define CHECK(predicate) SkASSERT(predicate) macro
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/ |
H A D | r200_state_init.c | 221 #define CHECK( NM, FLAG, ADD ) \ macro 251 CHECK( always, GL_TRUE, 0 ) 252 CHECK( always_add4, GL_TRUE, 4 ) 253 CHECK( never, GL_FALSE, 0 ) 254 CHECK( tex_any, ctx->Texture._EnabledUnits, 0 ) 255 CHECK( tf, (ctx->Texture._EnabledUnits && !ctx->ATIFragmentShader._Enabled), 0 ); 256 CHECK( pix_zero, !ctx->ATIFragmentShader._Enabled, 0 ) 257 CHECK( texenv, (rmesa->state.envneeded & (1 << (atom->idx)) && !ctx->ATIFragmentShader._Enabled), 0 ) 258 CHECK( afs_pass1, (ctx->ATIFragmentShader._Enabled && (ctx->ATIFragmentShader.Current->NumPasses > 1)), 0 ) 259 CHECK( af [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
H A D | radeon_state_init.c | 188 #define CHECK( NM, FLAG, ADD ) \ macro 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]._ReallyEnabled & TEXTURE_CUBE_BIT), 2 + 4*5 - CUBE_STATE_SIZE ) 210 CHECK( cube1_mm, (ctx->Texture.Unit[1]._ReallyEnabled & TEXTURE_CUBE_BIT), 2 + 4*5 - CUBE_STATE_SIZE ) 211 CHECK( cube2_m [all...] |