Home
last modified time | relevance | path

Searched refs:fmt (Results 1 – 25 of 42) sorted by relevance

12

/bionic/libc/bionic/
Derr.c40 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 …]
Dsyslog.cpp43 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/
Dscanf.c39 scanf(const char *fmt, ...) in scanf() argument
44 va_start(ap, fmt); in scanf()
45 ret = vfscanf(stdin, fmt, ap); in scanf()
Dprintf.c39 printf(const char *fmt, ...) in printf() argument
44 va_start(ap, fmt); in printf()
45 ret = vfprintf(stdout, fmt, ap); in printf()
Dfprintf.c39 fprintf(FILE *fp, const char *fmt, ...) in fprintf() argument
44 va_start(ap, fmt); in fprintf()
45 ret = vfprintf(fp, fmt, ap); in fprintf()
Dfscanf.c39 fscanf(FILE *fp, const char *fmt, ...) in fscanf() argument
44 va_start(ap, fmt); in fscanf()
45 ret = vfscanf(fp, fmt, ap); in fscanf()
Ddprintf.c39 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()
Dwscanf.c34 wscanf(const wchar_t * __restrict fmt, ...) in wscanf() argument
39 va_start(ap, fmt); in wscanf()
40 r = vfwscanf(stdin, fmt, ap); in wscanf()
Dwprintf.c39 wprintf(const wchar_t * __restrict fmt, ...) in wprintf() argument
44 va_start(ap, fmt); in wprintf()
45 ret = vfwprintf(stdout, fmt, ap); in wprintf()
Dswscanf.c34 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()
Dfwprintf.c39 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()
Dfwscanf.c34 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()
Dswprintf.c35 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()
Dvscanf.c37 vscanf(const char *fmt, __va_list ap) in vscanf() argument
40 return (vfscanf(stdin, fmt, ap)); in vscanf()
Dvprintf.c37 vprintf(const char *fmt, __va_list ap) in vprintf() argument
39 return (vfprintf(stdout, fmt, ap)); in vprintf()
Dvwscanf.c34 vwscanf(const wchar_t * __restrict fmt, __va_list ap) in vwscanf() argument
37 return (vfwscanf(stdin, fmt, ap)); in vwscanf()
Dvwprintf.c39 vwprintf(const wchar_t * __restrict fmt, __va_list ap) in vwprintf() argument
41 return (vfwprintf(stdout, fmt, ap)); in vwprintf()
Dsscanf.c49 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()
Dasprintf.c28 asprintf(char **str, const char *fmt, ...) in asprintf() argument
43 va_start(ap, fmt); in asprintf()
44 ret = __vfprintf(&f, fmt, ap); in asprintf()
Dvsprintf.c45 vsprintf(char *str, const char *fmt, __va_list ap) in vsprintf() argument
56 ret = __vfprintf(&f, fmt, ap); in vsprintf()
Dvsscanf.c47 vsscanf(const char *str, const char *fmt, __va_list ap) in vsscanf() argument
58 return (__svfscanf(&f, fmt, ap)); in vsscanf()
Dvsnprintf.c40 vsnprintf(char *str, size_t n, const char *fmt, __va_list ap) in vsnprintf() argument
61 ret = __vfprintf(&f, fmt, ap); in vsnprintf()
Dvfprintf.c119 __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/
Dsprintf.c47 sprintf(char *str, const char *fmt, ...) in sprintf() argument
59 va_start(ap, fmt); in sprintf()
60 ret = __vfprintf(&f, fmt, ap); in sprintf()
Dsnprintf.c42 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()

12