| /third_party/node/benchmark/napi/type-tag/ |
| D | binding.c | 46 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/benchmark/napi/string/ |
| D | binding.c | 36 NAPI_CALL(napi_call_function(env, argv[1], argv[2], 0, NULL, NULL)); \ 41 NAPI_CALL(napi_call_function(env, argv[1], argv[3], 1, &argv[0], NULL)); \
|
| /third_party/node/test/js-native-api/3_callbacks/ |
| D | 3_callbacks.c | 32 NODE_API_CALL(env, napi_call_function(env, global, cb, 1, argv, NULL)); in RunCallback() 44 NODE_API_CALL(env, napi_call_function(env, recv, cb, 0, NULL, NULL)); in RunCallbackWithRecv()
|
| /third_party/node/test/node-api/test_threadsafe_function/ |
| D | binding.c | 127 NODE_API_CALL_RETURN_VOID(env, napi_call_function(env, undefined, cb, 1, &argv, in call_js() 140 NODE_API_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() 281 NODE_API_CALL_RETURN_VOID(env, napi_call_function(env, recv, js_func, 0, NULL, NULL)); in ThreadSafeFunctionFinalize()
|
| /third_party/node/benchmark/napi/define_properties/ |
| D | binding.c | 58 napi_call_function(env, argv[0], start, 0, NULL, NULL); in Runner() 66 napi_call_function(env, argv[0], end, 1, &js_array_length, NULL)); in Runner()
|
| /third_party/node/test/node-api/test_async/ |
| D | test_async.c | 54 napi_call_function(env, global, callback, 2, argv, &result)); in Complete() 116 napi_call_function(env, global, callback, 0, NULL, &result)); in CancelComplete() 182 napi_call_function(env, cb, cb, 1, &js_status, NULL)); in RepeatedWorkComplete()
|
| /third_party/node/test/js-native-api/test_exception/ |
| D | test_exception.c | 16 napi_status status = napi_call_function(env, global, args[0], 0, 0, &result); in returnException() 51 napi_call_function(env, global, args[0], 0, 0, &result); in allowException()
|
| /third_party/node/test/js-native-api/test_function/ |
| D | test_function.c | 75 NODE_API_CALL(env, napi_call_function(env, global, args[0], argc, argv, &result)); in TestCallFunction() 98 napi_call_function(env, undefined, js_function, 0, NULL, NULL)); in finalize_function()
|
| /third_party/node/test/node-api/test_worker_terminate/ |
| D | test_worker_terminate.c | 20 status = napi_call_function(env, recv, argv[0], 0, NULL, NULL); in Test()
|
| /third_party/node/test/node-api/test_env_teardown_gc/ |
| D | binding.c | 12 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/ |
| D | test_handle_scope.c | 61 status = napi_call_function( in NewScopeWithException()
|
| /third_party/node/test/node-api/test_uv_loop/ |
| D | test_uv_loop.cc | 70 napi_call_function(env, undefined, callback, 0, nullptr, nullptr)); in SetImmediateBinding()
|
| /third_party/node/test/js-native-api/test_instance_data/ |
| D | test_instance_data.c | 53 napi_call_function(env, undefined, js_cb, 0, NULL, NULL)); in TestFinalizer()
|
| /third_party/node/test/node-api/test_callback_scope/ |
| D | binding.c | 40 napi_call_function(env, args[0], args[2], 0, NULL, &result); in RunInCallbackScope()
|
| /third_party/node/test/node-api/test_buffer/ |
| D | test_buffer.c | 32 NODE_API_CALL_RETURN_VOID(env, napi_call_function(env, recv, js_finalizer, 0, NULL, NULL)); in malignDeleter()
|
| /third_party/node/test/node-api/test_instance_data/ |
| D | test_instance_data.c | 31 napi_call_function(env, undefined, js_cb, 0, NULL, NULL)); in call_cb_and_delete_ref()
|
| /third_party/node/test/js-native-api/test_reference/ |
| D | test_reference.c | 34 NODE_API_CALL_RETURN_VOID(env, napi_call_function(env, recv, js_finalizer, 0, NULL, NULL)); in FinalizeExternalCallJs()
|
| /third_party/node/test/js-native-api/test_general/ |
| D | test_general.c | 240 napi_call_function(env, undefined, js_cb, 0, NULL, NULL)); in finalizer_only_callback()
|
| /third_party/node/src/ |
| D | js_native_api.h | 247 NAPI_EXTERN napi_status napi_call_function(napi_env env,
|
| D | node_api.cc | 479 status = napi_call_function(env, recv, cb, 0, nullptr, nullptr); in CallJs()
|
| D | js_native_api_v8.cc | 1978 napi_status NAPI_CDECL napi_call_function(napi_env env, in napi_call_function() function
|
| /third_party/node/doc/api/ |
| D | n-api.md | 883 necessary for a call into JavaScript, usually via `napi_call_function`, and then 891 sufficient to call the JavaScript function via `napi_call_function` rather than 4732 ### `napi_call_function` 4740 NAPI_EXTERN napi_status napi_call_function(napi_env env, 4794 status = napi_call_function(env, global, add_two, argc, argv, &return_val); 5748 add-on. This API is similar to `napi_call_function`. However, it is used to call 5755 context has already been set up, so a direct call to `napi_call_function` 6164 as `napi_call_function()` to call into JavaScript.
|
| /third_party/mindspore/patches/ |
| D | 0003-add-js-api.patch | 2954 + napi_call_function(env, nullptr, callback, ARGS_ONE, result, &retVal); 3659 + status = napi_call_function(env, element, data_func, 0, nullptr, &return_val); 3890 + status = napi_call_function(env, element, data_func, 0, nullptr, &return_val); 4154 + status = napi_call_function(env, element, data_func, 0, nullptr, &return_val);
|