Home
last modified time | relevance | path

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

/third_party/musl/libc-test/src/functionalext/unittest/
Dunit_test_hilog_vsnprint_f_p.c20 #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/
Dhilog_adapter.c98 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()
Dhilog_common.h25 #define MAX_LOG_LEN 1024 /* maximum length of a log, include '\0' */ macro