Searched defs:CHECK (Results 1 - 25 of 69) sorted by path

123

/external/ceres-solver/internal/ceres/miniglog/glog/
H A Dlogging.h60 // lack of stack trace information upon failure of the CHECK macros. On
64 // CHECK macros are defined to test for conditions within code. Any CHECK that
69 // The following CHECK macros are defined:
71 // CHECK(condition) - fails if condition is false and logs condition.
339 // ---------------------------- CHECK macros ---------------------------------
342 #define CHECK(condition) LOG_IF_FALSE(FATAL, condition) \ macro
346 // Debug only version of CHECK
/external/chromium_org/base/
H A Dlogging.h55 // The CHECK(condition) macro is active in both debug and release builds and
340 // LOG_IS_ON(DFATAL) always holds in debug mode. In particular, CHECK()s will
429 // CHECK dies with a fatal error if condition is not true. It is *not*
433 // We make sure CHECK et al. always evaluates their arguments, as
434 // doing CHECK(FunctionWithSideEffect()) is a common idiom.
438 // Make all CHECK functions discard their log strings to reduce code
444 #define CHECK(condition) \ macro
447 #define PCHECK(condition) CHECK(condition)
449 #define CHECK_OP(name, op, val1, val2) CHECK((val1) op (val2))
453 #define CHECK(conditio macro
[all...]
/external/chromium_org/extensions/renderer/resources/
H A Djson_schema.js42 var CHECK = requireNative('logging').CHECK; variable
185 CHECK(type, 'Could not find type ' + ref);
H A Dutils.js8 var CHECK = requireNative('logging').CHECK; variable
/external/chromium_org/sdch/open-vcdiff/src/
H A Dtesting.h34 // 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/third_party/WebKit/Source/devtools/scripts/closure/
H A Dcompiler.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/javascript/ com/google/javascript/jscomp/ ...
/external/chromium_org/third_party/cld/base/
H A Dlogging.h406 // CHECK dies with a fatal error if condition is not true. It is *not*
409 // CHECK(fp->Write(x) == 4)
410 #define CHECK(condition) \ macro
414 // QCHECK is a quiet version of CHECK. It has all of the same properties,
435 // CHECK* macros. It's not encouraged though.
492 #define CHECK_OP_LOG(name, op, val1, val2, log) CHECK((val1) op (val2))
495 // to reduce the overhead of CHECK statments by 2x.
607 #define CHECK_INDEX(I,A) CHECK(I < (sizeof(A)/sizeof(A[0])))
608 #define CHECK_BOUND(B,A) CHECK(B <= (sizeof(A)/sizeof(A[0])))
619 // CHECK(MathUti
[all...]
/external/chromium_org/third_party/cld/encodings/compact_lang_det/win/
H A Dcld_logging.h14 #undef CHECK macro
15 #define CHECK(expr) macro
/external/chromium_org/third_party/closure_compiler/compiler/
H A Dcompiler.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/debugging/ com/google/debugging/sourcemap/ ...
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dcnmdptst.c34 #define CHECK(status,str) if (U_FAILURE(status)) { log_err("FAIL: %s\n", str); return; } macro
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dcaltest.cpp1705 #define CHECK(status, msg) \ macro
1784 CHECK(status, "Fail: getTime failed");
1791 CHECK(status, "Fail: get failed");
1812 CHECK(status, "Fail: get failed");
1834 CHECK(status, "Fail: get failed");
1847 CHECK(status, "Fail: getTime failed");
1864 CHECK(status, "Fail: getTime failed");
1879 CHECK(status, "Fail: set/getTime failed");
1896 CHECK(status, "Fail: set/getTime failed");
1908 CHECK(statu
2100 #undef CHECK macro
[all...]
H A Dincaltst.cpp19 #define CHECK(status, msg) \ macro
132 CHECK(status, "creating '" + UnicodeString(locs[j]) + "' calendar");
219 CHECK(status, "err during quasiGregorianTest()");
238 CHECK(status, UnicodeString("Creating de_CH calendar"));
290 CHECK(status, UnicodeString("Creating th_TH@calendar=buddhist calendar"));
341 CHECK(status, UnicodeString("Creating en_US@calendar=roc calendar"));
395 CHECK(status, UnicodeString("Creating ja_JP@calendar=japanese calendar"));
419 CHECK(status, "creating date format instance");
421 CHECK(status, "creating gregorian date format instance");
447 CHECK(statu
912 #undef CHECK macro
[all...]
H A Dnumfmtst.cpp54 #define CHECK(status,str) if (U_FAILURE(status)) { errcheckln(status, UnicodeString("FAIL: ") + str + " - " + u_errorName(status)); return; } macro
1149 CHECK(status, "DecimalFormatSymbols ct");
1152 CHECK(status, "DecimalFormat ct");
1157 CHECK(status, "applyPattern");
1258 CHECK(status, "DecimalFormatSymbols constructor");
1260 CHECK(status, "DecimalFormat(0.###E0)");
1262 CHECK(status, "DecimalFormat(0.###E+0)");
1275 CHECK(status, "DecimalFormatSymbols constructor");
1292 CHECK(status, "DecimalFormat constructor");
1455 CHECK(statu
[all...]
/external/chromium_org/third_party/libpng/
H A Dpngconf.h1613 # define CHECK 1 macro
1615 # define CVT_PTR(ptr) (png_far_to_near(png_ptr,ptr,CHECK))
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/
H A Dr200_state_init.c221 #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 Dradeon_state_init.c188 #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...]
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dcompiler.h292 #ifdef CHECK
293 #undef CHECK macro
/external/chromium_org/third_party/mesa/src/src/mesa/math/
H A Dm_translate.c90 #undef CHECK macro
112 #define CHECK macro
608 #undef CHECK macro
/external/chromium_org/third_party/re2/util/
H A Dlogging.h28 #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 Dbmpdecoderhelper.h20 #define CHECK(predicate) SkASSERT(predicate) macro
/external/chromium_org/third_party/skia/tests/
H A DErrorTest.cpp18 #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/tcmalloc/chromium/src/base/
H A Dlogging.h82 // CHECK dies with a fatal error if condition is not true. It is *not*
85 // CHECK(fp->Write(x) == 4)
88 #define CHECK(condition) \ macro
168 #define EXPECT_TRUE(cond) CHECK(cond)
169 #define EXPECT_FALSE(cond) CHECK(!(cond))
170 #define EXPECT_STREQ(a, b) CHECK(strcmp(a, b) == 0)
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
H A Dlogging.h77 // CHECK dies with a fatal error if condition is not true. It is *not*
80 // CHECK(fp->Write(x) == 4)
83 #define CHECK(condition) \ macro
163 #define EXPECT_TRUE(cond) CHECK(cond)
164 #define EXPECT_FALSE(cond) CHECK(!(cond))
165 #define EXPECT_STREQ(a, b) CHECK(strcmp(a, b) == 0)
/external/chromium_org/third_party/webrtc/base/
H A Dchecks.h30 // - 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/third_party/webrtc/examples/android/media_demo/jni/
H A Djni_helpers.h27 #define CHECK(x, msg) \ macro
43 CHECK(0, msg); \
50 // JNIEnv-helper methods that CHECK success: no Java exception thrown and found

Completed in 1817 milliseconds

123