Searched refs:MAX_LOG_LEN (Results 1 – 3 of 3) sorted by relevance
/third_party/musl/libc-test/src/functionalext/unittest/ |
D | unit_test_hilog_vsnprint_f_p.c | 20 #define MAX_LOG_LEN 1024 /* maximum length of a log, include '\0' */ macro 43 char buf[MAX_LOG_LEN] = {0}; in vsnprintfp_s_0010() 45 int ret = vsprintf_test(buf, MAX_LOG_LEN, MAX_LOG_LEN - 1, true, fmt); in vsnprintfp_s_0010() 59 int ret = vsprintf_test(buf, MAX_LOG_LEN, MAX_LOG_LEN - 1, true, fmt); in vsnprintfp_s_0020() 70 char buf[MAX_LOG_LEN] = {0}; in vsnprintfp_s_0030() 72 int ret = vsprintf_test(buf, MAX_LOG_LEN - 1, MAX_LOG_LEN, true, fmt); in vsnprintfp_s_0030() 84 char buf[MAX_LOG_LEN] = {0}; in vsnprintfp_s_0040() 86 int ret = vsprintf_test(buf, MAX_LOG_LEN - 1, MAX_LOG_LEN, false, fmt, "MUSL"); in vsnprintfp_s_0040() 98 char buf[MAX_LOG_LEN] = {0}; in vsnprintfp_s_0050() 100 int ret = vsprintf_test(buf, 0, MAX_LOG_LEN - 1, true, fmt); in vsnprintfp_s_0050() [all …]
|
/third_party/musl/porting/linux/user/src/hilog/ |
D | hilog_adapter.c | 98 char buf[MAX_LOG_LEN] = {0}; in HiLogAdapterPrintArgs() 100 vsnprintfp_s(buf, MAX_LOG_LEN, MAX_LOG_LEN - 1, true, fmt, ap); in HiLogAdapterPrintArgs() 103 size_t logLen = strnlen(buf, MAX_LOG_LEN - 1); in HiLogAdapterPrintArgs()
|
D | hilog_common.h | 25 #define MAX_LOG_LEN 1024 /* maximum length of a log, include '\0' */ macro
|