Lines Matching defs:format
70 const char *_RESTRICT_KYWD format, const struct tm *_RESTRICT_KYWD t,
76 p = _fmt(loc, ((format == NULL) ? "%c" : format), t, s, s + maxsize);
85 const char *_RESTRICT_KYWD format, const struct tm *_RESTRICT_KYWD t)
87 return (strftime_l(s, maxsize, format, t, uselocale(NULL)));
91 _fmt(locale_t loc, const char *format, const struct tm *t, char *pt,
99 for (; *format; ++format) {
100 if (*format == '%') {
105 switch (*++format) {
107 --format;
355 if (*format == 'V')
359 else if (*format == 'g') {
483 *pt++ = *format;
489 _conv(const int n, const char *format, char *const pt,
494 (void) sprintf(buf, format, n);