Home
last modified time | relevance | path

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

/base/notification/distributed_notification_service/frameworks/js/napi/src/reminder/
Dreminder_common.cpp689 napi_value eCode = nullptr; in GetCallbackErrorValue() local
691 NAPI_CALL(env, napi_create_int32(env, errCode, &eCode)); in GetCallbackErrorValue()
695 NAPI_CALL(env, napi_set_named_property(env, error, "code", eCode)); in GetCallbackErrorValue()
711 napi_value eCode = nullptr; in SetPromise() local
713 NAPI_CALL(env, napi_create_int32(env, info.errorCode, &eCode)); in SetPromise()
717 NAPI_CALL(env, napi_set_named_property(env, error, "data", eCode)); in SetPromise()
718 NAPI_CALL(env, napi_set_named_property(env, error, "code", eCode)); in SetPromise()
736 napi_value eCode = nullptr; in JSParaError() local
739 NAPI_CALL(env, napi_create_int32(env, ERR_REMINDER_INVALID_PARAM, &eCode)); in JSParaError()
743 NAPI_CALL(env, napi_set_named_property(env, res, "data", eCode)); in JSParaError()
[all …]
/base/time/time_service/framework/js/napi/common/src/
Dnapi_utils.cpp100 napi_value eCode = nullptr; in GetCallbackErrorValue() local
107 NAPI_CALL(env, napi_create_int32(env, errCode, &eCode)); in GetCallbackErrorValue()
108 NAPI_CALL(env, napi_set_named_property(env, result, "code", eCode)); in GetCallbackErrorValue()
/base/global/resource_management/interfaces/js/innerkits/core/src/
Dresource_manager_napi_async_impl.cpp81 napi_value eCode = nullptr; in GetCallbackErrorCode() local
83 napi_create_int32(env, errCode, &eCode); in GetCallbackErrorCode()
86 napi_set_named_property(env, error, "code", eCode); in GetCallbackErrorCode()
/base/location/frameworks/native/source/
Dnapi_util.cpp813 napi_value eCode = nullptr; in GetErrorObject() local
815 NAPI_CALL(env, napi_create_int32(env, errCode, &eCode)); in GetErrorObject()
818 NAPI_CALL(env, napi_set_named_property(env, businessError, "code", eCode)); in GetErrorObject()
/base/notification/common_event_service/interfaces/kits/napi/common_event/src/
Dcommon_event.cpp275 napi_value eCode = nullptr; in GetCallbackErrorValue() local
276 NAPI_CALL(env, napi_create_int32(env, errorCode, &eCode)); in GetCallbackErrorValue()
278 NAPI_CALL(env, napi_set_named_property(env, result, "code", eCode)); in GetCallbackErrorValue()
/base/notification/common_event_service/interfaces/kits/napi/napi_common_event/src/
Dnapi_common_event.cpp317 napi_value eCode = NapiGetNull(env); in GetCallbackErrorValue() local
321 NAPI_CALL(env, napi_create_int32(env, errorCode, &eCode)); in GetCallbackErrorValue()
323 NAPI_CALL(env, napi_set_named_property(env, result, "code", eCode)); in GetCallbackErrorValue()
/base/notification/distributed_notification_service/frameworks/js/napi/src/
Dcommon.cpp105 napi_value eCode = nullptr; in GetCallbackErrorValue() local
106 NAPI_CALL(env, napi_create_int32(env, errCode, &eCode)); in GetCallbackErrorValue()
108 NAPI_CALL(env, napi_set_named_property(env, result, "code", eCode)); in GetCallbackErrorValue()