/base/notification/distributed_notification_service/frameworks/js/napi/src/reminder/ |
D | reminder_common.cpp | 689 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/ |
D | napi_utils.cpp | 100 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/ |
D | resource_manager_napi_async_impl.cpp | 81 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/ |
D | napi_util.cpp | 813 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/ |
D | common_event.cpp | 275 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/ |
D | napi_common_event.cpp | 317 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/ |
D | common.cpp | 105 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()
|