Searched refs:MsgHeader (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/base/hiviewdfx/hilog/services/hilogd/include/ |
H A D | service_controller.h | 52 int GetMsgHeader(MsgHeader& hdr); 53 int GetRqst(const MsgHeader& hdr, char* rqst, int expectedLen); 57 void RequestHandler(const MsgHeader& hdr, std::function<void(const T& rqst)> handle); 104 void ServiceController::RequestHandler(const MsgHeader& hdr, std::function<void(const T& rqst)> han… in RequestHandler()
|
/ohos5.0/base/hiviewdfx/hilog/frameworks/libhilog/ioctl/include/ |
H A D | log_ioctl.h | 50 int ReceiveMsgHeaer(MsgHeader& hdr); 79 MsgHeader hdr = { 0 }; in RequestMsgHead()
|
/ohos5.0/base/hiviewdfx/hilog/services/hilogd/ |
H A D | service_controller.cpp | 96 int ServiceController::GetMsgHeader(MsgHeader& hdr) in GetMsgHeader() 102 int ret = m_communicationSocket->Read(reinterpret_cast<char *>(&hdr), sizeof(MsgHeader)); in GetMsgHeader() 103 if (ret < static_cast<int>(sizeof(MsgHeader))) { in GetMsgHeader() 110 int ServiceController::GetRqst(const MsgHeader& hdr, char* rqst, int expectedLen) in GetRqst() 126 MsgHeader header = {MSG_VER, static_cast<uint8_t>(cmd), 0, static_cast<uint16_t>(len)}; in WriteRspHeader() 127 (void)m_communicationSocket->Write(reinterpret_cast<char*>(&header), sizeof(MsgHeader)); in WriteRspHeader() 133 MsgHeader header = {MSG_VER, static_cast<uint8_t>(IoctlCmd::RSP_ERROR), code, 0}; in WriteErrorRsp() 134 (void)m_communicationSocket->Write(reinterpret_cast<char*>(&header), sizeof(MsgHeader)); in WriteErrorRsp() 860 MsgHeader hdr; in CommunicationLoop()
|
/ohos5.0/base/hiviewdfx/hilog/frameworks/libhilog/ioctl/ |
H A D | log_ioctl.cpp | 43 MsgHeader header = {MSG_VER, static_cast<uint8_t>(cmd), 0, static_cast<uint16_t>(len)}; in SendMsgHeader() 47 int ret = socket.WriteAll(reinterpret_cast<char*>(&header), sizeof(MsgHeader)); in SendMsgHeader() 55 int LogIoctl::ReceiveMsgHeaer(MsgHeader& hdr) in ReceiveMsgHeaer()
|
/ohos5.0/base/hiviewdfx/hilog/frameworks/libhilog/include/ |
H A D | hilog_cmd.h | 67 struct MsgHeader { struct
|
/ohos5.0/base/hiviewdfx/hilog/interfaces/native/innerkits/ |
H A D | libhilog.map | 79 "OHOS::HiviewDFX::LogIoctl::ReceiveMsgHeaer(MsgHeader&)";
|