Lines Matching refs:keyArray
317 const JSHandle<TaggedArray> &keyArray) in GetAllKeys() argument
325 ->GetAllKeys(thread, end, offset, *keyArray, obj); in GetAllKeys()
332 return dict->GetAllKeys(thread, offset, *keyArray); in GetAllKeys()
336 dict->GetAllKeys(thread, offset, *keyArray); in GetAllKeys()
341 const JSHandle<TaggedArray> &keyArray, in GetAllKeysByFilter() argument
349 … GetAllKeysByFilter(thread, numberOfProps, keyArrayEffectivelength, *keyArray, obj, filter); in GetAllKeysByFilter()
356 return dict->GetAllKeysByFilter(thread, keyArrayEffectivelength, *keyArray, filter); in GetAllKeysByFilter()
360 dict->GetAllKeysByFilter(thread, keyArrayEffectivelength, *keyArray, filter); in GetAllKeysByFilter()
385 JSHandle<TaggedArray> keyArray = factory->NewTaggedArray(numOfKeys); in GetAllEnumKeys() local
387 dict->GetEnumAllKeys(thread, offset, *keyArray, keys); in GetAllEnumKeys()
388 return keyArray; in GetAllEnumKeys()
396 auto keyArray = JSHandle<TaggedArray>(thread, enumCache); in GetAllEnumKeys() local
397 *keys = keyArray->GetLength(); in GetAllEnumKeys()
398 return keyArray; in GetAllEnumKeys()
400 JSHandle<TaggedArray> keyArray = factory->NewTaggedArray(numOfKeys); in GetAllEnumKeys() local
404 ->GetAllEnumKeys(thread, end, offset, *keyArray, keys, obj); in GetAllEnumKeys()
405 if (*keys == keyArray->GetLength()) { in GetAllEnumKeys()
406 jsHclass->SetEnumCache(thread, keyArray.GetTaggedValue()); in GetAllEnumKeys()
409 return keyArray; in GetAllEnumKeys()
412 JSHandle<TaggedArray> keyArray = factory->NewTaggedArray(numOfKeys); in GetAllEnumKeys() local
414 dict->GetAllEnumKeys(thread, offset, *keyArray, keys); in GetAllEnumKeys()
415 return keyArray; in GetAllEnumKeys()
419 const JSHandle<TaggedArray> &keyArray) in GetAllEnumKeys() argument
428 ->GetAllEnumKeys(thread, end, offset, *keyArray, &keys, obj); in GetAllEnumKeys()
434 dict->GetEnumAllKeys(thread, offset, *keyArray, &keys); in GetAllEnumKeys()
439 dict->GetAllEnumKeys(thread, offset, *keyArray, &keys); in GetAllEnumKeys()
443 const JSHandle<TaggedArray> &keyArray) in GetAllElementKeys() argument
450 keyArray->Set(thread, i, key); in GetAllElementKeys()
460 keyArray->Set(thread, j++, key); in GetAllElementKeys()
464 …NumberDictionary::GetAllKeys(thread, JSHandle<NumberDictionary>(elements), elementIndex, keyArray); in GetAllElementKeys()
470 const JSHandle<TaggedArray> &keyArray, in GetAllElementKeysByFilter() argument
481 keyArray->Set(thread, keyArrayEffectiveLength, JSTaggedValue(i)); in GetAllElementKeysByFilter()
498 keyArray->Set(thread, keyArrayEffectiveLength, JSTaggedValue(i)); in GetAllElementKeysByFilter()
504 keyArrayEffectiveLength, keyArray, filter); in GetAllElementKeysByFilter()
561 const JSHandle<TaggedArray> &keyArray) in GetEnumElementKeys() argument
568 keyArray->Set(thread, i, key); in GetEnumElementKeys()
578 keyArray->Set(thread, j++, key); in GetEnumElementKeys()
583 …onary::GetAllEnumKeys(thread, JSHandle<NumberDictionary>(elements), elementIndex, keyArray, &keys); in GetEnumElementKeys()
1271 JSHandle<TaggedArray> keyArray = thread->GetEcmaVM()->GetFactory()->NewTaggedArray(keyLen); in GetOwnPropertyKeys() local
1274 GetAllElementKeys(thread, obj, 0, keyArray); in GetOwnPropertyKeys()
1276 GetAllKeys(thread, obj, static_cast<int32_t>(numOfElements), keyArray); in GetOwnPropertyKeys()
1277 return keyArray; in GetOwnPropertyKeys()
1344 JSHandle<TaggedArray> keyArray = thread->GetEcmaVM()->GetFactory()->NewTaggedArray(keyLen); in GetOwnEnumPropertyKeys() local
1347 GetEnumElementKeys(thread, obj, 0, keyArray); in GetOwnEnumPropertyKeys()
1349 GetAllEnumKeys(thread, obj, static_cast<int32_t>(numOfElements), keyArray); in GetOwnEnumPropertyKeys()
1350 return keyArray; in GetOwnEnumPropertyKeys()
1556 JSHandle<TaggedArray> keyArray = keyElementPair.first; in EnumerableOwnNames() local
1560 …keys = TaggedArray::AppendSkipHole(thread, elementArray, keyArray, copyLengthOfKeys + copyLengthOf… in EnumerableOwnNames()
1562 keys = factory->CopyArray(keyArray, copyLengthOfKeys, copyLengthOfKeys); in EnumerableOwnNames()
1647 JSHandle<TaggedArray> keyArray = keyElementPair.first; in EnumerableOwnPropertyNames() local
1654 … EnumerableOwnPropertyNamesHelper(thread, obj, keyArray, properties, index, fastMode, kind); in EnumerableOwnPropertyNames()