Searched refs:MAX_LOG_SIZE (Results 1 - 4 of 4) sorted by relevance
/base/security/selinux_adapter/framework/policycoreutils/src/ |
H A 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(), "SELINUX",
in SelinuxKmsg() 77 res = snprintf_s(logInfo, MAX_LOG_SIZE, MAX_LOG_SIZE - 1, "%s", tmpFmt);
in SelinuxKmsg()
|
/base/security/access_token/interfaces/innerkits/nativetoken/src/ |
H A D | nativetoken_klog.c | 21 #define MAX_LOG_SIZE 1024
macro 53 char tmpFmt[MAX_LOG_SIZE];
in NativeTokenKmsg() 54 if (vsnprintf_s(tmpFmt, MAX_LOG_SIZE, MAX_LOG_SIZE - 1, fmt, vargs) == -1) {
in NativeTokenKmsg() 61 char logInfo[MAX_LOG_SIZE];
in NativeTokenKmsg() 62 int res = snprintf_s(logInfo, MAX_LOG_SIZE, MAX_LOG_SIZE - 1, "[pid=%d][%s][%s] %s",
in NativeTokenKmsg()
|
/base/update/updater/services/include/updater/ |
H A D | updater_const.h | 90 constexpr long MAX_LOG_SIZE = 2 * 1024 * 1024; member
|
/base/update/updater/utils/ |
H A D | utils.cpp | 583 if (Utils::GetFileSize(sLog) > MAX_LOG_SIZE) { in CopyUpdaterLogs() 599 if (GetFileSize(dLog) >= MAX_LOG_SIZE) { in CopyUpdaterLogs()
|
Completed in 3 milliseconds