Home
last modified time | relevance | path

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

123

/bionic/libc/bionic/
Dsyslog.cpp44 void syslog(int priority, const char* fmt, ...) { in syslog() argument
46 va_start(args, fmt); in syslog()
47 vsyslog(priority, fmt, args); in syslog()
51 void vsyslog(int priority, const char* fmt, va_list args) { in vsyslog() argument
80 const char* log_fmt = fmt; in vsyslog()
81 if (strstr(fmt, "%m") != NULL) { in vsyslog()
86 const char* src = fmt; in vsyslog()
117 if (log_fmt != fmt) { in vsyslog()
Derror.cpp64 void error(int status, int error, const char* fmt, ...) { in error() argument
69 va_start(ap, fmt); in error()
70 vfprintf(stderr, fmt, ap); in error()
76 void error_at_line(int status, int error, const char* file, unsigned int line, const char* fmt, ...… in error_at_line() argument
91 va_start(ap, fmt); in error_at_line()
92 vfprintf(stderr, fmt, ap); in error_at_line()
/bionic/libc/upstream-openbsd/lib/libc/gen/
Dwarn.c36 _warn(const char *fmt, ...) in _warn() argument
40 va_start(ap, fmt); in _warn()
41 _vwarn(fmt, ap); in _warn()
Dwarnx.c36 _warnx(const char *fmt, ...) in _warnx() argument
40 va_start(ap, fmt); in _warnx()
41 _vwarnx(fmt, ap); in _warnx()
Derr.c36 _err(int eval, const char *fmt, ...) in _err() argument
40 va_start(ap, fmt); in _err()
41 _verr(eval, fmt, ap); in _err()
Derrx.c36 _errx(int eval, const char *fmt, ...) in _errx() argument
40 va_start(ap, fmt); in _errx()
41 _verrx(eval, fmt, ap); in _errx()
Dvwarnx.c38 _vwarnx(const char *fmt, va_list ap) in _vwarnx() argument
41 if (fmt != NULL) in _vwarnx()
42 (void)vfprintf(stderr, fmt, ap); in _vwarnx()
Dverrx.c39 _verrx(int eval, const char *fmt, va_list ap) in _verrx() argument
42 if (fmt != NULL) in _verrx()
43 (void)vfprintf(stderr, fmt, ap); in _verrx()
Dvwarn.c40 _vwarn(const char *fmt, va_list ap) in _vwarn() argument
46 if (fmt != NULL) { in _vwarn()
47 (void)vfprintf(stderr, fmt, ap); in _vwarn()
Dverr.c41 _verr(int eval, const char *fmt, va_list ap) in _verr() argument
47 if (fmt != NULL) { in _verr()
48 (void)vfprintf(stderr, fmt, ap); in _verr()
/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()
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()
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()
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()
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()
Dvprintf.c37 vprintf(const char *fmt, __va_list ap) in vprintf() argument
39 return (vfprintf(stdout, fmt, ap)); in vprintf()
Dvscanf.c37 vscanf(const char *fmt, __va_list ap) in vscanf() argument
40 return (vfscanf(stdin, fmt, ap)); in vscanf()
Dvwprintf.c39 vwprintf(const wchar_t * __restrict fmt, __va_list ap) in vwprintf() argument
41 return (vfwprintf(stdout, fmt, ap)); in vwprintf()
Dvwscanf.c34 vwscanf(const wchar_t * __restrict fmt, __va_list ap) in vwscanf() argument
37 return (vfwscanf(stdin, fmt, ap)); in vwscanf()

123