/external/clang/test/Analysis/ |
bitwise-ops.c | 4 #define CHECK(expr) if (!(expr)) return; clang_analyzer_eval(expr) 7 // Sanity check 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}}
|
traversal-path-unification.c | 9 #define CHECK(x) ((x) & 1) 11 #define CHECK(x) (x) 16 if (CHECK(i)) 27 // CHECK: --END FUNCTION-- 28 // CHECK-NOT: --END FUNCTION--
|
/ndk/tests/device/test-cpufeatures/jni/ |
test_cpufeatures.c | 40 #define CHECK(name) \ 44 CHECK(LDREX_STREX) 45 CHECK(VFPv2) 46 CHECK(ARMv7) 47 CHECK(VFPv3) 48 CHECK(VFP_D32) 49 CHECK(VFP_FP16) 50 CHECK(VFP_FMA) 51 CHECK(NEON) 52 CHECK(NEON_FMA [all...] |
/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)) 60 CHECK(control != NULL); 61 CHECK(control->isValid()); 69 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/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/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...] |
/ndk/tests/device/test-stlport_shared-exception/jni/ |
new1_3.cpp | 3 // Purpose: Check the lifetime of the temporaries. 50 #define CHECK(cond) if(!(cond))throw line_error(__LINE__); 59 CHECK(false); //no copy constructors in this code 93 CHECK(new_done==1); 94 CHECK(ctor_done==2); 95 CHECK(func_done==3); 96 CHECK(dtor_done==4); 97 CHECK(delete_done==0); 99 CHECK(ctor_done==1); 100 CHECK(new_done==2) [all...] |
/ndk/tests/device/test-stlport_static-exception/jni/ |
new1_3.cpp | 3 // Purpose: Check the lifetime of the temporaries. 50 #define CHECK(cond) if(!(cond))throw line_error(__LINE__); 59 CHECK(false); //no copy constructors in this code 93 CHECK(new_done==1); 94 CHECK(ctor_done==2); 95 CHECK(func_done==3); 96 CHECK(dtor_done==4); 97 CHECK(delete_done==0); 99 CHECK(ctor_done==1); 100 CHECK(new_done==2) [all...] |
/external/compiler-rt/lib/asan/ |
asan_malloc_mac.cc | 133 CHECK(memptr); 153 CHECK(system_malloc_zone); 169 CHECK(allocated < kCallocPoolSize); 178 CHECK(system_malloc_zone); 236 CHECK(system_malloc_zone); 246 // TODO(glider): check that |size| is valid. 288 CHECK(sizeof(malloc_statistics_t) == sizeof(AsanMallocStats)); 311 asan_introspection.check = &mi_check;
|
/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/legacy/src/images/ |
bmpdecoderhelper.h | 20 #define CHECK(predicate) SkASSERT(predicate)
|
/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...] |