Home
last modified time | relevance | path

Searched refs:newline_len (Results 1 – 2 of 2) sorted by relevance

/components/utilities/ulog/syslog/
A Dsyslog.c175 rt_size_t log_len = 0, newline_len = rt_strlen(ULOG_NEWLINE_SIGN); in syslog_formater() local
240 if (log_len + newline_len + sizeof('\0') > ULOG_LINE_BUF_SIZE) in syslog_formater()
245 log_len -= newline_len; in syslog_formater()
/components/utilities/ulog/
A Dulog.c380 static rt_size_t newline_len; local
383 newline_len = rt_strlen(ULOG_NEWLINE_SIGN);
386 if (log_len + (sizeof(CSI_END) - 1) + newline_len + sizeof((char)'\0') > ULOG_LINE_BUF_SIZE)
393 if (log_len + newline_len + sizeof((char)'\0') > ULOG_LINE_BUF_SIZE)
399 log_len -= newline_len;

Completed in 5 milliseconds