/libcore/include/ |
StaticAssert.h | 21 * Similar to C++0x's static_assert. Message argument must be a valid identifier, not a string. 25 #define STATIC_ASSERT(exp, msg) typedef StaticAssert<(bool(exp))> msg[bool(exp) ? 1 : -1]
|
/external/v8/src/ |
preparse-data.cc | 69 STATIC_ASSERT(PreparseDataConstants::kMessageStartPos == 0); 71 STATIC_ASSERT(PreparseDataConstants::kMessageEndPos == 1); 73 STATIC_ASSERT(PreparseDataConstants::kMessageArgCountPos == 2); 75 STATIC_ASSERT(PreparseDataConstants::kMessageTextPos == 3);
|
small-pointer-list.h | 168 STATIC_ASSERT(kTagMask + 1 <= kPointerAlignment); 172 STATIC_ASSERT(kSingletonTag == 0);
|
scanner.h | 59 STATIC_ASSERT((kLanguageModeMask & CLASSIC_MODE) == CLASSIC_MODE); 60 STATIC_ASSERT((kLanguageModeMask & STRICT_MODE) == STRICT_MODE); 61 STATIC_ASSERT((kLanguageModeMask & EXTENDED_MODE) == EXTENDED_MODE); 450 STATIC_ASSERT(kCharacterLookaheadBufferSize == 1);
|
hashmap.h | 299 STATIC_ASSERT(sizeof(Key*) == sizeof(void*)); // NOLINT 300 STATIC_ASSERT(sizeof(Value*) == sizeof(void*)); // NOLINT
|
objects-visiting.h | 118 STATIC_ASSERT(kVisitorIdCount <= 256); 188 STATIC_ASSERT(
|
atomicops_internals_x86_msvc.h | 121 STATIC_ASSERT(sizeof(Atomic64) == sizeof(PVOID));
|
v8utils.h | 125 STATIC_ASSERT(sizeof(T) == kPointerSize);
|
/external/v8/src/x64/ |
codegen-x64.cc | 296 STATIC_ASSERT(FixedDoubleArray::kLengthOffset == FixedArray::kLengthOffset); 297 STATIC_ASSERT(FixedDoubleArray::kHeaderSize == FixedArray::kHeaderSize); 522 STATIC_ASSERT(kSeqStringTag == 0); 539 STATIC_ASSERT(kTwoByteStringTag == 0); 554 STATIC_ASSERT((kStringEncodingMask & kAsciiStringTag) != 0); 555 STATIC_ASSERT((kStringEncodingMask & kTwoByteStringTag) == 0); 561 STATIC_ASSERT(kSmiTag == 0 && kSmiTagSize == 1);
|
code-stubs-x64.cc | [all...] |
macro-assembler-x64.cc | 958 STATIC_ASSERT(kSmiTag == 0); 996 STATIC_ASSERT(kSmiTag == 0); 1010 STATIC_ASSERT(kSmiTag == 0); [all...] |
/external/v8/src/ia32/ |
code-stubs-ia32.cc | 308 STATIC_ASSERT(kPointerSize == 4); 309 STATIC_ASSERT(kSmiTagSize == 1); 310 STATIC_ASSERT(kSmiTag == 0); 384 STATIC_ASSERT(kPointerSize == 4); 385 STATIC_ASSERT(kSmiTagSize == 1); 386 STATIC_ASSERT(kSmiTag == 0); [all...] |
macro-assembler-ia32.cc | 385 STATIC_ASSERT(FAST_SMI_ONLY_ELEMENTS == 0); 386 STATIC_ASSERT(FAST_ELEMENTS == 1); 396 STATIC_ASSERT(FAST_SMI_ONLY_ELEMENTS == 0); 397 STATIC_ASSERT(FAST_ELEMENTS == 1); 410 STATIC_ASSERT(FAST_SMI_ONLY_ELEMENTS == 0); 555 STATIC_ASSERT(kNotStringTag != 0); 770 STATIC_ASSERT(StackHandlerConstants::kSize == 5 * kPointerSize); 771 STATIC_ASSERT(StackHandlerConstants::kNextOffset == 0); 772 STATIC_ASSERT(StackHandlerConstants::kCodeOffset == 1 * kPointerSize); 773 STATIC_ASSERT(StackHandlerConstants::kStateOffset == 2 * kPointerSize) [all...] |
macro-assembler-ia32.h | 436 STATIC_ASSERT(kSmiTag == 0); 437 STATIC_ASSERT(kSmiTagSize == 1); 446 STATIC_ASSERT(kSmiTagSize == 1); 448 STATIC_ASSERT(kSmiTag == 0); [all...] |
/external/v8/src/arm/ |
macro-assembler-arm.cc | [all...] |
builtins-arm.cc | 116 STATIC_ASSERT(initial_capacity >= 0); 165 STATIC_ASSERT(0 * kPointerSize == FixedArray::kMapOffset); 168 STATIC_ASSERT(1 * kPointerSize == FixedArray::kLengthOffset); 172 STATIC_ASSERT(2 * kPointerSize == FixedArray::kHeaderSize); 220 STATIC_ASSERT(kSmiTagSize == 1 && kSmiTag == 0); 255 STATIC_ASSERT(kSmiTag == 0); 267 STATIC_ASSERT(kSmiTag == 0); 276 STATIC_ASSERT(kSmiTag == 0 && kSmiTagSize < kPointerSizeLog2); 342 STATIC_ASSERT(kSmiTag == 0); 356 STATIC_ASSERT(kSmiTag == 0) [all...] |
code-stubs-arm.cc | 471 STATIC_ASSERT(HeapNumber::kSignMask == 0x80000000u); [all...] |
codegen-arm.cc | 395 STATIC_ASSERT(kSeqStringTag == 0); 400 STATIC_ASSERT(SeqTwoByteString::kHeaderSize == SeqAsciiString::kHeaderSize); 422 STATIC_ASSERT(kTwoByteStringTag == 0);
|
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/cp/ |
cp-tree.def | 357 DEFTREECODE (STATIC_ASSERT, "static_assert", tcc_exceptional, 0)
|
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/cp/ |
cp-tree.def | 357 DEFTREECODE (STATIC_ASSERT, "static_assert", tcc_exceptional, 0)
|
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/cp/ |
cp-tree.def | 357 DEFTREECODE (STATIC_ASSERT, "static_assert", tcc_exceptional, 0)
|
/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/cp/ |
cp-tree.def | 357 DEFTREECODE (STATIC_ASSERT, "static_assert", tcc_exceptional, 0)
|
/external/v8/src/mips/ |
code-stubs-mips.cc | 472 STATIC_ASSERT(HeapNumber::kSignMask == 0x80000000u); [all...] |
builtins-mips.cc | 120 STATIC_ASSERT(initial_capacity >= 0); 168 STATIC_ASSERT(0 * kPointerSize == FixedArray::kMapOffset); 172 STATIC_ASSERT(1 * kPointerSize == FixedArray::kLengthOffset); 177 STATIC_ASSERT(2 * kPointerSize == FixedArray::kHeaderSize); 226 STATIC_ASSERT(kSmiTagSize == 1 && kSmiTag == 0); 276 STATIC_ASSERT(kSmiTag == 0); 286 STATIC_ASSERT(kSmiTag == 0 && kSmiTagSize < kPointerSizeLog2); 350 STATIC_ASSERT(kSmiTag == 0); 363 STATIC_ASSERT(kSmiTag == 0); 662 STATIC_ASSERT(JSValue::kSize == 4 * kPointerSize) [all...] |
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
bcmdefs.h | 37 #define STATIC_ASSERT(expr) { \
|