/external/libffi/testsuite/libffi.call/ |
ffitest.h | 10 #define CHECK(x) !(x) ? abort() : 0
|
/external/libffi/testsuite/libffi.special/ |
ffitestcxx.h | 18 #define CHECK(x) (!(x) ? abort() : (void)0)
|
/external/webkit/Tools/DumpRenderTree/chromium/ |
config.h | 40 #define CHECK(condition) while (false && (condition)) std::cerr
|
/frameworks/ex/variablespeed/jni/ |
macros.h | 46 #define CHECK(x) { \
|
/external/clang/test/CodeGenCXX/ |
bitfield-layout.cpp | 1 // RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - -O3 | FileCheck -check-prefix LP64 %s 2 // RUN: %clang_cc1 %s -triple=i386-apple-darwin10 -emit-llvm -o - -O3 | FileCheck -check-prefix 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 { [2 x i8] } 21 #define CHECK(x) if (!(x)) return __LINE__ 36 CHECK(c.a == 0); 37 CHECK(c.b == (unsigned long long)-1); 38 CHECK(c.c == 0); 40 // CHECK-LP64: ret i32 [all...] |
empty-classes.cpp | 29 #define CHECK(x) if (!(x)) return __LINE__ 32 // CHECK: define i32 @_Z1fv() 36 // Check that A::a is not overwritten by the Empty default constructor. 37 CHECK(b1.a == 0xffffffff); 42 // Check that A::a has the value set in the C::C copy constructor. 43 CHECK(c2.a == 0x12345678); 48 // Check that A::as has the value set in the D copy assignment operator. 49 CHECK(d2.a == 0x87654321); 52 // CHECK: ret i32 0
|
/frameworks/av/include/media/stagefright/foundation/ |
ADebug.h | 32 #define CHECK(condition) \ 37 " CHECK(" #condition ") failed.")
|
/frameworks/wilhelm/tests/sandbox/ |
nativewindow.cpp | 31 #define CHECK assert 32 #define CHECK_EQ(a,b) CHECK((a)==(b)) 61 CHECK(control != NULL); 62 CHECK(control->isValid()); 70 CHECK(surface != NULL);
|
/packages/apps/Music/src/com/android/music/ |
ScanningProgress.java | 32 private final static int CHECK = 0; 37 if (msg.what == CHECK) { 56 Message next = obtainMessage(CHECK); 77 Message msg = mHandler.obtainMessage(CHECK); 83 mHandler.removeMessages(CHECK);
|
/external/openfst/src/include/fst/ |
log.h | 54 inline void CHECK(bool x) { assert(x); } 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/ |
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) 71 CHECK(!IsStarted()); 83 CHECK(IsStarted()); 119 CHECK(!IsStarted()); 131 CHECK(IsStarted());
|
/external/compiler-rt/lib/asan/ |
asan_thread_registry.cc | 48 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_); 135 CHECK(thread_summaries_[tid]);
|
asan_malloc_mac.cc | 66 // Fast path: check whether this pointer belongs to the original malloc zone. 77 CHECK(system_malloc_zone); 86 CHECK(system_malloc_zone); 102 CHECK(allocated < kCallocPoolSize); 111 CHECK(system_malloc_zone); 237 CHECK(system_malloc_zone); 247 // TODO(glider): check that |size| is valid. 321 asan_introspection.check = &mi_check; 376 CHECK(malloc_default_zone() == &asan_zone);
|
/external/valgrind/main/memcheck/tests/ |
unit_libcbase.c | 11 #define CHECK(x) \ 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_STREQ("abcd", "Abcd")) [all...] |
/ndk/tests/device/test-gabi++/jni/ |
test_gabixx_rtti.cpp | 45 #define CHECK(cond) \ 63 CHECK(typeid(int) == typeid(i)); 64 CHECK(typeid(int*) == typeid(pi)); 65 CHECK(typeid(int) == typeid(*pi)); 76 CHECK(typeid(derived) == typeid(Derived)); 77 CHECK(typeid(pbase) == typeid(Base*)); 78 CHECK(typeid(&derived) == typeid(Derived*)); 87 CHECK(typeid(polyderived) == typeid(Poly_Derived)); 88 CHECK(typeid(ppolybase) == typeid(Poly_Base*)); 89 CHECK(typeid(polyderived) == typeid(*ppolybase)) [all...] |
/ndk/tests/device/test-stlport-rtti/jni/ |
test_stlport_rtti.cpp | 45 #define CHECK(cond) \ 63 CHECK(typeid(int) == typeid(i)); 64 CHECK(typeid(int*) == typeid(pi)); 65 CHECK(typeid(int) == typeid(*pi)); 76 CHECK(typeid(derived) == typeid(Derived)); 77 CHECK(typeid(pbase) == typeid(Base*)); 78 CHECK(typeid(&derived) == typeid(Derived*)); 87 CHECK(typeid(polyderived) == typeid(Poly_Derived)); 88 CHECK(typeid(ppolybase) == typeid(Poly_Base*)); 89 CHECK(typeid(polyderived) == typeid(*ppolybase)) [all...] |
/external/regex-re2/util/ |
logging.h | 23 #define CHECK(x) if(x){}else LogMessageFatal(__FILE__, __LINE__).stream() << "Check failed: " #x 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/ |
bmpdecoderhelper.h | 20 #define CHECK(predicate) SkASSERT(predicate)
|
/external/v8/src/ |
checks.h | 54 // The CHECK macro checks that the given condition is true; if not, it 56 #define CHECK(condition) do { \ 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((a) <= (b) [all...] |
/external/chromium/chrome/browser/chromeos/login/ |
signed_settings_helper.cc | 35 CHECK(op_.get()); 105 CHECK, 124 case CHECK: 145 case CHECK: 349 WhitelistOpContext::CHECK, 410 CHECK(context);
|
/external/clang/test/Sema/ |
compare.c | 295 #define CHECK(x) (x >= X) 297 if (CHECK(v)) // no-warning 306 #undef CHECK
|
/external/icu4c/test/intltest/ |
incaltst.cpp | 19 #define CHECK(status, msg) \ 132 CHECK(status, "creating '" + UnicodeString(locs[j]) + "' calendar"); 219 CHECK(status, "err during quasiGregorianTest()"); 238 CHECK(status, UnicodeString("Creating de_CH calendar")); 239 // Sanity check the calendar 247 // end sanity check 290 CHECK(status, UnicodeString("Creating th_TH@calendar=buddhist calendar")); 292 // Sanity check the calendar 300 // end sanity check 341 CHECK(status, UnicodeString("Creating en_US@calendar=roc calendar")) [all...] |
/external/mesa3d/src/mesa/main/ |
compiler.h | 313 #ifdef CHECK 314 #undef CHECK
|
/external/qemu/distrib/zlib-1.2.3/ |
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
|
/external/stlport/test/unit/ |
num_put_get_test.cpp | 622 #define CHECK(type, val, base, expected) \ 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(int, 12345678, oct, "57060516" [all...] |