Searched refs:fmt (Results 1 - 25 of 28) sorted by relevance

12

/bionic/libc/stdio/
H A Dvprintf.c37 vprintf(const char *fmt, __va_list ap) argument
39 return (vfprintf(stdout, fmt, ap));
H A Dvscanf.c37 vscanf(const char *fmt, __va_list ap) argument
40 return (vfscanf(stdin, fmt, ap));
H A Dprintf.c38 printf(const char *fmt, ...) argument
43 va_start(ap, fmt);
44 ret = vfprintf(stdout, fmt, ap);
H A Dscanf.c38 scanf(const char *fmt, ...) argument
43 va_start(ap, fmt);
44 ret = vfscanf(stdin, fmt, ap);
H A Dfprintf.c38 fprintf(FILE *fp, const char *fmt, ...) argument
43 va_start(ap, fmt);
44 ret = vfprintf(fp, fmt, ap);
H A Dfscanf.c38 fscanf(FILE *fp, const char *fmt, ...) argument
43 va_start(ap, fmt);
44 ret = vfscanf(fp, fmt, ap);
H A Dsprintf.c46 sprintf(char *str, const char *fmt, ...) argument
58 va_start(ap, fmt);
59 ret = __vfprintf(&f, fmt, ap);
H A Dasprintf.c27 asprintf(char **str, const char *fmt, ...) argument
40 va_start(ap, fmt);
41 ret = __vfprintf(&f, fmt, ap);
H A Dsnprintf.c41 snprintf(char *str, size_t n, const char *fmt, ...) argument
62 va_start(ap, fmt);
63 ret = __vfprintf(&f, fmt, ap);
H A Dsscanf.c48 sscanf(const char *str, const char *fmt, ...) argument
61 va_start(ap, fmt);
62 ret = vfscanf(&f, fmt, ap);
H A Dvsnprintf.c40 vsnprintf(char *str, size_t n, const char *fmt, __va_list ap) argument
61 ret = __vfprintf(&f, fmt, ap);
H A Dvsprintf.c45 vsprintf(char *str, const char *fmt, __va_list ap) argument
56 ret = __vfprintf(&f, fmt, ap);
H A Dvsscanf.c46 vsscanf(const char *str, const char *fmt, __va_list ap) argument
57 return (vfscanf(&f, fmt, ap));
H A Dvfscanf.c103 u_char *fmt = (u_char *)fmt0; local
127 c = *fmt++;
146 again: c = *fmt++;
166 (*fmt == 'd') ? LLONG :
167 (*fmt == 'i') ? LLONG :
168 (*fmt == 'o') ? LLONG :
169 (*fmt == 'u') ? LLONG :
170 (*fmt == 'x') ? LLONG :
174 if (*fmt == 'h') {
175 fmt
716 __sccl(char *tab, u_char *fmt) argument
[all...]
H A Dvasprintf.c26 vasprintf(char **str, const char *fmt, __va_list ap) argument
40 ret = __vfprintf(&f, fmt, ap);
H A Dvfprintf.c83 __sbprintf(FILE *fp, const char *fmt, va_list ap) argument
103 ret = __vfprintf(&fake, fmt, ap);
172 char *fmt; /* format string */ local
173 int ch; /* character from fmt */
281 cp = fmt; \
295 fmt = ++cp; \
321 fmt = (char *)fmt0;
335 cp = fmt;
338 while ( (wc = *fmt) != 0 ) {
343 fmt
876 char *fmt; /* format string */ local
[all...]
/bionic/libc/bionic/
H A Derr.c40 err(int eval, const char *fmt, ...) argument
44 va_start(ap, fmt);
45 verr(eval, fmt, ap);
50 errx(int eval, const char *fmt, ...) argument
54 va_start(ap, fmt);
55 verrx(eval, fmt, ap);
60 verr(int eval, const char *fmt, va_list ap) argument
66 if (fmt != NULL) {
67 (void)vfprintf(stderr, fmt, ap);
76 verrx(int eval, const char *fmt, va_lis argument
86 warn(const char *fmt, ...) argument
96 warnx(const char *fmt, ...) argument
106 vwarn(const char *fmt, va_list ap) argument
120 vwarnx(const char *fmt, va_list ap) argument
[all...]
H A Dmalloc_debug_qemu.cpp229 static void qemu_log(int prio, const char* fmt, ...);
318 * fmt + rest - Formats message preceding dumped descriptor.
320 #define log_mdesc(type, desc, fmt, ...) \
324 __libc_format_buffer(log_str, sizeof(log_str), fmt, ##__VA_ARGS__); \
490 * fmt + rest - Message format and parameters.
492 static void qemu_log(int prio, const char* fmt, ...) { argument
520 va_start(ap, fmt);
521 vsnprintf(buf, sizeof(buf), fmt, ap);
H A Dstubs.cpp434 const char* fmt = "%s(3) is not implemented on Android\n"; local
435 __libc_format_log(ANDROID_LOG_WARN, "libc", fmt, function);
436 fprintf(stderr, fmt, function);
/bionic/libc/kernel/common/linux/
H A Domap_ion.h26 int fmt; member in struct:omap_ion_tiler_alloc_data
/bionic/libc/unistd/
H A Dsyslog.c59 syslog(int pri, const char *fmt, ...) argument
63 va_start(ap, fmt);
64 vsyslog(pri, fmt, ap);
69 vsyslog(int pri, const char *fmt, va_list ap) argument
71 vsyslog_r(pri, &sdata, fmt, ap);
96 syslog_r(int pri, struct syslog_data *data, const char *fmt, ...) argument
100 va_start(ap, fmt);
101 vsyslog_r(pri, data, fmt, ap);
106 vsyslog_r(int pri, struct syslog_data *data, const char *fmt, va_list ap) argument
194 for (t = fmt_cpy, fmt_left = FMT_LEN; (ch = *fmt);
[all...]
/bionic/linker/
H A Dlinker.h41 #define DL_ERR(fmt, x...) \
43 __libc_format_buffer(linker_get_error_buffer(), linker_get_error_buffer_size(), fmt, ##x); \
48 #define DL_WARN(fmt, x...) \
50 __libc_format_log(ANDROID_LOG_WARN, "linker", fmt, ##x); \
52 __libc_format_fd(2, fmt, ##x); \
/bionic/libc/tzcode/
H A Dstrptime.c102 strptime(const char *buf, const char *fmt, struct tm *tm) argument
107 return (char*)(_strptime((const unsigned char*)buf, fmt, tm, &cr));
111 _strptime(const unsigned char *buf, const char *fmt, struct tm *tm, struct century_relyear *cr) argument
119 while ((c = *fmt) != '\0') {
128 fmt++;
132 if ((c = *fmt++) != '%')
136 again: switch (c = *fmt++) {
/bionic/libc/include/
H A Dtime.h79 extern char* strptime(const char *buf, const char *fmt, struct tm *tm);
/bionic/tests/
H A Dfortify_test.cpp78 static int vsprintf_helper2(const char *fmt, ...) { argument
83 va_start(va, fmt);
84 result = vsprintf(myfoo.a, fmt, va); // should crash here
103 static int vsnprintf_helper2(const char *fmt, ...) { argument
109 va_start(va, fmt);
110 result = vsnprintf(myfoo.a, size, fmt, va); // should crash here
390 static int vsprintf_helper(const char *fmt, ...) { argument
395 va_start(va, fmt);
396 result = vsprintf(buf, fmt, va); // should crash here
411 static int vsnprintf_helper(const char *fmt, argument
[all...]

Completed in 1191 milliseconds

12