Searched defs:CHECK (Results 1 - 25 of 33) sorted by relevance

12

/external/webkit/Tools/DumpRenderTree/chromium/
H A Dconfig.h40 #define CHECK(condition) while (false && (condition)) std::cerr macro
/external/clang/test/CodeGenCXX/
H A Dbitfield-layout.cpp4 // CHECK-LP64: %union.Test1 = type { i32, [4 x i8] }
10 // CHECK-LP64: %union.Test2 = type { i8 }
15 // CHECK-LP64: %union.Test3 = type { [2 x i8] }
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-LP64: ret i32 0
41 // CHECK-LP32: ret i32 0
H A Dempty-classes.cpp29 #define CHECK(x) if (!(x)) return __LINE__ macro
32 // CHECK: define i32 @_Z1fv()
37 CHECK(b1.a == 0xffffffff);
43 CHECK(c2.a == 0x12345678);
49 CHECK(d2.a == 0x87654321);
52 // CHECK: ret i32 0
H A Drtti-layout.cpp91 #define CHECK(x) if (!(x)) return __LINE__ macro
92 #define CHECK_VTABLE(type, vtable) CHECK(&vtable##_type_info_vtable + 2 == (((void **)&(typeid(type)))[0]))
93 #define CHECK_BASE_INFO_TYPE(type, index, base) CHECK(to<__vmi_class_type_info>(typeid(type)).__base_info[(index)].__base_type == &typeid(base))
94 #define CHECK_BASE_INFO_OFFSET_FLAGS(type, index, offset, flags) CHECK(to<__vmi_class_type_info>(typeid(type)).__base_info[(index)].__offset_flags == (((offset) << 8) | (flags)))
104 // CHECK: define i32 @_Z1fv()
115 CHECK(to<__si_class_type_info>(typeid(SI1)).__base_type == &typeid(A));
119 CHECK(to<__si_class_type_info>(typeid(SI2)).__base_type == &typeid(Empty));
124 CHECK(to<__si_class_type_info>(typeid(SI3)).__base_type == &typeid(Empty));
140 CHECK(to<__vmi_class_type_info>(typeid(VMI5)).__flags == __vmi_class_type_info::__non_diamond_repeat_mask);
141 CHECK(t
[all...]
/external/libffi/testsuite/libffi.call/
H A Dffitest.h10 #define CHECK(x) !(x) ? abort() : 0 macro
/external/libffi/testsuite/libffi.special/
H A Dffitestcxx.h18 #define CHECK(x) (!(x) ? abort() : (void)0) macro
/external/pcre/
H A Dpcre_stringpiece_unittest.cc15 // 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...]
H A Dpcrecpp_unittest.cc54 // CHECK dies with a fatal error if condition is not true. It is *not*
58 #define CHECK(condition) do { \ macro
66 #define CHECK_EQ(a, b) CHECK(a == b)
73 CHECK(pattern.FullMatch(p));
82 CHECK(pattern.FullMatch("ruby:1234", &i));
121 CHECK(growth < 0.02); // Allow < 2% growth
132 CHECK(RE("([0-9a-fA-F]+)[uUlL]*").FullMatch(#value, Hex(&v))); \
134 CHECK(RE("([0-9a-fA-FxX]+)[uUlL]*").FullMatch("0x" #value, CRadix(&v))); \
158 CHECK(RE("([0-7]+)[uUlL]*").FullMatch(#value, Octal(&v))); \
160 CHECK(R
[all...]
/external/chromium/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/valgrind/main/memcheck/tests/
H A Dunit_libcbase.c11 #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/skia/src/images/
H A Dbmpdecoderhelper.h27 #define CHECK(predicate) SkASSERT(predicate) macro
/external/chromium/chrome/browser/chromeos/login/
H A Dsigned_settings_helper.cc35 CHECK(op_.get());
105 CHECK, enumerator in enum:chromeos::__anon1118::WhitelistOpContext::Type
124 case CHECK:
145 case CHECK:
349 WhitelistOpContext::CHECK,
410 CHECK(context);
/external/clang/test/Sema/
H A Dcompare.c295 #define CHECK(x) (x >= X) macro
297 if (CHECK(v)) // no-warning
306 #undef CHECK macro
/external/mesa3d/src/mesa/main/
H A Dcompiler.h313 #ifdef CHECK
314 #undef CHECK macro
/external/qemu/distrib/zlib-1.2.3/
H A Dinflate.h45 CHECK, /* i: waiting for 32-bit check value */ enumerator in enum:__anon8374
65 TYPE -> STORED or TABLE or LEN or CHECK
73 CHECK -> LENGTH -> DONE
/external/stlport/test/unit/
H A Dnum_put_get_test.cpp622 #define CHECK(type, val, base, expected) \ macro
629 CHECK(short, 0, oct, "0")
630 CHECK(short, 1, oct, "1")
631 CHECK(short, 12345, oct, "30071")
633 CHECK(short, -1, oct, "177777")
634 CHECK(short, -12345, oct, "147707")
637 CHECK(unsigned short, 0, oct, "0")
638 CHECK(unsigned short, 12345, oct, "30071")
640 CHECK(int, 0, oct, "0")
641 CHECK(in
[all...]
/external/v8/src/
H A Dchecks.h54 // Used by the CHECK macro -- should not be called directly.
60 V8_Fatal(file, line, "CHECK(%s) failed", source);
64 // The CHECK macro checks that the given condition is true; if not, it
66 #define CHECK(condition) CheckHelper(__FILE__, __LINE__, #condition, condition) macro
119 // Helper function used by the CHECK function when given string
151 // Helper function used by the CHECK function when given pointer
181 // Helper function used by the CHECK function when given floating
233 #define CHECK_GT(a, b) CHECK((a) > (b))
234 #define CHECK_GE(a, b) CHECK((a) >= (b))
235 #define CHECK_LT(a, b) CHECK((
[all...]
/external/valgrind/tsan/
H A Dts_util.h39 # define CHECK tl_assert macro
43 # define CHECK(x) do { if (!(x)) { \ macro
50 # define CHECK(x) do { if (!(x)) { \ macro
54 # define CHECK assert macro
235 #define CHECK_GT(X, Y) CHECK((X) > (Y))
236 #define CHECK_LT(X, Y) CHECK((X) < (Y))
237 #define CHECK_GE(X, Y) CHECK((X) >= (Y))
238 #define CHECK_LE(X, Y) CHECK((X) <= (Y))
239 #define CHECK_NE(X, Y) CHECK((X) != (Y))
240 #define CHECK_EQ(X, Y) CHECK((
[all...]
/external/valgrind/unittest/
H A Dthread_wrappers.h57 # define CHECK(x) do { if (!(x)) { \ macro
62 # define CHECK assert
109 CHECK(q_.empty());
128 CHECK(ok);
178 CHECK(n_params == 2);
196 CHECK(sizeof(P1) <= sizeof(void*));
207 CHECK(sizeof(P1) <= sizeof(void*));
208 CHECK(sizeof(P2) <= sizeof(void*));
/external/icu4c/test/intltest/
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
814 #undef CHECK macro
[all...]
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dcompat.h234 #define CHECK(x) assert(x) macro
/external/zlib/
H A Dinflate.h47 CHECK, /* i: waiting for 32-bit check value */ enumerator in enum:__anon13428
68 TYPE -> TYPEDO -> STORED or TABLE or LEN_ or CHECK
77 CHECK -> LENGTH -> DONE
/external/dbus/dbus/
H A Ddbus-sha.c954 #define CHECK(input,expected) if (!check_sha_str (input, expected)) return FALSE macro
956 CHECK ("", "da39a3ee5e6b4b0d3255bfef95601890afd80709");
957 CHECK ("a", "86f7e437faa5a7fce15d1ddcb9eaeaea377667b8");
958 CHECK ("abc", "a9993e364706816aba3e25717850c26c9cd0d89d");
959 CHECK ("message digest", "c12252ceda8be8994d5fa0290a47231c1d16aae3");
960 CHECK ("abcdefghijklmnopqrstuvwxyz", "32d10c7b8cf96570ca04ce37f2a19d84240d3a89");
961 CHECK ("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
963 CHECK ("12345678901234567890123456789012345678901234567890123456789012345678901234567890",
/external/icu4c/test/cintltst/
H A Dcnmdptst.c34 #define CHECK(status,str) if (U_FAILURE(status)) { log_err("FAIL: %s\n", str); return; } macro
/external/chromium/base/
H A Dlogging.h58 // The CHECK(condition) macro is active in both debug and release builds and
342 // in debug mode. In particular, CHECK()s will always fire if they
444 // CHECK dies with a fatal error if condition is not true. It is *not*
448 // We make sure CHECK et al. always evaluates their arguments, as
449 // doing CHECK(FunctionWithSideEffect()) is a common idiom.
450 #define CHECK(condition) \ macro

Completed in 616 milliseconds

12