Home
last modified time | relevance | path

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

/external/v8/src/
Dsafepoint-table.cc43 ASSERT(IsAligned(kNumSafepointRegisters, kBitsPerByte)); in HasRegisters()
56 int bit_index = reg_index & (kBitsPerByte - 1); in HasRegisterAt()
93 ASSERT(IsAligned(kNumSafepointRegisters, kBitsPerByte)); in PrintEntry()
96 for (int i = first; i < last; i++) PrintBits(bits[i], kBitsPerByte); in PrintEntry()
97 int last_bits = code_->stack_slots() - ((last - first) * kBitsPerByte); in PrintEntry()
112 ASSERT(digits >= 0 && digits <= kBitsPerByte); in PrintBits()
178 RoundUp(bits_per_entry, kBitsPerByte) >> kBitsPerByteLog2; in Emit()
201 ASSERT(IsAligned(kNumSafepointRegisters, kBitsPerByte)); in Emit()
212 int bit_index = index & (kBitsPerByte - 1); in Emit()
221 int bit_index = index & (kBitsPerByte - 1); in Emit()
Dglobals.h251 const int kBitsPerByte = 8; variable
253 const int kBitsPerPointer = kPointerSize * kBitsPerByte;
254 const int kBitsPerInt = kIntSize * kBitsPerByte;
Dassembler.cc217 const int kSmallDataBits = kBitsPerByte - kLocatableTypeTagBits;
226 const int kSmallPCDeltaBits = kBitsPerByte - kTagBits;
298 data_delta = data_delta >> kBitsPerByte; in WriteExtraTaggedIntData()
307 data_delta = data_delta >> kBitsPerByte; in WriteExtraTaggedData()
407 x |= static_cast<int>(*--pos_) << i * kBitsPerByte; in AdvanceReadId()
417 x |= static_cast<int>(*--pos_) << i * kBitsPerByte; in AdvanceReadPosition()
427 x |= static_cast<intptr_t>(*--pos_) << i * kBitsPerByte; in AdvanceReadData()
Dinterpreter-irregexp.cc327 (subject[pos] | (next << (kBitsPerByte * sizeof(Char)))); in RawMatch()
335 current_char = (subject[pos] | (next << (kBitsPerByte * sizeof(Char)))); in RawMatch()
Dobjects.h5658 SharedFunctionInfo::kCompilerHintsSize * kBitsPerByte);
5665 (kStrictModeFunction + kCompilerHintsSmiTagSize) % kBitsPerByte;
5668 (kExtendedModeFunction + kCompilerHintsSmiTagSize) % kBitsPerByte;
5671 (kNative + kCompilerHintsSmiTagSize) % kBitsPerByte;
5675 (kStrictModeFunction + kCompilerHintsSmiTagSize) / kBitsPerByte;
5677 (kExtendedModeFunction + kCompilerHintsSmiTagSize) / kBitsPerByte;
5679 (kNative + kCompilerHintsSmiTagSize) / kBitsPerByte;
5683 ((kStrictModeFunction + kCompilerHintsSmiTagSize) / kBitsPerByte);
5686 ((kExtendedModeFunction + kCompilerHintsSmiTagSize) / kBitsPerByte);
5689 ((kNative + kCompilerHintsSmiTagSize) / kBitsPerByte);
Dframes.cc664 int bit_index = index & (kBitsPerByte - 1); in Iterate()
Dserialize.cc1105 const int max_shift = ((kPointerSize * kBitsPerByte) / 7) * 7; in PutInt()
Dspaces.h172 static const uint32_t kBytesPerCell = kBitsPerCell / kBitsPerByte;
Dhydrogen-instructions.h329 STATIC_ASSERT(kNumRepresentations <= (1 << kBitsPerByte));
443 STATIC_ASSERT(kUninitialized < (1 << (2 * kBitsPerByte)));
/external/v8/test/cctest/
Dtest-random.cc44 seeds->set(i, static_cast<byte>(state0 >> (i * kBitsPerByte))); in SetSeeds()
45 seeds->set(i + 4, static_cast<byte>(state1 >> (i * kBitsPerByte))); in SetSeeds()
/external/chromium/chrome/browser/ui/gtk/
Dtab_contents_drag_source.cc171 const int kBitsPerByte = 8; in OnDragDataGet() local
187 kBitsPerByte, in OnDragDataGet()
204 drag_file_mime_type_, kBitsPerByte, in OnDragDataGet()
/external/v8/src/arm/
Dbuiltins-arm.cc807 __ Ubfx(r0, r0, Map::kPreAllocatedPropertyFieldsByte * kBitsPerByte, in Generate_JSConstructStubHelper()
808 kBitsPerByte); in Generate_JSConstructStubHelper()
836 __ Ubfx(r6, r0, Map::kPreAllocatedPropertyFieldsByte * kBitsPerByte, in Generate_JSConstructStubHelper()
837 kBitsPerByte); in Generate_JSConstructStubHelper()
839 __ Ubfx(r6, r0, Map::kInObjectPropertiesByte * kBitsPerByte, in Generate_JSConstructStubHelper()
840 kBitsPerByte); in Generate_JSConstructStubHelper()
Dcode-stubs-arm.cc5671 __ orr(c1, c1, Operand(c2, LSL, kBitsPerByte), LeaveCC, ls); in GenerateTwoCharacterSymbolTableProbe()
5683 __ orr(chars, chars, Operand(c2, LSL, kBitsPerByte)); in GenerateTwoCharacterSymbolTableProbe()
/external/v8/src/mips/
Dbuiltins-mips.cc833 __ Ext(a0, a0, Map::kPreAllocatedPropertyFieldsByte * kBitsPerByte, in Generate_JSConstructStubHelper()
834 kBitsPerByte); in Generate_JSConstructStubHelper()
863 __ Ext(t6, a0, Map::kPreAllocatedPropertyFieldsByte * kBitsPerByte, in Generate_JSConstructStubHelper()
864 kBitsPerByte); in Generate_JSConstructStubHelper()
866 __ Ext(t6, a0, Map::kInObjectPropertiesByte * kBitsPerByte, in Generate_JSConstructStubHelper()
867 kBitsPerByte); in Generate_JSConstructStubHelper()
Dcode-stubs-mips.cc5881 __ sll(scratch1, c2, kBitsPerByte); in GenerateTwoCharacterSymbolTableProbe()
5897 __ sll(scratch, c2, kBitsPerByte); in GenerateTwoCharacterSymbolTableProbe()
/external/v8/src/x64/
Dmacro-assembler-x64.cc978 ASSERT(kSmiShift % kBitsPerByte == 0); in Integer32ToSmiField()
979 movl(Operand(dst, kSmiShift / kBitsPerByte), src); in Integer32ToSmiField()
1005 movl(dst, Operand(src, kSmiShift / kBitsPerByte)); in SmiToInteger32()
1019 movsxlq(dst, Operand(src, kSmiShift / kBitsPerByte)); in SmiToInteger64()
1078 cmpl(Operand(dst, kSmiShift / kBitsPerByte), Immediate(src->value())); in SmiCompare()
1091 cmpl(Operand(dst, kSmiShift / kBitsPerByte), src); in SmiCompareInteger32()
1395 addl(Operand(dst, kSmiShift / kBitsPerByte), Immediate(constant->value())); in SmiAddConstant()
2091 ASSERT_EQ(0, kSmiShift % kBitsPerByte); in AddSmiField()
2092 addl(dst, Operand(src, kSmiShift / kBitsPerByte)); in AddSmiField()
2309 int byte_offset = bits / kBitsPerByte; in TestBit()
[all …]
Dcode-stubs-x64.cc4617 __ shll(rcx, Immediate(kBitsPerByte)); in Generate()
4934 __ shl(c2, Immediate(kBitsPerByte)); in GenerateTwoCharacterSymbolTableProbe()
Dstub-cache-x64.cc1930 (HeapNumber::kExponentOffset - HeapNumber::kValueOffset) * kBitsPerByte; in CompileMathAbsCall()
/external/v8/src/ia32/
Dmacro-assembler-ia32.cc1557 ASSERT(IsPowerOf2(kBitsPerByte)); in BooleanBitTest()
1558 int byte_index = bit_index / kBitsPerByte; in BooleanBitTest()
1559 int byte_bit_index = bit_index & (kBitsPerByte - 1); in BooleanBitTest()
2601 if (mask < (1 << kBitsPerByte)) { in CheckPageFlag()
Dcode-stubs-ia32.cc5611 __ shl(ecx, kBitsPerByte); in Generate()
5971 __ shl(c2, kBitsPerByte); in GenerateTwoCharacterSymbolTableProbe()