Home
last modified time | relevance | path

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

12

/external/v8/src/
Dbit-vector.h67 data_length_(SizeFor(length)), in BitVector()
75 data_length_(SizeFor(length_)), in BitVector()
80 static int SizeFor(int length) { in SizeFor() function
Dobjects.h2629 static int SizeFor(int length) { return kHeaderSize + length * kPointerSize; } in SizeFor() function
2632 static int OffsetOfElementAt(int index) { return SizeFor(index); } in OffsetOfElementAt()
2694 inline static int SizeFor(int length) { in SizeFor() function
2704 static int OffsetOfElementAt(int index) { return SizeFor(index); } in OffsetOfElementAt()
4316 static int SizeFor(int length) { in SizeFor() function
4358 static int SizeFor(int length) { in SizeFor() function
4672 return SizeFor(index + kFirstLiteralIndex); in OffsetOfLiteralAt()
5089 static int SizeFor(int body_size) { in SizeFor() function
9000 static int SizeFor(int length) { in SizeFor() function
9039 static int SizeFor(int length) { in SizeFor() function
Dobjects-inl.h3762 return SizeFor(length()); in SeqTwoByteStringSize()
3767 return SizeFor(length()); in SeqOneByteStringSize()
4003 int ByteArray::ByteArraySize() { return SizeFor(this->length()); } in ByteArraySize()
4064 int BytecodeArray::BytecodeArraySize() { return SizeFor(this->length()); } in BytecodeArraySize()
4371 return FixedArray::SizeFor( in SizeFromMap()
4378 return SeqOneByteString::SizeFor( in SizeFromMap()
4394 return SeqTwoByteString::SizeFor( in SizeFromMap()
4398 return FixedDoubleArray::SizeFor( in SizeFromMap()
6458 int Code::CodeSize() { return SizeFor(body_size()); } in CodeSize()
Dfactory.cc1426 int obj_size = Code::SizeFor(body_size); in NewCode()
Dobjects.cc12087 old_size = SeqOneByteString::SizeFor(old_length); in Truncate()
12088 new_size = SeqOneByteString::SizeFor(new_length); in Truncate()
12091 old_size = SeqTwoByteString::SizeFor(old_length); in Truncate()
12092 new_size = SeqTwoByteString::SizeFor(new_length); in Truncate()
/external/v8/src/heap/
Dobjects-visiting.cc289 return FixedArray::SizeFor(Context::NEXT_CONTEXT_LINK); in WeakNextOffset()
326 HeapObject::RawField(context, FixedArray::SizeFor(index)); in DoWeakList()
Dscavenger.cc253 int object_size = FixedArray::SizeFor(length); in EvacuateFixedArray()
262 int object_size = FixedDoubleArray::SizeFor(length); in EvacuateFixedDoubleArray()
Dheap.cc3021 int size = ByteArray::SizeFor(length); in AllocateByteArray()
3046 int size = BytecodeArray::SizeFor(length); in AllocateBytecodeArray()
3192 int new_size = ByteArray::SizeFor(len - elements_to_trim); in RightTrimFixedArray()
3193 bytes_to_trim = ByteArray::SizeFor(len) - new_size; in RightTrimFixedArray()
3382 int new_obj_size = Code::SizeFor(new_body_size); in CopyCode()
3661 size = SeqOneByteString::SizeFor(chars); in AllocateInternalizedStringImpl()
3664 size = SeqTwoByteString::SizeFor(chars); in AllocateInternalizedStringImpl()
3706 int size = SeqOneByteString::SizeFor(length); in AllocateRawOneByteString()
3730 int size = SeqTwoByteString::SizeFor(length); in AllocateRawTwoByteString()
3750 int size = FixedArray::SizeFor(0); in AllocateEmptyFixedArray()
[all …]
Dheap-inl.h127 int size = SeqOneByteString::SizeFor(str.length()); in AllocateOneByteInternalizedString()
158 int size = SeqTwoByteString::SizeFor(str.length()); in AllocateTwoByteInternalizedString()
Dobjects-visiting.h271 return FixedDoubleArray::SizeFor(length); in INLINE()
Dspaces.h164 static int SizeFor(int cells_count) { in SizeFor() function
/external/v8/test/cctest/heap/
Dtest-alloc.cc64 static const int kLargeObjectSpaceFillerSize = FixedArray::SizeFor( in AllocateAfterFailures()
Dtest-heap.cc1948 int filler_size = static_cast<int>(FixedArray::SizeFor(8192)); in HEAP_TEST()
2280 intptr_t number_of_fillers = (available / FixedArray::SizeFor(32)) - 1; in FillUpNewSpace()
/external/v8/src/runtime/
Druntime-regexp.cc628 int string_size = ResultSeqString::SizeFor(position); in StringReplaceGlobalRegExpWithEmptyString()
629 int allocated_string_size = ResultSeqString::SizeFor(new_length); in StringReplaceGlobalRegExpWithEmptyString()
/external/v8/test/unittests/compiler/
Djs-typed-lowering-unittest.cc1126 IsFinishRegion(IsAllocate(IsNumberConstant(Context::SizeFor( in TEST_F()
1164 IsFinishRegion(IsAllocate(IsNumberConstant(Context::SizeFor( in TEST_F()
1187 IsFinishRegion(IsAllocate(IsNumberConstant(Context::SizeFor( in TEST_F()
/external/v8/src/snapshot/
Dserialize.cc1870 allocation_size = SeqOneByteString::SizeFor(length); in SerializeExternalString()
1877 allocation_size = SeqTwoByteString::SizeFor(length); in SerializeExternalString()
/external/v8/src/compiler/
Djs-typed-lowering.cc62 ? FixedArray::SizeFor(length) in AllocateArray()
63 : FixedDoubleArray::SizeFor(length); in AllocateArray()
/external/v8/src/x87/
Dmacro-assembler-x87.cc1573 Allocate(SeqOneByteString::SizeFor(length), result, scratch1, scratch2, in AllocateOneByteString()
/external/v8/src/ia32/
Dmacro-assembler-ia32.cc1607 Allocate(SeqOneByteString::SizeFor(length), result, scratch1, scratch2, in AllocateOneByteString()
/external/v8/test/cctest/
Dtest-heap-profiler.cc2328 CHECK_EQ(v8::internal::FixedArray::SizeFor(3), in TEST()
/external/v8/src/crankshaft/
Dhydrogen.cc2733 ? FixedDoubleArray::SizeFor(capacity) in EstablishElementsAllocationSize()
2734 : FixedArray::SizeFor(capacity); in EstablishElementsAllocationSize()
/external/v8/src/crankshaft/x64/
Dlithium-codegen-x64.cc5563 FieldOperand(result, FixedArray::SizeFor(instr->idx()))); in DoForInCacheArray()
/external/v8/src/crankshaft/ia32/
Dlithium-codegen-ia32.cc5371 FieldOperand(result, FixedArray::SizeFor(instr->idx()))); in DoForInCacheArray()
/external/v8/src/crankshaft/arm/
Dlithium-codegen-arm.cc5496 FieldMemOperand(result, FixedArray::SizeFor(instr->idx()))); in DoForInCacheArray()
/external/v8/src/crankshaft/mips/
Dlithium-codegen-mips.cc5529 FieldMemOperand(result, FixedArray::SizeFor(instr->idx()))); in DoForInCacheArray()

12