Lines Matching defs:key
34 Isolate* isolate, Handle<Object> lookup_start_object, Handle<Object> key,
40 ErrorUtils::ThrowLoadFromNullOrUndefined(isolate, lookup_start_object, key);
45 PropertyKey lookup_key(isolate, key, &success);
56 if (!it.IsFound() && key->IsSymbol() &&
57 Symbol::cast(*key).is_private_name()) {
59 Symbol::cast(*key).IsPrivateBrand()
62 THROW_NEW_ERROR(isolate, NewTypeError(message, key, lookup_start_object),
70 Handle<Object> key) {
75 NewTypeError(MessageTemplate::kInvalidInOperatorUse, key, object),
80 // Convert the {key} to a name.
82 ASSIGN_RETURN_ON_EXCEPTION(isolate, name, Object::ToName(isolate, key),
167 // (1) The receiver must be a regular object and the key a unique name.
173 Handle<Name> key = Handle<Name>::cast(raw_key);
180 if (descriptors->GetKey(descriptor) != *key) return false;
263 GeneralizeAllTransitionsToFieldAsMutable(isolate, parent_map, key);
272 Handle<Object> key,
274 if (DeleteObjectPropertyFast(isolate, receiver, key)) return Just(true);
277 PropertyKey lookup_key(isolate, key, &success);
364 PropertyKey key(isolate, property, &success);
370 LookupIterator it(isolate, object, key, LookupIterator::OWN);
378 // Fast case: either the key is a real named property or it is not
385 LookupIterator it(isolate, js_obj, key, js_obj, c);
394 (key.is_element() && key.index() <= JSObject::kMaxElementIndex
401 LookupIterator it(isolate, js_obj, key, js_obj, LookupIterator::OWN);
408 LookupIterator it(isolate, object, key, Handle<JSProxy>::cast(object),
417 key.is_element()
418 ? key.index() < static_cast<size_t>(String::cast(*object).length())
419 : key.name()->Equals(ReadOnlyRoots(isolate).length_string()));
435 PropertyKey key(isolate, property, &success);
440 LookupIterator it(isolate, js_obj, key, js_obj, LookupIterator::OWN);
509 // in the instance with the brand variable as key, which is needed by
552 Isolate* isolate, Handle<Object> object, Handle<Object> key,
557 Object::NoSideEffectsToMaybeString(isolate, key);
573 // Check if the given key is an array index.
575 PropertyKey lookup_key(isolate, key, &success);
578 if (key->IsSymbol() && Symbol::cast(*key).is_private_name() &&
591 Handle<Object> key,
597 NewTypeError(MessageTemplate::kNonObjectPropertyStore, key, object),
601 // Check if the given key is an array index.
603 PropertyKey lookup_key(isolate, key, &success);
607 if (key->IsSymbol() && Symbol::cast(*key).is_private_name()) {
807 Handle<Name> key = Handle<Name>::cast(key_obj);
808 key_obj = key = isolate->factory()->InternalizeName(key);
815 InternalIndex entry = dictionary.FindEntry(isolate, key);
829 InternalIndex entry = dictionary.FindEntry(isolate, *key);
837 InternalIndex entry = dictionary.FindEntry(isolate, key);
845 // JSObject without a name key. If the key is a Smi, check for a
885 Handle<Object> key = args.at(1);
889 isolate, Runtime::SetObjectProperty(isolate, object, key, value,
898 Handle<Object> key = args.at(1);
902 isolate, Runtime::DefineObjectOwnProperty(isolate, object, key, value,
911 Handle<Object> key = args.at(1);
915 isolate, Runtime::SetObjectProperty(isolate, object, key, value,
930 Handle<Object> key = args.at(1);
933 PropertyKey lookup_key(isolate, key);
949 Handle<Object> key, LanguageMode language_mode) {
954 Runtime::DeleteObjectProperty(isolate, receiver, key, language_mode);
965 Handle<Object> key = args.at(1);
967 return DeleteProperty(isolate, object, key,
992 Handle<Object> key = args.at(1);
998 NewTypeError(MessageTemplate::kInvalidInOperatorUse, key, object));
1002 // Convert the {key} to a name.
1005 Object::ToName(isolate, key));
1170 PropertyKey key(isolate, name);
1171 LookupIterator it(isolate, object, key, object, LookupIterator::OWN);
1470 Handle<Object> key = args.at(1);
1473 PropertyKey lookup_key(isolate, key, &success);
1485 Handle<String> key = args.at<String>(1);
1491 o, key, value, PropertyAttributes(attributes)));
1551 Handle<Name> key = args.at<Name>(1);
1555 DCHECK(key->IsUniqueName());
1557 return *SwissNameDictionary::Add(isolate, table, key, value, details);
1566 Name key = Name::cast(args[1]);
1567 InternalIndex index = table.FindEntry(isolate, key);