Home
last modified time | relevance | path

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

12

/external/v8/src/compiler/
Dallocation-builder.h55 int size = FixedArray::SizeFor(length); in AllocateContext()
67 ? FixedArray::SizeFor(length)
68 : FixedDoubleArray::SizeFor(length);
Deffect-control-linearizer.cc3034 NOT_TENURED, __ Int32Constant(SeqOneByteString::SizeFor(1))); in LowerStringFromSingleCharCode()
3058 __ Int32Constant(SeqTwoByteString::SizeFor(1))); in LowerStringFromSingleCharCode()
3156 NOT_TENURED, __ Int32Constant(SeqOneByteString::SizeFor(1))); in LowerStringFromSingleCodePoint()
3180 NOT_TENURED, __ Int32Constant(SeqTwoByteString::SizeFor(1))); in LowerStringFromSingleCodePoint()
3227 __ Int32Constant(SeqTwoByteString::SizeFor(2))); in LowerStringFromSingleCodePoint()
/external/v8/src/objects/
Dfixed-array.h161 static constexpr int SizeFor(int length) { in SizeFor() function
166 static constexpr int OffsetOfElementAt(int index) { return SizeFor(index); } in OffsetOfElementAt()
235 inline static int SizeFor(int length) { in SizeFor() function
245 static int OffsetOfElementAt(int index) { return SizeFor(index); } in OffsetOfElementAt()
280 static constexpr int SizeFor(int length) { in SizeFor() function
487 static int SizeFor(int length) { in SizeFor() function
Dcode-inl.h338 int Code::CodeSize() const { return SizeFor(body_size()); } in CodeSize()
702 SizeFor(length()) - data_size); in ACCESSORS()
725 int BytecodeArray::BytecodeArraySize() { return SizeFor(this->length()); } in BytecodeArraySize()
Dcode.h321 static int SizeFor(int body_size) { in SizeFor() function
706 static int SizeFor(int length) { in SizeFor() function
Dstring.h526 static int SizeFor(int length) { in SizeFor() function
573 static int SizeFor(int length) { in SizeFor() function
Dbigint.h171 inline static int SizeFor(int length) { in SizeFor() function
Dstring-inl.h487 return SizeFor(length()); in SeqTwoByteStringSize()
491 return SizeFor(length()); in SeqOneByteStringSize()
Dshared-function-info.h59 static constexpr int SizeFor(int length) { in SizeFor() function
Dordered-hash-table.h334 static int SizeFor(int capacity) { in SizeFor() function
Dbigint.cc315 BigInt::SizeFor(length) - BigIntBase::kHeaderSize); in Copy()
340 Address new_end = result->address() + BigInt::SizeFor(new_length); in MakeImmutable()
2089 SeqOneByteString::SizeFor(static_cast<int>(chars_required)); in ToStringGeneric()
2090 int needed_size = SeqOneByteString::SizeFor(pos); in ToStringGeneric()
Dfixed-array-inl.h384 int ByteArray::ByteArraySize() { return SizeFor(this->length()); } in ByteArraySize()
/external/v8/src/
Dobjects-body-descriptors-inl.h250 return table->SizeFor(table->Capacity()); in SizeOf()
265 return ByteArray::SizeFor(ByteArray::cast(obj)->synchronized_length()); in SizeOf()
285 return BytecodeArray::SizeFor( in SizeOf()
301 return BigInt::SizeFor(BigInt::cast(obj)->length()); in SizeOf()
316 return FixedDoubleArray::SizeFor( in SizeOf()
366 return FeedbackMetadata::SizeFor( in SizeOf()
387 return FeedbackVector::SizeFor(FeedbackVector::cast(obj)->length()); in SizeOf()
405 return PreParsedScopeData::SizeFor(PreParsedScopeData::cast(obj)->length()); in SizeOf()
545 return string->SizeFor(string->synchronized_length()); in SizeOf()
561 return string->SizeFor(string->synchronized_length()); in SizeOf()
Dbit-vector.h76 : length_(length), data_length_(SizeFor(length)), data_(0) { in BitVector()
97 static int SizeFor(int length) { in SizeFor() function
114 int new_data_length = SizeFor(new_length); in Resize()
Dobjects-inl.h2114 return FixedArray::SizeFor( in SizeFromMap()
2121 return SeqOneByteString::SizeFor( in SizeFromMap()
2125 return ByteArray::SizeFor( in SizeFromMap()
2129 return BytecodeArray::SizeFor( in SizeFromMap()
2139 return SeqTwoByteString::SizeFor( in SizeFromMap()
2143 return FixedDoubleArray::SizeFor( in SizeFromMap()
2147 return FeedbackMetadata::SizeFor( in SizeFromMap()
2153 return WeakFixedArray::SizeFor( in SizeFromMap()
2166 return SmallOrderedHashSet::SizeFor( in SizeFromMap()
2170 return PropertyArray::SizeFor( in SizeFromMap()
[all …]
Dfeedback-vector.h305 static constexpr int SizeFor(int length) { in SizeFor() function
466 static int SizeFor(int slot_count) { in SizeFor() function
/external/v8/src/heap/
Dobjects-visiting.cc129 return FixedArray::SizeFor(Context::NEXT_CONTEXT_LINK); in WeakNextOffset()
161 HeapObject::RawField(context, FixedArray::SizeFor(index)); in DoWeakList()
Dsetup-heap-internal.cc235 AllocationResult alloc = AllocateRaw(FixedArray::SizeFor(0), RO_SPACE); in CreateInitialMaps()
243 AllocationResult alloc = AllocateRaw(WeakFixedArray::SizeFor(0), RO_SPACE); in CreateInitialMaps()
307 int size = WeakFixedArray::SizeFor(length); in CreateInitialMaps()
505 AllocationResult alloc = AllocateRaw(FixedArray::SizeFor(0), RO_SPACE); in CreateInitialMaps()
514 AllocationResult alloc = AllocateRaw(FixedArray::SizeFor(1), RO_SPACE); in CreateInitialMaps()
556 if (!AllocateRaw(ByteArray::SizeFor(0), RO_SPACE).To(&obj)) return false; in CreateInitialMaps()
563 if (!AllocateRaw(FixedArray::SizeFor(0), RO_SPACE).To(&obj)) { in CreateInitialMaps()
Dfactory.cc51 int object_size = Code::SizeFor(RoundUp(body_size, kObjectAlignment)); in ComputeCodeObjectSize()
170 return AllocateRawArray(FixedArray::SizeFor(length), pretenure); in AllocateRawFixedArray()
326 AllocateRawArray(WeakFixedArray::SizeFor(length), pretenure); in NewWeakFixedArrayWithMap()
357 AllocateRawArray(WeakFixedArray::SizeFor(length), pretenure); in NewWeakFixedArray()
372 int size = FixedArray::SizeFor(length); in TryNewFixedArray()
414 int size = FeedbackVector::SizeFor(length); in NewFeedbackVector()
475 int size = FixedDoubleArray::SizeFor(length); in NewFixedDoubleArray()
497 int size = FeedbackMetadata::SizeFor(slot_count); in NewFeedbackMetadata()
527 int size = SmallOrderedHashSet::SizeFor(capacity); in NewSmallOrderedHashSet()
542 int size = SmallOrderedHashMap::SizeFor(capacity); in NewSmallOrderedHashMap()
[all …]
Dconcurrent-marking.cc238 int size = SeqOneByteString::SizeFor(object->synchronized_length()); in VisitSeqOneByteString()
245 int size = SeqTwoByteString::SizeFor(object->synchronized_length()); in VisitSeqTwoByteString()
454 int size = T::SizeFor(Smi::ToInt(length)); in VisitLeftTrimmableArray()
Dheap.cc2992 int new_size = ByteArray::SizeFor(len - elements_to_trim); in RightTrimFixedArray()
2993 bytes_to_trim = ByteArray::SizeFor(len) - new_size; in RightTrimFixedArray()
4339 FixedArray::SizeFor(JSArray::kInitialMaxFastElementArray) + in ConfigureHeap()
/external/v8/src/builtins/
Dbuiltins-async-gen.cc35 static const int kWrappedPromiseOffset = FixedArray::SizeFor(context_length); in Await()
164 FixedArray::SizeFor(context_length); in AwaitOptimized()
Dbuiltins-proxy-gen.cc126 Node* const context = Allocate(FixedArray::SizeFor(kProxyContextLength)); in CreateProxyRevokeFunctionContext()
/external/v8/src/snapshot/
Dserializer.cc539 allocation_size = SeqOneByteString::SizeFor(length); in SerializeExternalStringAsSequentialString()
545 allocation_size = SeqTwoByteString::SizeFor(length); in SerializeExternalStringAsSequentialString()
/external/v8/src/runtime/
Druntime-regexp.cc769 int string_size = ResultSeqString::SizeFor(position); in StringReplaceGlobalRegExpWithEmptyString()
770 int allocated_string_size = ResultSeqString::SizeFor(new_length); in StringReplaceGlobalRegExpWithEmptyString()

12