Home
last modified time | relevance | path

Searched refs:napi_call_function (Results 1 – 22 of 22) sorted by relevance

/third_party/node/benchmark/napi/type-tag/
Dbinding.c46 NAPI_CALL(napi_call_function(env, argv[1], argv[2], 0, NULL, NULL)); in TagObject()
50 NAPI_CALL(napi_call_function(env, argv[1], argv[3], 1, &argv[0], NULL)); in TagObject()
70 NAPI_CALL(napi_call_function(env, argv[1], argv[2], 0, NULL, NULL)); in CheckObjectTag()
75 NAPI_CALL(napi_call_function(env, argv[1], argv[3], 1, &argv[0], NULL)); in CheckObjectTag()
/third_party/node/test/node-api/test_worker_terminate/
Dtest_worker_terminate.c20 status = napi_call_function(env, recv, argv[0], 0, NULL, NULL); in Test()
22 status = napi_call_function(env, recv, argv[0], 0, NULL, NULL); in Test()
/third_party/node/test/js-native-api/3_callbacks/
D3_callbacks.c32 NAPI_CALL(env, napi_call_function(env, global, cb, 1, argv, NULL)); in RunCallback()
44 NAPI_CALL(env, napi_call_function(env, recv, cb, 0, NULL, NULL)); in RunCallbackWithRecv()
/third_party/node/test/node-api/test_async/
Dtest_async.c63 napi_call_function(env, global, callback, 2, argv, &result)); in Complete()
125 napi_call_function(env, global, callback, 0, NULL, &result)); in CancelComplete()
195 napi_call_function(env, cb, cb, 1, &js_status, NULL)); in RepeatedWorkComplete()
/third_party/node/test/js-native-api/test_exception/
Dtest_exception.c15 napi_status status = napi_call_function(env, global, args[0], 0, 0, &result); in returnException()
50 napi_call_function(env, global, args[0], 0, 0, &result); in allowException()
/third_party/node/test/node-api/test_threadsafe_function/
Dbinding.c127 NAPI_CALL_RETURN_VOID(env, napi_call_function(env, undefined, cb, 1, &argv, in call_js()
140 NAPI_CALL_RETURN_VOID(env, napi_call_function(env, undefined, fn, 1, &argv, in call_ref()
181 napi_call_function(env, undefined, js_cb, 0, NULL, NULL)); in join_the_threads()
/third_party/node/test/js-native-api/test_function/
Dtest_function.c75 NAPI_CALL(env, napi_call_function(env, global, args[0], argc, argv, &result)); in TestCallFunction()
97 NAPI_CALL_RETURN_VOID(env, napi_call_function(env, in finalize_function()
/third_party/node/test/node-api/test_env_teardown_gc/
Dbinding.c12 napi_status status = napi_call_function(env, global, cleanup, 0, NULL, NULL); in MyObject_fini()
/third_party/node/test/js-native-api/test_handle_scope/
Dtest_handle_scope.c61 status = napi_call_function( in NewScopeWithException()
/third_party/node/test/node-api/test_uv_loop/
Dtest_uv_loop.cc70 napi_call_function(env, undefined, callback, 0, nullptr, nullptr)); in SetImmediateBinding()
/third_party/node/test/js-native-api/test_instance_data/
Dtest_instance_data.c53 napi_call_function(env, undefined, js_cb, 0, NULL, NULL)); in TestFinalizer()
/third_party/node/test/node-api/test_callback_scope/
Dbinding.c43 napi_call_function(env, args[0], args[2], 0, NULL, &result); in RunInCallbackScope()
/third_party/node/test/node-api/test_instance_data/
Dtest_instance_data.c31 NAPI_CALL_RETURN_VOID(env, napi_call_function(env, in call_cb_and_delete_ref()
/third_party/node/test/js-native-api/test_general/
Dtest_general.c240 napi_call_function(env, undefined, js_cb, 0, NULL, NULL)); in finalizer_only_callback()
/third_party/ejdb/src/bindings/ejdb2_node/
Djs_native_api.h247 NAPI_EXTERN napi_status napi_call_function(napi_env env,
Dejdb2_node.c1492 JNGO(ns, env, napi_call_function( in jn_resultset_tsf()
/third_party/node/src/
Djs_native_api.h247 NAPI_EXTERN napi_status napi_call_function(napi_env env,
Dnode_api.cc400 status = napi_call_function(env, recv, cb, 0, nullptr, nullptr); in CallJs()
Djs_native_api_v8.cc1854 napi_status napi_call_function(napi_env env, in napi_call_function() function
/third_party/mindspore/patches/
D0020-add-ohos-js-callback-api-and-bugfix.patch1038 - napi_call_function(env, nullptr, callback, ARGS_TWO, result, &retVal);
1039 + napi_call_function(env, nullptr, callback, ARGS_ONE, result, &retVal);
D0008-add-js-api.patch1529 + napi_call_function(env, nullptr, callback, ARGS_TWO, result, &retVal);
1873 + status = napi_call_function(env, element, data_func, 0, nullptr, &return_val);
2084 + status = napi_call_function(env, element, data_func, 0, nullptr, &return_val);
/third_party/node/doc/api/
Dn-api.md834 necessary for a call into JavaScript, usually via `napi_call_function`, and then
842 sufficient to call the JavaScript function via `napi_call_function` rather than
4317 ### napi_call_function subsection
4324 NAPI_EXTERN napi_status napi_call_function(napi_env env,
4377 status = napi_call_function(env, global, add_two, argc, argv, &return_val);
5309 add-on. This API is similar to `napi_call_function`. However, it is used to call
5316 context has already been set up, so a direct call to `napi_call_function`
5714 as `napi_call_function()` to call into JavaScript.