Searched refs:napi_function (Results 1 – 18 of 18) sorted by relevance
/third_party/node/benchmark/napi/define_properties/ |
D | binding.c | 40 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/ |
D | test_function.c | 66 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/ |
D | test_worker_terminate.c | 17 NODE_API_ASSERT(env, t == napi_function, in Test()
|
/third_party/node/test/js-native-api/test_cannot_run_js/ |
D | test_cannot_run_js.c | 41 env, value_type == napi_function, "argument must be function"); in CreateRef()
|
/third_party/node/test/node-api/test_buffer/ |
D | test_finalizer.c | 32 finalizer_valuetype == napi_function, in malignFinalizerBuffer()
|
/third_party/node/test/node-api/test_make_callback/ |
D | binding.c | 38 if (func_type == napi_function) { in MakeCallback()
|
/third_party/node/test/js-native-api/test_reference/ |
D | test_finalizer.c | 38 finalizer_valuetype == napi_function, in CreateExternalWithJsFinalize()
|
/third_party/node/test/js-native-api/3_callbacks/ |
D | 3_callbacks.c | 16 NODE_API_ASSERT(env, valuetype0 == napi_function, in RunCallback()
|
/third_party/node/src/ |
D | js_native_api_types.h | 54 napi_function, enumerator
|
/third_party/node/test/node-api/test_uv_loop/ |
D | test_uv_loop.cc | 54 NODE_API_ASSERT(env, t == napi_function, in SetImmediateBinding()
|
/third_party/node/test/node-api/test_callback_scope/ |
D | binding.c | 25 NODE_API_ASSERT(env, valuetype == napi_function, in RunInCallbackScope()
|
/third_party/node/test/node-api/test_async_context/ |
D | binding.c | 33 if (func_type == napi_function) { in MakeCallback()
|
/third_party/node/test/js-native-api/test_finalizer/ |
D | test_finalizer.c | 87 env, arg_type == napi_function, "Expected function as the second arg"); in addFinalizerWithJS()
|
/third_party/node/test/node-api/test_async/ |
D | test_async.c | 78 NODE_API_ASSERT(env, t == napi_function, in Test()
|
/third_party/node/test/node-api/test_threadsafe_function/ |
D | binding.c | 152 NODE_API_ASSERT(env, value_type == napi_function, in StopThread()
|
/third_party/node/test/js-native-api/test_general/ |
D | test_general.c | 117 } else if (argument_type == napi_function) { in testNapiTypeof()
|
/third_party/mindspore/patches/ |
D | 0003-add-js-api.patch | 2979 + 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/ |
D | n-api.md | 2211 napi_function,
|