Home
last modified time | relevance | path

Searched refs:ComputeSize (Results 1 - 22 of 22) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/tests/
H A Dbyte_array_test.cpp30 * @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 Dmem_controller_test.cpp94 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 Dhandle_leak_test.cpp118 *arrayClass, TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), SIZE))); in HWTEST_F_L0()
138 *arrayClass, TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), SIZE))); in HWTEST_F_L0()
H A Dgc_first_test.cpp217 EXPECT_TRUE(oldSizeBefore > TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), ALLOCATE_SIZE)); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/
H A Dlexical_env.h35 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 Dsendable_env.h35 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 Dbyte_array.h31 static inline size_t ComputeSize(size_t elemSize, uint32_t length) in ComputeSize() function in panda::ecmascript::ByteArray
H A Djs_hclass-inl.h250 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 Dshared_object_factory.cpp336 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 Dtagged_array.h57 static size_t ComputeSize(size_t elemSize, uint32_t length) in ComputeSize() function in panda::ecmascript::TaggedArray
H A Dobject_factory-inl.h137 size_t size = LexicalEnv::ComputeSize(numSlots); in InlineNewLexicalEnv()
H A Dobject_factory.cpp499 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 Dtagged_array.cpp218 size_t size = TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), newLength); in Trim()
H A Djs_bigint.h124 static inline size_t ComputeSize(uint32_t length) in ComputeSize() function in panda::ecmascript::BigInt
/arkcompiler/ets_runtime/ecmascript/mem/
H A Dthread_local_allocation_buffer.h67 size_t ComputeSize() const in ComputeSize() function in panda::ecmascript::ThreadLocalAllocationBuffer
H A Dheap-inl.h546 size_t newTlabSize = sNonMovableTlab_->ComputeSize(); in AllocateSharedNonMovableSpaceFromTlab()
573 size_t newTlabSize = sOldTlab_->ComputeSize(); in AllocateSharedOldSpaceFromTlab()
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/
H A Daot_file_manager.h81 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 Darray.h74 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 Darray.cpp30 size_t size = Array::ComputeSize(elemSize, length); in AllocateArray()
/arkcompiler/ets_runtime/ecmascript/ic/
H A Dprofile_type_info.h149 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 Dprogram_object.h315 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 Dtyped_native_inline_lowering.cpp2118 size_t size = AlignUp(BigInt::ComputeSize(length), static_cast<size_t>(MemAlignment::MEM_ALIGN_OBJECT)); in LowerBigIntConstructorInt32()

Completed in 27 milliseconds