Searched refs:napi_invalid_arg (Results 1 – 14 of 14) sorted by relevance
/third_party/node/test/js-native-api/test_object/ |
D | test_null.c | 18 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 …]
|
D | test_object.c | 496 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/ |
D | test_null.c | 18 napi_invalid_arg, \ 37 napi_invalid_arg, \
|
/third_party/node/test/js-native-api/test_conversions/ |
D | test_null.c | 15 napi_invalid_arg, \ 45 napi_invalid_arg, \ in GEN_NULL_CHECK_BINDING()
|
/third_party/node/src/ |
D | js_native_api_v8.h | 194 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); \
|
D | js_native_api_v8.cc | 28 (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 …]
|
D | js_native_api_types.h | 75 napi_invalid_arg, enumerator
|
D | node_api.cc | 249 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/ |
D | test_null.c | 16 napi_invalid_arg, \
|
/third_party/node/test/js-native-api/test_constructor/ |
D | test_null.c | 23 napi_invalid_arg, in TestDefineClass()
|
D | test_constructor.c | 38 napi_invalid_arg, in TestDefineClass()
|
/third_party/node/test/js-native-api/test_function/ |
D | test_function.c | 22 napi_invalid_arg, in TestCreateFunctionParameters()
|
/third_party/node/test/cctest/ |
D | test_linked_binding.cc | 176 CHECK_EQ(napi_create_reference(env, key, 1, &ref), napi_invalid_arg); in InitializeLocalNapiRefBinding()
|
/third_party/node/doc/api/ |
D | n-api.md | 562 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`.
|