Home
last modified time | relevance | path

Searched refs:kBitsPerByte (Results 1 – 25 of 34) sorted by relevance

12

/external/v8/src/
Dsafepoint-table.cc19 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()
Dassembler.cc290 const int kShortDataBits = kBitsPerByte - kShortDataTypeTagBits;
297 const int kSmallPCDeltaBits = kBitsPerByte - kTagBits;
426 number = number >> kBitsPerByte; in WriteIntData()
435 data_delta = data_delta >> kBitsPerByte; in WriteData()
517 x |= static_cast<int>(*--pos_) << i * kBitsPerByte; in AdvanceReadId()
527 x |= static_cast<int>(*--pos_) << i * kBitsPerByte; in AdvanceReadInt()
536 x |= static_cast<intptr_t>(*--pos_) << i * kBitsPerByte; in AdvanceReadData()
Dglobals.h234 const int kBitsPerByte = 8; variable
236 const int kBitsPerPointer = kPointerSize * kBitsPerByte;
237 const int kBitsPerInt = kIntSize * kBitsPerByte;
Dsource-position-table.cc53 static const int kShift = sizeof(T) * kBitsPerByte - 1; in EncodeInt()
Dmachine-type.h40 kIntSize * kBitsPerByte,
Dproperty-details.h193 STATIC_ASSERT(kNumRepresentations <= (1 << kBitsPerByte));
Dutils.h846 DCHECK((0 < n) && (n < (sizeof(x) * kBitsPerByte)));
852 DCHECK((0 < n) && (n < (sizeof(x) * kBitsPerByte)));
/external/vixl/src/aarch64/
Dabi-aarch64.h108 return GenericOperand(FPRegister(NSRN_++, size * kBitsPerByte)); in GetNextParameterGenericOperand()
122 return GenericOperand(Register(NGRN_++, operand_size * kBitsPerByte)); in GetNextParameterGenericOperand()
/external/v8/src/arm/
Ddisasm-arm.cc1873 int size = kBitsPerByte * (1 << instr->Bits(21, 20)); in DecodeSpecialCondition()
1907 int size = kBitsPerByte * (1 << instr->Bits(21, 20)); in DecodeSpecialCondition()
1918 int size = kBitsPerByte * (1 << instr->Bits(21, 20)); in DecodeSpecialCondition()
1927 int size = kBitsPerByte * (1 << instr->Bits(21, 20)); in DecodeSpecialCondition()
1937 int size = kBitsPerByte * (1 << instr->Bits(21, 20)); in DecodeSpecialCondition()
1946 int size = kBitsPerByte * (1 << instr->Bits(21, 20)); in DecodeSpecialCondition()
2058 int size = kBitsPerByte * (1 << instr->Bits(21, 20)); in DecodeSpecialCondition()
2090 int size = kBitsPerByte * (1 << instr->Bits(21, 20)); in DecodeSpecialCondition()
2101 int size = kBitsPerByte * (1 << instr->Bits(21, 20)); in DecodeSpecialCondition()
2110 int size = kBitsPerByte * (1 << instr->Bits(21, 20)); in DecodeSpecialCondition()
[all …]
Dsimulator-arm.cc3449 int shift = i * kBitsPerByte; in DecodeTypeVFP()
3457 int shift = i * kBitsPerByte * kShortSize; in DecodeTypeVFP()
3526 int shift = i * kBitsPerByte; in DecodeTypeVFP()
3533 int shift = i * kBitsPerByte * kShortSize; in DecodeTypeVFP()
4959 int shift = i * kBitsPerByte; in DecodeSpecialCondition()
4965 ((table >> ((index % kDoubleSize) * kBitsPerByte)) & 0xFF) in DecodeSpecialCondition()
/external/v8/src/interpreter/
Dconstant-array-builder.h36 static const size_t k8BitCapacity = 1u << kBitsPerByte;
39 static const size_t k16BitCapacity = (1u << 2 * kBitsPerByte) - k8BitCapacity;
Dmkpeephole.cc360 size_t top_bits = result >> (kBitsPerByte * sizeof(size_t) - kHashShift); in HashRow()
Dinterpreter-assembler.cc311 Node* shift = Int32Constant(i * kBitsPerByte); in BytecodeOperandReadUnaligned()
1134 base_index = IntPtrConstant(1 << kBitsPerByte); in DispatchWide()
1137 base_index = IntPtrConstant(2 << kBitsPerByte); in DispatchWide()
/external/vixl/src/
Dutils-vixl.h479 typename Unsigned<sizeof(T) * kBitsPerByte>::type alignment) { in AlignUp()
484 typename Unsigned<sizeof(T)* kBitsPerByte>::type pointer_raw = in AlignUp()
485 (typename Unsigned<sizeof(T) * kBitsPerByte>::type)pointer; in AlignUp()
499 typename Unsigned<sizeof(T) * kBitsPerByte>::type alignment) { in AlignDown()
504 typename Unsigned<sizeof(T)* kBitsPerByte>::type pointer_raw = in AlignDown()
505 (typename Unsigned<sizeof(T) * kBitsPerByte>::type)pointer; in AlignDown()
Dglobals-vixl.h72 const int kBitsPerByte = 8; variable
/external/webrtc/webrtc/modules/desktop_capture/
Dwindow_capturer_x11.cc43 const int kBitsPerByte = 8; in XWindowProperty() local
55 if (sizeof(PropertyType) * kBitsPerByte != actual_format) { in XWindowProperty()
/external/v8/src/regexp/
Dinterpreter-irregexp.cc291 (subject[pos] | (next << (kBitsPerByte * sizeof(Char)))); in RawMatch()
299 current_char = (subject[pos] | (next << (kBitsPerByte * sizeof(Char)))); in RawMatch()
439 int bit = (current_char & (kBitsPerByte - 1)); in RawMatch()
Dregexp-macro-assembler-irregexp.cc363 for (int i = 0; i < kTableSize; i += kBitsPerByte) { in CheckBitInTable()
365 for (int j = 0; j < kBitsPerByte; j++) { in CheckBitInTable()
/external/webrtc/webrtc/base/
Dx11windowpicker.cc34 const int kBitsPerByte = 8; in XWindowProperty() local
45 } else if (sizeof(PropertyType) * kBitsPerByte != actual_format) { in XWindowProperty()
/external/v8/src/x64/
Dmacro-assembler-x64.cc1212 DCHECK(kSmiShift % kBitsPerByte == 0); in Integer32ToSmiField()
1213 movl(Operand(dst, kSmiShift / kBitsPerByte), src); in Integer32ToSmiField()
1251 movl(dst, Operand(src, kSmiShift / kBitsPerByte)); in SmiToInteger32()
1275 movsxlq(dst, Operand(src, kSmiShift / kBitsPerByte)); in SmiToInteger64()
1331 cmpl(Operand(dst, kSmiShift / kBitsPerByte), Immediate(src->value())); in SmiCompare()
1349 cmpl(Operand(dst, kSmiShift / kBitsPerByte), src); in SmiCompareInteger32()
1637 addl(Operand(dst, kSmiShift / kBitsPerByte), in SmiAddConstant()
2457 DCHECK_EQ(0, kSmiShift % kBitsPerByte); in AddSmiField()
2458 addl(dst, Operand(src, kSmiShift / kBitsPerByte)); in AddSmiField()
2491 shrp(src, Immediate(kPointerSize * kBitsPerByte - kSmiShift)); in PushRegisterAsTwoSmis()
[all …]
/external/v8/src/heap/
Dmarking.h55 static const uint32_t kBytesPerCell = kBitsPerCell / kBitsPerByte;
/external/v8/src/compiler/
Dcommon-operator.h170 static const int kMaxSparseInputs = (sizeof(BitMaskType) * kBitsPerByte - 1);
/external/v8/src/x87/
Dmacro-assembler-x87.cc1577 DCHECK(base::bits::IsPowerOfTwo32(kBitsPerByte)); in BooleanBitTest()
1578 int byte_index = bit_index / kBitsPerByte; in BooleanBitTest()
1579 int byte_bit_index = bit_index & (kBitsPerByte - 1); in BooleanBitTest()
2554 if (mask < (1 << kBitsPerByte)) { in CheckPageFlag()
2577 if (mask < (1 << kBitsPerByte)) { in CheckPageFlagForMap()
/external/v8/src/ia32/
Dmacro-assembler-ia32.cc1636 DCHECK(base::bits::IsPowerOfTwo32(kBitsPerByte)); in BooleanBitTest()
1637 int byte_index = bit_index / kBitsPerByte; in BooleanBitTest()
1638 int byte_bit_index = bit_index & (kBitsPerByte - 1); in BooleanBitTest()
2708 if (mask < (1 << kBitsPerByte)) { in CheckPageFlag()
2731 if (mask < (1 << kBitsPerByte)) { in CheckPageFlagForMap()
/external/v8/src/arm64/
Dassembler-arm64.h66 static const int kRegListSizeInBits = sizeof(RegList) * kBitsPerByte;
500 DCHECK((size_in_bits % kBitsPerByte) == 0); in RegisterSizeInBytes()
501 return size_in_bits / kBitsPerByte; in RegisterSizeInBytes()

12