Home
last modified time | relevance | path

Searched refs:handlerHandle (Results 1 – 4 of 4) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/tests/
Djs_proxy_test.cpp79 JSHandle<JSTaggedValue> handlerHandle( in HWTEST_F_L0() local
81 EXPECT_TRUE(handlerHandle->IsECMAObject()); in HWTEST_F_L0()
83 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread, targetHandle, handlerHandle); in HWTEST_F_L0()
112 …JSHandle<JSTaggedValue> handlerHandle(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(hclas… in HWTEST_F_L0() local
113 EXPECT_TRUE(handlerHandle->IsECMAObject()); in HWTEST_F_L0()
115 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread, targetHandle, handlerHandle); in HWTEST_F_L0()
125 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(handlerHandle), getKey, getHandle); in HWTEST_F_L0()
127 JSHandle<JSProxy> proxyHandle2(JSProxy::ProxyCreate(thread, targetHandle, handlerHandle)); in HWTEST_F_L0()
153 …JSHandle<JSTaggedValue> handlerHandle(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(hclas… in HWTEST_F_L0() local
154 EXPECT_TRUE(handlerHandle->IsECMAObject()); in HWTEST_F_L0()
[all …]
/arkcompiler/ets_runtime/ecmascript/stubs/
Dtest_runtime_stubs.cpp111 …JSHandle<JSTaggedValue> handlerHandle(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(hclas… in DEF_RUNTIME_STUBS() local
112 ASSERT(handlerHandle->IsECMAObject()); in DEF_RUNTIME_STUBS()
115 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread, targetHandle, handlerHandle); in DEF_RUNTIME_STUBS()
132 …JSHandle<JSTaggedValue> handlerHandle(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(hclas… in DEF_RUNTIME_STUBS() local
133 ASSERT(handlerHandle->IsECMAObject()); in DEF_RUNTIME_STUBS()
136 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(handlerHandle), funcKey, funcHandle); in DEF_RUNTIME_STUBS()
137 handlerHandle.GetTaggedValue().D(); in DEF_RUNTIME_STUBS()
138 return handlerHandle.GetTaggedValue().GetRawData(); in DEF_RUNTIME_STUBS()
145 CONVERT_ARG_HANDLE_CHECKED(JSTaggedValue, handlerHandle, 1); in DEF_RUNTIME_STUBS()
147 ASSERT(handlerHandle->IsECMAObject()); in DEF_RUNTIME_STUBS()
[all …]
/arkcompiler/ets_runtime/ecmascript/containers/tests/
Dcontainers_test_helper.h46 JSHandle<JSTaggedValue> handlerHandle( in CreateJSProxyHandle()
48 return JSProxy::ProxyCreate(thread, targetHandle, handlerHandle); in CreateJSProxyHandle()
/arkcompiler/ets_runtime/ecmascript/
Djs_proxy.cpp741 JSHandle<JSTaggedValue> handlerHandle(thread, handler); in OwnPropertyKeys() local
742 JSHandle<JSTaggedValue> trap(JSObject::GetMethod(thread, handlerHandle, key)); in OwnPropertyKeys()
756 …EcmaRuntimeCallInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, trap, handlerHandle, undef… in OwnPropertyKeys()