/third_party/musl/src/stdio/ |
H A D | vfwprintf.c | 152 static int wprintf_core(FILE *f, const wchar_t *fmt, va_list *ap, union arg *nl_arg, int *nl_type) in wprintf_core() argument 202 nl_type[s[1]-'0'] = INT; in wprintf_core() 215 nl_type[s[2]-'0'] = INT; in wprintf_core() 245 if (argpos>=0) nl_type[argpos]=st, arg=nl_arg[argpos]; in wprintf_core() 333 for (i=1; i<=NL_ARGMAX && nl_type[i]; i++) in wprintf_core() 334 pop_arg(nl_arg+i, nl_type[i], ap); in wprintf_core() 335 for (; i<=NL_ARGMAX && !nl_type[i]; i++); in wprintf_core() 350 int nl_type[NL_ARGMAX+1] = {0}; in vfwprintf() local 357 if (wprintf_core(0, fmt, &ap2, nl_arg, nl_type) < 0) { in vfwprintf() 366 ret = wprintf_core(f, fmt, &ap2, nl_arg, nl_type); in vfwprintf() [all...] |
H A D | vfprintf.c | 439 static int printf_core(FILE *f, const char *fmt, va_list *ap, union arg *nl_arg, int *nl_type, char nl_arg_filled) in printf_core() argument 476 if (printf_core(0, fmt, &ap_copy, nl_arg, nl_type, 1) < 0) { in printf_core() 497 if (!f) nl_type[s[1]-'0'] = INT, w = 0; in printf_core() 510 if (!f) nl_type[s[2]-'0'] = INT, p = 0; in printf_core() 541 if (!f) nl_type[argpos]=st; in printf_core() 670 for (i=1; i<=NL_ARGMAX && nl_type[i]; i++) in printf_core() 671 pop_arg(nl_arg+i, nl_type[i], ap); in printf_core() 672 for (; i<=NL_ARGMAX && !nl_type[i]; i++); in printf_core() 687 int nl_type[NL_ARGMAX+1] = {0}; in vfprintf() local 708 ret = printf_core(f, fmt, &ap2, nl_arg, nl_type, in vfprintf() [all...] |
/third_party/musl/porting/liteos_a/kernel/src/stdio/ |
H A D | vfprintf.c | 435 static int printf_core(FILE *f, const char *fmt, va_list *ap, union arg *nl_arg, int *nl_type) in printf_core() argument 495 nl_type[s[1]-'0'] = INT; in printf_core() 508 nl_type[s[2]-'0'] = INT; in printf_core() 538 if (argpos>=0) nl_type[argpos]=st, arg=nl_arg[argpos]; in printf_core() 657 for (i=1; i<=NL_ARGMAX && nl_type[i]; i++) in printf_core() 658 pop_arg(nl_arg+i, nl_type[i], ap); in printf_core() 659 for (; i<=NL_ARGMAX && !nl_type[i]; i++); in printf_core() 674 int nl_type[NL_ARGMAX+1] = {0}; in vfprintf() local 682 if (printf_core(0, fmt, &ap2, nl_arg, nl_type) < 0) { in vfprintf() 697 else ret = printf_core(f, fmt, &ap2, nl_arg, nl_type); in vfprintf() [all...] |
/third_party/musl/porting/linux/user/src/stdio/ |
H A D | vfprintf.c | 441 static int printf_core(FILE *f, const char *fmt, va_list *ap, union arg *nl_arg, int *nl_type, char nl_arg_filled) in printf_core() argument 478 if (printf_core(0, fmt, &ap_copy, nl_arg, nl_type, 1) < 0) { in printf_core() 499 nl_type[s[1]-'0'] = INT; in printf_core() 512 nl_type[s[2]-'0'] = INT; in printf_core() 542 if (argpos>=0) nl_type[argpos]=st, arg=nl_arg[argpos]; in printf_core() 662 for (i=1; i<=NL_ARGMAX && nl_type[i]; i++) in printf_core() 663 pop_arg(nl_arg+i, nl_type[i], ap); in printf_core() 664 for (; i<=NL_ARGMAX && !nl_type[i]; i++); in printf_core() 679 int nl_type[NL_ARGMAX+1] = {0}; in vfprintf() local 699 else ret = printf_core(f, fmt, &ap2, nl_arg, nl_type, in vfprintf() [all...] |
/third_party/musl/porting/liteos_m/kernel/src/stdio/ |
H A D | vfprintf.c | 436 static int printf_core(FILE *f, const char *fmt, va_list *ap, union arg *nl_arg, int *nl_type) in printf_core() argument 496 nl_type[s[1]-'0'] = INT; in printf_core() 509 nl_type[s[2]-'0'] = INT; in printf_core() 539 if (argpos>=0) nl_type[argpos]=st, arg=nl_arg[argpos]; in printf_core() 658 for (i=1; i<=NL_ARGMAX && nl_type[i]; i++) in printf_core() 659 pop_arg(nl_arg+i, nl_type[i], ap); in printf_core() 660 for (; i<=NL_ARGMAX && !nl_type[i]; i++); in printf_core() 675 int nl_type[NL_ARGMAX+1] = {0}; in vfprintf() local 683 if (printf_core(0, fmt, &ap2, nl_arg, nl_type) < 0) { in vfprintf() 698 else ret = printf_core(f, fmt, &ap2, nl_arg, nl_type); in vfprintf() [all...] |
/third_party/musl/porting/uniproton/kernel/src/stdio/ |
H A D | vfprintf.c | 436 static int printf_core(FILE *f, const char *fmt, va_list *ap, union arg *nl_arg, int *nl_type) in printf_core() argument 496 nl_type[s[1]-'0'] = INT; in printf_core() 509 nl_type[s[2]-'0'] = INT; in printf_core() 539 if (argpos>=0) nl_type[argpos]=st, arg=nl_arg[argpos]; in printf_core() 658 for (i=1; i<=NL_ARGMAX && nl_type[i]; i++) in printf_core() 659 pop_arg(nl_arg+i, nl_type[i], ap); in printf_core() 660 for (; i<=NL_ARGMAX && !nl_type[i]; i++); in printf_core() 675 int nl_type[NL_ARGMAX+1] = {0}; in vfprintf() local 683 if (printf_core(0, fmt, &ap2, nl_arg, nl_type) < 0) { in vfprintf() 698 else ret = printf_core(f, fmt, &ap2, nl_arg, nl_type); in vfprintf() [all...] |