Home
last modified time | relevance | path

Searched refs:napi_invalid_arg (Results 1 – 14 of 14) sorted by relevance

/third_party/node/test/js-native-api/test_object/
Dtest_null.c18 napi_invalid_arg, in SetProperty()
45 napi_invalid_arg, in GetProperty()
74 napi_invalid_arg, in TestBoolValuedPropApi()
111 napi_invalid_arg, in SetNamedProperty()
136 napi_invalid_arg, in GetNamedProperty()
162 napi_invalid_arg, in HasNamedProperty()
187 napi_invalid_arg, in SetElement()
209 napi_invalid_arg, in GetElement()
233 napi_invalid_arg, in TestBoolValuedElementApi()
267 napi_invalid_arg, in DefineProperties()
[all …]
Dtest_object.c496 napi_invalid_arg, in TestSetProperty()
530 napi_invalid_arg, in TestHasProperty()
565 napi_invalid_arg, in TestGetProperty()
/third_party/node/test/js-native-api/test_number/
Dtest_null.c18 napi_invalid_arg, \
37 napi_invalid_arg, \
/third_party/node/test/js-native-api/test_conversions/
Dtest_null.c15 napi_invalid_arg, \
45 napi_invalid_arg, \ in GEN_NULL_CHECK_BINDING()
/third_party/node/src/
Djs_native_api_v8.h194 return napi_invalid_arg; \
199 RETURN_STATUS_IF_FALSE((env), ((arg) != nullptr), napi_invalid_arg)
203 (env), ((arg) != nullptr), napi_invalid_arg)
244 RETURN_STATUS_IF_FALSE((env), v8value->IsFunction(), napi_invalid_arg); \
Djs_native_api_v8.cc28 (env), (len == NAPI_AUTO_LENGTH) || len <= INT_MAX, napi_invalid_arg); \
29 RETURN_STATUS_IF_FALSE((env), (str) != nullptr, napi_invalid_arg); \
74 env, (length == NAPI_AUTO_LENGTH) || length <= INT_MAX, napi_invalid_arg); in NewString()
332 RETURN_STATUS_IF_FALSE(env, value->IsObject(), napi_invalid_arg); in Unwrap()
337 RETURN_STATUS_IF_FALSE(env, val->IsExternal(), napi_invalid_arg); in Unwrap()
543 RETURN_STATUS_IF_FALSE(env, value->IsObject(), napi_invalid_arg); in Wrap()
550 napi_invalid_arg); in Wrap()
1025 return napi_set_last_error(env, napi_invalid_arg); in napi_get_all_property_names()
1036 return napi_set_last_error(env, napi_invalid_arg); in napi_get_all_property_names()
1353 return napi_set_last_error(env, napi_invalid_arg); in napi_define_properties()
[all …]
Djs_native_api_types.h75 napi_invalid_arg, enumerator
Dnode_api.cc249 return napi_invalid_arg; in Push()
277 return napi_invalid_arg; in Release()
838 if (remove_handle == nullptr) return napi_invalid_arg; in napi_remove_async_cleanup_hook()
1142 return napi_invalid_arg; in ConvertUVErrorCode()
1316 RETURN_STATUS_IF_FALSE(env, initial_thread_count > 0, napi_invalid_arg); in napi_create_threadsafe_function()
/third_party/node/test/js-native-api/test_string/
Dtest_null.c16 napi_invalid_arg, \
/third_party/node/test/js-native-api/test_constructor/
Dtest_null.c23 napi_invalid_arg, in TestDefineClass()
Dtest_constructor.c38 napi_invalid_arg, in TestDefineClass()
/third_party/node/test/js-native-api/test_function/
Dtest_function.c22 napi_invalid_arg, in TestCreateFunctionParameters()
/third_party/node/test/cctest/
Dtest_linked_binding.cc176 CHECK_EQ(napi_create_reference(env, key, 1, &ref), napi_invalid_arg); in InitializeLocalNapiRefBinding()
/third_party/node/doc/api/
Dn-api.md562 napi_invalid_arg,
3406 passed in it returns `napi_invalid_arg`.
3787 * `napi_invalid_arg` if the type of `value` is not a known ECMAScript type and
5395 `napi_invalid_arg`.