Home
last modified time | relevance | path

Searched refs:nl_type (Results 1 – 6 of 6) sorted by relevance

/third_party/musl/src/stdio/
Dvfwprintf.c146 static int wprintf_core(FILE *f, const wchar_t *fmt, va_list *ap, union arg *nl_arg, int *nl_type) in wprintf_core() argument
196 nl_type[s[1]-'0'] = INT; in wprintf_core()
209 nl_type[s[2]-'0'] = INT; in wprintf_core()
239 if (argpos>=0) nl_type[argpos]=st, arg=nl_arg[argpos]; in wprintf_core()
326 for (i=1; i<=NL_ARGMAX && nl_type[i]; i++) in wprintf_core()
327 pop_arg(nl_arg+i, nl_type[i], ap); in wprintf_core()
328 for (; i<=NL_ARGMAX && !nl_type[i]; i++); in wprintf_core()
343 int nl_type[NL_ARGMAX] = {0}; in vfwprintf() local
350 if (wprintf_core(0, fmt, &ap2, nl_arg, nl_type) < 0) { in vfwprintf()
359 ret = wprintf_core(f, fmt, &ap2, nl_arg, nl_type); in vfwprintf()
Dvfprintf.c430 static int printf_core(FILE *f, const char *fmt, va_list *ap, union arg *nl_arg, int *nl_type) in printf_core() argument
481 nl_type[s[1]-'0'] = INT; in printf_core()
494 nl_type[s[2]-'0'] = INT; in printf_core()
524 if (argpos>=0) nl_type[argpos]=st, arg=nl_arg[argpos]; in printf_core()
643 for (i=1; i<=NL_ARGMAX && nl_type[i]; i++) in printf_core()
644 pop_arg(nl_arg+i, nl_type[i], ap); in printf_core()
645 for (; i<=NL_ARGMAX && !nl_type[i]; i++); in printf_core()
660 int nl_type[NL_ARGMAX+1] = {0}; in vfprintf() local
668 if (printf_core(0, fmt, &ap2, nl_arg, nl_type) < 0) { in vfprintf()
683 else ret = printf_core(f, fmt, &ap2, nl_arg, nl_type); in vfprintf()
/third_party/musl/porting/uniproton/kernel/src/stdio/
Dvfprintf.c436 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()
/third_party/musl/porting/liteos_a/kernel/src/stdio/
Dvfprintf.c435 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()
/third_party/musl/porting/linux/user/src/stdio/
Dvfprintf.c439 static int printf_core(FILE *f, const char *fmt, va_list *ap, union arg *nl_arg, int *nl_type, char… in printf_core() argument
476 if (printf_core(0, fmt, &ap_copy, nl_arg, nl_type, 1) < 0) { in printf_core()
497 nl_type[s[1]-'0'] = INT; in printf_core()
510 nl_type[s[2]-'0'] = INT; in printf_core()
540 if (argpos>=0) nl_type[argpos]=st, arg=nl_arg[argpos]; in printf_core()
660 for (i=1; i<=NL_ARGMAX && nl_type[i]; i++) in printf_core()
661 pop_arg(nl_arg+i, nl_type[i], ap); in printf_core()
662 for (; i<=NL_ARGMAX && !nl_type[i]; i++); in printf_core()
677 int nl_type[NL_ARGMAX+1] = {0}; in vfprintf() local
697 else ret = printf_core(f, fmt, &ap2, nl_arg, nl_type, 0); in vfprintf()
/third_party/musl/porting/liteos_m/kernel/src/stdio/
Dvfprintf.c436 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()