/external/v8/src/ |
D | safepoint-table.cc | 19 DCHECK(IsAligned(kNumSafepointRegisters, kBitsPerByte)); in HasRegisters() 32 int bit_index = reg_index & (kBitsPerByte - 1); in HasRegisterAt() 70 DCHECK(IsAligned(kNumSafepointRegisters, kBitsPerByte)); in PrintEntry() 73 for (int i = first; i < last; i++) PrintBits(os, bits[i], kBitsPerByte); in PrintEntry() 74 int last_bits = code_->stack_slots() - ((last - first) * kBitsPerByte); in PrintEntry() 90 DCHECK(digits >= 0 && digits <= kBitsPerByte); in PrintBits() 149 RoundUp(bits_per_entry, kBitsPerByte) >> kBitsPerByteLog2; in Emit() 172 DCHECK(IsAligned(kNumSafepointRegisters, kBitsPerByte)); in Emit() 183 int bit_index = index & (kBitsPerByte - 1); in Emit() 192 int bit_index = index & (kBitsPerByte - 1); in Emit()
|
D | assembler.cc | 337 const int kShortDataBits = kBitsPerByte - kShortDataTypeTagBits; 344 const int kSmallPCDeltaBits = kBitsPerByte - kTagBits; 410 number = number >> kBitsPerByte; in WriteIntData() 419 data_delta = data_delta >> kBitsPerByte; in WriteData() 547 x |= static_cast<int>(*--pos_) << i * kBitsPerByte; in AdvanceReadId() 557 x |= static_cast<int>(*--pos_) << i * kBitsPerByte; in AdvanceReadInt() 566 x |= static_cast<int>(*--pos_) << i * kBitsPerByte; in AdvanceReadPosition() 576 x |= static_cast<intptr_t>(*--pos_) << i * kBitsPerByte; in AdvanceReadData()
|
D | globals.h | 173 const int kBitsPerByte = 8; variable 175 const int kBitsPerPointer = kPointerSize * kBitsPerByte; 176 const int kBitsPerInt = kIntSize * kBitsPerByte;
|
D | property-details.h | 194 STATIC_ASSERT(kNumRepresentations <= (1 << kBitsPerByte));
|
D | utils.h | 1005 DCHECK((0 < n) && (n < (sizeof(x) * kBitsPerByte))); 1011 DCHECK((0 < n) && (n < (sizeof(x) * kBitsPerByte)));
|
D | objects.h | 7042 STATIC_ASSERT((kFunctionKind % kBitsPerByte) == 0); 7078 SharedFunctionInfo::kCompilerHintsSize * kBitsPerByte); 7096 static const int kStrictModeBitWithinByte = kStrictModeBit % kBitsPerByte; 7097 static const int kStrongModeBitWithinByte = kStrongModeBit % kBitsPerByte; 7098 static const int kNativeBitWithinByte = kNativeBit % kBitsPerByte; 7102 STATIC_ASSERT(kClassConstructorBitsWithinByte < (1 << kBitsPerByte)); 7107 (compiler_hint + kCompilerHintsSmiTagSize) / kBitsPerByte 7111 ((compiler_hint + kCompilerHintsSmiTagSize) / kBitsPerByte)
|
D | frames.cc | 696 int bit_index = index & (kBitsPerByte - 1); in IterateCompiledFrame()
|
/external/v8/src/interpreter/ |
D | constant-array-builder.h | 24 static const size_t kLowCapacity = 1u << kBitsPerByte; 27 static const size_t kMaxCapacity = 1u << (2 * kBitsPerByte);
|
/external/webrtc/webrtc/modules/desktop_capture/ |
D | window_capturer_x11.cc | 43 const int kBitsPerByte = 8; in XWindowProperty() local 55 if (sizeof(PropertyType) * kBitsPerByte != actual_format) { in XWindowProperty()
|
/external/v8/src/regexp/ |
D | interpreter-irregexp.cc | 294 (subject[pos] | (next << (kBitsPerByte * sizeof(Char)))); in RawMatch() 302 current_char = (subject[pos] | (next << (kBitsPerByte * sizeof(Char)))); in RawMatch() 442 int bit = (current_char & (kBitsPerByte - 1)); in RawMatch()
|
D | regexp-macro-assembler-irregexp.cc | 363 for (int i = 0; i < kTableSize; i += kBitsPerByte) { in CheckBitInTable() 365 for (int j = 0; j < kBitsPerByte; j++) { in CheckBitInTable()
|
/external/v8/src/compiler/ |
D | interpreter-assembler.cc | 206 return raw_assembler_->WordOr(WordShl(second_byte, kBitsPerByte), in BytecodeOperandShort() 209 return raw_assembler_->WordOr(WordShl(first_byte, kBitsPerByte), in BytecodeOperandShort() 246 hi_byte = raw_assembler_->Word32Shl(hi_byte, Int32Constant(kBitsPerByte)); in BytecodeOperandShortSignExtended()
|
/external/v8/test/unittests/compiler/ |
D | interpreter-assembler-unittest.cc | 131 return IsWordOr(IsWordShl(second_byte, IsInt32Constant(kBitsPerByte)), in IsBytecodeOperandShort() 134 return IsWordOr(IsWordShl(first_byte, IsInt32Constant(kBitsPerByte)), in IsBytecodeOperandShort() 168 hi_byte = IsWord32Shl(hi_byte, IsInt32Constant(kBitsPerByte)); in IsBytecodeOperandShortSignExtended()
|
/external/webrtc/webrtc/base/ |
D | x11windowpicker.cc | 34 const int kBitsPerByte = 8; in XWindowProperty() local 45 } else if (sizeof(PropertyType) * kBitsPerByte != actual_format) { in XWindowProperty()
|
/external/v8/src/x64/ |
D | macro-assembler-x64.cc | 1135 DCHECK(kSmiShift % kBitsPerByte == 0); in Integer32ToSmiField() 1136 movl(Operand(dst, kSmiShift / kBitsPerByte), src); in Integer32ToSmiField() 1174 movl(dst, Operand(src, kSmiShift / kBitsPerByte)); in SmiToInteger32() 1198 movsxlq(dst, Operand(src, kSmiShift / kBitsPerByte)); in SmiToInteger64() 1254 cmpl(Operand(dst, kSmiShift / kBitsPerByte), Immediate(src->value())); in SmiCompare() 1272 cmpl(Operand(dst, kSmiShift / kBitsPerByte), src); in SmiCompareInteger32() 1555 addl(Operand(dst, kSmiShift / kBitsPerByte), in SmiAddConstant() 2375 DCHECK_EQ(0, kSmiShift % kBitsPerByte); in AddSmiField() 2376 addl(dst, Operand(src, kSmiShift / kBitsPerByte)); in AddSmiField() 2400 shrp(src, Immediate(kPointerSize * kBitsPerByte - kSmiShift)); in PushRegisterAsTwoSmis() [all …]
|
/external/v8/src/x87/ |
D | macro-assembler-x87.cc | 1751 DCHECK(base::bits::IsPowerOfTwo32(kBitsPerByte)); in BooleanBitTest() 1752 int byte_index = bit_index / kBitsPerByte; in BooleanBitTest() 1753 int byte_bit_index = bit_index & (kBitsPerByte - 1); in BooleanBitTest() 2758 if (mask < (1 << kBitsPerByte)) { in CheckPageFlag() 2782 if (mask < (1 << kBitsPerByte)) { in CheckPageFlagForMap()
|
/external/v8/src/arm64/ |
D | assembler-arm64.h | 56 static const int kRegListSizeInBits = sizeof(RegList) * kBitsPerByte; 490 DCHECK((size_in_bits % kBitsPerByte) == 0); in RegisterSizeInBytes() 491 return size_in_bits / kBitsPerByte; in RegisterSizeInBytes()
|
D | assembler-arm64-inl.h | 58 DCHECK(static_cast<size_t>(reg_code) < (sizeof(RegList) * kBitsPerByte)); in Bit()
|
D | builtins-arm64.cc | 535 Map::kUnusedPropertyFieldsByte * kBitsPerByte, kBitsPerByte); in Generate_JSConstructStubHelper()
|
D | assembler-arm64.cc | 234 CountSetBits(unique_regs, sizeof(unique_regs) * kBitsPerByte); in AreAliased() 236 CountSetBits(unique_fpregs, sizeof(unique_fpregs) * kBitsPerByte); in AreAliased()
|
D | macro-assembler-arm64-inl.h | 36 return MemOperand(object, offset + (kSmiShift / kBitsPerByte)); in UntagSmiMemOperand()
|
/external/v8/src/ia32/ |
D | macro-assembler-ia32.cc | 1785 DCHECK(base::bits::IsPowerOfTwo32(kBitsPerByte)); in BooleanBitTest() 1786 int byte_index = bit_index / kBitsPerByte; in BooleanBitTest() 1787 int byte_bit_index = bit_index & (kBitsPerByte - 1); in BooleanBitTest() 2886 if (mask < (1 << kBitsPerByte)) { in CheckPageFlag() 2910 if (mask < (1 << kBitsPerByte)) { in CheckPageFlagForMap()
|
/external/v8/src/arm/ |
D | builtins-arm.cc | 526 __ Ubfx(r0, r0, Map::kUnusedPropertyFieldsByte * kBitsPerByte, in Generate_JSConstructStubHelper() 527 kBitsPerByte); in Generate_JSConstructStubHelper()
|
/external/v8/test/cctest/interpreter/ |
D | test-bytecode-generator.cc | 101 static_cast<uint8_t>(((x) >> kBitsPerByte) & 0xff) 103 static_cast<uint8_t>(((x++) >> kBitsPerByte) & 0xff) 105 #define U16(x) static_cast<uint8_t>(((x) >> kBitsPerByte) & 0xff), \ 107 #define U16I(x) static_cast<uint8_t>(((x) >> kBitsPerByte) & 0xff), \
|
/external/v8/src/heap/ |
D | spaces.h | 149 static const uint32_t kBytesPerCell = kBitsPerCell / kBitsPerByte;
|