Home
last modified time | relevance | path

Searched refs:JSProxy (Results 1 – 25 of 32) sorted by relevance

12

/external/v8/src/objects/
Djs-proxy.h17 class JSProxy : public JSReceiver {
19 V8_WARN_UNUSED_RESULT static MaybeHandle<JSProxy> New(Isolate* isolate,
28 static MaybeHandle<Context> GetFunctionRealm(Handle<JSProxy> proxy);
30 DECL_CAST(JSProxy)
33 static void Revoke(Handle<JSProxy> proxy);
36 static MaybeHandle<Object> GetPrototype(Handle<JSProxy> receiver);
40 Handle<JSProxy> proxy, Handle<Object> value, bool from_javascript,
43 V8_WARN_UNUSED_RESULT static Maybe<bool> IsExtensible(Handle<JSProxy> proxy);
46 V8_WARN_UNUSED_RESULT static Maybe<bool> IsArray(Handle<JSProxy> proxy);
50 Handle<JSProxy> proxy, ShouldThrow should_throw);
[all …]
Djs-proxy-inl.h18 CAST_ACCESSOR(JSProxy)
20 ACCESSORS(JSProxy, target, Object, kTargetOffset) in ACCESSORS() argument
21 ACCESSORS(JSProxy, handler, Object, kHandlerOffset) in ACCESSORS()
23 bool JSProxy::IsRevoked() const { return !handler()->IsJSReceiver(); } in ACCESSORS()
/external/v8/src/builtins/
Dbuiltins-proxy-gen.cc20 Branch(IsJSReceiver(CAST(LoadObjectField(object, JSProxy::kHandlerOffset))), in GotoIfRevokedProxy()
58 Node* proxy = Allocate(JSProxy::kSize); in AllocateProxy()
60 StoreObjectFieldRoot(proxy, JSProxy::kPropertiesOrHashOffset, in AllocateProxy()
62 StoreObjectFieldNoWriteBarrier(proxy, JSProxy::kTargetOffset, target); in AllocateProxy()
63 StoreObjectFieldNoWriteBarrier(proxy, JSProxy::kHandlerOffset, handler); in AllocateProxy()
270 StoreObjectField(proxy, JSProxy::kTargetOffset, NullConstant()); in TF_BUILTIN()
273 StoreObjectField(proxy, JSProxy::kHandlerOffset, NullConstant()); in TF_BUILTIN()
298 Node* handler = LoadObjectField(proxy, JSProxy::kHandlerOffset); in TF_BUILTIN()
308 Node* target = LoadObjectField(proxy, JSProxy::kTargetOffset); in TF_BUILTIN()
351 Node* handler = LoadObjectField(proxy, JSProxy::kHandlerOffset); in TF_BUILTIN()
[all …]
Dbuiltins-object.cc130 Maybe<bool> found = JSProxy::GetOwnPropertyDescriptor( in ObjectLookupAccessor()
131 isolate, it.GetHolder<JSProxy>(), it.GetName(), &desc); in ObjectLookupAccessor()
144 isolate, prototype, JSProxy::GetPrototype(it.GetHolder<JSProxy>())); in ObjectLookupAccessor()
Dbuiltins-proxy-gen.h47 JSProxy::AccessKind access_kind);
Dbase.tq36 type JSProxy extends JSReceiver generates 'TNode<JSProxy>';
41 type Callable = JSFunction|JSBoundFunction|JSProxy;
/external/v8/src/runtime/
Druntime-proxy.cc28 CONVERT_ARG_CHECKED(JSProxy, proxy, 0); in RUNTIME_FUNCTION()
36 CONVERT_ARG_CHECKED(JSProxy, proxy, 0); in RUNTIME_FUNCTION()
95 RETURN_RESULT_OR_FAILURE(isolate, JSProxy::CheckGetSetTrapResult( in RUNTIME_FUNCTION()
97 JSProxy::AccessKind(access_kind))); in RUNTIME_FUNCTION()
107 Maybe<bool> result = JSProxy::CheckHasTrap(isolate, name, target); in RUNTIME_FUNCTION()
Druntime-forin.cc60 result = JSProxy::GetPropertyAttributes(&it); in HasEnumerableProperty()
64 Handle<JSProxy> proxy = it.GetHolder<JSProxy>(); in HasEnumerableProperty()
67 JSProxy::GetPrototype(proxy), Object); in HasEnumerableProperty()
Druntime-debug.cc258 Handle<JSProxy> js_proxy = Handle<JSProxy>::cast(object); in GetInternalProperties()
Druntime-object.cc369 JSReceiver::HasOwnProperty(Handle<JSProxy>::cast(object), key); in RUNTIME_FUNCTION()
/external/v8/src/
Dkeys.h15 class JSProxy; variable
99 Handle<JSProxy> proxy);
100 Maybe<bool> CollectOwnJSProxyTargetKeys(Handle<JSProxy> proxy,
102 Maybe<bool> AddKeysFromJSProxy(Handle<JSProxy> proxy,
Dprototype-inl.h131 if (seen_proxies_ > JSProxy::kMaxIterationLimit) { in AdvanceFollowingProxiesIgnoringAccessChecks()
136 JSProxy::GetPrototype(Handle<JSProxy>::cast(handle_)); in AdvanceFollowingProxiesIgnoringAccessChecks()
Dkeys.cc115 Handle<JSProxy> owner, in FilterProxyKeys()
130 JSProxy::GetOwnPropertyDescriptor(isolate, owner, key, &desc); in FilterProxyKeys()
148 Maybe<bool> KeyAccumulator::AddKeysFromJSProxy(Handle<JSProxy> proxy, in AddKeysFromJSProxy()
171 MAYBE_RETURN(CollectOwnJSProxyKeys(receiver, Handle<JSProxy>::cast(object)), in CollectKeys()
188 result = CollectOwnJSProxyKeys(receiver, Handle<JSProxy>::cast(current)); in CollectKeys()
807 Handle<JSProxy> proxy) { in CollectOwnJSProxyKeys()
957 Handle<JSProxy> proxy, Handle<JSReceiver> target) { in CollectOwnJSProxyTargetKeys()
Dobjects.cc976 return JSProxy::HasProperty(it->isolate(), it->GetHolder<JSProxy>(), in HasProperty()
1035 JSProxy::GetProperty(it->isolate(), it->GetHolder<JSProxy>(), in GetProperty()
1071 MaybeHandle<Object> JSProxy::GetProperty(Isolate* isolate, in GetProperty()
1072 Handle<JSProxy> proxy, in GetProperty()
1115 JSProxy::CheckGetSetTrapResult(isolate, name, target, trap_result, kGet); in GetProperty()
1125 MaybeHandle<Object> JSProxy::CheckGetSetTrapResult(Isolate* isolate, in CheckGetSetTrapResult()
1475 MaybeHandle<Object> JSProxy::GetPrototype(Handle<JSProxy> proxy) { in GetPrototype()
5025 return JSProxy::SetProperty(it->GetHolder<JSProxy>(), it->GetName(), in SetPropertyInternal()
5730 void JSProxy::Revoke(Handle<JSProxy> proxy) { in Revoke()
5743 Maybe<bool> JSProxy::IsArray(Handle<JSProxy> proxy) { in IsArray()
[all …]
Djson-stringifier.cc80 Result SerializeJSProxy(Handle<JSProxy> object);
461 return SerializeJSProxy(Handle<JSProxy>::cast(object)); in Serialize_()
715 Handle<JSProxy> object) { in SerializeJSProxy()
Dapi-inl.h78 MAKE_TO_LOCAL(ToLocal, JSProxy, Proxy)
Dapi.h116 V(Proxy, JSProxy) \
163 v8::internal::Handle<v8::internal::JSProxy> obj);
Dobjects-debug.cc318 JSProxy::cast(this)->JSProxyVerify(isolate); in HeapObjectVerify()
1430 void JSProxy::JSProxyVerify(Isolate* isolate) { in JSProxyVerify()
Dobjects-printer.cc244 JSProxy::cast(this)->JSProxyPrint(os); in HeapObjectPrint()
1228 void JSProxy::JSProxyPrint(std::ostream& os) { // NOLINT in JSProxyPrint()
Dobjects-body-descriptors-inl.h754 return Op::template apply<JSProxy::BodyDescriptor>(p1, p2, p3, p4); in BodyDescriptorApply()
/external/v8/src/ic/
Dhandler-configuration.h22 class JSProxy; variable
281 Handle<JSProxy> proxy,
Dhandler-configuration.cc284 Handle<JSProxy> proxy, in StoreProxy()
Dic.cc949 Handle<JSProxy> holder_proxy = lookup->GetHolder<JSProxy>(); in ComputeHandler()
1657 Handle<JSProxy> holder = lookup->GetHolder<JSProxy>(); in ComputeHandler()
/external/v8/tools/torque/vim-torque/syntax/
Dtorque.vim51 syn keyword torqueType Oddball HeapNumber Number BigInt Numeric Boolean JSProxy
/external/v8/src/heap/
Dfactory.h47 class JSProxy; variable
683 Handle<JSProxy> NewJSProxy(Handle<JSReceiver> target,

12