Searched refs:ComputeSize (Results 1 – 13 of 13) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | mem_controller_test.cpp | 118 …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()
|
D | byte_array_test.cpp | 63 EXPECT_EQ(ByteArray::ComputeSize(8, 0), 16U); in HWTEST_F_L0() 64 EXPECT_EQ(ByteArray::ComputeSize(16, 4), 80U); in HWTEST_F_L0()
|
D | handle_leak_test.cpp | 144 *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/ |
D | lexical_env.h | 34 static size_t ComputeSize(uint32_t numSlots) in ComputeSize() function 36 … return TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), numSlots + RESERVED_ENV_LENGTH); in ComputeSize()
|
D | byte_array.h | 31 static inline size_t ComputeSize(size_t elemSize, uint32_t length) in ComputeSize() function
|
D | js_hclass-inl.h | 189 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()
|
D | tagged_array.h | 50 static inline size_t ComputeSize(size_t elemSize, uint32_t length) in ComputeSize() function
|
D | object_factory-inl.h | 97 size_t size = LexicalEnv::ComputeSize(numSlots); in InlineNewLexicalEnv()
|
D | object_factory.cpp | 419 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 …]
|
D | tagged_array-inl.h | 248 size_t size = TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), newLength); in Trim()
|
D | js_bigint.h | 121 static inline size_t ComputeSize(uint32_t length) in ComputeSize() function
|
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/ |
D | aot_file_manager.h | 59 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/ |
D | program_object.h | 138 static size_t ComputeSize(uint32_t cacheSize) in ComputeSize() function 140 …return TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), cacheSize + RESERVED_POOL_LENGTH); in ComputeSize()
|