Home
last modified time | relevance | path

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

12

/external/chromium_org/v8/src/
Ddata-flow.h67 data_length_(SizeFor(length)), in BitVector()
75 data_length_(SizeFor(length_)), in BitVector()
80 static int SizeFor(int length) { in SizeFor() function
Dobjects.h2449 static int SizeFor(int length) { return kHeaderSize + length * kPointerSize; } in SizeFor() function
2452 static int OffsetOfElementAt(int index) { return SizeFor(index); } in OffsetOfElementAt()
2489 return SizeFor(reinterpret_cast<FixedArray*>(object)->length()); in SizeOf()
2528 inline static int SizeFor(int length) { in SizeFor() function
2538 static int OffsetOfElementAt(int index) { return SizeFor(index); } in OffsetOfElementAt()
2752 inline static int SizeFor(const NumberOfEntries& small) { in SizeFor() function
2763 int size = SizeFor(small); in SizeForExtended()
4357 static int SizeFor(int length) { in SizeFor() function
4380 return SizeFor(this->length()); in DECLARE_CAST()
4743 static inline int SizeFor(int length) { in SizeFor() function
[all …]
Dobjects-inl.h2376 return RoundUp(SizeFor(NumberOfEntries(this, SMALL_SECTION)), kInt64Size); in get_extended_section_header_offset()
2639 return SizeFor(small); in size()
3515 return SizeFor(length()); in SeqTwoByteStringSize()
3520 return SizeFor(length()); in SeqOneByteStringSize()
4269 return SeqOneByteString::SizeFor( in SizeFromMap()
4280 return SeqTwoByteString::SizeFor( in SizeFromMap()
4284 return FixedDoubleArray::SizeFor( in SizeFromMap()
5164 return FixedArray::SizeFor(transitions()->length() + in CanHaveMoreTransitions()
Dfactory.cc1440 int obj_size = Code::SizeFor(body_size); in NewCode()
Dobjects.cc8878 old_size = SeqOneByteString::SizeFor(old_length); in Truncate()
8879 new_size = SeqOneByteString::SizeFor(new_length); in Truncate()
8882 old_size = SeqTwoByteString::SizeFor(old_length); in Truncate()
8883 new_size = SeqTwoByteString::SizeFor(new_length); in Truncate()
Dhydrogen.cc2597 ? FixedDoubleArray::SizeFor(capacity) in EstablishElementsAllocationSize()
2598 : FixedArray::SizeFor(capacity); in EstablishElementsAllocationSize()
Druntime.cc4085 int string_size = ResultSeqString::SizeFor(position); in StringReplaceGlobalRegExpWithEmptyString()
4086 int allocated_string_size = ResultSeqString::SizeFor(new_length); in StringReplaceGlobalRegExpWithEmptyString()
/external/chromium_org/v8/src/heap/
Dobjects-visiting.cc295 return FixedArray::SizeFor(Context::NEXT_CONTEXT_LINK); in WeakNextOffset()
319 HeapObject::RawField(context, FixedArray::SizeFor(index)); in DoWeakList()
Dheap.cc2097 int object_size = FixedDoubleArray::SizeFor(length); in EvacuateFixedDoubleArray()
3202 int size = ByteArray::SizeFor(length); in AllocateByteArray()
3518 int new_obj_size = Code::SizeFor(new_body_size); in CopyCode()
3824 size = SeqOneByteString::SizeFor(chars); in AllocateInternalizedStringImpl()
3827 size = SeqTwoByteString::SizeFor(chars); in AllocateInternalizedStringImpl()
3870 int size = SeqOneByteString::SizeFor(length); in AllocateRawOneByteString()
3894 int size = SeqTwoByteString::SizeFor(length); in AllocateRawTwoByteString()
3914 int size = FixedArray::SizeFor(0); in AllocateEmptyFixedArray()
3978 FixedArray::SizeFor(len) - kPointerSize); in CopyFixedArrayWithMap()
4004 FixedDoubleArray::SizeFor(len) - FixedDoubleArray::kLengthOffset); in CopyFixedDoubleArrayWithMap()
[all …]
Dheap-inl.h91 int size = SeqOneByteString::SizeFor(str.length()); in AllocateOneByteInternalizedString()
123 int size = SeqTwoByteString::SizeFor(str.length()); in AllocateTwoByteInternalizedString()
Dobjects-visiting.h283 return FixedDoubleArray::SizeFor(length); in INLINE()
Dspaces.h164 static int SizeFor(int cells_count) { in SizeFor() function
Dmark-compact.cc271 array->IterateBody(FIXED_ARRAY_TYPE, FixedArray::SizeFor(length), in VisitPointers()
/external/chromium_org/v8/test/cctest/
Dtest-alloc.cc67 static const int kLargeObjectSpaceFillerSize = FixedArray::SizeFor( in AllocateAfterFailures()
Dtest-heap.cc1626 int filler_size = static_cast<int>(FixedArray::SizeFor(8192)); in TEST()
1693 intptr_t number_of_fillers = (available / FixedArray::SizeFor(32)) - 1; in FillUpNewSpace()
3114 CHECK_LE(hashtable->SizeFor(hashtable->length()), 13 * kPointerSize); in TEST()
Dtest-heap-profiler.cc2278 CHECK_EQ(v8::internal::FixedArray::SizeFor(3), in TEST()
/external/chromium_org/v8/src/x87/
Dmacro-assembler-x87.cc1706 Allocate(SeqOneByteString::SizeFor(length), result, scratch1, scratch2, in AllocateOneByteString()
/external/chromium_org/v8/src/ia32/
Dmacro-assembler-ia32.cc1743 Allocate(SeqOneByteString::SizeFor(length), result, scratch1, scratch2, in AllocateOneByteString()
Dlithium-codegen-ia32.cc5602 FieldOperand(result, FixedArray::SizeFor(instr->idx()))); in DoForInCacheArray()
/external/chromium_org/v8/src/arm/
Dassembler-arm.cc3691 !(is_uint12(ConstantPoolArray::SizeFor(*small_entries())) && in AddEntry()
Dlithium-codegen-arm.cc5802 FieldMemOperand(result, FixedArray::SizeFor(instr->idx()))); in DoForInCacheArray()
/external/chromium_org/v8/src/arm64/
Dlithium-codegen-arm64.cc2892 __ Ldr(result, FieldMemOperand(result, FixedArray::SizeFor(instr->idx()))); in DoForInCacheArray()
/external/chromium_org/v8/src/x64/
Dlithium-codegen-x64.cc5784 FieldOperand(result, FixedArray::SizeFor(instr->idx()))); in DoForInCacheArray()
/external/chromium_org/v8/src/mips64/
Dlithium-codegen-mips64.cc5845 FieldMemOperand(result, FixedArray::SizeFor(instr->idx()))); in DoForInCacheArray()
/external/chromium_org/v8/src/mips/
Dlithium-codegen-mips.cc5812 FieldMemOperand(result, FixedArray::SizeFor(instr->idx()))); in DoForInCacheArray()

12