Searched refs:MAX_LOG_SIZE (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/base/security/selinux_adapter/interfaces/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(), "SELINU… in SelinuxKmsg() 77 res = snprintf_s(logInfo, MAX_LOG_SIZE, MAX_LOG_SIZE - 1, "%s", tmpFmt); in SelinuxKmsg()
|
/ohos5.0/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()
|
/ohos5.0/foundation/multimodalinput/input/util/common/src/ |
H A D | klog.cpp | 46 constexpr int32_t MAX_LOG_SIZE = 1024; variable 72 char tmpFmt[MAX_LOG_SIZE]; in kMsgLog() 73 if (vsnprintf_s(tmpFmt, MAX_LOG_SIZE, MAX_LOG_SIZE - 1, fmt, vargs) == -1) { in kMsgLog() 80 char logInfo[MAX_LOG_SIZE]; in kMsgLog() 81 if (snprintf_s(logInfo, MAX_LOG_SIZE, MAX_LOG_SIZE - 1, in kMsgLog()
|
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/utils/ |
H A D | napi_async_work.h | 30 #define MAX_LOG_SIZE 1024 macro 37 char buffer[MAX_LOG_SIZE] = {0}; \ 38 int res = snprintf_s(buffer, MAX_LOG_SIZE, MAX_LOG_SIZE - 1, fmt, ##__VA_ARGS__); \
|
/ohos5.0/base/update/updater/services/include/updater/ |
H A D | updater_const.h | 89 constexpr long MAX_LOG_SIZE = 2 * 1024 * 1024; variable
|
/ohos5.0/base/update/updater/utils/ |
H A D | utils.cpp | 586 if (Utils::GetFileSize(sLog) > MAX_LOG_SIZE) { in CopyUpdaterLogs() 602 if (GetFileSize(dLog) >= MAX_LOG_SIZE) { in CopyUpdaterLogs()
|