Searched refs:rqst (Results 1 - 5 of 5) sorted by relevance
/base/hiviewdfx/hilog/services/hilogd/include/ |
H A D | service_controller.h | 53 int GetRqst(const MsgHeader& hdr, char* rqst, int expectedLen); 57 void RequestHandler(const MsgHeader& hdr, std::function<void(const T& rqst)> handle); 60 int CheckOutputRqst(const OutputRqst& rqst); 61 void LogFilterFromOutputRqst(const OutputRqst& rqst, LogFilter& filter); 62 int CheckPersistStartRqst(const PersistStartRqst &rqst); 63 void PersistStartRqst2Msg(const PersistStartRqst &rqst, LogPersistStartMsg &msg); 76 void HandleOutputRqst(const OutputRqst &rqst); 77 void HandlePersistStartRqst(const PersistStartRqst &rqst); 78 void HandlePersistStopRqst(const PersistStopRqst &rqst); 79 void HandlePersistQueryRqst(const PersistQueryRqst& rqst); 113 T *rqst = reinterpret_cast<T *>(data); RequestHandler() local [all...] |
/base/hiviewdfx/hilog/services/hilogd/ |
H A D | service_controller.cpp | 110 int ServiceController::GetRqst(const MsgHeader& hdr, char* rqst, int expectedLen) in GetRqst() argument 116 int ret = m_communicationSocket->Read(rqst, hdr.len); in GetRqst() 430 int ServiceController::CheckOutputRqst(const OutputRqst& rqst) in CheckOutputRqst() argument 432 if (((rqst.types & (0b01 << LOG_KMSG)) != 0) && (GetBitsCount(rqst.types) > 1)) { in CheckOutputRqst() 435 if (rqst.domainCount > MAX_DOMAINS) { in CheckOutputRqst() 438 if (rqst.tagCount > MAX_TAGS) { in CheckOutputRqst() 441 if (rqst.pidCount > MAX_PIDS) { in CheckOutputRqst() 446 if (uid != ROOT_UID && uid != SHELL_UID && rqst.pidCount > 0 && uid != HIVIEW_UID && uid != PROFILER_UID) { in CheckOutputRqst() 452 void ServiceController::LogFilterFromOutputRqst(const OutputRqst& rqst, LogFilte argument 497 HandleOutputRqst(const OutputRqst &rqst) HandleOutputRqst() argument 541 CheckPersistStartRqst(const PersistStartRqst &rqst) CheckPersistStartRqst() argument 563 PersistStartRqst2Msg(const PersistStartRqst &rqst, LogPersistStartMsg &msg) PersistStartRqst2Msg() argument 596 HandlePersistStartRqst(const PersistStartRqst &rqst) HandlePersistStartRqst() argument 634 HandlePersistStopRqst(const PersistStopRqst &rqst) HandlePersistStopRqst() argument 659 HandlePersistQueryRqst(const PersistQueryRqst& rqst) HandlePersistQueryRqst() argument 683 HandlePersistRefreshRqst(const PersistRefreshRqst& rqst) HandlePersistRefreshRqst() argument 716 HandleBufferSizeGetRqst(const BufferSizeGetRqst& rqst) HandleBufferSizeGetRqst() argument 740 HandleBufferSizeSetRqst(const BufferSizeSetRqst& rqst) HandleBufferSizeSetRqst() argument 770 HandleStatsQueryRqst(const StatsQueryRqst& rqst) HandleStatsQueryRqst() argument 793 HandleStatsClearRqst(const StatsClearRqst& rqst) HandleStatsClearRqst() argument 801 HandleDomainFlowCtrlRqst(const DomainFlowCtrlRqst& rqst) HandleDomainFlowCtrlRqst() argument 811 HandleLogRemoveRqst(const LogRemoveRqst& rqst) HandleLogRemoveRqst() argument 835 HandleLogKmsgEnableRqst(const KmsgEnableRqst& rqst) HandleLogKmsgEnableRqst() argument [all...] |
/base/hiviewdfx/hilog/services/hilogtool/ |
H A D | main.cpp | 339 void ToOutputRqst(OutputRqst& rqst) in ToOutputRqst() 341 rqst.headLines = headLines; in ToOutputRqst() 342 rqst.types = types; in ToOutputRqst() 343 rqst.levels = levels; in ToOutputRqst() 344 rqst.blackDomain = blackDomain; in ToOutputRqst() 345 rqst.domainCount = static_cast<uint8_t>(domainCount); in ToOutputRqst() 348 rqst.domains[i] = domains[i]; in ToOutputRqst() 350 rqst.blackTag = blackTag; in ToOutputRqst() 351 rqst.tagCount = tagCount; in ToOutputRqst() 353 (void)strncpy_s(rqst in ToOutputRqst() 411 OutputRqst rqst = { 0 }; QueryLogHandler() local 531 BufferSizeGetRqst rqst = { 0 }; BufferSizeGetHandler() local 555 BufferSizeSetRqst rqst; BufferSizeSetHandler() local 607 KmsgEnableRqst rqst = { kmsgOn }; KmsgFeatureSetHandler() local 695 DomainFlowCtrlRqst rqst = { 0 }; SetDomainFlowCtrl() local 729 LogRemoveRqst rqst = { 0 }; RemoveHandler() local 744 StatsQueryRqst rqst = { 0 }; StatsInfoQueryHandler() local 759 StatsClearRqst rqst = { 0 }; StatsInfoClearHandler() local 871 PersistStartRqst rqst = { { 0 }, 0 }; PersistTaskStart() local 886 PersistStopRqst rqst = { 0 }; PersistTaskStop() local 909 PersistQueryRqst rqst = { 0 }; PersistTaskQuery() local 925 PersistRefreshRqst rqst = { 0 }; PersistTaskRefresh() local 941 PersistClearRqst rqst = { 0 }; ClearPersistLog() local [all...] |
/base/hiviewdfx/hilog/frameworks/libhilog/ioctl/include/ |
H A D | log_ioctl.h | 34 LogIoctl(IoctlCmd rqst, IoctlCmd rsp);
38 int Request(const T1& rqst, std::function<int(const T2& rsp)> handle);
39 int RequestOutput(const OutputRqst& rqst, std::function<int(const OutputRsp& rsp)> handle);
40 int RequestStatsQuery(const StatsQueryRqst& rqst, std::function<int(const StatsQueryRsp& rsp)> handle);
53 int RequestMsgHead(const T1& rqst);
67 int LogIoctl::RequestMsgHead(const T1& rqst)
in RequestMsgHead() argument 74 ret = socket.WriteAll(reinterpret_cast<const char*>(&rqst), sizeof(T1));
in RequestMsgHead() 97 int LogIoctl::Request(const T1& rqst, std::function<int(const T2& rsp)> handle)
in Request() argument 103 int ret = RequestMsgHead<T1, T2>(rqst);
in Request()
|
/base/hiviewdfx/hilog/frameworks/libhilog/ioctl/ |
H A D | log_ioctl.cpp | 31 LogIoctl::LogIoctl(IoctlCmd rqst, IoctlCmd rsp) : socket(GetSocketName(rqst), 0)
in LogIoctl() argument 37 rqstCmd = rqst;
in LogIoctl() 301 int LogIoctl::RequestOutput(const OutputRqst& rqst, std::function<int(const OutputRsp& rsp)> handle)
in RequestOutput() argument 304 int ret = RequestMsgHead<OutputRqst, OutputRsp>(rqst);
in RequestOutput() 329 int LogIoctl::RequestStatsQuery(const StatsQueryRqst& rqst, std::function<int(const StatsQueryRsp& rsp)> handle)
in RequestStatsQuery() argument 332 int ret = RequestMsgHead<StatsQueryRqst, StatsQueryRsp>(rqst);
in RequestStatsQuery()
|
Completed in 5 milliseconds