Searched defs:CHECK (Results 1 - 25 of 38) 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/openfst/src/include/fst/
H A Dlog.h54 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/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/compiler-rt/lib/asan/
H A Dasan_thread_registry.cc48 CHECK(n_threads_ < kMaxNumberOfThreads);
51 CHECK(summary != NULL);
60 CHECK(summary);
89 CHECK(t->summary());
94 CHECK(AsanTSDGet() == 0);
96 CHECK(AsanTSDGet() == t->summary());
133 CHECK(tid >= 0);
134 CHECK(tid < n_threads_); function
135 CHECK(thread_summaries_[tid]);
H A Dasan_malloc_mac.cc77 CHECK(system_malloc_zone);
86 CHECK(system_malloc_zone);
102 CHECK(allocated < kCallocPoolSize); function
111 CHECK(system_malloc_zone);
237 CHECK(system_malloc_zone);
376 CHECK(malloc_default_zone() == &asan_zone);
H A Dasan_internal.h270 #define CHECK(cond) do { if (!(cond)) { \ macro
283 #define UNIMPLEMENTED() CHECK("unimplemented" && 0)
338 CHECK(IsPowerOfTwo(boundary));
/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/regex-re2/util/
H A Dlogging.h23 #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 Dbmpdecoderhelper.h20 #define CHECK(predicate) SkASSERT(predicate) macro
/external/v8/src/
H A Dchecks.h54 // The CHECK macro checks that the given condition is true; if not, it
56 #define CHECK(condition) do { \ macro
58 V8_Fatal(__FILE__, __LINE__, "CHECK(%s) failed", #condition); \
113 // Helper function used by the CHECK function when given string
145 // Helper function used by the CHECK function when given pointer
175 // Helper function used by the CHECK function when given floating
227 #define CHECK_GT(a, b) CHECK((a) > (b))
228 #define CHECK_GE(a, b) CHECK((a) >= (b))
229 #define CHECK_LT(a, b) CHECK((a) < (b))
230 #define CHECK_LE(a, b) CHECK((
[all...]
/external/chromium/chrome/browser/chromeos/login/
H A Dsigned_settings_helper.cc35 CHECK(op_.get());
105 CHECK, enumerator in enum:chromeos::__anon1428::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:__anon9398
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/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
252 #define CHECK_GT(X, Y) CHECK((X) > (Y))
253 #define CHECK_LT(X, Y) CHECK((X) < (Y))
254 #define CHECK_GE(X, Y) CHECK((X) >= (Y))
255 #define CHECK_LE(X, Y) CHECK((X) <= (Y))
256 #define CHECK_NE(X, Y) CHECK((X) != (Y))
257 #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:__anon14700
68 TYPE -> TYPEDO -> STORED or TABLE or LEN_ or CHECK
77 CHECK -> LENGTH -> DONE

Completed in 7135 milliseconds

12