Home
last modified time | relevance | path

Searched refs:funcHandle (Results 1 – 6 of 6) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/tests/
Djs_proxy_test.cpp297 …JSHandle<JSTaggedValue> funcHandle(factory->NewJSFunction(env, reinterpret_cast<void *>(HandlerDel… in HWTEST_F_L0() local
298 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(handlerHandle), funcKey, funcHandle); in HWTEST_F_L0()
338 …JSHandle<JSTaggedValue> funcHandle(factory->NewJSFunction(env, reinterpret_cast<void *>(HandlerGet… in HWTEST_F_L0() local
339 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(handlerHandle), funcKey, funcHandle); in HWTEST_F_L0()
375 …JSHandle<JSTaggedValue> funcHandle(factory->NewJSFunction(env, reinterpret_cast<void *>(HandlerSet… in HWTEST_F_L0() local
376 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(handlerHandle), funcKey, funcHandle); in HWTEST_F_L0()
411 …JSHandle<JSTaggedValue> funcHandle(factory->NewJSFunction(env, reinterpret_cast<void *>(HandlerIsE… in HWTEST_F_L0() local
412 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(handlerHandle), funcKey, funcHandle); in HWTEST_F_L0()
448 JSHandle<JSTaggedValue> funcHandle( in HWTEST_F_L0() local
450 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(handlerHandle), funcKey, funcHandle); in HWTEST_F_L0()
[all …]
Djs_function_test.cpp88 JSHandle<JSTaggedValue> funcHandle(func); in HWTEST_F_L0() local
101 …JSTaggedValue proto = JSObject::GetProperty(thread, funcHandle, protoKey).GetValue().GetTaggedValu… in HWTEST_F_L0()
104 EXPECT_EQ(constructor, funcHandle.GetTaggedValue()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/stubs/
Dtest_runtime_stubs.cpp125 CONVERT_ARG_HANDLE_CHECKED(JSTaggedValue, funcHandle, 0); in DEF_RUNTIME_STUBS()
126 ASSERT(funcHandle->IsECMAObject()); in DEF_RUNTIME_STUBS()
136 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(handlerHandle), funcKey, funcHandle); in DEF_RUNTIME_STUBS()
/arkcompiler/ets_runtime/ecmascript/
Djs_function.cpp528 JSHandle<JSTaggedValue> funcHandle(func); in SetFunctionName() local
529 return JSTaggedValue::DefinePropertyOrThrow(thread, funcHandle, nameKey, nameDesc); in SetFunctionName()
541 JSHandle<JSTaggedValue> funcHandle(func); in SetFunctionLength() local
542 return JSTaggedValue::DefinePropertyOrThrow(thread, funcHandle, lengthKeyHandle, lengthDesc); in SetFunctionLength()
618 JSHandle<JSTaggedValue> funcHandle(thread, func); in SetFunctionNameNoPrefix() local
638 …JSTaggedValue::DefinePropertyOrThrow(thread, funcHandle, globalConst->GetHandledNameString(), name… in SetFunctionNameNoPrefix()
Dobject_factory.cpp1847 JSHandle<JSFunction> funcHandle(function); in NewJSPrimitiveRef() local
1848 return factory->NewJSPrimitiveRef(funcHandle, object); in NewJSPrimitiveRef()
/arkcompiler/ets_runtime/ecmascript/interpreter/
Dslow_runtime_stub.cpp348 JSHandle<JSTaggedValue> funcHandle(thread, func); in NewObjRange() local
350 … return RuntimeStubs::RuntimeNewObjRange(thread, funcHandle, newTargetHandle, firstArgIdx, length); in NewObjRange()
493 JSHandle<JSTaggedValue> funcHandle(thread, func); in NewObjApply() local
495 return RuntimeStubs::RuntimeNewObjApply(thread, funcHandle, jsArray); in NewObjApply()
989 JSHandle<JSTaggedValue> funcHandle(thread, func); in SuperCall() local
991 … return RuntimeStubs::RuntimeSuperCall(thread, funcHandle, newTargetHandle, firstVRegIdx, length); in SuperCall()
1010 JSHandle<JSTaggedValue> funcHandle(thread, func); in SuperCallSpread() local
1013 return RuntimeStubs::RuntimeSuperCallSpread(thread, funcHandle, newTargetHandle, jsArray); in SuperCallSpread()