Lines Matching refs:JSReceiver
90 MaybeHandle<JSReceiver> Object::ToObject(Isolate* isolate, in ToObject()
93 if (object->IsJSReceiver()) return Handle<JSReceiver>::cast(object); in ToObject()
101 return MaybeHandle<JSReceiver>(); in ToObject()
145 isolate, input, JSReceiver::ToPrimitive(Handle<JSReceiver>::cast(input), in ToNumber()
193 isolate, input, JSReceiver::ToPrimitive(Handle<JSReceiver>::cast(input), in ToString()
310 if (!JSReceiver::ToPrimitive(Handle<JSReceiver>::cast(y)) in Equals()
328 if (!JSReceiver::ToPrimitive(Handle<JSReceiver>::cast(y)) in Equals()
344 if (!JSReceiver::ToPrimitive(Handle<JSReceiver>::cast(y)) in Equals()
356 if (!JSReceiver::ToPrimitive(Handle<JSReceiver>::cast(y)) in Equals()
368 if (!JSReceiver::ToPrimitive(Handle<JSReceiver>::cast(y)) in Equals()
382 } else if (!JSReceiver::ToPrimitive(Handle<JSReceiver>::cast(x)) in Equals()
658 MaybeHandle<Object> Object::GetMethod(Handle<JSReceiver> receiver, in GetMethod()
663 JSReceiver::GetProperty(receiver, name), Object); in GetMethod()
693 JSReceiver::GetProperty(object, isolate->factory()->length_string()), in CreateListFromArrayLike()
743 Maybe<bool> JSReceiver::HasProperty(LookupIterator* it) { in HasProperty()
853 Handle<JSReceiver> target(proxy->target(), isolate); in GetProperty()
858 Object::GetMethod(Handle<JSReceiver>::cast(handler), trap_name), Object); in GetProperty()
875 JSReceiver::GetOwnPropertyDescriptor(isolate, target, name, &target_desc); in GetProperty()
913 Handle<Object> JSReceiver::GetDataProperty(Handle<JSReceiver> object, in GetDataProperty()
921 Handle<Object> JSReceiver::GetDataProperty(LookupIterator* it) { in GetDataProperty()
1034 Handle<JSReceiver> new_target, in New()
1090 Handle<JSReceiver> target(proxy->target(), isolate); in GetPrototype()
1091 Handle<JSReceiver> handler(JSReceiver::cast(proxy->handler()), isolate); in GetPrototype()
1114 Maybe<bool> is_extensible = JSReceiver::IsExtensible(target); in GetPrototype()
1179 receiver, Handle<JSReceiver>::cast(getter)); in GetPropertyWithAccessor()
1239 receiver, Handle<JSReceiver>::cast(setter), value, should_throw); in SetPropertyWithAccessor()
1250 Handle<JSReceiver> getter) { in GetPropertyWithDefinedGetter()
1272 Handle<JSReceiver> setter, in SetPropertyWithDefinedSetter()
1291 JSReceiver::HasOwnProperty(Handle<JSReceiver>::cast(object), symbol); in IsErrorObject()
1481 return JSReceiver::cast(this)->GetIdentityHash(); in GetHash()
1515 JSReceiver* receiver = JSReceiver::cast(this); in GetSimpleHash()
1525 return JSReceiver::GetOrCreateIdentityHash(Handle<JSReceiver>::cast(object)); in GetOrCreateHash()
1629 JSReceiver::GetFunctionRealm(Handle<JSReceiver>::cast(constructor)), in ArraySpeciesConstructor()
2490 String* JSReceiver::class_name() { in class_name()
2504 MaybeHandle<String> JSReceiver::BuiltinStringTag(Handle<JSReceiver> object) { in BuiltinStringTag()
2524 Handle<String> JSReceiver::GetConstructorName(Handle<JSReceiver> receiver) { in GetConstructorName()
2546 Handle<Object> maybe_tag = JSReceiver::GetDataProperty( in GetConstructorName()
2553 Handle<JSReceiver> start = PrototypeIterator::GetCurrent<JSReceiver>(iter); in GetConstructorName()
2556 Handle<Object> maybe_constructor = JSReceiver::GetDataProperty(&it); in GetConstructorName()
2571 Context* JSReceiver::GetCreationContext() { in GetCreationContext()
4194 Handle<JSReceiver> receiver = Handle<JSReceiver>::cast(it->GetReceiver()); in SetSuperProperty()
4227 JSReceiver::GetOwnPropertyDescriptor(&own_lookup, &desc); in SetSuperProperty()
4230 return JSReceiver::CreateDataProperty(&own_lookup, value, in SetSuperProperty()
4241 return JSReceiver::DefineOwnProperty(isolate, receiver, it->GetName(), in SetSuperProperty()
4861 Handle<JSReceiver> target(proxy->target(), isolate); in HasProperty()
4865 isolate, trap, Object::GetMethod(Handle<JSReceiver>::cast(handler), in HasProperty()
4871 return JSReceiver::HasProperty(target, name); in HasProperty()
4885 Maybe<bool> target_found = JSReceiver::GetOwnPropertyDescriptor( in HasProperty()
4898 Maybe<bool> extensible_target = JSReceiver::IsExtensible(target); in HasProperty()
4929 Handle<JSReceiver> target(proxy->target(), isolate); in SetProperty()
4930 Handle<JSReceiver> handler(JSReceiver::cast(proxy->handler()), isolate); in SetProperty()
4957 JSReceiver::GetOwnPropertyDescriptor(isolate, target, name, &target_desc); in SetProperty()
4998 Handle<JSReceiver> target(proxy->target(), isolate); in DeletePropertyOrElement()
4999 Handle<JSReceiver> handler(JSReceiver::cast(proxy->handler()), isolate); in DeletePropertyOrElement()
5005 return JSReceiver::DeletePropertyOrElement(target, name, language_mode); in DeletePropertyOrElement()
5023 JSReceiver::GetOwnPropertyDescriptor(isolate, target, name, &target_desc); in DeletePropertyOrElement()
5055 return isolate->factory()->NewJSProxy(Handle<JSReceiver>::cast(target), in New()
5056 Handle<JSReceiver>::cast(handler)); in New()
5067 Handle<JSReceiver> target(JSReceiver::cast(proxy->target())); in GetFunctionRealm()
5068 return JSReceiver::GetFunctionRealm(target); in GetFunctionRealm()
5076 return JSReceiver::GetFunctionRealm( in GetFunctionRealm()
5097 MaybeHandle<Context> JSReceiver::GetFunctionRealm(Handle<JSReceiver> receiver) { in GetFunctionRealm()
5448 Maybe<PropertyAttributes> JSReceiver::GetPropertyAttributes( in GetPropertyAttributes()
6196 void JSReceiver::DeleteNormalizedProperty(Handle<JSReceiver> object, in DeleteNormalizedProperty()
6224 Maybe<bool> JSReceiver::DeleteProperty(LookupIterator* it, in DeleteProperty()
6310 Maybe<bool> JSReceiver::DeleteElement(Handle<JSReceiver> object, uint32_t index, in DeleteElement()
6318 Maybe<bool> JSReceiver::DeleteProperty(Handle<JSReceiver> object, in DeleteProperty()
6326 Maybe<bool> JSReceiver::DeletePropertyOrElement(Handle<JSReceiver> object, in DeletePropertyOrElement()
6361 Object* JSReceiver::DefineProperty(Isolate* isolate, Handle<Object> object, in DefineProperty()
6382 isolate, Handle<JSReceiver>::cast(object), key, &desc, THROW_ON_ERROR); in DefineProperty()
6393 MaybeHandle<Object> JSReceiver::DefineProperties(Isolate* isolate, in DefineProperties()
6406 Handle<JSReceiver> props; in DefineProperties()
6417 JSReceiver::GetKeys(props, JSReceiver::OWN_ONLY, ALL_PROPERTIES), Object); in DefineProperties()
6431 Maybe<PropertyAttributes> maybe = JSReceiver::GetPropertyAttributes(&it); in DefineProperties()
6459 DefineOwnProperty(isolate, Handle<JSReceiver>::cast(object), in DefineProperties()
6471 Maybe<bool> JSReceiver::DefineOwnProperty(Isolate* isolate, in DefineOwnProperty()
6472 Handle<JSReceiver> object, in DefineOwnProperty()
6496 Maybe<bool> JSReceiver::OrdinaryDefineOwnProperty(Isolate* isolate, in OrdinaryDefineOwnProperty()
6523 Maybe<bool> JSReceiver::OrdinaryDefineOwnProperty(LookupIterator* it, in OrdinaryDefineOwnProperty()
6548 Maybe<bool> JSReceiver::IsCompatiblePropertyDescriptor( in IsCompatiblePropertyDescriptor()
6561 Maybe<bool> JSReceiver::ValidateAndApplyPropertyDescriptor( in ValidateAndApplyPropertyDescriptor()
6826 Maybe<bool> JSReceiver::CreateDataProperty(LookupIterator* it, in CreateDataProperty()
6830 Handle<JSReceiver> receiver = Handle<JSReceiver>::cast(it->GetReceiver()); in CreateDataProperty()
6843 return JSReceiver::DefineOwnProperty(isolate, receiver, it->GetName(), in CreateDataProperty()
6851 MAYBE_RETURN(JSReceiver::GetPropertyAttributes(it), Nothing<bool>()); in CreateDataProperty()
7100 Handle<JSReceiver> target(proxy->target(), isolate); in DefineOwnProperty()
7105 Object::GetMethod(Handle<JSReceiver>::cast(handler), trap_name), in DefineOwnProperty()
7110 return JSReceiver::DefineOwnProperty(isolate, target, key, desc, in DefineOwnProperty()
7138 JSReceiver::GetOwnPropertyDescriptor(isolate, target, key, &target_desc); in DefineOwnProperty()
7141 Maybe<bool> maybe_extensible = JSReceiver::IsExtensible(target); in DefineOwnProperty()
7225 Maybe<bool> JSReceiver::GetOwnPropertyDescriptor(Isolate* isolate, in GetOwnPropertyDescriptor()
7226 Handle<JSReceiver> object, in GetOwnPropertyDescriptor()
7242 Maybe<bool> JSReceiver::GetOwnPropertyDescriptor(LookupIterator* it, in GetOwnPropertyDescriptor()
7246 if (it->IsFound() && it->GetHolder<JSReceiver>()->IsJSProxy()) { in GetOwnPropertyDescriptor()
7318 Handle<JSReceiver> target(proxy->target(), isolate); in GetOwnPropertyDescriptor()
7323 Object::GetMethod(Handle<JSReceiver>::cast(handler), trap_name), in GetOwnPropertyDescriptor()
7328 return JSReceiver::GetOwnPropertyDescriptor(isolate, target, name, desc); in GetOwnPropertyDescriptor()
7347 JSReceiver::GetOwnPropertyDescriptor(isolate, target, name, &target_desc); in GetOwnPropertyDescriptor()
7361 Maybe<bool> extensible_target = JSReceiver::IsExtensible(target); in GetOwnPropertyDescriptor()
7374 Maybe<bool> extensible_target = JSReceiver::IsExtensible(target); in GetOwnPropertyDescriptor()
7547 Maybe<bool> JSReceiver::SetIntegrityLevel(Handle<JSReceiver> receiver, in SetIntegrityLevel()
7569 MAYBE_RETURN(JSReceiver::PreventExtensions(receiver, should_throw), in SetIntegrityLevel()
7574 isolate, keys, JSReceiver::OwnPropertyKeys(receiver), Nothing<bool>()); in SetIntegrityLevel()
7596 Maybe<bool> owned = JSReceiver::GetOwnPropertyDescriptor( in SetIntegrityLevel()
7613 Maybe<bool> JSReceiver::TestIntegrityLevel(Handle<JSReceiver> object, in TestIntegrityLevel()
7618 Maybe<bool> extensible = JSReceiver::IsExtensible(object); in TestIntegrityLevel()
7624 isolate, keys, JSReceiver::OwnPropertyKeys(object), Nothing<bool>()); in TestIntegrityLevel()
7629 Maybe<bool> owned = JSReceiver::GetOwnPropertyDescriptor( in TestIntegrityLevel()
7645 Maybe<bool> JSReceiver::PreventExtensions(Handle<JSReceiver> object, in PreventExtensions()
7669 Handle<JSReceiver> target(proxy->target(), isolate); in PreventExtensions()
7670 Handle<JSReceiver> handler(JSReceiver::cast(proxy->handler()), isolate); in PreventExtensions()
7676 return JSReceiver::PreventExtensions(target, should_throw); in PreventExtensions()
7692 Maybe<bool> target_result = JSReceiver::IsExtensible(target); in PreventExtensions()
7759 Maybe<bool> JSReceiver::IsExtensible(Handle<JSReceiver> object) { in IsExtensible()
7778 Handle<JSReceiver> target(proxy->target(), isolate); in IsExtensible()
7779 Handle<JSReceiver> handler(JSReceiver::cast(proxy->handler()), isolate); in IsExtensible()
7785 return JSReceiver::IsExtensible(target); in IsExtensible()
7796 Maybe<bool> target_result = JSReceiver::IsExtensible(target); in IsExtensible()
8246 MaybeHandle<Object> JSReceiver::ToPrimitive(Handle<JSReceiver> receiver, in ToPrimitive()
8283 MaybeHandle<Object> JSReceiver::OrdinaryToPrimitive( in OrdinaryToPrimitive()
8284 Handle<JSReceiver> receiver, OrdinaryToPrimitiveHint hint) { in OrdinaryToPrimitive()
8300 JSReceiver::GetProperty(receiver, name), Object); in OrdinaryToPrimitive()
8385 bool JSReceiver::IsSimpleEnum() { in IsSimpleEnum()
8569 Handle<JSReceiver> receiver, in GetKeysFromInterceptor()
8616 Handle<JSReceiver> receiver, in GetKeysFromJSObject()
8619 JSReceiver::KeyCollectionType type, in GetKeysFromJSObject()
8627 if (type == JSReceiver::INCLUDE_PROTOS) { in GetKeysFromJSObject()
8631 DCHECK(type == JSReceiver::OWN_ONLY); in GetKeysFromJSObject()
8687 Handle<JSReceiver> receiver, in GetKeys_Internal()
8688 Handle<JSReceiver> object, in GetKeys_Internal()
8689 JSReceiver::KeyCollectionType type, in GetKeys_Internal()
8692 PrototypeIterator::WhereToEnd end = type == JSReceiver::OWN_ONLY in GetKeys_Internal()
8698 Handle<JSReceiver> current = in GetKeys_Internal()
8699 PrototypeIterator::GetCurrent<JSReceiver>(iter); in GetKeys_Internal()
8702 if (type == JSReceiver::OWN_ONLY) { in GetKeys_Internal()
8707 DCHECK(type == JSReceiver::INCLUDE_PROTOS); in GetKeys_Internal()
8727 Maybe<bool> JSProxy::Enumerate(Isolate* isolate, Handle<JSReceiver> receiver, in Enumerate()
8742 Handle<JSReceiver> target(proxy->target(), isolate); in Enumerate()
8746 isolate, trap, Object::GetMethod(Handle<JSReceiver>::cast(handler), in Enumerate()
8776 Handle<JSReceiver> receiver, in OwnPropertyKeys()
8791 Handle<JSReceiver> target(proxy->target(), isolate); in OwnPropertyKeys()
8795 isolate, trap, Object::GetMethod(Handle<JSReceiver>::cast(handler), in OwnPropertyKeys()
8820 Maybe<bool> maybe_extensible = JSReceiver::IsExtensible(target); in OwnPropertyKeys()
8826 JSReceiver::OwnPropertyKeys(target), in OwnPropertyKeys()
8840 Maybe<bool> found = JSReceiver::GetOwnPropertyDescriptor( in OwnPropertyKeys()
8921 MaybeHandle<FixedArray> JSReceiver::GetKeys(Handle<JSReceiver> object, in GetKeys()
13112 Handle<JSReceiver> new_target) { in GetDerivedMap()
13176 JSReceiver::GetProperty(new_target, prototype_string), Map); in GetDerivedMap()
13190 JSReceiver::GetFunctionRealm(new_target), Map); in GetDerivedMap()
13192 Handle<Object> maybe_index = JSReceiver::GetDataProperty( in GetDerivedMap()
13257 JSReceiver::GetDataProperty(function, isolate->factory()->name_string()); in GetName()
13265 Handle<Object> name = JSReceiver::GetDataProperty( in GetDebugName()
13312 Handle<Object> class_start_position = JSReceiver::GetDataProperty( in ToString()
13315 Handle<Object> class_end_position = JSReceiver::GetDataProperty( in ToString()
15061 CHECK(JSReceiver::GetPropertyAttributes(&it).IsJust()); in GetOldValue()
15067 : JSReceiver::GetDataProperty(&it); in GetOldValue()
15478 Maybe<bool> JSReceiver::SetPrototype(Handle<JSReceiver> object, in SetPrototype()
15510 Handle<JSReceiver> target(proxy->target(), isolate); in SetPrototype()
15515 Object::GetMethod(Handle<JSReceiver>::cast(handler), trap_name), in SetPrototype()
15519 return JSReceiver::SetPrototype(target, value, from_javascript, in SetPrototype()
15531 Maybe<bool> is_extensible = JSReceiver::IsExtensible(target); in SetPrototype()
15669 if (iter.GetCurrent<JSReceiver>() == *object) { in SetPrototypeUnobserved()
16607 Handle<JSReceiver> receiver; in ObjectProtoToString()
16624 JSReceiver::BuiltinStringTag(receiver), String); in ObjectProtoToString()
19302 Handle<JSReceiver> new_target, double tv) { in New()
19454 MaybeHandle<Object> JSDate::ToPrimitive(Handle<JSReceiver> receiver, in ToPrimitive()
19460 return JSReceiver::OrdinaryToPrimitive(receiver, in ToPrimitive()
19465 return JSReceiver::OrdinaryToPrimitive(receiver, in ToPrimitive()