Lines Matching defs:tsFunc
320 napi_threadsafe_function tsFunc = (napi_threadsafe_function)data;
321 auto status = napi_ref_threadsafe_function(g_stEnv, tsFunc);
327 napi_threadsafe_function tsFunc = (napi_threadsafe_function)data;
328 auto status = napi_unref_threadsafe_function(g_stEnv, tsFunc);
334 napi_threadsafe_function tsFunc = (napi_threadsafe_function)data;
337 auto status = napi_call_threadsafe_function(tsFunc, nullptr, napi_tsfn_blocking);
347 napi_threadsafe_function tsFunc = (napi_threadsafe_function)data;
351 auto status = napi_call_threadsafe_function(tsFunc, nullptr, napi_tsfn_nonblocking);
6103 napi_threadsafe_function tsFunc = nullptr;
6115 FinalizeThreadCallBack, &g_jsData, CallJSCallBack, &tsFunc);
6119 ThreadData_t threadData = { .tsfn = tsFunc, .isMode = napi_tsfn_blocking };
6128 status = napi_call_threadsafe_function(tsFunc, (void*)&g_threadDataContent, napi_tsfn_blocking);
6132 status = napi_release_threadsafe_function(tsFunc, napi_tsfn_release);
6151 napi_threadsafe_function tsFunc = nullptr;
6163 NonBlockFinalizeThreadCallBack, &g_jsData, CallJSCallBack, &tsFunc);
6167 ThreadData_t threadData = { .tsfn = tsFunc, .isMode = napi_tsfn_nonblocking };
6176 status = napi_call_threadsafe_function(tsFunc, &g_threadDataContent, napi_tsfn_nonblocking);
6180 status = napi_release_threadsafe_function(tsFunc, napi_tsfn_release);
6199 napi_threadsafe_function tsFunc = nullptr;
6211 FinalizeThreadCallBack, &g_jsData, CallJSCallBack, &tsFunc);
6215 ThreadData_t threadData = { .tsfn = tsFunc, .isMode = napi_tsfn_blocking };
6225 status = napi_call_threadsafe_function(tsFunc, &g_threadDataContent, napi_tsfn_nonblocking);
6229 status = napi_release_threadsafe_function(tsFunc, napi_tsfn_release);
6248 napi_threadsafe_function tsFunc = nullptr;
6260 FinalizeThreadCallBack, &g_jsData, CallJSCallBack, &tsFunc);
6264 ThreadData_t threadData = { .tsfn = tsFunc, .isMode = napi_tsfn_nonblocking };
6274 status = napi_call_threadsafe_function(tsFunc, &g_threadDataContent, napi_tsfn_blocking);
6278 status = napi_release_threadsafe_function(tsFunc, napi_tsfn_release);
6299 napi_threadsafe_function tsFunc = nullptr;
6309 AllFinalizeThreadCallBack, &g_jsData, CallJSCallBack, &tsFunc);
6313 ThreadData_t threadData = { .tsfn = tsFunc };
6323 status = napi_call_threadsafe_function(tsFunc, &g_threadDataContent3, napi_tsfn_blocking);
6328 status = napi_call_threadsafe_function(tsFunc, &g_threadDataContent3, napi_tsfn_nonblocking);
6331 status = napi_release_threadsafe_function(tsFunc, napi_tsfn_release);
6352 napi_threadsafe_function tsFunc = nullptr;
6364 OtherFinalizeThreadCallBack, &g_jsData, CallJSCallBack, &tsFunc);
6369 ThreadData_t threadData = { .tsfn = tsFunc, .isMode = napi_tsfn_nonblocking };
6385 status = napi_call_threadsafe_function(tsFunc, &g_threadDataContent3, napi_tsfn_blocking);
6390 status = napi_call_threadsafe_function(tsFunc, &g_threadDataContent3, napi_tsfn_nonblocking);
6393 status = napi_release_threadsafe_function(tsFunc, napi_tsfn_release);
6415 napi_threadsafe_function tsFunc = nullptr;
6427 MutiModeFinalizeThreadCallBack, &g_jsData, CallJSCallBack, &tsFunc);
6431 OneModeCallData_t threadData = { .tsfn = tsFunc, .mode = napi_tsfn_nonblocking, .callCount = 10 };
6461 status = napi_release_threadsafe_function(tsFunc, napi_tsfn_release);
6481 napi_threadsafe_function tsFunc = nullptr;
6493 MutiModeFinalizeThreadCallBack, &g_jsData, CallJSCallBack, &tsFunc);
6497 OneModeCallData_t threadData = { .tsfn = tsFunc, .mode = napi_tsfn_nonblocking, .callCount = 10 };
6527 status = napi_release_threadsafe_function(tsFunc, napi_tsfn_release);
6552 napi_threadsafe_function tsFunc = nullptr;
6564 MutiModeFinalizeThreadCallBack, &g_jsData, CallJSCallBack, &tsFunc);
6568 OneModeCallData_t threadData = { .tsfn = tsFunc, .mode = napi_tsfn_nonblocking, .callCount = 10 };
6598 status = napi_release_threadsafe_function(tsFunc, napi_tsfn_release);
6618 napi_threadsafe_function tsFunc = nullptr;
6628 MutiModeFinalizeThreadCallBack, &g_jsData, CallJSCallBack, &tsFunc);
6632 OneModeCallData_t threadData = { .tsfn = tsFunc, .mode = napi_tsfn_nonblocking, .callCount = 10 };
6656 status = napi_release_threadsafe_function(tsFunc, napi_tsfn_release);
6675 napi_threadsafe_function tsFunc = nullptr;
6686 MutiModeFinalizeThreadCallBack, &g_jsData, CallJSCallBack, &tsFunc);
6690 OneModeCallData_t threadData = { .tsfn = tsFunc, .mode = napi_tsfn_nonblocking, .callCount = 10 };
6714 status = napi_release_threadsafe_function(tsFunc, napi_tsfn_release);
6735 napi_threadsafe_function tsFunc = nullptr;
6749 FinalCallBack, &g_jsData, CallJSSlowCallBack, &tsFunc);
6753 if (uv_thread_create(&newChildTid, NewChildThreadMutiCallNoneBlocking, tsFunc) != 0) {
6759 status = napi_release_threadsafe_function(tsFunc, napi_tsfn_release);
6783 napi_threadsafe_function tsFunc = nullptr;
6796 FinalCallBack, &g_jsData, CallJSSlowCallBack, &tsFunc);
6800 if (uv_thread_create(&newChildTid, NewChildThreadMutiCallBlocking, tsFunc) != 0) {
6807 status = napi_release_threadsafe_function(tsFunc, napi_tsfn_release);
8955 napi_threadsafe_function tsFunc = nullptr;
8964 0, 1, &g_finalData, FinalCallBack, &g_jsData, CallJSSlowCallBack, &tsFunc);
8967 status = napi_ref_threadsafe_function(env, tsFunc);
8970 auto safeAsyncWork = reinterpret_cast<NativeSafeAsyncWork*>(tsFunc);
8975 status = napi_release_threadsafe_function(tsFunc, napi_tsfn_release);
8995 napi_threadsafe_function tsFunc = nullptr;
9004 resourceName, 0, 1, &g_finalData, FinalCallBack, &g_jsData, CallJSSlowCallBack, &tsFunc);
9010 status = napi_release_threadsafe_function(tsFunc, napi_tsfn_release);
9030 napi_threadsafe_function tsFunc = nullptr;
9039 resourceName, 0, 1, &g_finalData, FinalCallBack, &g_jsData, CallJSSlowCallBack, &tsFunc);
9042 status = napi_unref_threadsafe_function(env, tsFunc);
9047 if (uv_thread_create(&newChildTid, NewChildRef, tsFunc) != 0) {
9054 auto safeAsyncWork = reinterpret_cast<NativeSafeAsyncWork*>(tsFunc);
9059 status = napi_release_threadsafe_function(tsFunc, napi_tsfn_release);
9078 napi_threadsafe_function tsFunc = nullptr;
9087 resourceName, 0, 1, &g_finalData, FinalCallBack, &g_jsData, CallJSSlowCallBack, &tsFunc);
9090 auto safeAsyncWork = reinterpret_cast<NativeSafeAsyncWork*>(tsFunc);
9094 status = napi_release_threadsafe_function(tsFunc, napi_tsfn_release);
9114 napi_threadsafe_function tsFunc = nullptr;
9123 resourceName, 0, 1, &g_finalData, FinalCallBack, &g_jsData, CallJSSlowCallBack, &tsFunc);
9126 status = napi_unref_threadsafe_function(env, tsFunc);
9129 auto safeAsyncWork = reinterpret_cast<NativeSafeAsyncWork*>(tsFunc);
9134 status = napi_release_threadsafe_function(tsFunc, napi_tsfn_release);
9154 napi_threadsafe_function tsFunc = nullptr;
9163 resourceName, 0, 1, &g_finalData, FinalCallBack, &g_jsData, CallJSSlowCallBack, &tsFunc);
9169 status = napi_release_threadsafe_function(tsFunc, napi_tsfn_release);
9189 napi_threadsafe_function tsFunc = nullptr;
9198 resourceName, 0, 1, &g_finalData, FinalCallBack, &g_jsData, CallJSSlowCallBack, &tsFunc);
9203 if (uv_thread_create(&newChildTid, NewChildUnRef, tsFunc) != 0) {
9210 auto safeAsyncWork = reinterpret_cast<NativeSafeAsyncWork*>(tsFunc);
9215 status = napi_release_threadsafe_function(tsFunc, napi_tsfn_release);