/external/clang/test/Sema/ |
compare.c | 295 #define CHECK(x) (x >= X) 297 if (CHECK(v)) // no-warning 306 #undef CHECK
|
/external/cn-cbor/src/ |
cn-encoder.c | 220 #define CHECK(st) (st); \ 233 CHECK(_write_positive(ws, CN_CBOR_ARRAY, cb->length)); 240 CHECK(_write_positive(ws, CN_CBOR_MAP, cb->length/2)); 250 CHECK(_write_positive(ws, cb->type, cb->length)); 266 CHECK(_write_positive(ws, cb->type, cb->v.uint)); 271 CHECK(_write_positive(ws, CN_CBOR_INT, ~(cb->v.sint))); 276 CHECK(_write_double(ws, cb->v.dbl));
|
/external/dhcpcd-6.8.2/ |
arp.c | 75 #define CHECK(fun, b, l) \ 83 #define APPEND(b, l) CHECK(memcpy, b, l) 84 #define ZERO(l) CHECK(memset, 0, l)
|
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_test/ |
cpuset_memory_test.c | 55 static int opt_check; /* check node when munmap memory (only for mmap_anon()) */ 69 #define CHECK (SCHAR_MAX + 7) 79 {"check", 0, NULL, CHECK}, 126 case CHECK:
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
r200_state_init.c | 217 * Check functions are used to check if state is active. 218 * If it is active check function returns maximum emit size. 220 #define CHECK( NM, FLAG, ADD ) \ 250 CHECK( always, GL_TRUE, 0 ) 251 CHECK( always_add4, GL_TRUE, 4 ) 252 CHECK( never, GL_FALSE, 0 ) 253 CHECK( tex_any, ctx->Texture._MaxEnabledTexImageUnit != -1, 0 ) 254 CHECK( tf, (ctx->Texture._MaxEnabledTexImageUnit != -1 && !ctx->ATIFragmentShader._Enabled), 0 ); 255 CHECK( pix_zero, !ctx->ATIFragmentShader._Enabled, 0 [all...] |
/external/python/cpython2/Modules/_ctypes/ |
callbacks.c | 294 #define CHECK(what, x) \ 316 CHECK("'calling callback function'", result); 341 CHECK("'converting callback result'", keep);
|
/external/python/cpython3/Modules/_ctypes/ |
callbacks.c | 213 #define CHECK(what, x) \ 235 CHECK("'calling callback function'", result); 260 CHECK("'converting callback result'", keep);
|
/external/tensorflow/tensorflow/core/platform/default/ |
logging.h | 93 // CHECK dies with a fatal error if condition is not true. It is *not* 94 // controlled by NDEBUG, so the check will be executed regardless of 96 // CHECK(fp->Write(x) == 4) 97 #define CHECK(condition) \ 99 LOG(FATAL) << "Check failed: " #condition " " 103 // CHECK* macros. It's not encouraged though. 231 TF_DEFINE_CHECK_OP_IMPL(Check_NE, !=) // Use CHECK(x == NULL) instead. 263 #define DCHECK(condition) CHECK(condition) 292 // These are for when you don't want a CHECK failure to print a verbose 293 // stack trace. The implementation of CHECK* in this file already doesn't [all...] |
/prebuilts/go/darwin-x86/src/runtime/ |
asm_s390x.s | 141 BL runtime·check(SB) 842 #define CHECK(n) \ 847 CHECK(0) 848 CHECK(1) 849 CHECK(2) 850 CHECK(3) [all...] |
/prebuilts/go/linux-x86/src/runtime/ |
asm_s390x.s | 141 BL runtime·check(SB) 842 #define CHECK(n) \ 847 CHECK(0) 848 CHECK(1) 849 CHECK(2) 850 CHECK(3) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/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
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/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 87 bit 2 true to validate check value */ 91 unsigned long check; /* protected copy of check value * member in struct:inflate_state [all...] |
/external/autotest/client/site_tests/camera_V4L2/src/ |
media_v4l2_device.cc | 14 #define CHECK(a) assert(a) 373 CHECK(buf.index < num_buffers_); 376 // CHECK(buf.field == V4L2_FIELD_NONE); // progressive only. 395 CHECK(buf.index < num_buffers_); 1006 CHECK(res == 0);
|
/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-LABEL: 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/icu/icu4c/source/test/intltest/ |
incaltst.cpp | 21 #define CHECK(status, msg) \ 131 CHECK(status, "creating '" + UnicodeString(locs[j]) + "' calendar"); 218 CHECK(status, "err during quasiGregorianTest()"); 237 CHECK(status, UnicodeString("Creating de_CH calendar")); 238 // Sanity check the calendar 246 // end sanity check 289 CHECK(status, UnicodeString("Creating th_TH@calendar=buddhist calendar")); 291 // Sanity check the calendar 299 // end sanity check 340 CHECK(status, UnicodeString("Creating en_US@calendar=roc calendar")) [all...] |
/external/pcre/pcrecpp/ |
pcrecpp_unittest.cc | 55 // CHECK dies with a fatal error if condition is not true. It is *not* 56 // controlled by NDEBUG, so the check will be executed regardless of 59 #define CHECK(condition) do { \ 61 fprintf(stderr, "%s:%d: Check failed: %s\n", \ 67 #define CHECK_EQ(a, b) CHECK(a == b) 74 CHECK(pattern.FullMatch(p)); 83 CHECK(pattern.FullMatch("ruby:1234", &i)); 107 // Check for memory leaks 122 CHECK(growth < 0.02); // Allow < 2% growth 133 CHECK(RE("([0-9a-fA-F]+)[uUlL]*").FullMatch(#value, Hex(&v))); [all...] |
/external/python/cpython2/Modules/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/python/cpython3/Modules/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 87 bit 2 true to validate check value */ 91 unsigned long check; /* protected copy of check value * member in struct:inflate_state [all...] |
/external/syslinux/com32/lib/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/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 87 bit 2 true to validate check value */ 91 unsigned long check; /* protected copy of check value * member in struct:inflate_state [all...] |
/packages/apps/Email/provider_src/com/android/email/mail/store/imap/ |
ImapConstants.java | 43 public static final String CHECK = "CHECK";
|
/system/core/base/include/android-base/ |
logging.h | 52 // CHECK(must_be_true); 214 // 1) This will not check whether the severity is high enough. One should use WOULD_LOG to filter 261 // Check whether condition x holds and LOG(FATAL) if not. The value of the 265 // CHECK(false == true) results in a log message of 266 // "Check failed: false == true". 267 #define CHECK(x) \ 272 << "Check failed: " #x << " " 284 << "Check failed: " << #LHS << " " << #OP << " " << #RHS << " (" #LHS "=" << _values.lhs \ 288 // Check whether a condition holds between x and y, LOG(FATAL) if not. The value 293 // "Check failed: false != false (0==1=false, false=false) " [all...] |
/toolchain/binutils/binutils-2.27/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/autotest/client/site_tests/graphics_Gbm/src/ |
gbmtest.c | 28 #define CHECK(cond) do {\ 30 printf("CHECK failed in %s() %s:%d\n", __func__, __FILE__, __LINE__);\ 200 CHECK(bo); 201 CHECK(gbm_bo_get_width(bo) >= 0); 202 CHECK(gbm_bo_get_height(bo) >= 0); 203 CHECK(gbm_bo_get_stride(bo) >= gbm_bo_get_width(bo)); 209 CHECK(i < ARRAY_SIZE(format_list)); 213 CHECK(num_planes == 2); 215 CHECK(num_planes == 3); 217 CHECK(num_planes == 1) [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_internal_defs.h | 204 // Check macro 224 #define CHECK(a) CHECK_IMPL((a), !=, 0) 233 #define DCHECK(a) CHECK(a) 251 CHECK(0 && msg); \
|