Searched refs:MAX_LOG_BUFF_LEN (Results 1 – 6 of 6) sorted by relevance
/base/security/huks/frameworks/crypto_lite/cipher/src/ |
D | cipher_log.c | 22 #define MAX_LOG_BUFF_LEN 4096 macro 26 char *buf = (char *)malloc(MAX_LOG_BUFF_LEN); in CipherLog() 31 (void)memset_s(buf, MAX_LOG_BUFF_LEN, 0, MAX_LOG_BUFF_LEN); in CipherLog() 35 int32_t ret = vsnprintf_s(buf, MAX_LOG_BUFF_LEN, MAX_LOG_BUFF_LEN - 1, format, ap); in CipherLog()
|
D | cipher_log_lite.c | 23 #define MAX_LOG_BUFF_LEN 512 macro 27 char *buf = (char *)malloc(MAX_LOG_BUFF_LEN); in CipherLog() 32 (void)memset_s(buf, MAX_LOG_BUFF_LEN, 0, MAX_LOG_BUFF_LEN); in CipherLog() 36 int32_t ret = vsnprintf_s(buf, MAX_LOG_BUFF_LEN, MAX_LOG_BUFF_LEN - 1, format, ap); in CipherLog()
|
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/log/ |
D | cm_log.c | 28 #define MAX_LOG_BUFF_LEN 512 macro 32 char *buf = (char *)CmMalloc(MAX_LOG_BUFF_LEN); in CmLog() 37 (void)memset_s(buf, MAX_LOG_BUFF_LEN, 0, MAX_LOG_BUFF_LEN); in CmLog() 41 int32_t ret = vsnprintf_s(buf, MAX_LOG_BUFF_LEN, MAX_LOG_BUFF_LEN - 1, format, ap); in CmLog()
|
/base/security/selinux_adapter/interfaces/policycoreutils/src/ |
D | selinux_log.c | 26 #define MAX_LOG_BUFF_LEN 1024 macro 41 char *buf = (char *)malloc(MAX_LOG_BUFF_LEN); in SelinuxHilog() 46 (void)memset_s(buf, MAX_LOG_BUFF_LEN, 0, MAX_LOG_BUFF_LEN); in SelinuxHilog() 50 if (vsnprintf_s(buf, MAX_LOG_BUFF_LEN, MAX_LOG_BUFF_LEN - 1, fmt, ap) < 0) { in SelinuxHilog()
|
/base/security/huks/test/unittest/huks_lite_test/common/ |
D | hks_test_log.c | 22 #define MAX_LOG_BUFF_LEN 512 macro 27 char buf[MAX_LOG_BUFF_LEN] = { 0 }; in HksTestLog() 31 int32_t ret = vsnprintf_s(buf, MAX_LOG_BUFF_LEN, MAX_LOG_BUFF_LEN - 1, format, ap); in HksTestLog()
|
/base/security/certificate_framework/frameworks/common/v1.0/src/ |
D | cf_log.c | 25 #define MAX_LOG_BUFF_LEN 512 macro 29 char buf[MAX_LOG_BUFF_LEN] = {0}; in CfLog() 33 int32_t ret = vsnprintf_s(buf, MAX_LOG_BUFF_LEN, MAX_LOG_BUFF_LEN - 1, format, ap); in CfLog()
|