Home
last modified time | relevance | path

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

/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.cc337 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()
Dglobals.h173 const int kBitsPerByte = 8; variable
175 const int kBitsPerPointer = kPointerSize * kBitsPerByte;
176 const int kBitsPerInt = kIntSize * kBitsPerByte;
Dproperty-details.h194 STATIC_ASSERT(kNumRepresentations <= (1 << kBitsPerByte));
Dutils.h1005 DCHECK((0 < n) && (n < (sizeof(x) * kBitsPerByte)));
1011 DCHECK((0 < n) && (n < (sizeof(x) * kBitsPerByte)));
Dobjects.h7042 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)
Dframes.cc696 int bit_index = index & (kBitsPerByte - 1); in IterateCompiledFrame()
/external/v8/src/interpreter/
Dconstant-array-builder.h24 static const size_t kLowCapacity = 1u << kBitsPerByte;
27 static const size_t kMaxCapacity = 1u << (2 * kBitsPerByte);
/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.cc294 (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()
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/v8/src/compiler/
Dinterpreter-assembler.cc206 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/
Dinterpreter-assembler-unittest.cc131 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/
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.cc1135 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/
Dmacro-assembler-x87.cc1751 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/
Dassembler-arm64.h56 static const int kRegListSizeInBits = sizeof(RegList) * kBitsPerByte;
490 DCHECK((size_in_bits % kBitsPerByte) == 0); in RegisterSizeInBytes()
491 return size_in_bits / kBitsPerByte; in RegisterSizeInBytes()
Dassembler-arm64-inl.h58 DCHECK(static_cast<size_t>(reg_code) < (sizeof(RegList) * kBitsPerByte)); in Bit()
Dbuiltins-arm64.cc535 Map::kUnusedPropertyFieldsByte * kBitsPerByte, kBitsPerByte); in Generate_JSConstructStubHelper()
Dassembler-arm64.cc234 CountSetBits(unique_regs, sizeof(unique_regs) * kBitsPerByte); in AreAliased()
236 CountSetBits(unique_fpregs, sizeof(unique_fpregs) * kBitsPerByte); in AreAliased()
Dmacro-assembler-arm64-inl.h36 return MemOperand(object, offset + (kSmiShift / kBitsPerByte)); in UntagSmiMemOperand()
/external/v8/src/ia32/
Dmacro-assembler-ia32.cc1785 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/
Dbuiltins-arm.cc526 __ Ubfx(r0, r0, Map::kUnusedPropertyFieldsByte * kBitsPerByte, in Generate_JSConstructStubHelper()
527 kBitsPerByte); in Generate_JSConstructStubHelper()
/external/v8/test/cctest/interpreter/
Dtest-bytecode-generator.cc101 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/
Dspaces.h149 static const uint32_t kBytesPerCell = kBitsPerCell / kBitsPerByte;