Home
last modified time | relevance | path

Searched refs:newArrayLength (Results 1 – 3 of 3) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
DspreadLowering.cpp39 int newArrayLength = array->Elements().size() - spreadElementCount; in CreateLengthString() local
41 … lengthString << "let length : int = " << newArrayLength << " + " << lengthCalculationString.str(); in CreateLengthString()
/arkcompiler/ets_runtime/ecmascript/tests/
Dtagged_array_test.cpp149 uint32_t newArrayLength = 5; in HWTEST_F_L0() local
166 taggedArray->Trim(thread, newArrayLength); in HWTEST_F_L0()
167 for (uint32_t i = 0; i < newArrayLength; i++) { in HWTEST_F_L0()
171 EXPECT_EQ(taggedArray->GetLength(), newArrayLength); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/
Djs_proxy.cpp897 uint32_t newArrayLength = reciveArrayLength + trapResLength - ownKeysLength; in GetAllPropertyKeys() local
899 …JSHandle<TaggedArray> resArray = thread->GetEcmaVM()->GetFactory()->NewTaggedArray(newArrayLength); in GetAllPropertyKeys()