Lines Matching defs:func
653 auto func = [](napi_env env, napi_callback_info info) -> napi_value {
657 napi_create_function(env, "testFunc", NAPI_AUTO_LENGTH, func, nullptr, &funcAttribute);
660 const char* funcKeyStr = "func";
689 auto func = [](napi_env env, napi_callback_info info) -> napi_value {
724 napi_create_function(env, "testFunc", NAPI_AUTO_LENGTH, func, nullptr, &funcValue);
756 auto func = [](napi_env env, napi_callback_info info) -> napi_value {
765 status = napi_create_function(env, nullptr, 0, func, (void*)data, nullptr);
767 status = napi_create_function(env, nullptr, 0, func, nullptr, &fn);
769 status = napi_create_function(env, nullptr, 0, func, (void*)data, &fn);
781 auto func = [](napi_env env, napi_callback_info info) -> napi_value {
807 napi_status status = napi_create_function(env, nullptr, 0, func, (void*)data, &fn);
2096 auto func = [](napi_env env, napi_callback_info info) -> napi_value {
2126 napi_create_function(env, "testFunc", NAPI_AUTO_LENGTH, func, nullptr, &funcValue);
3345 auto func = [](napi_env env, napi_callback_info info) -> napi_value {
3349 napi_create_function(env, "testFunc", NAPI_AUTO_LENGTH, func, nullptr, &jsCb);
4308 // main thread does not support napi_run_event_loop func
4322 // main thread does not support napi_run_event_loop func
4337 // worker thread does not support napi_run_event_loop func
4353 // worker thread does not support napi_run_event_loop func
4369 // taskpool thread does not support napi_run_event_loop func
4385 // taskpool thread does not support napi_run_event_loop func
4426 // main thread does not support napi_run_event_loop func
4441 // worker thread does not support napi_run_event_loop func
4457 // taskpool thread does not support napi_run_event_loop func
6129 napi_value func;
6134 napi_create_double(env, TEST_DOUBLE, &func);
6135 napi_status status = napi_make_callback(env, context, recv, func, argc, args, &result);
6144 napi_value func = nullptr;
6150 napi_status status = napi_make_callback(env, context, recv, func, argc, args, &result);
6806 napi_threadsafe_function func = nullptr;
6808 napi_status status = napi_call_threadsafe_function_with_priority(func, nullptr, napi_priority_idle, true);