Home
last modified time | relevance | path

Searched refs:errorValue (Results 1 - 17 of 17) sorted by relevance

/foundation/arkui/ace_engine_lite/frameworks/src/core/base/
H A Ddfx_assist.h37 void DumpErrorCode(const jerry_value_t errorValue);
44 void DumpErrorMessage(const jerry_value_t errorValue);
47 void PrintErrorInfo(jerry_size_t size, jerry_char_t* errorValue);
H A Ddfx_assist.cpp23 void DfxAssist::DumpErrorCode(const jerry_value_t errorValue) in DumpErrorCode() argument
30 jerry_value_t errValue = jerry_get_value_from_error(errorValue, false); in DumpErrorCode()
69 void DfxAssist::DumpErrorMessage(const jerry_value_t errorValue) in DumpErrorMessage() argument
74 jerry_value_t errorVal = jerry_get_value_from_error(errorValue, false); in DumpErrorMessage()
123 void DfxAssist::PrintErrorInfo(jerry_size_t size, jerry_char_t* errorValue) in PrintErrorInfo() argument
127 char* buffer = reinterpret_cast<char *>(errorValue); in PrintErrorInfo()
H A Djs_fwk_common.h250 void PrintErrorMessage(const jerry_value_t errorValue);
H A Djs_fwk_common.cpp274 void PrintErrorMessage(const jerry_value_t errorValue) in PrintErrorMessage() argument
277 dfxAssist.DumpErrorCode(errorValue); in PrintErrorMessage()
278 dfxAssist.DumpErrorMessage(errorValue); in PrintErrorMessage()
/foundation/arkui/ace_engine/frameworks/core/components/theme/
H A Dtheme_style.h62 std::pair<bool, T> GetValue(const T& errorValue) const in GetValue()
66 return std::make_pair(false, errorValue); in GetValue()
131 T GetAttr(const std::string& attr, const T& errorValue) const in GetAttr()
137 return errorValue; in GetAttr()
144 return errorValue; in GetAttr()
148 return errorValue; in GetAttr()
150 return parent->GetAttr<T>(parseResult.refAttr, errorValue); in GetAttr()
152 auto valuePair = valueWrapper.GetValue<T>(errorValue); in GetAttr()
/foundation/arkui/ace_engine/frameworks/core/animation/
H A Danimation_util.h69 std::function<T(uint32_t refId)>&& idRefFunc, const T& errorValue) const in ParseThemeReference()
77 return errorValue; in ParseThemeReference()
86 return errorValue; in ParseThemeReference()
88 return themeStyle->GetAttr<T>(parseResult.refAttr, errorValue); in ParseThemeReference()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dcontent_controller.cpp334 auto errorValue = FilterWithRegex(filter, result); in FilterWithEvent() local
335 if (!errorValue.empty()) { in FilterWithEvent()
343 eventHub->FireOnInputFilterError(errorValue); in FilterWithEvent()
346 textFieldAccessibilityProperty->SetErrorText(errorValue); in FilterWithEvent()
348 return !errorValue.empty(); in FilterWithEvent()
H A Dtext_field_content_modifier.cpp528 auto errorValue = textFieldPattern->GetErrorTextString(); in ProcessErrorParagraph() local
531 if (showErrorState_->Get() && errorParagraph && !textFieldPattern->IsDisabled() && !errorValue.empty()) { in ProcessErrorParagraph()
/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/test/unittest/common/
H A Ddfx_tdd_test.cpp599 JSValue errorValue = JSObject::Call(page, FUNC_NAME); in DfxTest002() local
600 if (!jerry_value_is_error(errorValue)) { in DfxTest002()
609 jerry_value_t errorVal = jerry_get_value_from_error(errorValue, false); in DfxTest002()
/foundation/arkui/ace_engine/frameworks/core/components/declaration/common/
H A Ddeclaration.h508 std::function<T(uint32_t refId)>&& idRefFunc, const T& errorValue) const in ParseThemeReference()
516 return errorValue; in ParseThemeReference()
525 return errorValue; in ParseThemeReference()
527 return themeStyle->GetAttr<T>(parseResult.refAttr, errorValue); in ParseThemeReference()
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_node.h948 std::function<T(uint32_t refId)>&& idRefFunc, const T& errorValue) const in ParseThemeReference()
956 return errorValue; in ParseThemeReference()
965 return errorValue; in ParseThemeReference()
967 return themeStyle->GetAttr<T>(parseResult.refAttr, errorValue); in ParseThemeReference()
/foundation/arkui/ace_engine_lite/interfaces/inner_api/builtin/jsi/
H A Djsi.h410 * @param [in] errorValue: error value to get
413 static JsiErrorType GetErrorType(JSIValue errorValue);
/foundation/arkui/ace_engine_lite/frameworks/native_engine/jsi/
H A Djsi.cpp546 JsiErrorType JSI::GetErrorType(JSIValue errorValue) in GetErrorType() argument
548 if (!ValueIsError(errorValue)) { in GetErrorType()
552 jerry_value_t jError = AS_JERRY_VALUE(errorValue); in GetErrorType()
/foundation/arkui/ace_engine/adapter/ohos/entrance/pa_engine/engine/jsi/
H A Djsi_pa_engine.cpp188 napi_value errorValue; in RegisterConsoleModule() local
189 napi_create_function(env, "error", strlen("error"), AppErrorLogPrint, nullptr, &errorValue); in RegisterConsoleModule()
196 napi_set_named_property(env, consoleObj, "error", errorValue); in RegisterConsoleModule()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/
H A Djsi_declarative_engine.cpp751 napi_value errorValue; in InitConsoleModule() local
752 napi_create_function(env, "error", strlen("error"), AppErrorLogPrint, nullptr, &errorValue); in InitConsoleModule()
759 napi_set_named_property(env, consoleObj, "error", errorValue); in InitConsoleModule()
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Djsi_engine.cpp2788 napi_value errorValue; in RegisterConsoleModule() local
2789 napi_create_function(env, "error", strlen("error"), AppErrorLogPrint, nullptr, &errorValue); in RegisterConsoleModule()
2796 napi_set_named_property(env, consoleObj, "error", errorValue); in RegisterConsoleModule()
/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_ability_common/
H A Dnapi_context.cpp3241 napi_value errorValue = CreateJsError(env, errorCode, ConvertErrorCode(errorCode)); in OnRequestPermissionsFromUser() local
3242 napiAsyncTask->Reject(env, errorValue); in OnRequestPermissionsFromUser()

Completed in 33 milliseconds