/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 38 rspCmd = rsp;
in LogIoctl() 64 int LogIoctl::GetRsp(char* rsp, int len)
in GetRsp() argument 66 int ret = socket.RecvMsg(rsp, len);
in GetRsp() 73 int LogIoctl::ReceiveProcTagStats(StatsQueryRsp &rsp)
in ReceiveProcTagStats() argument 76 for (i = 0; i < rsp.procNum; i++) {
in ReceiveProcTagStats() 77 ProcStatsRsp &pStats = rsp.pStats[i];
in ReceiveProcTagStats() 104 int LogIoctl::ReceiveProcLogTypeStats(StatsQueryRsp &rsp)
in ReceiveProcLogTypeStats() argument 107 for (i = 0; i < rsp.procNum; i++) {
in ReceiveProcLogTypeStats() 108 ProcStatsRsp &pStats = rsp in ReceiveProcLogTypeStats() 134 ReceiveProcStats(StatsQueryRsp &rsp) ReceiveProcStats() argument 163 ReceiveDomainTagStats(StatsQueryRsp &rsp) ReceiveDomainTagStats() argument 198 ReceiveDomainStats(StatsQueryRsp &rsp) ReceiveDomainStats() argument 228 ReceiveLogTypeDomainStats(StatsQueryRsp &rsp) ReceiveLogTypeDomainStats() argument 257 DeleteLogStatsInfo(StatsQueryRsp &rsp) DeleteLogStatsInfo() argument 315 OutputRsp *rsp = reinterpret_cast<OutputRsp *>(buffer.data()); ReceiveAndProcessOutputRsp() local 343 StatsQueryRsp rsp = { 0 }; ReceiveAndProcessStatsQueryRsp() 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);
51 int GetRsp(char* rsp, int len);
55 int ReceiveAndProcessOutputRsp(std::function<int(const OutputRsp& rsp)> handle);
56 int ReceiveAndProcessStatsQueryRsp(std::function<int(const StatsQueryRsp& rsp)> handle);
57 int ReceiveProcTagStats(StatsQueryRsp &rsp);
58 int ReceiveProcLogTypeStats(StatsQueryRsp &rsp);
59 int ReceiveProcStats(StatsQueryRsp &rsp);
108 T2 rsp = { 0 }; Request() local [all...] |
/base/hiviewdfx/hilog/services/hilogd/ |
H A D | service_controller.cpp | 140 OutputRsp rsp; in WriteQueryResponse() local 142 rsp.end = true; // tell client it's the last messsage in WriteQueryResponse() 143 return m_communicationSocket->Write(reinterpret_cast<char*>(&rsp), sizeof(rsp)); in WriteQueryResponse() 146 rsp.len = data.len; /* data len, equals tagLen plus content length, include '\0' */ in WriteQueryResponse() 147 rsp.level = data.level; in WriteQueryResponse() 148 rsp.type = data.type; in WriteQueryResponse() 149 rsp.tagLen = data.tagLen; /* include '\0' */ in WriteQueryResponse() 150 rsp.pid = data.pid; in WriteQueryResponse() 151 rsp in WriteQueryResponse() 166 StatsEntry2StatsRsp(const StatsEntry &entry, StatsRsp &rsp) StatsEntry2StatsRsp() argument 185 StatsQueryRsp rsp; SendOverallStats() local 629 PersistStartRsp rsp = { msg.jobId }; HandlePersistStartRqst() local 636 PersistStopRsp rsp = { 0 }; HandlePersistStopRqst() local 667 PersistQueryRsp rsp = { 0 }; HandlePersistQueryRqst() local 685 PersistRefreshRsp rsp = { 0 }; HandlePersistRefreshRqst() local 711 PersistClearRsp rsp = { 0 }; HandlePersistClearRqst() local 724 BufferSizeGetRsp rsp = { 0 }; HandleBufferSizeGetRqst() local 748 BufferSizeSetRsp rsp = { 0 }; HandleBufferSizeSetRqst() local 796 StatsClearRsp rsp = { 0 }; HandleStatsClearRqst() local 806 DomainFlowCtrlRsp rsp = { 0 }; HandleDomainFlowCtrlRqst() local 819 LogRemoveRsp rsp = { types }; HandleLogRemoveRqst() local 846 KmsgEnableRsp rsp = { 0 }; HandleLogKmsgEnableRqst() local [all...] |
/base/hiviewdfx/hilog/services/hilogtool/ |
H A D | log_display.cpp | 95 static uint32_t GetTotalLines(const StatsRsp &rsp) in GetTotalLines() argument 100 lines += rsp.lines[i]; in GetTotalLines() 105 static uint64_t GetTotalLen(const StatsRsp &rsp) in GetTotalLen() argument 110 len += rsp.len[i]; in GetTotalLen() 115 static void PrintStats(const StatsRsp &rsp) in PrintStats() argument 118 cout << setw(FREQ_W) << setprecision(FLOAT_PRECSION) << rsp.freqMax << colCmd; in PrintStats() 119 cout << setw(TIME_W) << TimeStr(rsp.freqMaxSec, rsp.freqMaxNsec) << colCmd; in PrintStats() 120 cout << setw(TP_W) << setprecision(FLOAT_PRECSION) << rsp.throughputMax << colCmd; in PrintStats() 121 cout << setw(TIME_W) << TimeStr(rsp in PrintStats() 168 HilogShowDomainStatsInfo(const StatsQueryRsp& rsp) HilogShowDomainStatsInfo() argument 229 HilogShowProcStatsInfo(const StatsQueryRsp& rsp) HilogShowProcStatsInfo() argument 274 HilogShowLogStatsInfo(const StatsQueryRsp& rsp) HilogShowLogStatsInfo() argument [all...] |
H A D | main.cpp | 414 int ret = ioctl.RequestOutput(rqst, [&context](const OutputRsp& rsp) { in QueryLogHandler() 415 if (rsp.end) { in QueryLogHandler() 419 .level = rsp.level, in QueryLogHandler() 420 .type = rsp.type, in QueryLogHandler() 421 .pid = rsp.pid, in QueryLogHandler() 422 .tid = rsp.tid, in QueryLogHandler() 423 .domain = rsp.domain, in QueryLogHandler() 424 .tv_sec = rsp.tv_sec, in QueryLogHandler() 425 .tv_nsec = rsp.tv_nsec, in QueryLogHandler() 426 .mono_sec = rsp in QueryLogHandler() [all...] |
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/ |
H A D | getcontext_x86_64.S | 27 leaq 8(%rsp), %rax 30 movq 0(%rsp), %rax
|
/base/hiviewdfx/hilog/services/hilogtool/include/ |
H A D | log_display.h | 24 void HilogShowLogStatsInfo(const StatsQueryRsp& rsp);
|
/base/hiviewdfx/faultloggerd/interfaces/common/ |
H A D | unwind_x86_64_define.h | 97 uint64_t rsp; member
|
/base/security/certificate_framework/frameworks/adapter/v1.0/src/ |
H A D | x509_cert_chain_openssl.c | 892 OCSP_RESPONSE *rsp = NULL; in ValidateOcspLocal() local 899 rsp = d2i_OCSP_RESPONSE(NULL, (const unsigned char **)&(revo->ocspResponses->data), revo->ocspResponses->size); in ValidateOcspLocal() 900 localParam.resp = rsp; in ValidateOcspLocal() 908 OCSP_RESPONSE_free(rsp); in ValidateOcspLocal() 914 OCSP_RESPONSE_free(rsp); in ValidateOcspLocal() 917 OCSP_RESPONSE_free(rsp); in ValidateOcspLocal()
|