/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | byte_array_test.cpp | 30 * @tc.name: ComputeSize / GetData 39 EXPECT_EQ(ByteArray::ComputeSize(8, 0), 16U); in HWTEST_F_L0() 40 EXPECT_EQ(ByteArray::ComputeSize(16, 4), 80U); in HWTEST_F_L0()
|
H A D | mem_controller_test.cpp | 94 ASSERT_EQ(newSpaceAllocBytesSinceGC, TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), 2)); 107 == oldArray->ComputeSize(JSTaggedValue::TaggedTypeSize(), 2)); 109 == nonMovableArray->ComputeSize(JSTaggedValue::TaggedTypeSize(), 2)); 111 ASSERT_TRUE(hugeObjectAllocSizeInLastGC > hugeArray->ComputeSize(JSTaggedValue::TaggedTypeSize(), SIZE));
|
H A D | handle_leak_test.cpp | 118 *arrayClass, TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), SIZE))); in HWTEST_F_L0() 138 *arrayClass, TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), SIZE))); in HWTEST_F_L0()
|
H A D | gc_first_test.cpp | 217 EXPECT_TRUE(oldSizeBefore > TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), ALLOCATE_SIZE)); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | lexical_env.h | 35 static size_t ComputeSize(uint32_t numSlots) in ComputeSize() function in panda::ecmascript::LexicalEnv 37 return TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), numSlots + RESERVED_ENV_LENGTH); in ComputeSize()
|
H A D | sendable_env.h | 35 static size_t ComputeSize(uint32_t numSlots) in ComputeSize() function in panda::ecmascript::SendableEnv 37 return TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), numSlots + SENDABLE_RESERVED_ENV_LENGTH); in ComputeSize()
|
H A D | byte_array.h | 31 static inline size_t ComputeSize(size_t elemSize, uint32_t length) in ComputeSize() function in panda::ecmascript::ByteArray
|
H A D | js_hclass-inl.h | 250 size = TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), in SizeFromJSHClass() 254 size = ByteArray::ComputeSize(reinterpret_cast<ByteArray *>(header)->GetByteLength(), in SizeFromJSHClass() 279 size = BigInt::ComputeSize(reinterpret_cast<BigInt *>(header)->GetLength()); in SizeFromJSHClass()
|
H A D | shared_object_factory.cpp | 336 size_t size = TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), newLength); in CopySArray() 355 size_t size = TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), length); in ExtendSArray() 379 size_t size = TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), length); in NewSTaggedArrayWithoutInit() 451 size_t size = TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), length); in NewSDictionaryArray() 581 size_t size = ConstantPool::ComputeSize(capacity); in NewSConstantPool() 594 size_t size = TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), length); in NewSCOWTaggedArray() 647 size_t size = TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), length); in NewSTaggedArray() 903 size_t size = AOTLiteralInfo::ComputeSize(length); in NewSAOTLiteralInfo() 915 size_t size = SendableEnv::ComputeSize(numSlots); in NewSendableEnv()
|
H A D | tagged_array.h | 57 static size_t ComputeSize(size_t elemSize, uint32_t length) in ComputeSize() function in panda::ecmascript::TaggedArray
|
H A D | object_factory-inl.h | 137 size_t size = LexicalEnv::ComputeSize(numSlots); in InlineNewLexicalEnv()
|
H A D | object_factory.cpp | 499 size_t size = TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), newLength); in CloneProperties() 603 size_t size = TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), newLength); in CloneProperties() 2310 size_t size = LexicalEnv::ComputeSize(numSlots); in NewLexicalEnv() 2588 size_t size = TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), length); in NewTaggedArray() 2738 size_t size = TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), length); in NewTaggedArrayWithoutInit() 2768 size_t size = TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), length); in NewMutantTaggedArrayWithoutInit() 2804 size_t size = TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), length); in NewCOWTaggedArray() 2817 size_t size = TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), length); in NewCOWMutantTaggedArray() 2830 size_t size = TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), length); in NewMutantTaggedArray() 2844 size_t size = TaggedArray::ComputeSize(JSTaggedValu in NewTaggedHashArray() [all...] |
H A D | tagged_array.cpp | 218 size_t size = TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), newLength); in Trim()
|
H A D | js_bigint.h | 124 static inline size_t ComputeSize(uint32_t length) in ComputeSize() function in panda::ecmascript::BigInt
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
H A D | thread_local_allocation_buffer.h | 67 size_t ComputeSize() const in ComputeSize() function in panda::ecmascript::ThreadLocalAllocationBuffer
|
H A D | heap-inl.h | 546 size_t newTlabSize = sNonMovableTlab_->ComputeSize(); in AllocateSharedNonMovableSpaceFromTlab() 573 size_t newTlabSize = sOldTlab_->ComputeSize(); in AllocateSharedOldSpaceFromTlab()
|
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/ |
H A D | aot_file_manager.h | 81 static size_t ComputeSize(uint32_t cacheSize) in ComputeSize() function in panda::ecmascript::AOTLiteralInfo 83 return TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), cacheSize + RESERVED_LENGTH); in ComputeSize()
|
/arkcompiler/runtime_core/static_core/runtime/include/coretypes/ |
H A D | array.h | 74 static size_t ComputeSize(size_t elemSize, ArraySizeT length) in ComputeSize() function in ark::ark::coretypes::Array 182 return ComputeSize(componentSize, length_); in ObjectSize()
|
/arkcompiler/runtime_core/static_core/runtime/coretypes/ |
H A D | array.cpp | 30 size_t size = Array::ComputeSize(elemSize, length); in AllocateArray()
|
/arkcompiler/ets_runtime/ecmascript/ic/ |
H A D | profile_type_info.h | 149 static size_t ComputeSize(uint32_t icSlotSize) in ComputeSize() function in panda::ecmascript::ProfileTypeInfo 151 return TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), AdjustSlotSize(icSlotSize) + RESERVED_LENGTH); in ComputeSize()
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
H A D | program_object.h | 315 static size_t ComputeSize(uint32_t cacheSize) in ComputeSize() function in panda::ecmascript::ConstantPool 317 return TaggedArray::ComputeSize( in ComputeSize()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | typed_native_inline_lowering.cpp | 2118 size_t size = AlignUp(BigInt::ComputeSize(length), static_cast<size_t>(MemAlignment::MEM_ALIGN_OBJECT)); in LowerBigIntConstructorInt32()
|