Home
last modified time | relevance | path

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

123

/external/v8/src/
Dlookup.h71 Handle<JSReceiver> holder,
115 Handle<JSReceiver> holder,
150 Handle<JSReceiver> holder, Configuration configuration = DEFAULT) {
269 MUST_USE_RESULT inline JSReceiver* NextHolder(Map* map);
270 inline State LookupInHolder(Map* map, JSReceiver* holder);
275 State LookupNonMaskingInterceptorInHolder(Map* map, JSReceiver* holder);
311 static Handle<JSReceiver> GetRootForNonJSReceiver(
313 inline static Handle<JSReceiver> GetRoot(Isolate* isolate,
316 if (receiver->IsJSReceiver()) return Handle<JSReceiver>::cast(receiver);
321 inline bool IsIntegerIndexedExotic(JSReceiver* holder);
[all …]
Dlookup.cc54 JSReceiver* holder = *holder_; in Next()
63 JSReceiver* maybe_holder = NextHolder(map); in Next()
95 Handle<JSReceiver> LookupIterator::GetRootForNonJSReceiver( in GetRootForNonJSReceiver()
113 return Handle<JSReceiver>::cast(root); in GetRootForNonJSReceiver()
273 Handle<JSReceiver> holder = Handle<JSReceiver>::cast(holder_); in Delete()
290 JSReceiver::DeleteNormalizedProperty(holder, name_, number_); in Delete()
402 JSReceiver* holder = *holder_; in InternalHolderIsReceiverOrHiddenPrototype()
405 return JSReceiver::cast(current) == holder; in InternalHolderIsReceiverOrHiddenPrototype()
410 if (iter.GetCurrent<JSReceiver>() == holder) return true; in InternalHolderIsReceiverOrHiddenPrototype()
515 Handle<JSReceiver> holder = GetHolder<JSReceiver>(); in WriteDataValue()
[all …]
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()
Dbuiltins.cc968 bool IterateElementsSlow(Isolate* isolate, Handle<JSReceiver> receiver, in IterateElementsSlow()
972 Maybe<bool> maybe = JSReceiver::HasElement(receiver, i); in IterateElementsSlow()
997 bool IterateElements(Isolate* isolate, Handle<JSReceiver> receiver, in IterateElements()
1041 Maybe<bool> maybe = JSReceiver::HasElement(array, j); in IterateElements()
1077 Maybe<bool> maybe = JSReceiver::HasElement(array, j); in IterateElements()
1193 Maybe<bool> maybe = JSReceiver::HasProperty(obj, key); in HasConcatSpreadableModifier()
1371 Handle<JSReceiver> object = Handle<JSReceiver>::cast(obj); in Slow_ArrayConcat()
1473 Handle<JSReceiver> to = Handle<JSReceiver>::cast(target); in BUILTIN()
1485 Handle<JSReceiver> from = in BUILTIN()
1490 isolate, keys, JSReceiver::GetKeys(from, JSReceiver::OWN_ONLY, in BUILTIN()
[all …]
Dcompilation-dependencies.h37 MaybeHandle<JSReceiver> prototype = MaybeHandle<JSReceiver>());
Dcontexts.cc97 JSReceiver* Context::extension_receiver() { in extension_receiver()
100 return IsWithContext() ? JSReceiver::cast(extension()) : extension_object(); in extension_receiver()
152 Maybe<bool> found = JSReceiver::HasProperty(it); in UnscopableLookup()
248 Handle<JSReceiver> object(context->extension_receiver()); in Lookup()
279 maybe = JSReceiver::GetOwnPropertyAttributes(object, name); in Lookup()
297 maybe = JSReceiver::GetPropertyAttributes(object, name); in Lookup()
Dobjects.cc90 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()
[all …]
Dobjects.h929 V(JSReceiver) \
1138 static inline MaybeHandle<JSReceiver> ToObject(Isolate* isolate,
1140 MUST_USE_RESULT static MaybeHandle<JSReceiver> ToObject(
1176 Handle<JSReceiver> receiver, Handle<Name> name);
1287 Handle<JSReceiver> holder, Handle<Name> name, Handle<Object> receiver,
1303 Handle<JSReceiver> getter);
1305 Handle<Object> receiver, Handle<JSReceiver> setter, Handle<Object> value,
1803 class JSReceiver: public HeapObject {
1815 static void DeleteNormalizedProperty(Handle<JSReceiver> object,
1818 DECLARE_CAST(JSReceiver)
[all …]
Dexecution.cc424 MaybeHandle<JSReceiver> Execution::ToObject(Isolate* isolate, in ToObject()
426 Handle<JSReceiver> receiver; in ToObject()
427 if (JSReceiver::ToObject(isolate, obj).ToHandle(&receiver)) { in ToObject()
432 JSReceiver); in ToObject()
Dapi.h147 V(Object, JSReceiver) \
170 V(Function, JSReceiver) \
204 v8::internal::Handle<v8::internal::JSReceiver> obj);
272 v8::internal::Handle<v8::internal::JSReceiver> obj);
357 MAKE_TO_LOCAL(ToLocal, JSReceiver, Object) in MAKE_TO_LOCAL()
384 MAKE_TO_LOCAL(CallableToLocal, JSReceiver, Function) in MAKE_TO_LOCAL()
Di18n.cc428 Maybe<bool> maybe = JSReceiver::HasOwnProperty(resolved, key); in SetResolvedNumberSettings()
438 maybe = JSReceiver::HasOwnProperty(resolved, key); in SetResolvedNumberSettings()
758 Maybe<bool> maybe = JSReceiver::HasOwnProperty(obj, key); in UnpackDateFormat()
838 Maybe<bool> maybe = JSReceiver::HasOwnProperty(obj, key); in UnpackNumberFormat()
899 Maybe<bool> maybe = JSReceiver::HasOwnProperty(obj, key); in UnpackCollator()
964 Maybe<bool> maybe = JSReceiver::HasOwnProperty(obj, key); in UnpackBreakIterator()
Dmessages.cc226 MaybeHandle<JSReceiver> maybe = Object::ToObject(isolate_, receiver_); in GetMethodName()
227 Handle<JSReceiver> receiver; in GetMethodName()
317 JSReceiver::GetDataProperty(Handle<JSObject>::cast(receiver_), in IsConstructor()
/external/v8/src/runtime/
Druntime-object.cc122 Handle<JSReceiver> receiver, in DeleteObjectProperty()
130 return JSReceiver::DeleteProperty(&it, language_mode); in DeleteObjectProperty()
172 CONVERT_ARG_HANDLE_CHECKED(JSReceiver, obj, 0); in RUNTIME_FUNCTION()
175 JSReceiver::SetPrototype(obj, prototype, false, Object::THROW_ON_ERROR), in RUNTIME_FUNCTION()
184 CONVERT_ARG_HANDLE_CHECKED(JSReceiver, obj, 0); in RUNTIME_FUNCTION()
187 JSReceiver::SetPrototype(obj, prototype, true, Object::THROW_ON_ERROR), in RUNTIME_FUNCTION()
285 Maybe<bool> found = JSReceiver::GetOwnPropertyDescriptor( in RUNTIME_FUNCTION()
286 isolate, Handle<JSReceiver>::cast(object), key, &desc); in RUNTIME_FUNCTION()
477 Maybe<PropertyAttributes> maybe = JSReceiver::GetPropertyAttributes(&it); in RUNTIME_FUNCTION()
506 Maybe<PropertyAttributes> maybe = JSReceiver::GetPropertyAttributes(&it); in RUNTIME_FUNCTION()
[all …]
Druntime-forin.cc27 CONVERT_ARG_HANDLE_CHECKED(JSReceiver, receiver, 0); in RUNTIME_FUNCTION()
34 Maybe<bool> result = JSReceiver::HasProperty(receiver, name); in RUNTIME_FUNCTION()
44 CONVERT_ARG_HANDLE_CHECKED(JSReceiver, receiver, 0); in RUNTIME_FUNCTION()
59 Maybe<bool> result = JSReceiver::HasProperty(receiver, name); in RUNTIME_FUNCTION()
Druntime-proxy.cc35 Handle<JSReceiver> target(proxy->target(), isolate); in RUNTIME_FUNCTION()
40 Object::GetMethod(Handle<JSReceiver>::cast(handler), trap_name)); in RUNTIME_FUNCTION()
94 Handle<JSReceiver> target(JSReceiver::cast(proxy->target()), isolate); in RUNTIME_FUNCTION()
99 Object::GetMethod(Handle<JSReceiver>::cast(handler), trap_name)); in RUNTIME_FUNCTION()
Druntime-observe.cc19 CONVERT_ARG_CHECKED(JSReceiver, obj, 0); in RUNTIME_FUNCTION()
28 CONVERT_ARG_HANDLE_CHECKED(JSReceiver, obj, 0); in RUNTIME_FUNCTION()
59 CONVERT_ARG_HANDLE_CHECKED(JSReceiver, callback, 0); in RUNTIME_FUNCTION()
99 CONVERT_ARG_HANDLE_CHECKED(JSReceiver, observer, 0); in RUNTIME_FUNCTION()
Druntime-function.cc56 CONVERT_ARG_HANDLE_CHECKED(JSReceiver, function, 0); in RUNTIME_FUNCTION()
69 CONVERT_ARG_HANDLE_CHECKED(JSReceiver, function, 0); in RUNTIME_FUNCTION()
253 CONVERT_ARG_HANDLE_CHECKED(JSReceiver, target, 0); in RUNTIME_FUNCTION()
271 CONVERT_ARG_HANDLE_CHECKED(JSReceiver, target, 0); in RUNTIME_FUNCTION()
288 CONVERT_ARG_HANDLE_CHECKED(JSReceiver, fun, 0); in RUNTIME_FUNCTION()
353 CONVERT_ARG_HANDLE_CHECKED(JSReceiver, function, 0); in RUNTIME_FUNCTION()
Druntime-scopes.cc48 Maybe<PropertyAttributes> maybe = JSReceiver::GetPropertyAttributes(&it); in DeclareGlobals()
180 Maybe<PropertyAttributes> maybe = JSReceiver::GetPropertyAttributes(&it); in RUNTIME_FUNCTION()
392 Maybe<PropertyAttributes> maybe = JSReceiver::GetPropertyAttributes(&it); in RUNTIME_FUNCTION()
764 Maybe<PropertyAttributes> maybe = JSReceiver::GetPropertyAttributes(&it); in FindNameClash()
827 CONVERT_ARG_HANDLE_CHECKED(JSReceiver, extension_object, 0); in RUNTIME_FUNCTION()
987 Handle<JSReceiver> object = Handle<JSReceiver>::cast(holder); in RUNTIME_FUNCTION()
988 Maybe<bool> result = JSReceiver::DeleteProperty(object, name); in RUNTIME_FUNCTION()
1070 Handle<JSReceiver> object = Handle<JSReceiver>::cast(holder); in LoadLookupSlotHelper()
1154 Handle<JSReceiver> object; in RUNTIME_FUNCTION()
1157 object = Handle<JSReceiver>::cast(holder); in RUNTIME_FUNCTION()
[all …]
Druntime-classes.cc237 MAYBE_RETURN(JSReceiver::SetIntegrityLevel(prototype, FROZEN, in RUNTIME_FUNCTION()
240 MAYBE_RETURN(JSReceiver::SetIntegrityLevel(constructor, FROZEN, in RUNTIME_FUNCTION()
265 LookupIterator it(receiver, name, Handle<JSReceiver>::cast(proto)); in LoadFromSuper()
291 LookupIterator it(isolate, receiver, index, Handle<JSReceiver>::cast(proto)); in LoadElementFromSuper()
365 LookupIterator it(receiver, name, Handle<JSReceiver>::cast(proto)); in StoreToSuper()
388 LookupIterator it(isolate, receiver, index, Handle<JSReceiver>::cast(proto)); in StoreElementToSuper()
/external/v8/src/debug/
Ddebug-evaluate.cc299 Maybe<bool> maybe = JSReceiver::HasOwnProperty( in MaterializeArgumentsObject()
330 Handle<JSReceiver> object = Handle<JSReceiver>::cast(holder); in LoadFromContext()
333 return JSReceiver::GetDataProperty(object, name); in LoadFromContext()
370 Handle<JSReceiver> object = Handle<JSReceiver>::cast(holder); in StoreToContext()
373 CHECK(JSReceiver::SetDataProperty(&lookup, value).FromJust()); in StoreToContext()
384 Handle<Object> value = JSReceiver::GetDataProperty(source, name); in UpdateContextChainFromMaterializedObject()
Ddebug-scopes.cc484 local_scope, JSReceiver::INCLUDE_PROTOS); in MaterializeLocalScope()
514 JSReceiver::OWN_ONLY); in MaterializeClosure()
563 JSReceiver::OWN_ONLY); in MaterializeBlockScope()
659 Maybe<bool> maybe = JSReceiver::HasProperty(ext, variable_name); in SetLocalVariableValue()
698 Maybe<bool> maybe = JSReceiver::HasOwnProperty(ext, variable_name); in SetBlockVariableValue()
731 Maybe<bool> maybe = JSReceiver::HasOwnProperty(ext, variable_name); in SetClosureVariableValue()
804 JSReceiver::KeyCollectionType type) { in CopyContextExtensionToScopeObject()
807 isolate_, keys, JSReceiver::GetKeys(extension, type, ENUMERABLE_STRINGS), in CopyContextExtensionToScopeObject()
/external/v8/test/cctest/
Dtest-dictionary.cc79 Handle<JSReceiver> key = factory->NewJSArray(7); in TestHashMap()
91 Handle<JSReceiver> key = factory->NewJSArray(7); in TestHashMap()
92 CHECK(JSReceiver::GetOrCreateIdentityHash(key)->IsSmi()); in TestHashMap()
101 Handle<JSReceiver> key = factory->NewJSArray(7); in TestHashMap()
/external/v8/test/cctest/heap/
Dtest-heap.cc205 CHECK(Just(true) == JSReceiver::HasOwnProperty(global, object_string)); in TEST()
457 JSReceiver::SetProperty(global, name, function, SLOPPY).Check(); in TEST()
460 JSReceiver::SetProperty(obj, prop_name, twenty_three, SLOPPY).Check(); in TEST()
461 JSReceiver::SetProperty(obj, prop_namex, twenty_four, SLOPPY).Check(); in TEST()
472 CHECK(Just(true) == JSReceiver::HasOwnProperty(global, name)); in TEST()
483 JSReceiver::SetProperty(global, obj_name, obj, SLOPPY).Check(); in TEST()
484 JSReceiver::SetProperty(obj, prop_name, twenty_three, SLOPPY).Check(); in TEST()
490 CHECK(Just(true) == JSReceiver::HasOwnProperty(global, obj_name)); in TEST()
878 JSReceiver::SetProperty(obj, prop_name, twenty_three, SLOPPY).Check(); in TEST()
882 JSReceiver::SetProperty(function, prop_name, twenty_four, SLOPPY).Check(); in TEST()
[all …]
Dtest-mark-compact.cc165 JSReceiver::SetProperty(global, func_name, function, SLOPPY).Check(); in HEAP_TEST()
174 CHECK(Just(true) == JSReceiver::HasOwnProperty(global, func_name)); in HEAP_TEST()
182 JSReceiver::SetProperty(global, obj_name, obj, SLOPPY).Check(); in HEAP_TEST()
185 JSReceiver::SetProperty(obj, prop_name, twenty_three, SLOPPY).Check(); in HEAP_TEST()
192 CHECK(Just(true) == JSReceiver::HasOwnProperty(global, obj_name)); in HEAP_TEST()
/external/v8/src/ic/
Dic.h471 JSReceiver::StoreFromKeyed store_mode =
472 JSReceiver::CERTAINLY_NOT_STORE_FROM_KEYED);
475 JSReceiver::StoreFromKeyed store_mode);
494 JSReceiver::StoreFromKeyed store_mode);

123