Home
last modified time | relevance | path

Searched refs:JSReceiver (Results 1 – 25 of 86) sorted by relevance

1234

/external/v8/src/
Dkeys.h40 Handle<JSReceiver> object, KeyCollectionMode mode, PropertyFilter filter,
46 Maybe<bool> CollectKeys(Handle<JSReceiver> receiver,
47 Handle<JSReceiver> object);
48 Maybe<bool> CollectOwnElementIndices(Handle<JSReceiver> receiver,
50 Maybe<bool> CollectOwnPropertyNames(Handle<JSReceiver> receiver,
53 Handle<AccessCheckInfo> access_check_info, Handle<JSReceiver> receiver,
81 void set_last_non_empty_prototype(Handle<JSReceiver> object) { in set_last_non_empty_prototype()
90 Maybe<bool> CollectOwnKeys(Handle<JSReceiver> receiver,
92 Maybe<bool> CollectOwnJSProxyKeys(Handle<JSReceiver> receiver,
95 Handle<JSReceiver> target);
[all …]
Dlookup.h55 Handle<JSReceiver> holder,
61 Handle<JSReceiver> holder,
86 Handle<JSReceiver> holder,
116 Handle<JSReceiver> holder, Configuration configuration = DEFAULT) {
286 MUST_USE_RESULT inline JSReceiver* NextHolder(Map* map);
291 void NextInternal(Map* map, JSReceiver* holder);
293 inline State LookupInHolder(Map* map, JSReceiver* holder) { in LookupInHolder()
299 State LookupInRegularHolder(Map* map, JSReceiver* holder);
301 State LookupInSpecialHolder(Map* map, JSReceiver* holder);
342 static Handle<JSReceiver> GetRootForNonJSReceiver(
[all …]
Dkeys.cc37 Handle<JSReceiver> object, KeyCollectionMode mode, PropertyFilter filter, in GetKeys()
152 Maybe<bool> KeyAccumulator::CollectKeys(Handle<JSReceiver> receiver, in CollectKeys()
153 Handle<JSReceiver> object) { in CollectKeys()
171 Handle<JSReceiver> current = in CollectKeys()
172 PrototypeIterator::GetCurrent<JSReceiver>(iter); in CollectKeys()
216 void TrySettingEmptyEnumCache(JSReceiver* object) { in TrySettingEmptyEnumCache()
230 bool CheckAndInitalizeEmptyEnumCache(JSReceiver* object) { in CheckAndInitalizeEmptyEnumCache()
247 JSReceiver* last_prototype = nullptr; in Prepare()
250 JSReceiver* current = iter.GetCurrent<JSReceiver>(); in Prepare()
468 Maybe<bool> CollectInterceptorKeysInternal(Handle<JSReceiver> receiver, in CollectInterceptorKeysInternal()
[all …]
Dlookup.cc55 JSReceiver* holder = *holder_; in Start()
73 JSReceiver* holder = *holder_; in Next()
87 void LookupIterator::NextInternal(Map* map, JSReceiver* holder) { in NextInternal()
89 JSReceiver* maybe_holder = NextHolder(map); in NextInternal()
119 Handle<JSReceiver> LookupIterator::GetRootForNonJSReceiver( in GetRootForNonJSReceiver()
138 return Handle<JSReceiver>::cast(root); in GetRootForNonJSReceiver()
429 Handle<JSReceiver> holder = Handle<JSReceiver>::cast(holder_); in Delete()
450 JSReceiver::DeleteNormalizedProperty(holder, name_, number_); in Delete()
578 JSReceiver* current = JSReceiver::cast(*receiver_); in HolderIsReceiverOrHiddenPrototype()
579 JSReceiver* object = *holder_; in HolderIsReceiverOrHiddenPrototype()
[all …]
Djson-parser.h23 JsonParseInternalizer(Isolate* isolate, Handle<JSReceiver> reviver) in JsonParseInternalizer()
26 MaybeHandle<Object> InternalizeJsonProperty(Handle<JSReceiver> holder,
29 bool RecurseAndApply(Handle<JSReceiver> holder, Handle<String> name);
32 Handle<JSReceiver> reviver_;
Dcontexts.cc107 JSReceiver* Context::extension_receiver() { in extension_receiver()
110 return IsWithContext() ? JSReceiver::cast( in extension_receiver()
174 Maybe<bool> found = JSReceiver::HasProperty(it); in UnscopableLookup()
180 JSReceiver::GetProperty(Handle<JSReceiver>::cast(it->GetReceiver()), in UnscopableLookup()
187 JSReceiver::GetProperty(Handle<JSReceiver>::cast(unscopables), in UnscopableLookup()
234 Handle<JSReceiver> object(context->extension_receiver()); in Lookup()
266 maybe = JSReceiver::GetOwnPropertyAttributes(object, name); in Lookup()
290 maybe = JSReceiver::GetPropertyAttributes(object, name); in Lookup()
367 Handle<JSReceiver> extension(JSReceiver::cast(obj)); in Lookup()
369 Maybe<bool> found = JSReceiver::HasProperty(&it); in Lookup()
Djson-stringifier.h80 Result SerializeJSReceiverSlow(Handle<JSReceiver> object);
81 Result SerializeArrayLikeSlow(Handle<JSReceiver> object, uint32_t start,
102 Handle<JSReceiver> CurrentHolder(Handle<Object> value,
115 Handle<JSReceiver> replacer_function_;
Dprototype.h32 PrototypeIterator(Isolate* isolate, Handle<JSReceiver> receiver,
45 PrototypeIterator(Isolate* isolate, JSReceiver* receiver,
65 Map* map = JSReceiver::cast(object_)->map();
81 Map* map = JSReceiver::cast(*handle_)->map();
Dcompilation-dependencies.cc128 Handle<Map> map, MaybeHandle<JSReceiver> prototype) { in AssumePrototypeMapsStable()
130 Handle<JSReceiver> const current = in AssumePrototypeMapsStable()
131 PrototypeIterator::GetCurrent<JSReceiver>(i); in AssumePrototypeMapsStable()
133 Handle<JSReceiver> last; in AssumePrototypeMapsStable()
Dproperty-descriptor.cc21 bool GetPropertyIfPresent(Handle<JSReceiver> receiver, Handle<String> name, in GetPropertyIfPresent()
25 Maybe<bool> has_property = JSReceiver::HasProperty(&it); in GetPropertyIfPresent()
42 bool ToPropertyDescriptorFastPath(Isolate* isolate, Handle<JSReceiver> obj, in ToPropertyDescriptorFastPath()
200 Handle<JSReceiver> receiver = Handle<JSReceiver>::cast(obj); in ToPropertyDescriptor()
Dobjects.cc108 MaybeHandle<JSReceiver> Object::ToObject(Isolate* isolate, in ToObject()
111 if (object->IsJSReceiver()) return Handle<JSReceiver>::cast(object); in ToObject()
121 JSReceiver); in ToObject()
134 MaybeHandle<JSReceiver> Object::ConvertReceiver(Isolate* isolate, in ConvertReceiver()
136 if (object->IsJSReceiver()) return Handle<JSReceiver>::cast(object); in ConvertReceiver()
162 isolate, input, JSReceiver::ToPrimitive(Handle<JSReceiver>::cast(input), in ConvertToNumber()
245 isolate, input, JSReceiver::ToPrimitive(Handle<JSReceiver>::cast(input), in ConvertToString()
261 return JSReceiver::HasOwnProperty(Handle<JSReceiver>::cast(object), symbol) in IsErrorObject()
272 Handle<JSReceiver> receiver = Handle<JSReceiver>::cast(input); in NoSideEffectsErrorToString()
275 Handle<Object> name = JSReceiver::GetDataProperty(receiver, name_key); in NoSideEffectsErrorToString()
[all …]
Dapi-natives.h27 Handle<JSReceiver> new_target = Handle<JSReceiver>());
Dcompilation-dependencies.h37 MaybeHandle<JSReceiver> prototype = MaybeHandle<JSReceiver>());
/external/v8/src/builtins/
Dbuiltins-reflect.cc45 JSReceiver::DefineOwnProperty(isolate, Handle<JSReceiver>::cast(target), in BUILTIN()
69 Maybe<bool> result = JSReceiver::DeletePropertyOrElement( in BUILTIN()
70 Handle<JSReceiver>::cast(target), name, SLOPPY); in BUILTIN()
95 Handle<JSReceiver>::cast(target))); in BUILTIN()
117 Maybe<bool> found = JSReceiver::GetOwnPropertyDescriptor( in BUILTIN()
118 isolate, Handle<JSReceiver>::cast(target), name, &desc); in BUILTIN()
136 Handle<JSReceiver> receiver = Handle<JSReceiver>::cast(target); in BUILTIN()
138 JSReceiver::GetPrototype(isolate, receiver)); in BUILTIN()
160 JSReceiver::HasProperty(Handle<JSReceiver>::cast(target), name); in BUILTIN()
179 JSReceiver::IsExtensible(Handle<JSReceiver>::cast(target)); in BUILTIN()
[all …]
Dbuiltins-object.cc94 Handle<JSReceiver> to = Handle<JSReceiver>::cast(target); in BUILTIN()
102 MAYBE_RETURN(JSReceiver::SetOrCopyDataProperties(isolate, to, next_source), in BUILTIN()
112 Handle<JSReceiver> object; in BUILTIN()
117 isolate, object, JSReceiver::ToObject(isolate, args.receiver())); in BUILTIN()
119 JSReceiver::GetOwnPropertyAttributes(object, name); in BUILTIN()
405 isolate, JSReceiver::DefineProperties(isolate, target, properties)); in BUILTIN()
416 return JSReceiver::DefineProperty(isolate, target, key, attributes); in BUILTIN()
425 Handle<JSReceiver> receiver; in ObjectDefineAccessor()
453 Maybe<bool> success = JSReceiver::DefineOwnProperty( in ObjectDefineAccessor()
573 MAYBE_RETURN(JSReceiver::SetIntegrityLevel(Handle<JSReceiver>::cast(object), in BUILTIN()
[all …]
Dbuiltins-boolean.cc29 Handle<JSReceiver> new_target = Handle<JSReceiver>::cast(args.new_target()); in BUILTIN()
/external/v8/src/regexp/
Dregexp-utils.cc38 V8_INLINE bool HasInitialRegExpMap(Isolate* isolate, JSReceiver* recv) { in HasInitialRegExpMap()
45 Handle<JSReceiver> recv, in SetLastIndex()
57 Handle<JSReceiver> recv) { in GetLastIndex()
69 Handle<JSReceiver> regexp, in RegExpExec()
119 Handle<JSReceiver> receiver = Handle<JSReceiver>::cast(object); in IsRegExp()
137 JSReceiver* recv = JSReceiver::cast(*obj); in IsUnmodifiedRegExp()
146 if (JSReceiver::cast(proto)->map() != *initial_proto_initial_map) { in IsUnmodifiedRegExp()
172 Isolate* isolate, Handle<JSReceiver> regexp, Handle<String> string, in SetAdvancedStringIndex()
Dregexp-utils.h25 Isolate* isolate, Handle<JSReceiver> regexp, int value);
27 Isolate* isolate, Handle<JSReceiver> recv);
31 Isolate* isolate, Handle<JSReceiver> regexp, Handle<String> string,
47 Isolate* isolate, Handle<JSReceiver> regexp, Handle<String> string,
/external/v8/src/runtime/
Druntime-forin.cc23 MaybeHandle<HeapObject> Enumerate(Handle<JSReceiver> receiver) { in Enumerate()
45 Handle<JSReceiver> receiver, in HasEnumerableProperty()
72 isolate, Handle<JSReceiver>::cast(prototype), key); in HasEnumerableProperty()
109 CONVERT_ARG_HANDLE_CHECKED(JSReceiver, receiver, 0); in RUNTIME_FUNCTION()
117 Handle<JSReceiver> receiver = args.at<JSReceiver>(0); in RUNTIME_FUNCTION_RETURN_TRIPLE()
146 CONVERT_ARG_HANDLE_CHECKED(JSReceiver, receiver, 0); in RUNTIME_FUNCTION()
157 CONVERT_ARG_HANDLE_CHECKED(JSReceiver, receiver, 0); in RUNTIME_FUNCTION()
Druntime-object.cc130 Handle<JSReceiver> receiver, in DeleteObjectProperty()
138 return JSReceiver::DeleteProperty(&it, language_mode); in DeleteObjectProperty()
170 Maybe<bool> maybe = JSReceiver::HasProperty(&it); in RUNTIME_FUNCTION()
189 Maybe<bool> maybe = JSReceiver::HasProperty(&it); in RUNTIME_FUNCTION()
201 JSReceiver::HasOwnProperty(Handle<JSProxy>::cast(object), key); in RUNTIME_FUNCTION()
254 isolate, JSReceiver::DefineProperties(isolate, object, properties)); in RUNTIME_FUNCTION()
287 CONVERT_ARG_HANDLE_CHECKED(JSReceiver, obj, 0); in RUNTIME_FUNCTION()
288 RETURN_RESULT_OR_FAILURE(isolate, JSReceiver::GetPrototype(isolate, obj)); in RUNTIME_FUNCTION()
295 CONVERT_ARG_HANDLE_CHECKED(JSReceiver, obj, 0); in RUNTIME_FUNCTION()
298 JSReceiver::SetPrototype(obj, prototype, false, Object::THROW_ON_ERROR), in RUNTIME_FUNCTION()
[all …]
Druntime-proxy.cc35 Handle<JSReceiver> target(proxy->target(), isolate); in RUNTIME_FUNCTION()
40 Object::GetMethod(Handle<JSReceiver>::cast(handler), trap_name)); in RUNTIME_FUNCTION()
89 Handle<JSReceiver> target(JSReceiver::cast(proxy->target()), isolate); in RUNTIME_FUNCTION()
94 Object::GetMethod(Handle<JSReceiver>::cast(handler), trap_name)); in RUNTIME_FUNCTION()
Druntime-classes.cc242 MaybeHandle<JSReceiver> GetSuperHolder( in GetSuperHolder()
248 RETURN_EXCEPTION_IF_SCHEDULED_EXCEPTION(isolate, JSReceiver); in GetSuperHolder()
261 THROW_NEW_ERROR(isolate, NewTypeError(message, name, proto), JSReceiver); in GetSuperHolder()
263 return Handle<JSReceiver>::cast(proto); in GetSuperHolder()
269 Handle<JSReceiver> holder; in LoadFromSuper()
284 Handle<JSReceiver> holder; in LoadElementFromSuper()
342 Handle<JSReceiver> holder; in StoreToSuper()
359 Handle<JSReceiver> holder; in StoreElementToSuper()
Druntime-wasm.cc87 Handle<Object> stack_trace_obj = JSReceiver::GetDataProperty( in ThrowRuntimeError()
100 Handle<Object> detailed_stack_trace_obj = JSReceiver::GetDataProperty( in ThrowRuntimeError()
113 DCHECK(JSReceiver::GetDataProperty(&it)->IsSmi()); in ThrowRuntimeError()
115 Maybe<bool> data_set = JSReceiver::SetDataProperty( in ThrowRuntimeError()
Druntime-function.cc22 CONVERT_ARG_HANDLE_CHECKED(JSReceiver, function, 0); in RUNTIME_FUNCTION()
62 CONVERT_ARG_HANDLE_CHECKED(JSReceiver, function, 0); in RUNTIME_FUNCTION()
77 CONVERT_ARG_HANDLE_CHECKED(JSReceiver, function, 0); in RUNTIME_FUNCTION()
92 CONVERT_ARG_HANDLE_CHECKED(JSReceiver, function, 0); in RUNTIME_FUNCTION()
307 CONVERT_ARG_HANDLE_CHECKED(JSReceiver, function, 0); in RUNTIME_FUNCTION()
/external/v8/src/asmjs/
Dasm-js.h21 Handle<JSReceiver> stdlib);
25 Handle<JSReceiver> foreign);

1234