Home
last modified time | relevance | path

Searched refs:proxyHandle (Results 1 - 6 of 6) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/tests/
H A Djs_proxy_test.cpp60 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread, targetHandle, handlerHandle); in HWTEST_F_L0() local
61 EXPECT_TRUE(*proxyHandle != nullptr); in HWTEST_F_L0()
63 EXPECT_EQ(JSProxy::GetProperty(thread, proxyHandle, key).GetValue()->GetInt(), 1); in HWTEST_F_L0()
65 JSProxy::GetOwnProperty(thread, proxyHandle, key, desc); in HWTEST_F_L0()
83 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread, targetHandle, handlerHandle); in SetPropertyCommon() local
84 return proxyHandle; in SetPropertyCommon()
101 JSHandle<JSProxy> proxyHandle = SetPropertyCommon(thread, targetHandle, handlerHandle, key, value); in HWTEST_F_L0() local
102 EXPECT_TRUE(*proxyHandle != nullptr); in HWTEST_F_L0()
104 EXPECT_EQ(JSProxy::GetProperty(thread, proxyHandle, key).GetValue()->GetInt(), 1); in HWTEST_F_L0()
133 JSHandle<JSProxy> proxyHandle in HWTEST_F_L0() local
175 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread, targetHandle, handlerHandle); PropertyCommon() local
186 JSHandle<JSProxy> proxyHandle = PropertyCommon(thread, targetHandle, handlerHandle, key); HWTEST_F_L0() local
220 JSHandle<JSProxy> proxyHandle = PropertyCommon(thread, targetHandle, handlerHandle, key); HWTEST_F_L0() local
255 JSHandle<JSProxy> proxyHandle = PropertyCommon(thread, targetHandle, handlerHandle, key); HWTEST_F_L0() local
303 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread, targetHandle, handlerHandle); HWTEST_F_L0() local
338 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread, targetHandle, handlerHandle); HWTEST_F_L0() local
374 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread, targetHandle, handlerHandle); HWTEST_F_L0() local
410 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread, targetHandle, handlerHandle); HWTEST_F_L0() local
443 JSHandle<JSProxy> proxyHandle = PropertyCommon(thread, targetHandle, handlerHandle, key, 1); // 1: value HWTEST_F_L0() local
475 JSHandle<JSProxy> proxyHandle = PropertyCommon(thread, targetHandle, handlerHandle, key, 1); // 1: value HWTEST_F_L0() local
516 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread, targetHandle, handlerHandle); HWTEST_F_L0() local
580 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread, targetHandle, handlerHandle); HWTEST_F_L0() local
[all...]
/arkcompiler/ets_runtime/ecmascript/stubs/
H A Dtest_runtime_stubs.cpp116 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread, targetHandle, handlerHandle); in DEF_RUNTIME_STUBS() local
117 ASSERT(*proxyHandle != nullptr); in DEF_RUNTIME_STUBS()
119 proxyHandle.GetTaggedValue().D(); in DEF_RUNTIME_STUBS()
120 return proxyHandle.GetTaggedValue().GetRawData(); in DEF_RUNTIME_STUBS()
151 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread, targetHandle, handlerHandle); in DEF_RUNTIME_STUBS() local
154 proxyHandle.GetTaggedValue().D(); in DEF_RUNTIME_STUBS()
155 ASSERT(*proxyHandle != nullptr); in DEF_RUNTIME_STUBS()
156 return proxyHandle.GetTaggedValue().GetRawData(); in DEF_RUNTIME_STUBS()
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefismodulenamespace_fuzzer/
H A Djsvaluerefismodulenamespace_fuzzer.cpp86 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread, targetHandle, handlerHandle); in IsProxyFuzztest() local
87 Local<JSValueRef> proxy = JSNApiHelper::ToLocal<JSProxy>(JSHandle<JSTaggedValue>(proxyHandle)); in IsProxyFuzztest()
/arkcompiler/ets_runtime/ecmascript/napi/test/
H A Djsnapi_third_tests.cpp245 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread_, targetHandle, handlerHandle); in HWTEST_F_L0() local
246 EXPECT_TRUE(*proxyHandle != nullptr); in HWTEST_F_L0()
248 EXPECT_EQ(JSProxy::GetProperty(thread_, proxyHandle, key).GetValue()->GetInt(), 1); in HWTEST_F_L0()
250 JSProxy::GetOwnProperty(thread_, proxyHandle, key, desc); in HWTEST_F_L0()
252 Local<JSValueRef> proxy = JSNApiHelper::ToLocal<JSProxy>(JSHandle<JSTaggedValue>(proxyHandle)); in HWTEST_F_L0()
H A Dffi_workload.cpp4132 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread_, targetHandle, handlerHandle); in HWTEST_F_L0() local
4133 JSHandle<JSTaggedValue> proxyTagValue = JSHandle<JSTaggedValue>::Cast(proxyHandle); in HWTEST_F_L0()
4156 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread_, targetHandle, handlerHandle); in HWTEST_F_L0() local
4157 JSHandle<JSTaggedValue> proxyTagValue = JSHandle<JSTaggedValue>::Cast(proxyHandle); in HWTEST_F_L0()
4180 JSHandle<JSProxy> proxyHandle = JSProxy::ProxyCreate(thread_, targetHandle, handlerHandle); in HWTEST_F_L0() local
4181 JSHandle<JSTaggedValue> proxyTagValue = JSHandle<JSTaggedValue>::Cast(proxyHandle); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/
H A Djs_function.cpp791 JSHandle<JSProxy> proxyHandle(thread, proxy); in ProxyRevocFunctions()
794 proxyHandle->SetTarget(thread, JSTaggedValue::Null()); in ProxyRevocFunctions()
795 proxyHandle->SetHandler(thread, JSTaggedValue::Null()); in ProxyRevocFunctions()
796 proxyHandle->SetIsRevoked(true); in ProxyRevocFunctions()

Completed in 20 milliseconds