/bionic/libc/bionic/ |
D | err.c | 40 err(int eval, const char *fmt, ...) in err() argument 44 va_start(ap, fmt); in err() 45 verr(eval, fmt, ap); in err() 50 errx(int eval, const char *fmt, ...) in errx() argument 54 va_start(ap, fmt); in errx() 55 verrx(eval, fmt, ap); in errx() 60 verr(int eval, const char *fmt, va_list ap) in verr() argument 66 if (fmt != NULL) { in verr() 67 (void)vfprintf(stderr, fmt, ap); in verr() 76 verrx(int eval, const char *fmt, va_list ap) in verrx() argument [all …]
|
D | syslog.cpp | 43 void syslog(int priority, const char* fmt, ...) { in syslog() argument 45 va_start(args, fmt); in syslog() 46 vsyslog(priority, fmt, args); in syslog() 50 void vsyslog(int priority, const char* fmt, va_list args) { in vsyslog() argument 79 const char* log_fmt = fmt; in vsyslog() 80 if (strstr(fmt, "%m") != NULL) { in vsyslog() 85 const char* src = fmt; in vsyslog() 116 if (log_fmt != fmt) { in vsyslog()
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | scanf.c | 39 scanf(const char *fmt, ...) in scanf() argument 44 va_start(ap, fmt); in scanf() 45 ret = vfscanf(stdin, fmt, ap); in scanf()
|
D | printf.c | 39 printf(const char *fmt, ...) in printf() argument 44 va_start(ap, fmt); in printf() 45 ret = vfprintf(stdout, fmt, ap); in printf()
|
D | fprintf.c | 39 fprintf(FILE *fp, const char *fmt, ...) in fprintf() argument 44 va_start(ap, fmt); in fprintf() 45 ret = vfprintf(fp, fmt, ap); in fprintf()
|
D | fscanf.c | 39 fscanf(FILE *fp, const char *fmt, ...) in fscanf() argument 44 va_start(ap, fmt); in fscanf() 45 ret = vfscanf(fp, fmt, ap); in fscanf()
|
D | dprintf.c | 39 dprintf(int fd, const char * __restrict fmt, ...) in dprintf() argument 44 va_start(ap, fmt); in dprintf() 45 ret = vdprintf(fd, fmt, ap); in dprintf()
|
D | wscanf.c | 34 wscanf(const wchar_t * __restrict fmt, ...) in wscanf() argument 39 va_start(ap, fmt); in wscanf() 40 r = vfwscanf(stdin, fmt, ap); in wscanf()
|
D | wprintf.c | 39 wprintf(const wchar_t * __restrict fmt, ...) in wprintf() argument 44 va_start(ap, fmt); in wprintf() 45 ret = vfwprintf(stdout, fmt, ap); in wprintf()
|
D | swscanf.c | 34 swscanf(const wchar_t * __restrict str, const wchar_t * __restrict fmt, ...) in swscanf() argument 39 va_start(ap, fmt); in swscanf() 40 r = vswscanf(str, fmt, ap); in swscanf()
|
D | fwprintf.c | 39 fwprintf(FILE * __restrict fp, const wchar_t * __restrict fmt, ...) in fwprintf() argument 44 va_start(ap, fmt); in fwprintf() 45 ret = vfwprintf(fp, fmt, ap); in fwprintf()
|
D | fwscanf.c | 34 fwscanf(FILE * __restrict fp, const wchar_t * __restrict fmt, ...) in fwscanf() argument 39 va_start(ap, fmt); in fwscanf() 40 r = vfwscanf(fp, fmt, ap); in fwscanf()
|
D | swprintf.c | 35 swprintf(wchar_t * __restrict s, size_t n, const wchar_t * __restrict fmt, ...) in swprintf() argument 40 va_start(ap, fmt); in swprintf() 41 ret = vswprintf(s, n, fmt, ap); in swprintf()
|
D | vscanf.c | 37 vscanf(const char *fmt, __va_list ap) in vscanf() argument 40 return (vfscanf(stdin, fmt, ap)); in vscanf()
|
D | vprintf.c | 37 vprintf(const char *fmt, __va_list ap) in vprintf() argument 39 return (vfprintf(stdout, fmt, ap)); in vprintf()
|
D | vwscanf.c | 34 vwscanf(const wchar_t * __restrict fmt, __va_list ap) in vwscanf() argument 37 return (vfwscanf(stdin, fmt, ap)); in vwscanf()
|
D | vwprintf.c | 39 vwprintf(const wchar_t * __restrict fmt, __va_list ap) in vwprintf() argument 41 return (vfwprintf(stdout, fmt, ap)); in vwprintf()
|
D | sscanf.c | 49 sscanf(const char *str, const char *fmt, ...) in sscanf() argument 62 va_start(ap, fmt); in sscanf() 63 ret = __svfscanf(&f, fmt, ap); in sscanf()
|
D | asprintf.c | 28 asprintf(char **str, const char *fmt, ...) in asprintf() argument 43 va_start(ap, fmt); in asprintf() 44 ret = __vfprintf(&f, fmt, ap); in asprintf()
|
D | vsprintf.c | 45 vsprintf(char *str, const char *fmt, __va_list ap) in vsprintf() argument 56 ret = __vfprintf(&f, fmt, ap); in vsprintf()
|
D | vsscanf.c | 47 vsscanf(const char *str, const char *fmt, __va_list ap) in vsscanf() argument 58 return (__svfscanf(&f, fmt, ap)); in vsscanf()
|
D | vsnprintf.c | 40 vsnprintf(char *str, size_t n, const char *fmt, __va_list ap) in vsnprintf() argument 61 ret = __vfprintf(&f, fmt, ap); in vsnprintf()
|
D | vfprintf.c | 119 __sbprintf(FILE *fp, const char *fmt, va_list ap) in __sbprintf() argument 139 ret = __vfprintf(&fake, fmt, ap); in __sbprintf() 275 char *fmt; /* format string */ in __vfprintf() local 431 cp = fmt; \ in __vfprintf() 445 fmt = ++cp; \ in __vfprintf() 471 fmt = (char *)fmt0; in __vfprintf() 488 cp = fmt; in __vfprintf() 489 while ((n = mbrtowc(&wc, fmt, MB_CUR_MAX, &ps)) > 0) { in __vfprintf() 490 fmt += n; in __vfprintf() 492 fmt--; in __vfprintf() [all …]
|
/bionic/libc/stdio/ |
D | sprintf.c | 47 sprintf(char *str, const char *fmt, ...) in sprintf() argument 59 va_start(ap, fmt); in sprintf() 60 ret = __vfprintf(&f, fmt, ap); in sprintf()
|
D | snprintf.c | 42 snprintf(char *str, size_t n, const char *fmt, ...) in snprintf() argument 63 va_start(ap, fmt); in snprintf() 64 ret = __vfprintf(&f, fmt, ap); in snprintf()
|