Home
last modified time | relevance | path

Searched refs:MAX_LOG_SIZE (Results 1 – 3 of 3) sorted by relevance

/base/security/selinux_adapter/interfaces/policycoreutils/src/
Dselinux_klog.c21 #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/
Dupdater_const.h63 constexpr long MAX_LOG_SIZE = 5 * 1024 * 1024; variable
/base/update/updater/utils/
Dutils.cpp477 if (Utils::GetFileSize(sLog) > MAX_LOG_SIZE) { in CopyUpdaterLogs()
493 if (GetFileSize(dLog) >= MAX_LOG_SIZE) { in CopyUpdaterLogs()