Searched refs:logLen (Results 1 - 5 of 5) sorted by relevance
/base/hiviewdfx/hilog/services/hilogd/ |
H A D | flow_control.cpp | 51 auto logLen = hilogMsg.len - sizeof(HilogMsg) - 1 - 1; /* quota length exclude '\0' of tag and log content */ in FlowCtrlDomain() local 60 it->second.sumLen = logLen; in FlowCtrlDomain() 65 it->second.sumLen += logLen; in FlowCtrlDomain() 74 DomainInfo info{static_cast<uint32_t>(quota), logLen, 0, tsNow}; in FlowCtrlDomain() local
|
/base/hiviewdfx/hilog/test/moduletest/common/ |
H A D | hilog_base_ndk_test.cpp | 114 static std::string RandomStringGenerator(uint32_t logLen = 16) in RandomStringGenerator() 117 for (uint32_t i = 0; i < logLen; ++i) { in RandomStringGenerator() 124 static void HiLogWriteTest(LogMethodFunc loggingMethod, uint32_t logCount, uint32_t logLen, bool isDebug) in HiLogWriteTest() argument 126 std::string logMsg(RandomStringGenerator(logLen)); in HiLogWriteTest()
|
H A D | hilog_ndk_test.cpp | 135 int logLen = 16; in RandomStringGenerator() local 137 for (int i = 0; i < logLen; ++i) { in RandomStringGenerator()
|
/base/hiviewdfx/hilog/frameworks/libhilog/base/ |
H A D | hilog_base.c | 87 size_t logLen = strnlen(buf, MAX_LOG_LEN - 1);
in HiLogBasePrintArgs() local 97 return SendMessage(&header, tag, tagLen + 1, buf, logLen + 1);
in HiLogBasePrintArgs()
|
/base/hiviewdfx/hilog/frameworks/libhilog/ |
H A D | hilog_printf.cpp | 304 auto logLen = strnlen(buf, MAX_LOG_LEN - 1); in HiLogPrintArgs() local 338 ret = HiLogFlowCtrlProcess(tagLen + logLen - traceBufLen, ts_mono); in HiLogPrintArgs() 354 return HilogWriteLogMessage(&header, tag, tagLen + 1, buf, logLen + 1); in HiLogPrintArgs() 356 return PrintLog(header, tag, tagLen + 1, buf, logLen + 1); in HiLogPrintArgs()
|
Completed in 3 milliseconds