/external/v8/src/compiler/ |
D | allocation-builder.h | 55 int size = FixedArray::SizeFor(length); in AllocateContext() 67 ? FixedArray::SizeFor(length) 68 : FixedDoubleArray::SizeFor(length);
|
D | effect-control-linearizer.cc | 3034 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/ |
D | fixed-array.h | 161 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
|
D | code-inl.h | 338 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()
|
D | code.h | 321 static int SizeFor(int body_size) { in SizeFor() function 706 static int SizeFor(int length) { in SizeFor() function
|
D | string.h | 526 static int SizeFor(int length) { in SizeFor() function 573 static int SizeFor(int length) { in SizeFor() function
|
D | bigint.h | 171 inline static int SizeFor(int length) { in SizeFor() function
|
D | string-inl.h | 487 return SizeFor(length()); in SeqTwoByteStringSize() 491 return SizeFor(length()); in SeqOneByteStringSize()
|
D | shared-function-info.h | 59 static constexpr int SizeFor(int length) { in SizeFor() function
|
D | ordered-hash-table.h | 334 static int SizeFor(int capacity) { in SizeFor() function
|
D | bigint.cc | 315 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()
|
D | fixed-array-inl.h | 384 int ByteArray::ByteArraySize() { return SizeFor(this->length()); } in ByteArraySize()
|
/external/v8/src/ |
D | objects-body-descriptors-inl.h | 250 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()
|
D | bit-vector.h | 76 : 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()
|
D | objects-inl.h | 2114 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 …]
|
D | feedback-vector.h | 305 static constexpr int SizeFor(int length) { in SizeFor() function 466 static int SizeFor(int slot_count) { in SizeFor() function
|
/external/v8/src/heap/ |
D | objects-visiting.cc | 129 return FixedArray::SizeFor(Context::NEXT_CONTEXT_LINK); in WeakNextOffset() 161 HeapObject::RawField(context, FixedArray::SizeFor(index)); in DoWeakList()
|
D | setup-heap-internal.cc | 235 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()
|
D | factory.cc | 51 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 …]
|
D | concurrent-marking.cc | 238 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()
|
D | heap.cc | 2992 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/ |
D | builtins-async-gen.cc | 35 static const int kWrappedPromiseOffset = FixedArray::SizeFor(context_length); in Await() 164 FixedArray::SizeFor(context_length); in AwaitOptimized()
|
D | builtins-proxy-gen.cc | 126 Node* const context = Allocate(FixedArray::SizeFor(kProxyContextLength)); in CreateProxyRevokeFunctionContext()
|
/external/v8/src/snapshot/ |
D | serializer.cc | 539 allocation_size = SeqOneByteString::SizeFor(length); in SerializeExternalStringAsSequentialString() 545 allocation_size = SeqTwoByteString::SizeFor(length); in SerializeExternalStringAsSequentialString()
|
/external/v8/src/runtime/ |
D | runtime-regexp.cc | 769 int string_size = ResultSeqString::SizeFor(position); in StringReplaceGlobalRegExpWithEmptyString() 770 int allocated_string_size = ResultSeqString::SizeFor(new_length); in StringReplaceGlobalRegExpWithEmptyString()
|