/foundation/arkui/ace_engine_lite/frameworks/src/core/base/ |
H A D | dfx_assist.h | 37 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 D | dfx_assist.cpp | 23 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 D | js_fwk_common.h | 250 void PrintErrorMessage(const jerry_value_t errorValue);
|
H A D | js_fwk_common.cpp | 274 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 D | theme_style.h | 62 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 D | animation_util.h | 69 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 D | content_controller.cpp | 334 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 D | text_field_content_modifier.cpp | 528 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 D | dfx_tdd_test.cpp | 599 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 D | declaration.h | 508 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 D | dom_node.h | 948 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 D | jsi.h | 410 * @param [in] errorValue: error value to get 413 static JsiErrorType GetErrorType(JSIValue errorValue);
|
/foundation/arkui/ace_engine_lite/frameworks/native_engine/jsi/ |
H A D | jsi.cpp | 546 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 D | jsi_pa_engine.cpp | 188 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 D | jsi_declarative_engine.cpp | 751 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 D | jsi_engine.cpp | 2788 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 D | napi_context.cpp | 3241 napi_value errorValue = CreateJsError(env, errorCode, ConvertErrorCode(errorCode)); in OnRequestPermissionsFromUser() local 3242 napiAsyncTask->Reject(env, errorValue); in OnRequestPermissionsFromUser()
|