Home
last modified time | relevance | path

Searched refs:ERR_CODE (Results 1 – 25 of 30) sorted by relevance

12

/ohos5.0/foundation/ability/form_fwk/test/unittest/form_errors_test/
H A Dform_errors_test.cpp26 const std::int32_t ERR_CODE = -5; variable
94 auto ret = formErrors.QueryExternalErrorCode(ERR_CODE);
124 std::string ret = formErrors.QueryExternalErrorMessage(ERR_CODE, ERR_OK);
139 std::string ret = formErrors.GetErrorMsgByExternalErrorCode(ERR_CODE);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dmenu_item_modifier.cpp28 static const char* ERR_CODE = "-1"; variable
89 if (res[0] != ERR_CODE) { // 0: position of font size data in SetLabelFont()
94 if (res[1] != ERR_CODE) { // 1: position of font weight data in SetLabelFont()
106 if (res[2] != ERR_CODE) { // 2: position of font family data in SetLabelFont()
138 if (res[0] != ERR_CODE) { // 0: position of font size data in SetContentFont()
143 if (res[1] != ERR_CODE) { // 1: position of font weight data in SetContentFont()
155 if (res[2] != ERR_CODE) { // 2: position of font family data in SetContentFont()
H A Dselect_modifier.cpp30 const char* ERR_CODE = "-1"; variable
141 if (res[0] != ERR_CODE) { // 0: index of font size data in SetFont()
147 if (res[1] != ERR_CODE) { // 1: index of font weight data in SetFont()
153 if (res[2] != ERR_CODE) { // 2: index of font family data in SetFont()
179 if (res[0] != ERR_CODE) { // 0: index of font size data in SetOptionFont()
185 if (res[1] != ERR_CODE) { // 1: index of font weight data in SetOptionFont()
191 if (res[2] != ERR_CODE) { // 2: index of font family data in SetOptionFont()
217 if (res[0] != ERR_CODE) { // 0: index of font size data in SetSelectedOptionFont()
223 if (res[1] != ERR_CODE) { // 1: index of font weight data in SetSelectedOptionFont()
229 if (res[2] != ERR_CODE) { // 2: index of font family data in SetSelectedOptionFont()
H A Dmenu_modifier.cpp26 static const char* ERR_CODE = "-1"; variable
118 if (res[0] != ERR_CODE) { // 0: index of font size data in SetMenuFont()
123 if (res[1] != ERR_CODE) { // 1: index of font weight data in SetMenuFont()
135 if (res[2] != ERR_CODE) { // 2: index of font family data in SetMenuFont()
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/tcp_direct/src/
H A Dtrans_tcp_direct_json.c28 #define ERR_CODE "ERR_CODE" macro
43 !AddNumberToJsonObject(json, ERR_CODE, errCode) || in VerifyP2pPackError()
86 if (GetJsonObjectInt32Item(json, ERR_CODE, &errCode)) { in VerifyP2pUnPack()
/ohos5.0/foundation/bundlemanager/bundle_tool/test/systemtest/bm/
H A Dbm_command_uninstall_system_test.cpp32 const std::string ERR_CODE = "code:9568386\n"; variable
86 EXPECT_EQ(commandResult, STRING_UNINSTALL_BUNDLE_NG + "\n" + ERR_CODE + UNINSTALL_FALSE + "\n");
H A Dbm_command_install_system_test.cpp32 const std::string ERR_CODE = "code:9568269\n"; variable
86 EXPECT_EQ(commandResult, STRING_INSTALL_BUNDLE_NG + "\n" + ERR_CODE + INSTALL_FALSE + "\n");
/ohos5.0/foundation/multimodalinput/input/util/napi/include/
H A Dutil_napi_error.h32 const std::string ERR_CODE = "code"; variable
60 napi_set_named_property(env, businessError, ERR_CODE.c_str(), errorCode); \
/ohos5.0/base/msdp/device_status/utils/common/include/
H A Dutil_napi_error.h32 const std::string ERR_CODE { "code" };
50 napi_set_named_property(env, businessError, ERR_CODE.c_str(), errorCode); \
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/
H A Dhisysevent.yaml52 ERR_CODE: {type: INT32, desc: dhfwk sa init failed result}
66 ERR_CODE: {type: INT32, desc: dlclose failed result}
77 ERR_CODE: {type: INT32, desc: dhfwk distributed hardware enable failed result}
83 ERR_CODE: {type: INT32, desc: dhfwk distributed hardware disable result}
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/codegen/SA/ts/
H A Dsa_ts_client_proxy_code_emitter.cpp139 typeEmitter->EmitTsReadVar("result.reply", SuffixAdded(ERR_CODE).c_str(), sb, prefix + TAB); in EmitInterfaceMethodCallback()
149 sb.Append(prefix).AppendFormat("if (%s != 0) {\n", SuffixAdded(ERR_CODE).c_str()); in EmitInterfaceMethodErrorCallback()
162 sb.Append(prefix).Append(TAB).AppendFormat("callback(%s", SuffixAdded(ERR_CODE).c_str()); in EmitInterfaceMethodErrorCallback()
196 sb.Append(prefix + TAB).AppendFormat("callback(%s", SuffixAdded(ERR_CODE).c_str()); in EmitInterfaceMethodCallbackInner()
H A Dsa_ts_service_stub_code_emitter.cpp154 sb.Append(ERR_CODE); in EmitInterfaceStubMethodPromiseImpl()
170 typeEmitter->EmitTsWriteVar("reply", ERR_CODE, sb, prefix + TAB); in EmitInterfaceStubMethodPromiseImpl()
174 sb.Append(prefix).Append(TAB).AppendFormat("if (%s == 0) {\n", ERR_CODE); in EmitInterfaceStubMethodPromiseImpl()
H A Dsa_ts_code_emitter.h23 constexpr const char *ERR_CODE = "errCode"; variable
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/
H A Dp2p_define.h198 ERR_CODE = 0, enumerator
203 ERR_CODE = 0, enumerator
/ohos5.0/base/security/huks/frameworks/crypto_lite/js/builtin/include/
H A Dcipher_module.h30 static constexpr uint8_t ERR_CODE = 200;
/ohos5.0/base/location/test/location_network/source/
H A Dnetwork_ability_stub_test.cpp37 const int ERR_CODE = 100; variable
225 networkCallbackHost->OnErrorReport(ERR_CODE); // nullptr error
/ohos5.0/foundation/communication/dsoftbus/core/transmission/common/include/
H A Dsoftbus_message_open_channel.h23 #define ERR_CODE "ERR_CODE" macro
/ohos5.0/base/security/huks/frameworks/crypto_lite/js/builtin/src/
H A Dcipher_module.cpp37 JSIValue code = JSI::CreateNumber(ERR_CODE); in Rsa()
114 JSIValue code = JSI::CreateNumber(ERR_CODE); in Aes()
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/udp_negotiation/src/
H A Dtrans_udp_negotiation_exchange.c65 if (!GetJsonObjectInt32Item(msg, ERR_CODE, errCode)) { in TransUnpackReplyErrInfo()
260 (void)AddNumberToJsonObject(msg, ERR_CODE, errCode); in TransPackReplyErrInfo()
/ohos5.0/foundation/ability/idl_tool/codegen/
H A Dts_code_emitter.cpp36 const String ERR_CODE = "errCode"; variable
357 EmitReadOutVariable("result.reply", SuffixAdded(ERR_CODE).c_str(), &errCode, stringBuilder, in EmitInterfaceMethodCallback()
362 "if (%s != 0) {\n", SuffixAdded(ERR_CODE).c_str()); in EmitInterfaceMethodCallback()
375 stringBuilder.AppendFormat("%s", SuffixAdded(ERR_CODE).c_str()); in EmitInterfaceMethodCallback()
420 stringBuilder.AppendFormat("%s", SuffixAdded(ERR_CODE).c_str()); in EmitInterfaceMethodCallbackInner()
601 stringBuilder.Append(ERR_CODE); in EmitInterfaceStubMethodPromiseImpl()
624 … EmitWriteVariable("reply", ERR_CODE.string(), &errCode, stringBuilder, prefix + TAB + TAB + TAB); in EmitInterfaceStubMethodPromiseImpl()
629 .AppendFormat("if (%s == 0) {\n", ERR_CODE.string()); in EmitInterfaceStubMethodPromiseImpl()
/ohos5.0/base/msdp/device_status/frameworks/js/napi/interaction/cooperate/src/
H A Djs_util_cooperate.cpp88 CHKRP(napi_set_named_property(env, object, ERR_CODE.c_str(), resultCode), SET_NAMED_PROPERTY); in GetResult()
/ohos5.0/base/msdp/device_status/frameworks/js/napi/interaction/coordination/src/
H A Djs_util.cpp88 CHKRP(napi_set_named_property(env, object, ERR_CODE.c_str(), resultCode), SET_NAMED_PROPERTY); in GetResult()
/ohos5.0/foundation/multimodalinput/input/frameworks/napi/short_key/src/
H A Djs_short_key_manager.cpp78 … CHKRF(napi_set_named_property(env, businessError, ERR_CODE.c_str(), errCode), SET_NAMED_PROPERTY); in GetResult()
/ohos5.0/foundation/communication/dsoftbus/core/transmission/common/src/
H A Dsoftbus_message_open_channel.c42 !AddNumberToJsonObject(json, ERR_CODE, errCode) || in PackError()
409 if (!GetJsonObjectInt32Item(msg, ERR_CODE, errCode)) { in UnpackReplyErrCode()
/ohos5.0/foundation/communication/wifi/wifi/
H A Dhisysevent.yaml151 ERR_CODE: {type: INT32, desc: fail error code}
156 ERR_CODE: {type: INT32, desc: fail error code}

12