Home
last modified time | relevance | path

Searched refs:ComputeSize (Results 1 – 13 of 13) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/tests/
Dmem_controller_test.cpp118 …ASSERT_EQ(newSpaceAllocBytesSinceGC, TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), 2)); in HWTEST_F_L0()
131 == oldArray->ComputeSize(JSTaggedValue::TaggedTypeSize(), 2)); in HWTEST_F_L0()
133 == nonMovableArray->ComputeSize(JSTaggedValue::TaggedTypeSize(), 2)); in HWTEST_F_L0()
135 …ASSERT_TRUE(hugeObjectAllocSizeInLastGC > hugeArray->ComputeSize(JSTaggedValue::TaggedTypeSize(), … in HWTEST_F_L0()
Dbyte_array_test.cpp63 EXPECT_EQ(ByteArray::ComputeSize(8, 0), 16U); in HWTEST_F_L0()
64 EXPECT_EQ(ByteArray::ComputeSize(16, 4), 80U); in HWTEST_F_L0()
Dhandle_leak_test.cpp144 *arrayClass, TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), SIZE))); in HWTEST_F_L0()
170 *arrayClass, TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), SIZE))); in HWTEST_F_L0()
200 *arrayClass, TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), SIZE))); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/
Dlexical_env.h34 static size_t ComputeSize(uint32_t numSlots) in ComputeSize() function
36 … return TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), numSlots + RESERVED_ENV_LENGTH); in ComputeSize()
Dbyte_array.h31 static inline size_t ComputeSize(size_t elemSize, uint32_t length) in ComputeSize() function
Djs_hclass-inl.h189 size = TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), in SizeFromJSHClass()
193 size = ByteArray::ComputeSize(reinterpret_cast<ByteArray *>(header)->GetByteLength(), in SizeFromJSHClass()
214 size = BigInt::ComputeSize(reinterpret_cast<BigInt *>(header)->GetLength()); in SizeFromJSHClass()
Dtagged_array.h50 static inline size_t ComputeSize(size_t elemSize, uint32_t length) in ComputeSize() function
Dobject_factory-inl.h97 size_t size = LexicalEnv::ComputeSize(numSlots); in InlineNewLexicalEnv()
Dobject_factory.cpp419 size_t size = TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), newLength); in CloneProperties()
521 size_t size = TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), newLength); in CloneProperties()
1881 size_t size = LexicalEnv::ComputeSize(numSlots); in NewLexicalEnv()
2164 size_t size = TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), length); in NewTaggedArray()
2223 size_t size = TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), length); in NewTaggedArrayWithoutInit()
2259 size_t size = TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), length); in NewCOWTaggedArray()
2273 size_t size = TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), length); in NewTaggedHashArray()
2283 size_t byteSize = ByteArray::ComputeSize(size, length); in NewByteArray()
2330 size_t size = TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), length); in NewDictionaryArray()
2344 size_t size = TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), length); in ExtendArray()
[all …]
Dtagged_array-inl.h248 size_t size = TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), newLength); in Trim()
Djs_bigint.h121 static inline size_t ComputeSize(uint32_t length) in ComputeSize() function
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/
Daot_file_manager.h59 static size_t ComputeSize(uint32_t cacheSize) in ComputeSize() function
61 … return TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), cacheSize + RESERVED_LENGTH); in ComputeSize()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dprogram_object.h138 static size_t ComputeSize(uint32_t cacheSize) in ComputeSize() function
140 …return TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), cacheSize + RESERVED_POOL_LENGTH); in ComputeSize()