/bionic/libc/stdio/ |
H A D | vprintf.c | 37 vprintf(const char *fmt, __va_list ap) argument 39 return (vfprintf(stdout, fmt, ap));
|
H A D | vscanf.c | 37 vscanf(const char *fmt, __va_list ap) argument 40 return (vfscanf(stdin, fmt, ap));
|
H A D | printf.c | 38 printf(const char *fmt, ...) argument 43 va_start(ap, fmt); 44 ret = vfprintf(stdout, fmt, ap);
|
H A D | scanf.c | 38 scanf(const char *fmt, ...) argument 43 va_start(ap, fmt); 44 ret = vfscanf(stdin, fmt, ap);
|
H A D | fprintf.c | 38 fprintf(FILE *fp, const char *fmt, ...) argument 43 va_start(ap, fmt); 44 ret = vfprintf(fp, fmt, ap);
|
H A D | fscanf.c | 38 fscanf(FILE *fp, const char *fmt, ...) argument 43 va_start(ap, fmt); 44 ret = vfscanf(fp, fmt, ap);
|
H A D | sprintf.c | 46 sprintf(char *str, const char *fmt, ...) argument 58 va_start(ap, fmt); 59 ret = __vfprintf(&f, fmt, ap);
|
H A D | asprintf.c | 27 asprintf(char **str, const char *fmt, ...) argument 40 va_start(ap, fmt); 41 ret = __vfprintf(&f, fmt, ap);
|
H A D | snprintf.c | 41 snprintf(char *str, size_t n, const char *fmt, ...) argument 62 va_start(ap, fmt); 63 ret = __vfprintf(&f, fmt, ap);
|
H A D | sscanf.c | 48 sscanf(const char *str, const char *fmt, ...) argument 61 va_start(ap, fmt); 62 ret = vfscanf(&f, fmt, ap);
|
H A D | vsnprintf.c | 40 vsnprintf(char *str, size_t n, const char *fmt, __va_list ap) argument 61 ret = __vfprintf(&f, fmt, ap);
|
H A D | vsprintf.c | 45 vsprintf(char *str, const char *fmt, __va_list ap) argument 56 ret = __vfprintf(&f, fmt, ap);
|
H A D | vsscanf.c | 46 vsscanf(const char *str, const char *fmt, __va_list ap) argument 57 return (vfscanf(&f, fmt, ap));
|
H A D | vfscanf.c | 103 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 D | vasprintf.c | 26 vasprintf(char **str, const char *fmt, __va_list ap) argument 40 ret = __vfprintf(&f, fmt, ap);
|
H A D | vfprintf.c | 83 __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 D | err.c | 40 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 D | malloc_debug_qemu.cpp | 229 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 D | stubs.cpp | 434 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 D | omap_ion.h | 26 int fmt; member in struct:omap_ion_tiler_alloc_data
|
/bionic/libc/unistd/ |
H A D | syslog.c | 59 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 D | linker.h | 41 #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 D | strptime.c | 102 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 D | time.h | 79 extern char* strptime(const char *buf, const char *fmt, struct tm *tm);
|
/bionic/tests/ |
H A D | fortify_test.cpp | 78 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...] |