Home
last modified time | relevance | path

Searched refs:logLen (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/base/hiviewdfx/hilog/services/hilogd/
H A Dflow_control.cpp51 …auto logLen = hilogMsg.len - sizeof(HilogMsg) - 1 - 1; /* quota length exclude '\0' of tag and log… 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()
/ohos5.0/base/hiviewdfx/hilog/test/moduletest/common/
H A Dhilog_base_ndk_test.cpp114 static std::string RandomStringGenerator(uint32_t logLen = 16) in RandomStringGenerator() argument
117 for (uint32_t i = 0; i < logLen; ++i) { in RandomStringGenerator()
124 static void HiLogWriteTest(LogMethodFunc loggingMethod, uint32_t logCount, uint32_t logLen, bool is… in HiLogWriteTest() argument
126 std::string logMsg(RandomStringGenerator(logLen)); in HiLogWriteTest()
H A Dhilog_ndk_test.cpp135 int logLen = 16; in RandomStringGenerator() local
137 for (int i = 0; i < logLen; ++i) { in RandomStringGenerator()
/ohos5.0/base/hiviewdfx/hilog/frameworks/libhilog/
H A Dhilog_printf.cpp303 auto logLen = strnlen(buf, MAX_LOG_LEN - 1); in HiLogPrintArgs() local
337 ret = HiLogFlowCtrlProcess(tagLen + logLen - traceBufLen, ts_mono); in HiLogPrintArgs()
353 return HilogWriteLogMessage(&header, tag, tagLen + 1, buf, logLen + 1); in HiLogPrintArgs()
355 return PrintLog(header, tag, tagLen + 1, buf, logLen + 1); in HiLogPrintArgs()
/ohos5.0/base/hiviewdfx/hilog/frameworks/libhilog/base/
H A Dhilog_base.c87 size_t logLen = strnlen(buf, MAX_LOG_LEN - 1); in HiLogBasePrintArgs() local
97 return SendMessage(&header, tag, tagLen + 1, buf, logLen + 1); in HiLogBasePrintArgs()