Searched refs:hdr (Results 1 – 9 of 9) sorted by relevance
/base/hiviewdfx/hilog/frameworks/libhilog/ioctl/include/ |
D | log_ioctl.h | 50 int ReceiveMsgHeaer(MsgHeader& hdr); 79 MsgHeader hdr = { 0 }; in RequestMsgHead() local 80 ret = ReceiveMsgHeaer(hdr); in RequestMsgHead() 84 if (hdr.cmd == static_cast<uint8_t>(IoctlCmd::RSP_ERROR)) { in RequestMsgHead() 85 return hdr.err; in RequestMsgHead() 87 if (hdr.cmd != static_cast<uint8_t>(rspCmd)) { in RequestMsgHead() 90 if (hdr.len != sizeof(T2)) { in RequestMsgHead()
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/ |
D | dfx_elf.cpp | 670 bool DfxElf::FillUnwindTableByEhhdrLocal(struct DwarfEhFrameHdr* hdr, struct UnwindTableInfo* uti) in FillUnwindTableByEhhdrLocal() argument 672 if (hdr == nullptr) { in FillUnwindTableByEhhdrLocal() 675 if (hdr->version != DW_EH_VERSION) { in FillUnwindTableByEhhdrLocal() 676 LOGE("version(%d) error", hdr->version); in FillUnwindTableByEhhdrLocal() 680 uintptr_t ptr = (uintptr_t)(&(hdr->ehFrame)); in FillUnwindTableByEhhdrLocal() 681 LOGU("hdr: %" PRIx64 ", ehFrame: %" PRIx64 "", (uint64_t)hdr, (uint64_t)ptr); in FillUnwindTableByEhhdrLocal() 686 (uint64_t)uti->gp, hdr->ehFramePtrEnc, hdr->fdeCountEnc); in FillUnwindTableByEhhdrLocal() 688 MAYBE_UNUSED uintptr_t ehFrameStart = memory->ReadEncodedValue(ptr, hdr->ehFramePtrEnc); in FillUnwindTableByEhhdrLocal() 689 uintptr_t fdeCount = memory->ReadEncodedValue(ptr, hdr->fdeCountEnc); in FillUnwindTableByEhhdrLocal() 692 if (hdr->tableEnc != (DW_EH_PE_datarel | DW_EH_PE_sdata4)) { in FillUnwindTableByEhhdrLocal() [all …]
|
/base/hiviewdfx/hilog/services/hilogd/include/ |
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() argument 106 std::vector<char> buffer(hdr.len, 0); in RequestHandler() 108 int ret = GetRqst(hdr, data, sizeof(T)); in RequestHandler()
|
/base/hiviewdfx/hilog/services/hilogd/ |
D | service_controller.cpp | 96 int ServiceController::GetMsgHeader(MsgHeader& hdr) in GetMsgHeader() argument 102 int ret = m_communicationSocket->Read(reinterpret_cast<char *>(&hdr), sizeof(MsgHeader)); in GetMsgHeader() 110 int ServiceController::GetRqst(const MsgHeader& hdr, char* rqst, int expectedLen) in GetRqst() argument 112 if (hdr.len != expectedLen) { in GetRqst() 113 … std::cout << "Invalid MsgHeader! hdr.len:" << hdr.len << ", expectedLen:" << expectedLen << endl; in GetRqst() 116 int ret = m_communicationSocket->Read(rqst, hdr.len); in GetRqst() 860 MsgHeader hdr; in CommunicationLoop() local 861 int ret = GetMsgHeader(hdr); in CommunicationLoop() 865 IoctlCmd cmd = static_cast<IoctlCmd>(hdr.cmd); in CommunicationLoop() 874 RequestHandler<OutputRqst>(hdr, [this](const OutputRqst& rqst) { in CommunicationLoop() [all …]
|
/base/hiviewdfx/hilog/frameworks/libhilog/socket/ |
D | socket_server.cpp | 78 int SocketServer::RecvMsg(struct msghdr *hdr, int flags) in RecvMsg() argument 80 return TEMP_FAILURE_RETRY(recvmsg(socketHandler, hdr, flags)); in RecvMsg()
|
/base/hiviewdfx/hilog/frameworks/libhilog/socket/include/ |
D | socket_server.h | 37 int RecvMsg(struct msghdr *hdr, int flags = 0);
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/ |
D | dfx_elf.h | 90 … static bool FillUnwindTableByEhhdrLocal(struct DwarfEhFrameHdr* hdr, struct UnwindTableInfo* uti); 92 …bool FillUnwindTableByEhhdr(struct DwarfEhFrameHdr* hdr, uintptr_t shdrBase, struct UnwindTableInf…
|
/base/hiviewdfx/hilog/frameworks/libhilog/ioctl/ |
D | log_ioctl.cpp | 55 int LogIoctl::ReceiveMsgHeaer(MsgHeader& hdr) in ReceiveMsgHeaer() argument 57 int ret = socket.RecvMsg(reinterpret_cast<char *>(&hdr), sizeof(hdr)); in ReceiveMsgHeaer()
|
/base/hiviewdfx/hitrace/tools/hitrace_converter/ |
D | parse_functions.py | 283 hdr = parse_int_field(one_event, "hdr[12]", False) 287 parse_bytes_to_str(data[dev_name_pos:]), hdr, tsf)
|