Home
last modified time | relevance | path

Searched refs:termfun (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/kits/js/include/
H A DAnimationJS.h28 if (termfun) { in Release()
30 …napi_release_threadsafe_function(termfun, napi_threadsafe_function_release_mode::napi_tsfn_release… in Release()
31 termfun = nullptr; in Release()
37 if (termfun) { in Trigger()
39 …napi_call_threadsafe_function(termfun, nullptr, napi_threadsafe_function_call_mode::napi_tsfn_bloc… in Trigger()
52 this, &ThreadSafeCallback::Call, &termfun); in ThreadSafeCallback()
70 napi_threadsafe_function termfun { nullptr };
/ohos5.0/foundation/graphic/graphic_3d/kits/js/src/
H A DSceneJS.cpp101 CORE_ASSERT(termfun == nullptr); in ~AsyncStateBase()
106 napi_threadsafe_function termfun { nullptr }; member in AsyncStateBase
124 if (auto tf = Flip(termfun)) { in CallIt()
141 if (auto tf = Flip(termfun)) { in Fail()
153 if (auto tf = Flip(termfun)) { in Success()
183 &data->termfun); in MakePromise()