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.c66 NODE_API_ASSERT(env, valuetype0 == napi_function, in TestCallFunction()
118 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.c41 env, value_type == napi_function, "argument must be function"); in CreateRef()
/third_party/node/test/node-api/test_buffer/
Dtest_finalizer.c32 finalizer_valuetype == napi_function, in malignFinalizerBuffer()
/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/test_reference/
Dtest_finalizer.c38 finalizer_valuetype == napi_function, in CreateExternalWithJsFinalize()
/third_party/node/test/js-native-api/3_callbacks/
D3_callbacks.c16 NODE_API_ASSERT(env, valuetype0 == napi_function, in RunCallback()
/third_party/node/src/
Djs_native_api_types.h54 napi_function, enumerator
/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/js-native-api/test_finalizer/
Dtest_finalizer.c87 env, arg_type == napi_function, "Expected function as the second arg"); in addFinalizerWithJS()
/third_party/node/test/node-api/test_async/
Dtest_async.c78 NODE_API_ASSERT(env, t == napi_function, in Test()
/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.c117 } else if (argument_type == napi_function) { in testNapiTypeof()
/third_party/mindspore/patches/
D0003-add-js-api.patch2979 + if (valueType == napi_function) {
2990 + if (valueType == napi_function) {
3265 + if (valueType == napi_function) {
3276 + if (valueType == napi_function) {
3341 + if (valueType == napi_function) {
3352 + if (valueType == napi_function) {
3781 + if ((status != napi_ok) || (valueType != napi_function)) {
/third_party/node/doc/api/
Dn-api.md2211 napi_function,