/ndk/tests/device/test-gnustl-full/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...] |
/ndk/tests/device/test-stlport/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...] |
/art/runtime/base/ |
logging.h | 29 #define CHECK(x) \ 32 << "Check failed: " #x << " " 38 << "Check failed: " << #LHS << " " << #OP << " " << #RHS \ 50 LOG(FATAL) << "Check failed: " \ 69 #define DCHECK(x) CHECK(x) 83 CHECK(condition)
|
/external/ceres-solver/internal/ceres/miniglog/glog/ |
logging.h | 15 // of stack trace information upon failure of the CHECK macros. 41 // CHECK macros are defined to test for conditions within code. Any CHECK 44 // "Check failed 3 >= 4". 45 // The following CHECK macros are defined : 47 // CHECK(condition) - fails if condition is false and logs condition. 50 // The following binary check macros are also defined : 60 // Debug only versions of all of the check macros are also defined. These 63 // To use the debug only versions, Prepend a D to the normal check macros. 293 // ---------------------------- CHECK helpers ------------------------------- [all...] |
/external/chromium_org/third_party/zlib/ |
inflate.h | 30 DICTID, /* i: waiting for dictionary check value */ 33 TYPEDO, /* i: same, but skip check to exit inflate on new block */ 47 CHECK, /* i: waiting for 32-bit check value */ 49 DONE, /* finished check, done -- remain here until reset */ 68 TYPE -> TYPEDO -> STORED or TABLE or LEN_ or CHECK 77 CHECK -> LENGTH -> DONE 88 unsigned long check; /* protected copy of check value */ member in struct:inflate_state
|
/external/clang/test/CodeGenCXX/ |
rtti-layout.cpp | 91 #define CHECK(x) if (!(x)) return __LINE__ 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(to<__vmi_class_type_info>(typeid(VMI5)).__base_count == 2) [all...] |
/external/compiler-rt/lib/msandr/ |
msandr.cc | 54 dr_printf("Check failed: `%s`\nat %s:%d\n", #condition, file, line); \ 59 #define CHECK(condition) CHECK_IMPL(condition, __FILE__, __LINE__) 99 // We'll check the black/white lists later and adjust this. 112 CHECK(callback); 122 CHECK(app); 159 CHECK(instr_ok_to_mangle(instr) == true); 218 CHECK(reg_is_pointer_sized(R1)); // otherwise R2 may be wrong. 232 CHECK(unused_registers.size() > 0); 234 CHECK(R1 != R2); 242 CHECK(drutil_insert_get_mem_addr(drcontext, bb, instr, op, R1, R2)) [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_internal_defs.h | 186 // Check macro 206 #define CHECK(a) CHECK_IMPL((a), !=, 0) 215 #define DCHECK(a) CHECK(a) 233 CHECK(0 && msg); \
|
/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...] |
caltest.cpp | 404 // Later: Check for lenient behavior [all...] |
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
compat.h | 234 #define CHECK(x) assert(x)
|
/external/zlib/src/ |
inflate.h | 30 DICTID, /* i: waiting for dictionary check value */ 33 TYPEDO, /* i: same, but skip check to exit inflate on new block */ 47 CHECK, /* i: waiting for 32-bit check value */ 49 DONE, /* finished check, done -- remain here until reset */ 68 TYPE -> TYPEDO -> STORED or TABLE or LEN_ or CHECK 77 CHECK -> LENGTH -> DONE 88 unsigned long check; /* protected copy of check value */ member in struct:inflate_state
|
/packages/apps/Email/src/com/android/email/mail/store/imap/ |
ImapConstants.java | 42 public static final String CHECK = "CHECK";
|
/external/chromium_org/chrome/renderer/resources/extensions/ |
json_schema.js | 42 var CHECK = requireNative('logging').CHECK; 185 CHECK(type, 'Could not find type ' + ref); 345 // check prevents such additions from being interpreted as required 364 // If "instanceof" property is set, check that this object inherits from 371 // Exit early from additional property check if "type":"any" is defined. 479 // Check for integer values outside of -2^31..2^31-1.
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
cnmdptst.c | 34 #define CHECK(status,str) if (U_FAILURE(status)) { log_err("FAIL: %s\n", str); return; } [all...] |
/external/icu4c/test/cintltst/ |
cnmdptst.c | 34 #define CHECK(status,str) if (U_FAILURE(status)) { log_err("FAIL: %s\n", str); return; } [all...] |
/external/chromium/base/ |
logging.h | 58 // The CHECK(condition) macro is active in both debug and release builds and 257 // Sets the Log Assert Handler that will be used to notify of check failures. 264 // Sets the Log Report Handler that will be used to notify of check failures 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* 445 // controlled by NDEBUG, so the check will be executed regardless of 448 // We make sure CHECK et al. always evaluates their arguments, as 449 // doing CHECK(FunctionWithSideEffect()) is a common idiom. 450 #define CHECK(condition) \ 452 << "Check failed: " #condition ". [all...] |
/external/chromium_org/base/ |
logging.h | 59 // The CHECK(condition) macro is active in both debug and release builds and 284 // Sets the Log Assert Handler that will be used to notify of check failures. 291 // Sets the Log Report Handler that will be used to notify of check failures 371 // in debug mode. In particular, CHECK()s will always fire if they 490 // CHECK dies with a fatal error if condition is not true. It is *not* 491 // controlled by NDEBUG, so the check will be executed regardless of 494 // We make sure CHECK et al. always evaluates their arguments, as 495 // doing CHECK(FunctionWithSideEffect()) is a common idiom. 499 // Make all CHECK functions discard their log strings to reduce code 505 #define CHECK(condition) [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
caltest.cpp | 354 // Later: Check for lenient behavior [all...] |
/external/valgrind/main/drd/tests/ |
tsan_thread_wrappers_pthread.h | 76 #define CHECK assert 113 CHECK(0 == pthread_spin_init(&mu_, 0)); 118 CHECK(0 == pthread_spin_destroy(&mu_)); 121 CHECK(0 == pthread_spin_lock(&mu_)); 126 CHECK(0 == pthread_spin_unlock(&mu_)); 193 CHECK(0 == pthread_mutex_init(&mu_, NULL)); 194 CHECK(0 == pthread_cond_init(&cv_, NULL)); 199 CHECK(0 == pthread_cond_destroy(&cv_)); 200 CHECK(0 == pthread_mutex_destroy(&mu_)); 202 void Lock() { CHECK(0 == pthread_mutex_lock(&mu_)); [all...] |
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/ |
test_tools.hpp | 73 // CT - check type 110 #define BOOST_CHECK( P ) BOOST_CHECK_IMPL( (P), BOOST_TEST_STRINGIZE( P ), CHECK, CHECK_PRED ) 116 #define BOOST_CHECK_MESSAGE( P, M ) BOOST_CHECK_IMPL( (P), M, CHECK, CHECK_MSG ) 140 #define BOOST_CHECK_THROW( S, E ) BOOST_CHECK_THROW_IMPL( S, E, true, "exception ", CHECK ) 146 #define BOOST_CHECK_EXCEPTION( S, E, P ) BOOST_CHECK_THROW_IMPL( S, E, P( ex ), "incorrect exception ", CHECK ) 161 #define BOOST_CHECK_NO_THROW( S ) BOOST_CHECK_NO_THROW_IMPL( S, CHECK ) 169 BOOST_CHECK_WITH_ARGS_IMPL( ::boost::test_tools::tt_detail::equal_impl_frwd(), "", CHECK, CHECK_EQUAL, (L)(R) ) 178 BOOST_CHECK_WITH_ARGS_IMPL( ::boost::test_tools::tt_detail::ne_impl(), "", CHECK, CHECK_NE, (L)(R) ) 187 BOOST_CHECK_WITH_ARGS_IMPL( ::boost::test_tools::tt_detail::lt_impl(), "", CHECK, CHECK_LT, (L)(R) ) 196 BOOST_CHECK_WITH_ARGS_IMPL( ::boost::test_tools::tt_detail::le_impl(), "", CHECK, CHECK_LE, (L)(R) [all...] |
/external/chromium_org/third_party/cld/base/ |
logging.h | 406 // CHECK dies with a fatal error if condition is not true. It is *not* 407 // controlled by NDEBUG, so the check will be executed regardless of 409 // CHECK(fp->Write(x) == 4) 410 #define CHECK(condition) \ 412 << "Check failed: " #condition " " 414 // QCHECK is a quiet version of CHECK. It has all of the same properties, 421 << "Check failed: " #condition " " 435 // CHECK* macros. It's not encouraged though. 466 inline string* Check##name##Impl(const t1& v1, const t2& v2, \ 471 inline string* Check##name##Impl(int v1, int v2, const char* names) { [all...] |
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/java/jni/ |
peerconnection_jni.cc | 113 #define CHECK(x, msg) \ 124 CHECK(0, msg); \ 137 CHECK(!count, "Unexpected refcount"); \ 150 CHECK(snprintf(buf, sizeof(buf), "%llu", syscall(__NR_gettid)) <= sizeof(buf), 158 CHECK(prctl(PR_GET_NAME, name) == 0, "prctl(PR_GET_NAME) failed"); 165 CHECK(status == JNI_OK, "Failed to detach thread: " << status); 169 CHECK(!pthread_key_create(&g_jni_ptr, &ThreadDestructor), 175 CHECK(!pthread_once(&g_jni_ptr_once, &CreateJNIPtrKey), 189 CHECK(!g_jvm->AttachCurrentThread(&env, &args), "Failed to attach thread"); 191 CHECK(env, "AttachCurrentThread handed back NULL!") [all...] |
/external/iptables/libiptc/ |
libiptc.c | 200 #define CHECK(h) do { if (!getenv("IPTC_NO_CHECK")) do_check((h), __LINE__); } while(0) 202 #define CHECK(h) 346 /* Check for empty array, e.g. no user defined chains */ [all...] |
/external/qemu/distrib/libpng-1.2.19/ |
pngconf.h | 133 * libpng thus makes sure to check any memory allocation to verify it 368 /* We need to check that <math.h> hasn't already been included earlier [all...] |