Home
last modified time | relevance | path

Searched refs:napi_function (Results 1 – 18 of 18) sorted by relevance

/third_party/node/benchmark/napi/define_properties/
Dbinding.c40 ABORT_IF_FALSE(val_type == napi_function); in Runner()
43 ABORT_IF_FALSE(val_type == napi_function); in Runner()
/third_party/node/test/js-native-api/test_function/
Dtest_function.c65 NODE_API_ASSERT(env, valuetype0 == napi_function, in TestCallFunction()
117 NODE_API_ASSERT(env, arg_type == napi_function, "Argument must be a function"); in MakeTrackedFunction()
/third_party/node/test/node-api/test_worker_terminate/
Dtest_worker_terminate.c17 NODE_API_ASSERT(env, t == napi_function, in Test()
/third_party/node/test/js-native-api/test_cannot_run_js/
Dtest_cannot_run_js.c31 env, value_type == napi_function, "argument must be function"); in CreateRef()
/third_party/node/test/node-api/test_make_callback/
Dbinding.c38 if (func_type == napi_function) { in MakeCallback()
/third_party/node/test/js-native-api/3_callbacks/
D3_callbacks.c15 NODE_API_ASSERT(env, valuetype0 == napi_function, in RunCallback()
/third_party/node/src/
Djs_native_api_types.h54 napi_function, enumerator
Djs_native_api_v8.cc1891 *result = napi_function; in napi_typeof()
/third_party/node/test/node-api/test_uv_loop/
Dtest_uv_loop.cc54 NODE_API_ASSERT(env, t == napi_function, in SetImmediateBinding()
/third_party/node/test/node-api/test_callback_scope/
Dbinding.c25 NODE_API_ASSERT(env, valuetype == napi_function, in RunInCallbackScope()
/third_party/node/test/node-api/test_async_context/
Dbinding.c33 if (func_type == napi_function) { in MakeCallback()
/third_party/node/test/node-api/test_buffer/
Dtest_buffer.c129 NODE_API_ASSERT(env, finalizer_valuetype == napi_function, "Wrong type of first argument"); in malignFinalizerBuffer()
/third_party/node/test/node-api/test_async/
Dtest_async.c78 NODE_API_ASSERT(env, t == napi_function, in Test()
/third_party/node/test/js-native-api/test_reference/
Dtest_reference.c125 NODE_API_ASSERT(env, finalizer_valuetype == napi_function, "Wrong type of first argument"); in CreateExternalWithJsFinalize()
/third_party/node/test/node-api/test_threadsafe_function/
Dbinding.c152 NODE_API_ASSERT(env, value_type == napi_function, in StopThread()
/third_party/node/test/js-native-api/test_general/
Dtest_general.c116 } else if (argument_type == napi_function) { in testNapiTypeof()
/third_party/mindspore/patches/
D0003-add-js-api.patch2982 + if (valueType == napi_function) {
2993 + if (valueType == napi_function) {
3268 + if (valueType == napi_function) {
3279 + if (valueType == napi_function) {
3344 + if (valueType == napi_function) {
3355 + if (valueType == napi_function) {
3784 + if ((status != napi_ok) || (valueType != napi_function)) {
/third_party/node/doc/api/
Dn-api.md2198 napi_function,