Home
last modified time | relevance | path

Searched refs:proxyHandle (Results 1 – 7 of 7) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/tests/
Djs_proxy_test.cpp83 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread, targetHandle, handlerHandle); in HWTEST_F_L0() local
84 EXPECT_TRUE(*proxyHandle != nullptr); in HWTEST_F_L0()
86 EXPECT_EQ(JSProxy::GetProperty(thread, proxyHandle, key).GetValue()->GetInt(), 1); in HWTEST_F_L0()
88 JSProxy::GetOwnProperty(thread, proxyHandle, key, desc); in HWTEST_F_L0()
115 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread, targetHandle, handlerHandle); in HWTEST_F_L0() local
116 EXPECT_TRUE(*proxyHandle != nullptr); in HWTEST_F_L0()
118 EXPECT_EQ(JSProxy::GetProperty(thread, proxyHandle, key).GetValue()->GetInt(), 1); in HWTEST_F_L0()
156 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread, targetHandle, handlerHandle); in HWTEST_F_L0() local
157 EXPECT_TRUE(*proxyHandle != nullptr); in HWTEST_F_L0()
160 JSProxy::GetOwnProperty(thread, proxyHandle, key, desc); in HWTEST_F_L0()
[all …]
/arkcompiler/ets_runtime/ecmascript/stubs/
Dtest_runtime_stubs.cpp115 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread, targetHandle, handlerHandle); in DEF_RUNTIME_STUBS() local
116 ASSERT(*proxyHandle != nullptr); in DEF_RUNTIME_STUBS()
118 proxyHandle.GetTaggedValue().D(); in DEF_RUNTIME_STUBS()
119 return proxyHandle.GetTaggedValue().GetRawData(); in DEF_RUNTIME_STUBS()
150 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread, targetHandle, handlerHandle); in DEF_RUNTIME_STUBS() local
153 proxyHandle.GetTaggedValue().D(); in DEF_RUNTIME_STUBS()
154 ASSERT(*proxyHandle != nullptr); in DEF_RUNTIME_STUBS()
155 return proxyHandle.GetTaggedValue().GetRawData(); in DEF_RUNTIME_STUBS()
/arkcompiler/ets_runtime/ecmascript/napi/test/
Djsnapi_third_tests.cpp226 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread_, targetHandle, handlerHandle); in HWTEST_F_L0() local
227 EXPECT_TRUE(*proxyHandle != nullptr); in HWTEST_F_L0()
229 EXPECT_EQ(JSProxy::GetProperty(thread_, proxyHandle, key).GetValue()->GetInt(), 1); in HWTEST_F_L0()
231 JSProxy::GetOwnProperty(thread_, proxyHandle, key, desc); in HWTEST_F_L0()
233 Local<JSValueRef> proxy = JSNApiHelper::ToLocal<JSProxy>(JSHandle<JSTaggedValue>(proxyHandle)); in HWTEST_F_L0()
Dffi_workload.cpp4181 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread_, targetHandle, handlerHandle); in HWTEST_F_L0() local
4182 JSHandle<JSTaggedValue> proxyTagValue = JSHandle<JSTaggedValue>::Cast(proxyHandle); in HWTEST_F_L0()
4205 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread_, targetHandle, handlerHandle); in HWTEST_F_L0() local
4206 JSHandle<JSTaggedValue> proxyTagValue = JSHandle<JSTaggedValue>::Cast(proxyHandle); in HWTEST_F_L0()
4229 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread_, targetHandle, handlerHandle); in HWTEST_F_L0() local
4230 JSHandle<JSTaggedValue> proxyTagValue = JSHandle<JSTaggedValue>::Cast(proxyHandle); in HWTEST_F_L0()
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefismodulenamespace_fuzzer/
Djsvaluerefismodulenamespace_fuzzer.cpp82 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread, targetHandle, handlerHandle); in IsProxyFuzztest() local
83 Local<JSValueRef> proxy = JSNApiHelper::ToLocal<JSProxy>(JSHandle<JSTaggedValue>(proxyHandle)); in IsProxyFuzztest()
/arkcompiler/ets_runtime/ecmascript/
Djs_function.cpp703 JSHandle<JSProxy> proxyHandle(thread, proxy); in ProxyRevocFunctions() local
706 proxyHandle->SetTarget(thread, JSTaggedValue::Null()); in ProxyRevocFunctions()
707 proxyHandle->SetHandler(thread, JSTaggedValue::Null()); in ProxyRevocFunctions()
708 proxyHandle->SetIsRevoked(true); in ProxyRevocFunctions()
/arkcompiler/ets_runtime/ecmascript/napi/
DJSNapi接口说明.md7062 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread_, targetHandle, handlerHandle);
7063 JSHandle<JSTaggedValue> proxytagvalue = JSHandle<JSTaggedValue>::Cast(proxyHandle);
7096 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread_, targetHandle, handlerHandle);
7097 JSHandle<JSTaggedValue> proxytagvalue = JSHandle<JSTaggedValue>::Cast(proxyHandle);
7125 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread_, targetHandle, handlerHandle);
7126 JSHandle<JSTaggedValue> proxytagvalue = JSHandle<JSTaggedValue>::Cast(proxyHandle);