Home
last modified time | relevance | path

Searched refs:napi_generic_failure (Results 1 – 7 of 7) sorted by relevance

/third_party/node/src/
Djs_native_api_v8.cc34 CHECK_MAYBE_EMPTY((env), str_maybe, napi_generic_failure); \
78 CHECK_MAYBE_EMPTY(env, str_maybe, napi_generic_failure); in NewString()
312 RETURN_STATUS_IF_FALSE(env, success.FromMaybe(false), napi_generic_failure); in ConcludeDeferred()
471 RETURN_STATUS_IF_FALSE(env, !cbdata.IsEmpty(), napi_generic_failure); in NewFunction()
475 CHECK_MAYBE_EMPTY(env, maybe_function, napi_generic_failure); in NewFunction()
488 RETURN_STATUS_IF_FALSE(env, !cbdata.IsEmpty(), napi_generic_failure); in NewTemplate()
1047 env, maybe_all_propertynames, napi_generic_failure); in napi_get_all_property_names()
1072 RETURN_STATUS_IF_FALSE(env, set_maybe.FromMaybe(false), napi_generic_failure); in napi_set_property()
1092 CHECK_MAYBE_NOTHING(env, has_maybe, napi_generic_failure); in napi_has_property()
1114 CHECK_MAYBE_EMPTY(env, get_maybe, napi_generic_failure); in napi_get_property()
[all …]
Dnode_api.cc332 return napi_generic_failure; in Init()
1003 CHECK_MAYBE_EMPTY(env, callback_result, napi_generic_failure); in napi_make_callback()
1022 CHECK_MAYBE_EMPTY(env, maybe, napi_generic_failure); in napi_create_buffer()
1061 CHECK_MAYBE_EMPTY(env, maybe, napi_generic_failure); in napi_create_external_buffer()
1082 CHECK_MAYBE_EMPTY(env, maybe, napi_generic_failure); in napi_create_buffer_copy()
1146 return napi_generic_failure; in ConvertUVErrorCode()
1353 status = napi_generic_failure; in napi_create_threadsafe_function()
Djs_native_api_types.h83 napi_generic_failure, enumerator
Djs_native_api_v8.h267 return napi_set_last_error((env), napi_generic_failure); \
/third_party/node/test/js-native-api/
Dcommon.h68 NODE_API_ASSERT_BASE(env, assertion, message, napi_generic_failure)
/third_party/node/test/js-native-api/test_string/
Dtest_string.c113 return napi_generic_failure; in create_external_latin1()
/third_party/node/doc/api/
Dn-api.md570 napi_generic_failure,
4079 napi_status status = napi_generic_failure;
4106 napi_status status = napi_generic_failure;
4133 napi_status status = napi_generic_failure;
5634 cancelled and `napi_generic_failure` will be returned. If successful,