Home
last modified time | relevance | path

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

/external/v8/src/runtime/
Druntime-proxy.cc23 CONVERT_ARG_HANDLE_CHECKED(JSProxy, proxy, args.length() - 1); in RUNTIME_FUNCTION()
75 CONVERT_ARG_HANDLE_CHECKED(JSProxy, proxy, args.length() - 2); in RUNTIME_FUNCTION()
147 CONVERT_ARG_CHECKED(JSProxy, proxy, 0); in RUNTIME_FUNCTION()
155 CONVERT_ARG_CHECKED(JSProxy, proxy, 0); in RUNTIME_FUNCTION()
163 CONVERT_ARG_HANDLE_CHECKED(JSProxy, proxy, 0); in RUNTIME_FUNCTION()
164 JSProxy::Revoke(proxy); in RUNTIME_FUNCTION()
Druntime-forin.cc59 result = JSProxy::GetPropertyAttributes(&it); in HasEnumerableProperty()
63 Handle<JSProxy> proxy = it.GetHolder<JSProxy>(); in HasEnumerableProperty()
66 JSProxy::GetPrototype(proxy), Object); in HasEnumerableProperty()
Druntime-debug.cc264 Handle<JSProxy> js_proxy = Handle<JSProxy>::cast(object); in GetInternalProperties()
Druntime-object.cc201 JSReceiver::HasOwnProperty(Handle<JSProxy>::cast(object), key); in RUNTIME_FUNCTION()
/external/v8/src/
Dkeys.h93 Handle<JSProxy> proxy);
94 Maybe<bool> CollectOwnJSProxyTargetKeys(Handle<JSProxy> proxy,
96 Maybe<bool> AddKeysFromJSProxy(Handle<JSProxy> proxy,
Dprototype.h168 JSProxy::GetPrototype(Handle<JSProxy>::cast(handle_)); in AdvanceFollowingProxiesIgnoringAccessChecks()
Dkeys.cc100 Handle<JSProxy> owner, in FilterProxyKeys()
115 JSProxy::GetOwnPropertyDescriptor(isolate, owner, key, &desc); in FilterProxyKeys()
135 Maybe<bool> KeyAccumulator::AddKeysFromJSProxy(Handle<JSProxy> proxy, in AddKeysFromJSProxy()
158 MAYBE_RETURN(CollectOwnJSProxyKeys(receiver, Handle<JSProxy>::cast(object)), in CollectKeys()
175 result = CollectOwnJSProxyKeys(receiver, Handle<JSProxy>::cast(current)); in CollectKeys()
718 Handle<JSProxy> proxy) { in CollectOwnJSProxyKeys()
864 Handle<JSProxy> proxy, Handle<JSReceiver> target) { in CollectOwnJSProxyTargetKeys()
Djson-stringifier.h79 Result SerializeJSProxy(Handle<JSProxy> object);
Dapi.h110 V(Proxy, JSProxy) \
153 v8::internal::Handle<v8::internal::JSProxy> obj);
305 MAKE_TO_LOCAL(ToLocal, JSProxy, Proxy) in MAKE_TO_LOCAL()
Dobjects.cc845 Handle<JSProxy> proxy = Handle<JSProxy>::cast(object); in IsArray()
980 return JSProxy::HasProperty(it->isolate(), it->GetHolder<JSProxy>(), in HasProperty()
1018 JSProxy::GetProperty(it->isolate(), it->GetHolder<JSProxy>(), in GetProperty()
1048 MaybeHandle<Object> JSProxy::GetProperty(Isolate* isolate, in GetProperty()
1049 Handle<JSProxy> proxy, in GetProperty()
1299 MaybeHandle<Object> JSProxy::GetPrototype(Handle<JSProxy> proxy) { in GetPrototype()
4262 return JSProxy::SetProperty(it->GetHolder<JSProxy>(), it->GetName(), in SetPropertyInternal()
4960 void JSProxy::Revoke(Handle<JSProxy> proxy) { in Revoke()
4967 Maybe<bool> JSProxy::HasProperty(Isolate* isolate, Handle<JSProxy> proxy, in HasProperty()
5034 Maybe<bool> JSProxy::SetProperty(Handle<JSProxy> proxy, Handle<Name> name, in SetProperty()
[all …]
Dobjects.h1049 V(JSProxy) \
10276 class JSProxy: public JSReceiver {
10278 MUST_USE_RESULT static MaybeHandle<JSProxy> New(Isolate* isolate,
10289 static MaybeHandle<Context> GetFunctionRealm(Handle<JSProxy> proxy);
10291 DECLARE_CAST(JSProxy)
10294 static void Revoke(Handle<JSProxy> proxy);
10297 static MaybeHandle<Object> GetPrototype(Handle<JSProxy> receiver);
10300 MUST_USE_RESULT static Maybe<bool> SetPrototype(Handle<JSProxy> proxy,
10305 MUST_USE_RESULT static Maybe<bool> IsExtensible(Handle<JSProxy> proxy);
10309 Handle<JSProxy> proxy, ShouldThrow should_throw);
[all …]
Djson-stringifier.cc339 return SerializeJSProxy(Handle<JSProxy>::cast(object)); in Serialize_()
592 Handle<JSProxy> object) { in SerializeJSProxy()
Dobjects-debug.cc224 JSProxy::cast(this)->JSProxyVerify(); in HeapObjectVerify()
984 void JSProxy::JSProxyVerify() { in JSProxyVerify()
Dobjects-printer.cc189 JSProxy::cast(this)->JSProxyPrint(os); in HeapObjectPrint()
856 void JSProxy::JSProxyPrint(std::ostream& os) { // NOLINT in JSProxyPrint()
Dobjects-body-descriptors-inl.h541 return Op::template apply<JSProxy::BodyDescriptor>(p1, p2, p3); in BodyDescriptorApply()
Dobjects-inl.h653 CAST_ACCESSOR(JSProxy) in CAST_ACCESSOR()
6553 ACCESSORS(JSProxy, target, JSReceiver, kTargetOffset) in ACCESSORS() argument
6554 ACCESSORS(JSProxy, handler, Object, kHandlerOffset) in ACCESSORS()
6555 ACCESSORS(JSProxy, hash, Object, kHashOffset) in ACCESSORS()
6557 bool JSProxy::IsRevoked() const { return !handler()->IsJSReceiver(); } in ACCESSORS()
7586 return object->IsJSProxy() ? JSProxy::GetOrCreateIdentityHash( in GetOrCreateIdentityHash()
7587 isolate, Handle<JSProxy>::cast(object)) in GetOrCreateIdentityHash()
7595 ? JSProxy::GetIdentityHash(Handle<JSProxy>::cast(receiver)) in GetIdentityHash()
Dfactory.h577 Handle<JSProxy> NewJSProxy(Handle<JSReceiver> target,
Dfactory.cc2285 Handle<JSProxy> Factory::NewJSProxy(Handle<JSReceiver> target, in NewJSProxy()
2299 Handle<JSProxy> result = New<JSProxy>(map, NEW_SPACE); in NewJSProxy()
Dapi.cc4370 return i::JSProxy::SetPrivateProperty( in SetPrivate()
4371 isolate, i::Handle<i::JSProxy>::cast(self), in SetPrivate()
7478 i::Handle<i::JSProxy> self = Utils::OpenHandle(this); in GetTarget()
7485 i::Handle<i::JSProxy> self = Utils::OpenHandle(this); in GetHandler()
7492 i::Handle<i::JSProxy> self = Utils::OpenHandle(this); in IsRevoked()
7498 i::Handle<i::JSProxy> self = Utils::OpenHandle(this); in Revoke()
7499 i::JSProxy::Revoke(self); in Revoke()
7510 !ToLocal<Proxy>(i::JSProxy::New(isolate, target, handler), &result); in New()
Dbootstrapper.cc867 factory()->NewMap(JS_PROXY_TYPE, JSProxy::kSize, FAST_ELEMENTS); in CreateJSProxyMaps()
/external/v8/src/builtins/
Dbuiltins-proxy.cc29 RETURN_RESULT_OR_FAILURE(isolate, JSProxy::New(isolate, target, handler)); in BUILTIN()
Dbuiltins-object.cc490 Maybe<bool> found = JSProxy::GetOwnPropertyDescriptor( in ObjectLookupAccessor()
491 isolate, it.GetHolder<JSProxy>(), it.GetName(), &desc); in ObjectLookupAccessor()
504 isolate, prototype, JSProxy::GetPrototype(it.GetHolder<JSProxy>())); in ObjectLookupAccessor()
/external/v8/
DChangeLog12916 [debugger] Add JSProxy support in Runtime::GetInternalProperties