/ohos5.0/commonlibrary/ets_utils/tools/ |
H A D | ets_error.h | 32 napi_value errorValue = nullptr; in ThrowError() local 44 napi_create_error(env, nullptr, msg, &errorValue); in ThrowError() 45 napi_set_named_property(env, errorValue, "code", code); in ThrowError() 46 napi_set_named_property(env, errorValue, "name", name); in ThrowError() 48 napi_throw(env, errorValue); in ThrowError()
|
/ohos5.0/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() argument 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()
|
/ohos5.0/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() argument 77 return errorValue; in ParseThemeReference() 86 return errorValue; in ParseThemeReference() 88 return themeStyle->GetAttr<T>(parseResult.refAttr, errorValue); in ParseThemeReference()
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/base/ |
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() 68 void DfxAssist::DumpErrorMessage(const jerry_value_t errorValue) in DumpErrorMessage() argument 73 jerry_value_t errorVal = jerry_get_value_from_error(errorValue, false); in DumpErrorMessage()
|
H A D | dfx_assist.h | 37 void DumpErrorCode(const jerry_value_t errorValue); 44 void DumpErrorMessage(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()
|
H A D | js_fwk_common.h | 250 void PrintErrorMessage(const jerry_value_t errorValue);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | content_controller.cpp | 330 auto errorValue = FilterWithRegex(filter, result); in FilterWithEvent() local 331 if (!errorValue.empty()) { in FilterWithEvent() 339 eventHub->FireOnInputFilterError(errorValue); in FilterWithEvent() 342 textFieldAccessibilityProperty->SetErrorText(errorValue); in FilterWithEvent() 344 return !errorValue.empty(); in FilterWithEvent()
|
/ohos5.0/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()
|
/ohos5.0/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() argument 516 return errorValue; in ParseThemeReference() 525 return errorValue; in ParseThemeReference() 527 return themeStyle->GetAttr<T>(parseResult.refAttr, errorValue); in ParseThemeReference()
|
/ohos5.0/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() argument 956 return errorValue; in ParseThemeReference() 965 return errorValue; in ParseThemeReference() 967 return themeStyle->GetAttr<T>(parseResult.refAttr, errorValue); in ParseThemeReference()
|
/ohos5.0/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()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_input/ |
H A D | text_input_layout_algorithm.cpp | 170 auto errorValue = pattern->GetErrorTextString(); in BeforeErrorLayout() local 171 if (pattern->IsShowError() && !pattern->IsDisabled() && !errorValue.empty()) { in BeforeErrorLayout()
|
/ohos5.0/foundation/arkui/ace_engine_lite/interfaces/inner_api/builtin/jsi/ |
H A D | jsi.h | 413 static JsiErrorType GetErrorType(JSIValue errorValue);
|
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/pa_engine/engine/jsi/ |
H A D | jsi_pa_engine.cpp | 202 napi_value errorValue; in RegisterConsoleModule() local 203 napi_create_function(env, "error", strlen("error"), AppErrorLogPrint, nullptr, &errorValue); in RegisterConsoleModule() 210 napi_set_named_property(env, consoleObj, "error", errorValue); in RegisterConsoleModule()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/ |
H A D | jsi_declarative_engine.cpp | 739 napi_value errorValue; in InitConsoleModule() local 740 napi_create_function(env, "error", strlen("error"), AppErrorLogPrint, nullptr, &errorValue); in InitConsoleModule() 747 napi_set_named_property(env, consoleObj, "error", errorValue); in InitConsoleModule()
|
/ohos5.0/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()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_ability_common/ |
H A D | napi_context.cpp | 3233 napi_value errorValue = CreateJsError(env, errorCode, ConvertErrorCode(errorCode)); in OnRequestPermissionsFromUser() local 3234 napiAsyncTask->Reject(env, errorValue); in OnRequestPermissionsFromUser()
|