Home
last modified time | relevance | path

Searched refs:SizeFor (Results 1 – 25 of 28) 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-inl.h3722 return SizeFor(length()); in SeqTwoByteStringSize()
3727 return SizeFor(length()); in SeqOneByteStringSize()
3979 int ByteArray::ByteArraySize() { return SizeFor(this->length()); } in ByteArraySize()
4070 int BytecodeArray::BytecodeArraySize() { return SizeFor(this->length()); } in BytecodeArraySize()
4382 return FixedArray::SizeFor( in SizeFromMap()
4389 return SeqOneByteString::SizeFor( in SizeFromMap()
4405 return SeqTwoByteString::SizeFor( in SizeFromMap()
4409 return FixedDoubleArray::SizeFor( in SizeFromMap()
6795 int Code::CodeSize() { return SizeFor(body_size()); } in CodeSize()
Dobjects.h2777 static constexpr int SizeFor(int length) { in SizeFor() function
2782 static constexpr int OffsetOfElementAt(int index) { return SizeFor(index); } in OffsetOfElementAt()
2836 inline static int SizeFor(int length) { in SizeFor() function
2846 static int OffsetOfElementAt(int index) { return SizeFor(index); } in OffsetOfElementAt()
4409 static int SizeFor(int length) { in SizeFor() function
4488 static int SizeFor(int length) { in SizeFor() function
5217 static int SizeFor(int body_size) { in SizeFor() function
9688 static int SizeFor(int length) { in SizeFor() function
9727 static int SizeFor(int length) { in SizeFor() function
Dfactory.cc1665 int obj_size = Code::SizeFor(RoundUp(body_size, kObjectAlignment)); in NewCode()
Dcode-stub-assembler.cc1530 Node* result = Allocate(SeqOneByteString::SizeFor(length), flags); in AllocateSeqOneByteString()
1601 Node* result = Allocate(SeqTwoByteString::SizeFor(length), flags); in AllocateSeqTwoByteString()
Dobjects.cc11634 old_size = SeqOneByteString::SizeFor(old_length); in Truncate()
11635 new_size = SeqOneByteString::SizeFor(new_length); in Truncate()
11638 old_size = SeqTwoByteString::SizeFor(old_length); in Truncate()
11639 new_size = SeqTwoByteString::SizeFor(new_length); in Truncate()
/external/v8/src/heap/
Dobjects-visiting.cc337 return FixedArray::SizeFor(Context::NEXT_CONTEXT_LINK); in WeakNextOffset()
374 HeapObject::RawField(context, FixedArray::SizeFor(index)); in DoWeakList()
Dscavenger.cc266 int object_size = FixedArray::SizeFor(length); in EvacuateFixedArray()
274 int object_size = FixedDoubleArray::SizeFor(length); in EvacuateFixedDoubleArray()
Dheap.cc3053 int size = ByteArray::SizeFor(length); in AllocateByteArray()
3078 int size = BytecodeArray::SizeFor(length); in AllocateBytecodeArray()
3251 int new_size = ByteArray::SizeFor(len - elements_to_trim); in RightTrimFixedArray()
3252 bytes_to_trim = ByteArray::SizeFor(len) - new_size; in RightTrimFixedArray()
3452 int size = BytecodeArray::SizeFor(bytecode_array->length()); in CopyBytecodeArray()
3720 size = SeqOneByteString::SizeFor(chars); in AllocateInternalizedStringImpl()
3723 size = SeqTwoByteString::SizeFor(chars); in AllocateInternalizedStringImpl()
3765 int size = SeqOneByteString::SizeFor(length); in AllocateRawOneByteString()
3789 int size = SeqTwoByteString::SizeFor(length); in AllocateRawTwoByteString()
3809 int size = FixedArray::SizeFor(0); in AllocateEmptyFixedArray()
[all …]
Dmarking.h69 static int SizeFor(int cells_count) { in SizeFor() function
Dheap-inl.h232 int size = SeqOneByteString::SizeFor(str.length()); in AllocateOneByteInternalizedString()
264 int size = SeqTwoByteString::SizeFor(str.length()); in AllocateTwoByteInternalizedString()
Dobjects-visiting.h289 return FixedDoubleArray::SizeFor(length); in INLINE()
/external/v8/src/snapshot/
Dserializer.cc400 allocation_size = SeqOneByteString::SizeFor(length); in SerializeExternalString()
407 allocation_size = SeqTwoByteString::SizeFor(length); in SerializeExternalString()
/external/v8/src/runtime/
Druntime-regexp.cc639 int string_size = ResultSeqString::SizeFor(position); in StringReplaceGlobalRegExpWithEmptyString()
640 int allocated_string_size = ResultSeqString::SizeFor(new_length); in StringReplaceGlobalRegExpWithEmptyString()
/external/v8/src/compiler/
Djs-create-lowering.cc72 ? FixedArray::SizeFor(length) in AllocateArray()
73 : FixedDoubleArray::SizeFor(length); in AllocateArray()
Deffect-control-linearizer.cc1998 NOT_TENURED, __ Int32Constant(SeqOneByteString::SizeFor(1))); in LowerStringFromCodePoint()
2022 NOT_TENURED, __ Int32Constant(SeqTwoByteString::SizeFor(1))); in LowerStringFromCodePoint()
2065 __ Int32Constant(SeqTwoByteString::SizeFor(2))); in LowerStringFromCodePoint()
Djs-builtin-reducer.cc1502 int size = NameDictionary::SizeFor(length); in ReduceObjectCreate()
/external/v8/src/builtins/
Dbuiltins-promise.cc204 Node* const context = Allocate(FixedArray::SizeFor(slots)); in CreatePromiseContext()
/external/v8/src/crankshaft/ia32/
Dlithium-codegen-ia32.cc5072 FieldOperand(result, FixedArray::SizeFor(instr->idx()))); in DoForInCacheArray()
/external/v8/src/crankshaft/arm/
Dlithium-codegen-arm.cc5301 FieldMemOperand(result, FixedArray::SizeFor(instr->idx()))); in DoForInCacheArray()
/external/v8/src/crankshaft/x64/
Dlithium-codegen-x64.cc5351 FieldOperand(result, FixedArray::SizeFor(instr->idx()))); in DoForInCacheArray()
/external/v8/src/crankshaft/mips/
Dlithium-codegen-mips.cc5333 FieldMemOperand(result, FixedArray::SizeFor(instr->idx()))); in DoForInCacheArray()
/external/v8/src/crankshaft/arm64/
Dlithium-codegen-arm64.cc2673 __ Ldr(result, FieldMemOperand(result, FixedArray::SizeFor(instr->idx()))); in DoForInCacheArray()
/external/v8/src/crankshaft/
Dhydrogen.cc2595 ? FixedDoubleArray::SizeFor(capacity) in EstablishElementsAllocationSize()
2596 : FixedArray::SizeFor(capacity); in EstablishElementsAllocationSize()
/external/v8/src/crankshaft/x87/
Dlithium-codegen-x87.cc5567 FieldOperand(result, FixedArray::SizeFor(instr->idx()))); in DoForInCacheArray()

12