/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
H A D | common_utils.cpp | 83 napi_value Common::CreateErrorValue(napi_env env, int32_t errCode, bool newType) in CreateErrorValue() function in OHOS::NotificationNapi::Common 104 napi_value Common::CreateErrorValue(napi_env env, int32_t errCode, std::string &msg) in CreateErrorValue() function in OHOS::NotificationNapi::Common 129 napi_throw(env, CreateErrorValue(env, errCode, true)); in NapiThrow() 136 napi_throw(env, CreateErrorValue(env, errCode, msg)); in NapiThrow() 188 results[PARAM0] = CreateErrorValue(env, errorCode, newType); in SetCallback() 230 napi_reject_deferred(env, deferred, CreateErrorValue(env, errorCode, newType)); in SetPromise()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_xcomponent_controller.cpp | 46 napi_value CreateErrorValue(napi_env env, int32_t errCode, const std::string& errMsg = "") in CreateErrorValue() function 74 result = CreateErrorValue(env, ERROR_CODE_AI_ANALYSIS_UNSUPPORTED); in HandleDeferred() 78 result = CreateErrorValue(env, ERROR_CODE_AI_ANALYSIS_IS_ONGOING); in HandleDeferred() 82 result = CreateErrorValue(env, ERROR_CODE_AI_ANALYSIS_IS_STOPPED); in HandleDeferred() 266 napi_value result = CreateErrorValue(env, ERROR_CODE_AI_ANALYSIS_IS_ONGOING); in StartImageAnalyzer()
|
H A D | js_tabs_controller.cpp | 38 napi_value CreateErrorValue(napi_env env, int32_t errCode, const std::string& errMsg = "") in CreateErrorValue() function 68 result = CreateErrorValue(env, errorCode, message); in HandleDeferred()
|
H A D | js_view_context.cpp | 383 napi_value CreateErrorValue(napi_env env, int32_t errCode, const std::string& errMsg = "") in CreateErrorValue() function 418 napi_value result = CreateErrorValue(env, errCode, BIND_SHEET_ERROR_MAP[errCode]); in ReturnPromise()
|
/ohos5.0/base/location/frameworks/js/napi/notification/src/ |
H A D | notification_napi_utils.cpp | 76 napi_value NotificationNapi::CreateErrorValue(napi_env env, int32_t errCode, bool newType) in CreateErrorValue() function in OHOS::Location::NotificationNapi 101 napi_throw(env, CreateErrorValue(env, errCode, true)); in NapiThrow() 154 results[PARAM0] = CreateErrorValue(env, errorCode, newType); in SetCallback() 196 napi_reject_deferred(env, deferred, CreateErrorValue(env, errorCode, newType)); in SetPromise()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/canvas/ |
H A D | js_rendering_context.cpp | 332 napi_value CreateErrorValue(napi_env env, int32_t errCode, const std::string& errMsg = "") in CreateErrorValue() function 360 result = CreateErrorValue(env, ERROR_CODE_AI_ANALYSIS_UNSUPPORTED); in HandleDeferred() 364 result = CreateErrorValue(env, ERROR_CODE_AI_ANALYSIS_IS_ONGOING); in HandleDeferred() 368 result = CreateErrorValue(env, ERROR_CODE_AI_ANALYSIS_IS_STOPPED); in HandleDeferred() 413 napi_value result = CreateErrorValue(env, ERROR_CODE_AI_ANALYSIS_IS_ONGOING); in JsStartImageAnalyzer()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/style_string/ |
H A D | js_span_string.cpp | 60 napi_value CreateErrorValue(napi_env env, int32_t errCode, const std::string& errMsg = "") in CreateErrorValue() function 87 …napi_value error = CreateErrorValue(asyncContext->env, callbackCode, ASYNC_ERROR_MAP[callbackCode]… in ProcessPromiseCallback() 104 napi_value result = CreateErrorValue(env, errCode, ASYNC_ERROR_MAP[errCode]); in ReturnPromise() 836 … napi_value error = CreateErrorValue(asyncContext->env, ERROR_CODE_STYLED_STRING_CONVERT_ERROR, in UnmarshallingComplete()
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/include/ |
H A D | common.h | 1694 static napi_value CreateErrorValue(napi_env env, int32_t errCode, bool newType); 1704 static napi_value CreateErrorValue(napi_env env, int32_t errCode, std::string &msg);
|
/ohos5.0/base/location/frameworks/js/napi/notification/include/ |
H A D | notification_napi.h | 1250 static napi_value CreateErrorValue(napi_env env, int32_t errCode, bool newType);
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/wantagent/ |
H A D | napi_want_agent.cpp | 94 napi_value CreateErrorValue(napi_env env, int32_t errCode) in CreateErrorValue() function 115 napi_throw(env, CreateErrorValue(env, errCode)); in NapiThrow()
|