Home
last modified time | relevance | path

Searched refs:handlerHandle (Results 1 – 8 of 8) 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.cpp729 JSHandle<JSTaggedValue> handlerHandle(thread, handler); in OwnPropertyKeys() local
730 JSHandle<JSTaggedValue> trap(JSObject::GetMethod(thread, handlerHandle, key)); in OwnPropertyKeys()
744 …EcmaRuntimeCallInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, trap, handlerHandle, undef… in OwnPropertyKeys()
874 JSHandle<JSTaggedValue> handlerHandle(thread, handler); in GetAllPropertyKeys() local
875 JSHandle<JSTaggedValue> trap(JSObject::GetMethod(thread, handlerHandle, key)); in GetAllPropertyKeys()
884 …EcmaRuntimeCallInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, trap, handlerHandle, undef… in GetAllPropertyKeys()
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefismodulenamespace_fuzzer/
Djsvaluerefismodulenamespace_fuzzer.cpp80 JSHandle<JSTaggedValue> handlerHandle( in IsProxyFuzztest() local
82 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread, targetHandle, handlerHandle); in IsProxyFuzztest()
/arkcompiler/ets_runtime/ecmascript/napi/test/
Djsnapi_third_tests.cpp222 JSHandle<JSTaggedValue> handlerHandle( in HWTEST_F_L0() local
224 EXPECT_TRUE(handlerHandle->IsECMAObject()); in HWTEST_F_L0()
226 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread_, targetHandle, handlerHandle); in HWTEST_F_L0()
Dffi_workload.cpp4179 JSHandle<JSTaggedValue> handlerHandle( in HWTEST_F_L0() local
4181 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread_, targetHandle, handlerHandle); in HWTEST_F_L0()
4203 JSHandle<JSTaggedValue> handlerHandle( in HWTEST_F_L0() local
4205 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread_, targetHandle, handlerHandle); in HWTEST_F_L0()
4227 JSHandle<JSTaggedValue> handlerHandle( in HWTEST_F_L0() local
4229 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread_, targetHandle, handlerHandle); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/napi/
DJSNapi接口说明.md7060 JSHandle<JSTaggedValue> handlerHandle(
7062 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread_, targetHandle, handlerHandle);
7094 JSHandle<JSTaggedValue> handlerHandle(
7096 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread_, targetHandle, handlerHandle);
7124 JSHandle<JSTaggedValue> handlerHandle;
7125 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread_, targetHandle, handlerHandle);