Lines Matching refs:keys
55 OrderedHashSet::ConvertToKeysArray(keys(), convert); in GetKeys()
80 keys_ = OrderedHashSet::Add(keys(), key); in AddKey()
101 Handle<FixedArray> keys, in FilterProxyKeys() argument
105 return keys; in FilterProxyKeys()
109 for (int i = 0; i < keys->length(); ++i) { in FilterProxyKeys()
110 Handle<Name> key(Name::cast(keys->get(i)), isolate); in FilterProxyKeys()
125 keys->set(store_position, *key); in FilterProxyKeys()
130 keys->Shrink(store_position); in FilterProxyKeys()
131 return keys; in FilterProxyKeys()
136 Handle<FixedArray> keys) { in AddKeysFromJSProxy() argument
140 isolate_, keys, FilterProxyKeys(this, proxy, keys, filter_), in AddKeysFromJSProxy()
144 keys_ = keys; in AddKeysFromJSProxy()
148 AddKeys(keys, is_for_in_ ? CONVERT_TO_ARRAY_INDEX : DO_NOT_CONVERT); in AddKeysFromJSProxy()
298 Handle<FixedArray> keys(descs->GetEnumCache(), isolate); in GetFastEnumPropertyKeys() local
303 if (own_property_count <= keys->length()) { in GetFastEnumPropertyKeys()
306 return ReduceFixedArrayTo(isolate, keys, own_property_count); in GetFastEnumPropertyKeys()
357 Handle<FixedArray> keys; in GetOwnKeysWithElements() local
360 keys = GetFastEnumPropertyKeys(isolate, object); in GetOwnKeysWithElements()
363 keys = KeyAccumulator::GetOwnEnumPropertyKeys(isolate, object); in GetOwnKeysWithElements()
366 accessor->PrependElementIndices(object, keys, convert, ONLY_ENUMERABLE); in GetOwnKeysWithElements()
370 keys->length(), result.ToHandleChecked()->length() - keys->length()); in GetOwnKeysWithElements()
384 Handle<FixedArray> keys; in GetKeys() local
385 if (GetKeysFast(keys_conversion).ToHandle(&keys)) { in GetKeys()
386 return keys; in GetKeys()
412 Handle<FixedArray> keys; in GetKeysFast() local
414 if (GetOwnKeysWithUninitializedEnumCache().ToHandle(&keys)) { in GetKeysFast()
417 keys->length()); in GetKeysFast()
421 return keys; in GetKeysFast()
445 Handle<FixedArray> keys = GetFastEnumPropertyKeys(isolate_, object); in GetOwnKeysWithUninitializedEnumCache() local
446 if (is_for_in_) return keys; in GetOwnKeysWithUninitializedEnumCache()
448 return isolate_->factory()->CopyFixedArray(keys); in GetOwnKeysWithUninitializedEnumCache()
529 KeyAccumulator* keys, in CollectOwnPropertyNamesInternal() argument
533 PropertyFilter filter = keys->filter(); in CollectOwnPropertyNamesInternal()
534 KeyCollectionMode mode = keys->mode(); in CollectOwnPropertyNamesInternal()
559 if (key->FilterKey(keys->filter())) continue; in CollectOwnPropertyNamesInternal()
562 keys->AddShadowingKey(key); in CollectOwnPropertyNamesInternal()
564 keys->AddKey(key, DO_NOT_CONVERT); in CollectOwnPropertyNamesInternal()
866 Handle<FixedArray> keys; in CollectOwnJSProxyTargetKeys() local
868 isolate_, keys, in CollectOwnJSProxyTargetKeys()
872 Maybe<bool> result = AddKeysFromJSProxy(proxy, keys); in CollectOwnJSProxyTargetKeys()