Lines Matching refs:format
2552 #define FLG_UT_DOTSEEN 0x0008 /* dot appeared in format spec */
2579 doprf(const char *format, va_list args, Prfbuf *prf)
2586 while ((c = *format++) != '\0') {
2596 c = *format++;
2635 if ((*format == 'l') ||
2636 (*format == 'd') || (*format == 'D') ||
2637 (*format == 'x') || (*format == 'X') ||
2638 (*format == 'o') || (*format == 'O') ||
2639 (*format == 'u') || (*format == 'U'))
2788 doprintf(const char *format, va_list args, Prfbuf *prf)
2792 if (doprf(format, args, prf) == 0)
2800 sprintf(char *buf, const char *format, ...)
2806 va_start(args, format);
2810 len = doprintf(format, args, &prf);
2821 snprintf(char *buf, size_t n, const char *format, ...)
2827 va_start(args, format);
2831 len = doprintf(format, args, &prf);
2839 bufprint(Prfbuf *prf, const char *format, ...)
2844 va_start(args, format);
2845 len = doprintf(format, args, prf);
2853 printf(const char *format, ...)
2859 va_start(args, format);
2863 (void) doprf(format, args, &prf);
2885 veprintf(Lm_list *lml, Error error, const char *format, va_list args)
2960 if ((overflow == 0) && doprf(format, args, &prf) == 0)
3066 eprintf(Lm_list *lml, Error error, const char *format, ...)
3070 va_start(args, format);
3071 veprintf(lml, error, format, args);