Searched refs:MAX_LOG_SIZE (Results 1 – 3 of 3) sorted by relevance
/base/security/selinux_adapter/interfaces/policycoreutils/src/ |
D | selinux_klog.c | 21 #define MAX_LOG_SIZE 1024 macro 63 char tmpFmt[MAX_LOG_SIZE]; in SelinuxKmsg() 64 if (vsnprintf_s(tmpFmt, MAX_LOG_SIZE, MAX_LOG_SIZE - 1, fmt, vargs) == -1) { in SelinuxKmsg() 71 char logInfo[MAX_LOG_SIZE]; in SelinuxKmsg() 74 …res = snprintf_s(logInfo, MAX_LOG_SIZE, MAX_LOG_SIZE - 1, "[pid=%d][%s][%s] %s", getpid(), "SELINU… in SelinuxKmsg() 77 res = snprintf_s(logInfo, MAX_LOG_SIZE, MAX_LOG_SIZE - 1, "%s", tmpFmt); in SelinuxKmsg()
|
/base/update/updater/services/include/updater/ |
D | updater_const.h | 63 constexpr long MAX_LOG_SIZE = 5 * 1024 * 1024; variable
|
/base/update/updater/utils/ |
D | utils.cpp | 477 if (Utils::GetFileSize(sLog) > MAX_LOG_SIZE) { in CopyUpdaterLogs() 493 if (GetFileSize(dLog) >= MAX_LOG_SIZE) { in CopyUpdaterLogs()
|