Lines Matching defs:key
133 PropertyKey key(isolate, name);
134 LookupIterator it(isolate, object, key, LookupIterator::OWN);
357 // that the object has a simple shape, and that the key is a name.
370 // to treat any key correctly for any receiver/holder.
371 PropertyKey key(isolate, next_key);
372 LookupIterator it(isolate, target, key);
491 PropertyKey key(isolate, next_key);
492 LookupIterator it(isolate, target, key, LookupIterator::OWN);
863 Smi JSReceiver::CreateIdentityHash(Isolate* isolate, JSReceiver key) {
868 key.SetIdentityHash(hash);
1016 PropertyKey key(isolate, name);
1017 LookupIterator it(isolate, object, key, object, LookupIterator::OWN);
1024 Handle<Object> key,
1033 // 2. Let key be ToPropertyKey(P).
1034 // 3. ReturnIfAbrupt(key).
1035 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, key,
1036 Object::ToPropertyKey(isolate, key));
1043 // 6. Let success be DefinePropertyOrThrow(O,key, desc).
1045 DefineOwnProperty(isolate, Handle<JSReceiver>::cast(object), key, &desc,
1090 PropertyKey key(isolate, next_key);
1091 LookupIterator it(isolate, props, key, LookupIterator::OWN);
1133 Handle<Object> key,
1138 key, desc, should_throw);
1142 key, desc, should_throw);
1146 isolate, Handle<JSTypedArray>::cast(object), key, desc, should_throw);
1150 isolate, Handle<JSModuleNamespace>::cast(object), key, desc,
1157 return OrdinaryDefineOwnProperty(isolate, Handle<JSObject>::cast(object), key,
1163 Isolate* isolate, Handle<JSObject> object, Handle<Object> key,
1165 DCHECK(key->IsName() || key->IsNumber()); // |key| is a PropertyKey.
1166 PropertyKey lookup_key(isolate, key);
1172 Isolate* isolate, Handle<JSObject> object, const PropertyKey& key,
1174 LookupIterator it(isolate, object, key, LookupIterator::OWN);
1677 Handle<Name> key,
1680 PropertyKey lookup_key(isolate, key);
1753 Handle<Object> key,
1755 DCHECK(key->IsName() || key->IsNumber()); // |key| is a PropertyKey.
1756 PropertyKey lookup_key(isolate, key);
1845 // 2. If O does not have an own property with key P, return undefined.
1854 // 4. Let X be O's own property whose key is P.
1934 Handle<Object> key(keys->get(i), isolate);
1935 MAYBE_RETURN(DefineOwnProperty(isolate, receiver, key, &no_conf,
1943 Handle<Object> key(keys->get(i), isolate);
1946 isolate, receiver, key, ¤t_desc);
1954 DefineOwnProperty(isolate, receiver, key, &desc, Just(kThrowOnError)),
1977 Handle<Object> key(keys->get(i), isolate);
1980 isolate, receiver, key, ¤t_desc);
2160 // the object has a simple shape, and that the key is a name.
2211 Handle<Name> key =
2217 isolate, object, key, &descriptor);
2224 isolate, value, Object::GetPropertyOrElement(isolate, object, key),
2229 entry_storage->set(0, *key);
2930 // Check that the object is not a key in a WeakMap (over-approximation).
3223 Handle<Name> key(descs->GetKey(isolate, i), isolate);
3251 SwissNameDictionary::Add(isolate, ord_dictionary, key, value, d);
3253 dictionary = NameDictionary::Add(isolate, dictionary, key, value, d);
3649 PropertyKey key(isolate, name);
3650 LookupIterator it(isolate, object, key, object, LookupIterator::OWN);
3714 Object key = swiss_dictionary->KeyAt(index);
3715 if (!SwissNameDictionary::IsKey(roots, key)) {
3808 Handle<Name> key(k, isolate);
3810 // Properly mark the {new_map} if the {key} is an "interesting symbol".
3811 if (key->IsInterestingSymbol()) {
3831 key, current_offset, details.attributes(), constness,
3836 d = Descriptor::AccessorConstant(key, handle(value, isolate),
4014 Object key;
4015 if (!dict.ToKey(roots, i, &key)) continue;
4016 if (key.FilterKey(ALL_PROPERTIES)) continue;
4561 PropertyKey key(isolate, name);
4562 LookupIterator it(isolate, object, key, LookupIterator::OWN_SKIP_INTERCEPTOR);
4604 PropertyKey key(isolate, name);
4605 LookupIterator it(isolate, object, key, LookupIterator::OWN_SKIP_INTERCEPTOR);
5143 Object key = dictionary.KeyAt(i);
5144 if (key.IsNumber()) {
5352 PropertyKey key(isolate, name);
5353 LookupIterator it(isolate, object, key, LookupIterator::OWN_SKIP_INTERCEPTOR);
5368 PropertyKey key(isolate, name);
5369 LookupIterator it(isolate, object, key, LookupIterator::OWN_SKIP_INTERCEPTOR);