Lines Matching refs:timebuf
1992 char timebuf[33], priority_number[5]; in fprintlog_rfc5424() local
2001 if (strftime(timebuf, sizeof(timebuf), "%FT%T.______%z", in fprintlog_rfc5424()
2002 &f->f_lasttime.tm) == sizeof(timebuf) - 2) { in fprintlog_rfc5424()
2004 timebuf[32] = '\0'; in fprintlog_rfc5424()
2005 timebuf[31] = timebuf[30]; in fprintlog_rfc5424()
2006 timebuf[30] = timebuf[29]; in fprintlog_rfc5424()
2007 timebuf[29] = ':'; in fprintlog_rfc5424()
2012 timebuf[i] = usec % 10 + '0'; in fprintlog_rfc5424()
2015 iovlist_append(&il, timebuf); in fprintlog_rfc5424()
2041 char timebuf[RFC3164_DATELEN + 1], facility_number[5], in fprintlog_rfc3164() local
2045 if (strftime(timebuf, sizeof(timebuf), RFC3164_DATEFMT, in fprintlog_rfc3164()
2047 timebuf[0] = '\0'; in fprintlog_rfc3164()
2058 iovlist_append(&il, timebuf); in fprintlog_rfc3164()
2072 iovlist_append(&il, timebuf); in fprintlog_rfc3164()
2078 iovlist_append(&il, timebuf); in fprintlog_rfc3164()