Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/
Djs_object.cpp1492 JSMutableHandle<TaggedArray> retArray(thread, factory->NewTaggedArray(retArrayLength)); in GetAllPropertyKeys() local
1503retArray.Update(factory->NewAndCopyTaggedArray(retArray, minRequireLength, retArrayLength)); in GetAllPropertyKeys()
1505 retArray.Update(factory->NewTaggedArray(minRequireLength)); in GetAllPropertyKeys()
1510 GetAllElementKeysByFilter(thread, currentObj, retArray, retArrayEffectivelength, filter); in GetAllPropertyKeys()
1512 GetAllKeysByFilter(thread, currentObj, retArrayEffectivelength, retArray, filter); in GetAllPropertyKeys()
1522 return retArray; in GetAllPropertyKeys()
1527 element.Update(retArray->Get(i)); in GetAllPropertyKeys()
1529 retArray->Set(thread, i, base::NumberHelper::NumberToString(thread, in GetAllPropertyKeys()
1537 if (retArray->Get(elementIndex).IsString()) { in GetAllPropertyKeys()
1538 … TaggedArray::RemoveElementByIndex(thread, retArray, elementIndex, retArrayEffectivelength); in GetAllPropertyKeys()
[all …]
/arkcompiler/ets_runtime/ecmascript/serializer/tests/
Dserializer_test.cpp380 JSHandle<JSArray> retArray = JSHandle<JSArray>::Cast(arrayValue); in JSArrayTest() local
382 …SHandle<TaggedArray> keyArray = JSObject::GetOwnPropertyKeys(thread, JSHandle<JSObject>(retArray)); in JSArrayTest()
388 …double a = JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(retArray), key).GetValue()->GetNu… in JSArrayTest()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_serializer_test.cpp332 JSHandle<JSArray> retArray = JSHandle<JSArray>::Cast(arrayValue); in JSArrayTest() local
334 …SHandle<TaggedArray> keyArray = JSObject::GetOwnPropertyKeys(thread, JSHandle<JSObject>(retArray)); in JSArrayTest()
340 …double a = JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(retArray), key).GetValue()->GetNu… in JSArrayTest()