Lines Matching refs:format
138 strftime_l(char *s, size_t maxsize, char const *format, struct tm const *t, in strftime_l() argument
142 return strftime(s, maxsize, format, t); in strftime_l()
149 strftime(char *s, size_t maxsize, const char *format, const struct tm *t) in strftime() argument
156 p = _fmt(((format == NULL) ? "%c" : format), t, s, s + maxsize, &warn); in strftime()
160 if (format == NULL) in strftime()
163 format); in strftime()
193 _fmt(const char *format, const struct tm *t, char *pt, in _fmt() argument
196 for ( ; *format; ++format) { in _fmt()
197 if (*format == '%') { in _fmt()
200 switch (*++format) { in _fmt()
202 --format; in _fmt()
274 modifier = *format; in _fmt()
342 pt, ptlim, (*format == 'P') ? FORCE_LOWER_CASE : modifier); in _fmt()
469 if (*format == 'V') in _fmt()
472 else if (*format == 'g') { in _fmt()
624 *pt++ = *format; in _fmt()
630 _conv(int n, const char *format, char *pt, const char *ptlim) in _conv() argument
634 snprintf(buf, sizeof(buf), format, n); in _conv()