/foundation/ability/ability_runtime/services/appmgr/src/ |
H A D | app_spawn_msg_wrapper.cpp | 86 msg_ = static_cast<AppSpawnMsg *>(malloc(msgSize)); in AssembleMsg() 87 if (msg_ == nullptr) { in AssembleMsg() 91 if (memset_s(msg_, msgSize, 0, msgSize) != EOK) { in AssembleMsg() 95 msg_->code = static_cast<AppSpawn::ClientSocket::AppOperateCode>(startMsg.code); in AssembleMsg() 96 if (msg_->code == AppSpawn::ClientSocket::AppOperateCode::DEFAULT || in AssembleMsg() 97 msg_->code == AppSpawn::ClientSocket::AppOperateCode::SPAWN_NATIVE_PROCESS) { in AssembleMsg() 98 msg_->uid = startMsg.uid; in AssembleMsg() 99 msg_->gid = startMsg.gid; in AssembleMsg() 100 msg_->gidCount = startMsg.gids.size() + startMsg.dataGroupInfoList.size(); in AssembleMsg() 101 msg_ in AssembleMsg() [all...] |
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/include/ |
H A D | napi_rdb_error.h | 102 msg_ = napiError.message;
in InnerError() 105 msg_ = "Inner error. Inner code is " + std::to_string(code % E_INNER_ERROR);
in InnerError() 112 msg_ = std::string("Inner error. ") + msg;
in InnerError() 117 return msg_;
126 std::string msg_;
member in OHOS::RelationalStoreJsKit::InnerError 133 msg_ = "Parameter error. The " + needed + " must be " + mustbe;
in ParamError() 138 msg_ = "Parameter error." + errMsg;
in ParamError() 143 return msg_;
152 std::string msg_;
member in OHOS::RelationalStoreJsKit::ParamError
|
/foundation/ai/ai_engine/services/common/protocol/data_channel/source/ |
H A D | request.cpp | 31 msg_.data = nullptr; in Request() 32 msg_.length = 0; in Request() 37 if (msg_.data != nullptr) { in ~Request() 38 free(msg_.data); in ~Request() 39 msg_.data = nullptr; in ~Request() 40 msg_.length = 0; in ~Request() 106 return msg_; in GetMsg() 111 msg_ = msg; in SetMsg()
|
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/command/ |
H A D | negotiate_command.cpp | 23 : msg_(msg), channel_(channel) in NegotiateCommand() 35 return (*selector)(msg_); in GetProcessor() 40 return msg_; in GetNegotiateMessage()
|
H A D | negotiate_command.h | 39 NegotiateMessage msg_; member in OHOS::SoftBus::NegotiateCommand
|
/foundation/filemanagement/dfs_service/utils/system/include/ |
H A D | dfsu_exception.h | 41 DfsuException(int code, const std::string &msg) : code_(code), msg_(msg) {}; in DfsuException() 50 return msg_.c_str(); 55 std::string msg_; member in OHOS::Storage::DistributedFile::DfsuException
|
/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/include/ |
H A D | napi_preferences_error.h | 118 msg_ = "Inner error. " + msg; in InnerError() 127 msg_ = napiError.message; in InnerError() 130 msg_ = "Inner error. Error code " + std::to_string(code); in InnerError() 136 return msg_; 145 std::string msg_; member in OHOS::PreferencesJsKit::InnerError
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/context/ |
H A D | js_profiler.cpp | 162 JSProfiler::JSProfiler() : data_(nullptr), dataCount_(0), traceIdSlot_(0), enabled_(false), msg_(nullptr) {} in JSProfiler() 179 isEnabled = isEnabled && (msg_ != nullptr); in IsEnabled() 196 msg_ = static_cast<ProfilerMsg *>(ace_malloc(PROFILER_MSG_LENGTH * sizeof(ProfilerMsg))); in PrepareDataBuffer() 197 if (msg_ == nullptr) { in PrepareDataBuffer() 237 if (write(fd, JSProfiler::GetInstance()->msg_[i].msg, strlen(JSProfiler::GetInstance()->msg_[i].msg)) < 0) { in FlushProfilerMsg() 258 ACE_FREE(msg_); in Release() 273 if (msg_) { in ResetData() 274 if (memset_s(msg_, (PROFILER_MSG_LENGTH * sizeof(ProfilerMsg)), 0, in ResetData() 370 if (strcpy_s(msg_[g_profiler_msg_inde in Output() [all...] |
H A D | js_profiler.h | 242 ProfilerMsg *msg_ = nullptr; member in OHOS::ACELite::final
|
/foundation/communication/netstack/utils/profiler_utils/src/ |
H A D | netstack_network_profiler.cpp | 54 msg_ = networkMessage.Parse(); in NetworkProfiling() 61 auto ret = TlvUtils::Encode(msg_, data_, dataSize_); in NetworkProfiling()
|
/foundation/filemanagement/app_file_service/utils/include/b_error/ |
H A D | b_error.h | 153 return msg_.c_str(); 202 msg_ = WrapMessageWithExtraInfos(fileName, lineNo, functionName, code_, {mpErrToMsg_.at(code_)}); in BError() 216 msg_ = WrapMessageWithExtraInfos(fileName, lineNo, functionName, code_, {mpErrToMsg_.at(code_), extraMsg}); in BError() 230 msg_ = WrapMessageWithExtraInfos(fileName, lineNo, functionName, code_, {rawMsg}); 358 std::string msg_; member in OHOS::FileManagement::Backup::BError
|
/foundation/communication/netstack/utils/profiler_utils/include/ |
H A D | netstack_network_profiler.h | 37 DfxMessage msg_; member in OHOS::NetStack::NetworkProfilerUtils
|
/foundation/ai/ai_engine/services/common/protocol/data_channel/include/ |
H A D | request.h | 134 DataInfo msg_; member in OHOS::AI::Request
|
/foundation/multimedia/player_framework/services/utils/ |
H A D | media_dfx.cpp | 125 msg_ = msg; in CreateMsg() 138 "MSG", msg_); in EventWrite() 150 "MSG", msg_, in EventWriteWithAppInfo() 165 "MSG", msg_, in EventWriteBundleName()
|
/foundation/multimedia/player_framework/services/utils/include/ |
H A D | media_dfx.h | 79 std::string msg_; member in OHOS::Media::MediaEvent
|