Home
last modified time | relevance | path

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

/ohos5.0/base/hiviewdfx/hilog/frameworks/libhilog/socket/
H A Dhilog_input_socket_client.cpp26 uint16_t fmtLen) in HilogWriteLogMessage() argument
28 return g_hilogInputSocketClient.WriteLogMessage(header, tag, tagLen, fmt, fmtLen); in HilogWriteLogMessage()
32 uint16_t fmtLen) in WriteLogMessage() argument
39 header->len = sizeof(HilogMsg) + tagLen + fmtLen; in WriteLogMessage()
48 … vec[2].iov_len = fmtLen; // 2 : index of log content in WriteLogMessage()
/ohos5.0/base/hiviewdfx/hilog_lite/frameworks/mini/
H A Dhiview_output_log.c475 static void RemovePrivacyFmt(const char* fmtStr, size_t fmtLen, char* arr, size_t arrLen) in RemovePrivacyFmt() argument
483 for (; pos < fmtLen; ++pos) { in RemovePrivacyFmt()
488 if (pos + 1 + publicLen < fmtLen && strncmp(fmtStr + pos + 1, publicStr, publicLen) == 0) { in RemovePrivacyFmt()
490 …} else if (pos + 1 + privateLen < fmtLen && strncmp(fmtStr + pos + 1, privateStr, privateLen) == 0… in RemovePrivacyFmt()
494 while (pos < fmtLen) { in RemovePrivacyFmt()
504 size_t fmtLen = strlen(logContentPtr->commonContent.fmt); in LogDebugValuesFmt() local
505 char *fmt = (char *)malloc((fmtLen + 1) * sizeof(char)); // 1: for '\0' in LogDebugValuesFmt()
509 memset_s(fmt, fmtLen + 1, 0, fmtLen + 1); in LogDebugValuesFmt()
510 RemovePrivacyFmt(logContentPtr->commonContent.fmt, fmtLen, fmt, fmtLen); in LogDebugValuesFmt()
/ohos5.0/base/hiviewdfx/hilog/frameworks/libhilog/socket/include/
H A Dhilog_input_socket_client.h27 …teLogMessage(HilogMsg *header, const char *tag, uint16_t tagLen, const char *fmt, uint16_t fmtLen);
34 uint16_t fmtLen);
/ohos5.0/base/hiviewdfx/hilog/frameworks/libhilog/base/
H A Dhilog_base.c35 …t SendMessage(HilogMsg *header, const char *tag, uint16_t tagLen, const char *fmt, uint16_t fmtLen) in SendMessage() argument
62 header->len = sizeof(HilogMsg) + tagLen + fmtLen; in SendMessage()
71 vec[2].iov_len = fmtLen; // 2 : index of log content in SendMessage()
/ohos5.0/base/hiviewdfx/hilog/frameworks/libhilog/
H A Dhilog_printf.cpp170 … int PrintLog(HilogMsg& header, const char *tag, uint16_t tagLen, const char *fmt, uint16_t fmtLen) in PrintLog() argument