Lines Matching defs:fmt
68 int fmt;
135 fmt = (unsigned char) *f;
136 if (fmt != 'S' && fmt != 'Q' && isupper(fmt)) {
138 fmt = tolower(fmt);
141 switch (fmt) { /* do the format */
186 fmt = 'x';
210 if (fmt == 'u') { /* unsigned decimal */
215 else if (fmt == 'o') { /* octal */
222 else if (fmt == 'x') { /* hex */
268 if (fmt == 'Q' && *Bp & QUOTE)
293 if (fmt == 'q' && *bp & QUOTE)
336 xsnprintf(char *str, size_t size, const char *fmt, ...)
339 va_start(va, fmt);
343 doprnt(xaddchar, fmt, va);
353 xprintf(const char *fmt, ...)
356 va_start(va, fmt);
357 doprnt(xputchar, fmt, va);
366 xvprintf(const char *fmt, va_list va)
368 doprnt(xputchar, fmt, va);
375 xvsnprintf(char *str, size_t size, const char *fmt, va_list va)
379 doprnt(xaddchar, fmt, va);
387 xvasprintf(const char *fmt, va_list va)
401 doprnt(xaddchar, fmt, copy);
412 xasprintf(const char *fmt, ...)
417 va_start (va, fmt);
418 ret = xvasprintf(fmt, va);
436 fprintf(FILE *fp, const char* fmt, ...)
439 va_start(va, fmt);
440 doprnt(xputchar, fmt, va);
446 vfprintf(FILE *fp, const char *fmt, va_list va)
448 doprnt(xputchar, fmt, va);