From 73f9819056708cf77fe75d09c1964bf8d5004053 Mon Sep 17 00:00:00 2001 From: Basile Desloges <basile.desloges@cea.fr> Date: Fri, 9 Oct 2020 15:50:17 +0200 Subject: [PATCH] [variadic] Update tests --- .../tests/known/oracle/fcntl.res.oracle | 8 +- .../tests/known/oracle/ioctl.res.oracle | 4 +- .../tests/known/oracle/openat.res.oracle | 4 +- .../tests/known/oracle/print_libc.pretty.c | 16 +- .../tests/known/oracle/printf.res.oracle | 56 +-- .../known/oracle/printf_redefined.res.oracle | 2 +- .../oracle/printf_wrong_arity.res.oracle | 2 +- .../oracle/printf_wrong_pointers.res.oracle | 10 +- .../oracle/printf_wrong_types.res.oracle | 64 ++-- .../tests/known/oracle/scanf.res.oracle | 2 +- .../tests/known/oracle/scanf_loop.res.oracle | 2 +- .../tests/known/oracle/scanf_wrong.res.oracle | 2 +- .../tests/known/oracle/snprintf.res.oracle | 4 +- .../tests/known/oracle/stdio_print.res.oracle | 10 +- .../tests/known/oracle/stdio_scan.res.oracle | 6 +- .../tests/known/oracle/swprintf.res.oracle | 4 +- .../tests/known/oracle/wchar.res.oracle | 30 +- tests/libc/oracle/inttypes_h.0.res.oracle | 336 +++++++++--------- tests/libc/oracle/inttypes_h.1.res.oracle | 336 +++++++++--------- tests/libc/oracle/inttypes_h.2.res.oracle | 336 +++++++++--------- tests/libc/oracle/inttypes_h.3.res.oracle | 336 +++++++++--------- tests/libc/oracle/inttypes_h.4.res.oracle | 336 +++++++++--------- tests/libc/oracle/inttypes_h.5.res.oracle | 336 +++++++++--------- tests/libc/oracle/inttypes_h.6.res.oracle | 336 +++++++++--------- tests/libc/oracle/inttypes_h.7.res.oracle | 336 +++++++++--------- 25 files changed, 1463 insertions(+), 1451 deletions(-) diff --git a/src/plugins/variadic/tests/known/oracle/fcntl.res.oracle b/src/plugins/variadic/tests/known/oracle/fcntl.res.oracle index 529a1b844f2..9a28a06f1dd 100644 --- a/src/plugins/variadic/tests/known/oracle/fcntl.res.oracle +++ b/src/plugins/variadic/tests/known/oracle/fcntl.res.oracle @@ -59,8 +59,8 @@ int main(void) struct flock fl; int volatile choice = 0; int flags = __va_fcntl_void(0,1); - __va_fcntl_int(0,2,flags); - __va_fcntl_flock(0,5,& fl); + fcntl(0,2,flags); /* __va_fcntl_int */ + fcntl(0,5,& fl); /* __va_fcntl_flock */ switch (choice) { case 1: { @@ -69,8 +69,8 @@ int main(void) void *__va_args[2] = {& __va_arg0, & __va_arg1}; fcntl(0,2,(void * const *)(__va_args)); } - case 2: __va_fcntl_void(0,2); - case 3: __va_fcntl_flock(0,2,& fl); + case 2: fcntl(0,2); /* __va_fcntl_void */ + case 3: fcntl(0,2,& fl); /* __va_fcntl_flock */ case 4: { double __va_arg0_9 = 0.5; diff --git a/src/plugins/variadic/tests/known/oracle/ioctl.res.oracle b/src/plugins/variadic/tests/known/oracle/ioctl.res.oracle index 195847c4a79..35341a809c3 100644 --- a/src/plugins/variadic/tests/known/oracle/ioctl.res.oracle +++ b/src/plugins/variadic/tests/known/oracle/ioctl.res.oracle @@ -41,8 +41,8 @@ int main(void) char arg = (char)42; int r2 = __va_ioctl_ptr(fd1,request1,(void *)(& arg)); struct st *p = (struct st *)0; - __va_ioctl_ptr(fd1,request1,(void *)p); - __va_ioctl_int(fd1,request1,42); + ioctl(fd1,request1,(void *)p); /* __va_ioctl_ptr */ + ioctl(fd1,request1,42); /* __va_ioctl_int */ __retres = 0; return __retres; } diff --git a/src/plugins/variadic/tests/known/oracle/openat.res.oracle b/src/plugins/variadic/tests/known/oracle/openat.res.oracle index 045316f712a..2fe15e305f2 100644 --- a/src/plugins/variadic/tests/known/oracle/openat.res.oracle +++ b/src/plugins/variadic/tests/known/oracle/openat.res.oracle @@ -40,8 +40,8 @@ int main(void) mode_t mode1 = (unsigned int)0; int mode2 = 0; char *file = (char *)"file"; - __va_openat_mode_t(0,(char const *)file,flag,mode1); - __va_openat_mode_t(0,(char const *)file,flag,(mode_t)mode2); + openat(0,(char const *)file,flag,mode1); /* __va_openat_mode_t */ + openat(0,(char const *)file,flag,(mode_t)mode2); /* __va_openat_mode_t */ { double __va_arg0 = 3.0; void *__va_args[1] = {& __va_arg0}; diff --git a/src/plugins/variadic/tests/known/oracle/print_libc.pretty.c b/src/plugins/variadic/tests/known/oracle/print_libc.pretty.c index 3a496e7bf57..ef17d7a18c4 100644 --- a/src/plugins/variadic/tests/known/oracle/print_libc.pretty.c +++ b/src/plugins/variadic/tests/known/oracle/print_libc.pretty.c @@ -18,7 +18,7 @@ int printf_va_1(char const * __restrict format); int main(void) { int __retres; - printf_va_1(""); + printf(""); /* printf_va_1 */ __retres = 0; return __retres; } @@ -41,10 +41,22 @@ int main(void) */ int printf_va_1(char const * __restrict format); +/*@ requires valid_read_string(format); + assigns \result, __fc_stdout->__fc_FILE_data; + assigns \result + \from (indirect: __fc_stdout->__fc_FILE_id), + (indirect: __fc_stdout->__fc_FILE_data), + (indirect: *(format + (0 ..))); + assigns __fc_stdout->__fc_FILE_data + \from (indirect: __fc_stdout->__fc_FILE_id), + __fc_stdout->__fc_FILE_data, (indirect: *(format + (0 ..))); + */ +int printf_va_1(char const * __restrict format); + int main(void) { int __retres; - printf_va_1(""); + printf(""); /* printf_va_1 */ __retres = 0; return __retres; } diff --git a/src/plugins/variadic/tests/known/oracle/printf.res.oracle b/src/plugins/variadic/tests/known/oracle/printf.res.oracle index 466df2fb14f..5dfc5110fbc 100644 --- a/src/plugins/variadic/tests/known/oracle/printf.res.oracle +++ b/src/plugins/variadic/tests/known/oracle/printf.res.oracle @@ -621,32 +621,32 @@ int main(void) int8_t i8 = (signed char)42; uint_least64_t uleast64 = (unsigned long long)42u; int_fast32_t ifast32 = 42; - printf_va_1("Hello world !\n"); - printf_va_2("%s%n",string,& i); - printf_va_3("%ls",wstring); - printf_va_4("%d %hhn",i,& hh); - printf_va_5("%hhi %hn",(int)hh,& h); - printf_va_6("%hd %ln",(int)h,& l); - printf_va_7("%li %lln",l,& ll); - printf_va_8("%lld %jn",ll,& j); - printf_va_9("%jd %zn",j,& z); - printf_va_10("%zd %tn",z,& t); - printf_va_11("%td\n",t); - printf_va_12("%u ",ui); - printf_va_13("%hho ",(int)uhh); - printf_va_14("%hx ",(int)uh); - printf_va_15("%lX ",ul); - printf_va_16("%llu ",ull); - printf_va_17("%jo ",uj); - printf_va_18("%zx %tX\n",z,t); - printf_va_19("%llu",u64); - printf_va_20("%hhi",(int)i8); - printf_va_21("%llx",uleast64); - printf_va_22("%d",ifast32); - printf_va_23("%f %Le\n",f,L); - printf_va_24("%c\n",(int)c); - printf_va_25("%p ",(void *)string); - printf_va_26("%d %*.*u\n",1,- (-1),2,ui); + printf("Hello world !\n"); /* printf_va_1 */ + printf("%s%n",string,& i); /* printf_va_2 */ + printf("%ls",wstring); /* printf_va_3 */ + printf("%d %hhn",i,& hh); /* printf_va_4 */ + printf("%hhi %hn",(int)hh,& h); /* printf_va_5 */ + printf("%hd %ln",(int)h,& l); /* printf_va_6 */ + printf("%li %lln",l,& ll); /* printf_va_7 */ + printf("%lld %jn",ll,& j); /* printf_va_8 */ + printf("%jd %zn",j,& z); /* printf_va_9 */ + printf("%zd %tn",z,& t); /* printf_va_10 */ + printf("%td\n",t); /* printf_va_11 */ + printf("%u ",ui); /* printf_va_12 */ + printf("%hho ",(int)uhh); /* printf_va_13 */ + printf("%hx ",(int)uh); /* printf_va_14 */ + printf("%lX ",ul); /* printf_va_15 */ + printf("%llu ",ull); /* printf_va_16 */ + printf("%jo ",uj); /* printf_va_17 */ + printf("%zx %tX\n",z,t); /* printf_va_18 */ + printf("%llu",u64); /* printf_va_19 */ + printf("%hhi",(int)i8); /* printf_va_20 */ + printf("%llx",uleast64); /* printf_va_21 */ + printf("%d",ifast32); /* printf_va_22 */ + printf("%f %Le\n",f,L); /* printf_va_23 */ + printf("%c\n",(int)c); /* printf_va_24 */ + printf("%p ",(void *)string); /* printf_va_25 */ + printf("%d %*.*u\n",1,- (-1),2,ui); /* printf_va_26 */ { unsigned int __va_arg0 = ui; char *__va_arg1 = string; @@ -656,8 +656,8 @@ int main(void) (void * const *)(__va_args)); } char hashes[4] = {(char)'#', (char)'#', (char)'#', (char)'#'}; - printf_va_27("%.*s",4,hashes); - printf_va_28("%.4s",hashes); + printf("%.*s",4,hashes); /* printf_va_27 */ + printf("%.4s",hashes); /* printf_va_28 */ __retres = 0; return __retres; } diff --git a/src/plugins/variadic/tests/known/oracle/printf_redefined.res.oracle b/src/plugins/variadic/tests/known/oracle/printf_redefined.res.oracle index 41b4f0c4fb8..578f214bfae 100644 --- a/src/plugins/variadic/tests/known/oracle/printf_redefined.res.oracle +++ b/src/plugins/variadic/tests/known/oracle/printf_redefined.res.oracle @@ -25,7 +25,7 @@ int printf_va_1(char const * __restrict __format, size_t param0); void main(void) { long x = (long)0; - printf_va_1("%zd\n",(size_t)x); + printf("%zd\n",(size_t)x); /* printf_va_1 */ return; } diff --git a/src/plugins/variadic/tests/known/oracle/printf_wrong_arity.res.oracle b/src/plugins/variadic/tests/known/oracle/printf_wrong_arity.res.oracle index fb8aff5b501..532167ae9ef 100644 --- a/src/plugins/variadic/tests/known/oracle/printf_wrong_arity.res.oracle +++ b/src/plugins/variadic/tests/known/oracle/printf_wrong_arity.res.oracle @@ -77,7 +77,7 @@ int main(void) int __retres; { int tmp = 2; - printf_va_1("%d",1); + printf("%d",1); /* printf_va_1 */ } { int __va_arg0 = 1; diff --git a/src/plugins/variadic/tests/known/oracle/printf_wrong_pointers.res.oracle b/src/plugins/variadic/tests/known/oracle/printf_wrong_pointers.res.oracle index d08481ad5e2..4bad516a8d0 100644 --- a/src/plugins/variadic/tests/known/oracle/printf_wrong_pointers.res.oracle +++ b/src/plugins/variadic/tests/known/oracle/printf_wrong_pointers.res.oracle @@ -140,11 +140,11 @@ int main(void) wchar_t *wstring = (wchar_t *)L"b" "a" "r" ; int volatile nondet = 0; switch (nondet) { - case 0: printf_va_1("%n",(int *)(& tt)); - case 1: printf_va_2("%n",(int *)(& ui)); - case 2: printf_va_3("%hhn",(signed char *)string); - case 3: printf_va_4("%s",(char *)wstring); - case 4: printf_va_5("%ls",(wchar_t *)string); + case 0: printf("%n",(int *)(& tt)); /* printf_va_1 */ + case 1: printf("%n",(int *)(& ui)); /* printf_va_2 */ + case 2: printf("%hhn",(signed char *)string); /* printf_va_3 */ + case 3: printf("%s",(char *)wstring); /* printf_va_4 */ + case 4: printf("%ls",(wchar_t *)string); /* printf_va_5 */ } __retres = 0; return __retres; diff --git a/src/plugins/variadic/tests/known/oracle/printf_wrong_types.res.oracle b/src/plugins/variadic/tests/known/oracle/printf_wrong_types.res.oracle index d9fbae7e5f8..e7804a787db 100644 --- a/src/plugins/variadic/tests/known/oracle/printf_wrong_types.res.oracle +++ b/src/plugins/variadic/tests/known/oracle/printf_wrong_types.res.oracle @@ -326,23 +326,23 @@ int main(void) float f = 42.0f; long double ld = 42.0l; char *string = (char *)"42"; - printf_va_1("%hhd",(int)c); - printf_va_2("%d",(int)ui); - printf_va_3("%x",(unsigned int)i); - printf_va_4("%ld",(long)i); - printf_va_5("%d",(int)li); - printf_va_6("%lu",(unsigned long)ui); - printf_va_7("%u",(unsigned int)uli); - printf_va_8("%p",(void *)ui); - printf_va_9("%f",(double)f); - printf_va_10("%f",(double)ld); - printf_va_11("%lf",(double)ld); - printf_va_12("%Lf",(long double)((double)f)); - printf_va_13("%s",(char *)i); - printf_va_14("%d",(int)string); + printf("%hhd",(int)c); /* printf_va_1 */ + printf("%d",(int)ui); /* printf_va_2 */ + printf("%x",(unsigned int)i); /* printf_va_3 */ + printf("%ld",(long)i); /* printf_va_4 */ + printf("%d",(int)li); /* printf_va_5 */ + printf("%lu",(unsigned long)ui); /* printf_va_6 */ + printf("%u",(unsigned int)uli); /* printf_va_7 */ + printf("%p",(void *)ui); /* printf_va_8 */ + printf("%f",(double)f); /* printf_va_9 */ + printf("%f",(double)ld); /* printf_va_10 */ + printf("%lf",(double)ld); /* printf_va_11 */ + printf("%Lf",(long double)((double)f)); /* printf_va_12 */ + printf("%s",(char *)i); /* printf_va_13 */ + printf("%d",(int)string); /* printf_va_14 */ RC rc = OK; - printf_va_15("%u",rc); - printf_va_16("%d",(int)rc); + printf("%u",rc); /* printf_va_15 */ + printf("%d",(int)rc); /* printf_va_16 */ __retres = 0; return __retres; } @@ -728,23 +728,23 @@ int main(void) float f = 42.0f; long double ld = 42.0l; char *string = (char *)"42"; - printf_va_1("%hhd",(int)c); - printf_va_2("%d",(int)ui); - printf_va_3("%x",(unsigned int)i); - printf_va_4("%ld",(long)i); - printf_va_5("%d",(int)li); - printf_va_6("%lu",(unsigned long)ui); - printf_va_7("%u",(unsigned int)uli); - printf_va_8("%p",(void *)ui); - printf_va_9("%f",(double)f); - printf_va_10("%f",(double)ld); - printf_va_11("%lf",(double)ld); - printf_va_12("%Lf",(long double)((double)f)); - printf_va_13("%s",(char *)i); - printf_va_14("%d",(int)string); + printf("%hhd",(int)c); /* printf_va_1 */ + printf("%d",(int)ui); /* printf_va_2 */ + printf("%x",(unsigned int)i); /* printf_va_3 */ + printf("%ld",(long)i); /* printf_va_4 */ + printf("%d",(int)li); /* printf_va_5 */ + printf("%lu",(unsigned long)ui); /* printf_va_6 */ + printf("%u",(unsigned int)uli); /* printf_va_7 */ + printf("%p",(void *)ui); /* printf_va_8 */ + printf("%f",(double)f); /* printf_va_9 */ + printf("%f",(double)ld); /* printf_va_10 */ + printf("%lf",(double)ld); /* printf_va_11 */ + printf("%Lf",(long double)((double)f)); /* printf_va_12 */ + printf("%s",(char *)i); /* printf_va_13 */ + printf("%d",(int)string); /* printf_va_14 */ RC rc = OK; - printf_va_15("%u",rc); - printf_va_16("%d",(int)rc); + printf("%u",rc); /* printf_va_15 */ + printf("%d",(int)rc); /* printf_va_16 */ __retres = 0; return __retres; } diff --git a/src/plugins/variadic/tests/known/oracle/scanf.res.oracle b/src/plugins/variadic/tests/known/oracle/scanf.res.oracle index 8e0fee8c8c6..41ce9ba9264 100644 --- a/src/plugins/variadic/tests/known/oracle/scanf.res.oracle +++ b/src/plugins/variadic/tests/known/oracle/scanf.res.oracle @@ -65,7 +65,7 @@ int main(void) int __retres; char c[10]; int i; - scanf_va_1("Hello %*10le %% %10s %[^]world] %d !",c,c,& i); + scanf("Hello %*10le %% %10s %[^]world] %d !",c,c,& i); /* scanf_va_1 */ __retres = 0; return __retres; } diff --git a/src/plugins/variadic/tests/known/oracle/scanf_loop.res.oracle b/src/plugins/variadic/tests/known/oracle/scanf_loop.res.oracle index 84e1b114610..f2bb44a8342 100644 --- a/src/plugins/variadic/tests/known/oracle/scanf_loop.res.oracle +++ b/src/plugins/variadic/tests/known/oracle/scanf_loop.res.oracle @@ -53,7 +53,7 @@ int main(void) int n; while (1) { int tmp; - tmp = scanf_va_1("%d",& n); + tmp = scanf("%d",& n); /* scanf_va_1 */ if (! (tmp > 0)) break; if (nondet) break; } diff --git a/src/plugins/variadic/tests/known/oracle/scanf_wrong.res.oracle b/src/plugins/variadic/tests/known/oracle/scanf_wrong.res.oracle index 2ae6ce88bc3..1a88c203754 100644 --- a/src/plugins/variadic/tests/known/oracle/scanf_wrong.res.oracle +++ b/src/plugins/variadic/tests/known/oracle/scanf_wrong.res.oracle @@ -68,7 +68,7 @@ int main(void) char c[10]; int i; /*@ assert Eva: initialization: \initialized(&d); */ - scanf_va_1("Hello %*10le %% %10s %[^]world] %d !",(char *)d,c,& i); + scanf("Hello %*10le %% %10s %[^]world] %d !",(char *)d,c,& i); /* scanf_va_1 */ __retres = 0; return __retres; } diff --git a/src/plugins/variadic/tests/known/oracle/snprintf.res.oracle b/src/plugins/variadic/tests/known/oracle/snprintf.res.oracle index eff15618464..e8e49846730 100644 --- a/src/plugins/variadic/tests/known/oracle/snprintf.res.oracle +++ b/src/plugins/variadic/tests/known/oracle/snprintf.res.oracle @@ -90,11 +90,11 @@ int main(void) if (nondet) { size_t tmp; tmp = strlen((char const *)(data)); - snprintf_va_1(dest,tmp,"%s",data); + snprintf(dest,tmp,"%s",data); /* snprintf_va_1 */ /*@ assert \false; */ ; } tmp_0 = strlen((char const *)(data)); - snprintf_va_2(dest,tmp_0 / (size_t)2,"%s",data); + snprintf(dest,tmp_0 / (size_t)2,"%s",data); /* snprintf_va_2 */ __retres = 0; return __retres; } diff --git a/src/plugins/variadic/tests/known/oracle/stdio_print.res.oracle b/src/plugins/variadic/tests/known/oracle/stdio_print.res.oracle index 7952572f5ec..ed1268ad065 100644 --- a/src/plugins/variadic/tests/known/oracle/stdio_print.res.oracle +++ b/src/plugins/variadic/tests/known/oracle/stdio_print.res.oracle @@ -185,11 +185,11 @@ int main(void) void *__va_args_40[3] = {& __va_arg0_34, & __va_arg1_36, & __va_arg2_38}; dprintf(1,(char const *)format,(void * const *)(__va_args_40)); } - fprintf_va_1(stream,"%d %s %d",1,(char *)"2",3); - printf_va_1("%d %s %d",1,(char *)"2",3); - snprintf_va_1(str,size,"%d %s %d",1,(char *)"2",3); - sprintf_va_1(str,"%d %s %d",1,(char *)"2",3); - dprintf_va_1(1,"%d %s %s",1,(char *)"3",(char *)"4"); + fprintf(stream,"%d %s %d",1,(char *)"2",3); /* fprintf_va_1 */ + printf("%d %s %d",1,(char *)"2",3); /* printf_va_1 */ + snprintf(str,size,"%d %s %d",1,(char *)"2",3); /* snprintf_va_1 */ + sprintf(str,"%d %s %d",1,(char *)"2",3); /* sprintf_va_1 */ + dprintf(1,"%d %s %s",1,(char *)"3",(char *)"4"); /* dprintf_va_1 */ __retres = 0; return __retres; } diff --git a/src/plugins/variadic/tests/known/oracle/stdio_scan.res.oracle b/src/plugins/variadic/tests/known/oracle/stdio_scan.res.oracle index 841afb45a4b..dbe65b3bea3 100644 --- a/src/plugins/variadic/tests/known/oracle/stdio_scan.res.oracle +++ b/src/plugins/variadic/tests/known/oracle/stdio_scan.res.oracle @@ -156,9 +156,9 @@ int main(void) sscanf((char const *)str,(char const *)format, (void * const *)(__va_args_26)); } - fscanf_va_1(stream,"%d %s %d",& i,s,& j); - scanf_va_1("%d %s %d",& i,s,& j); - sscanf_va_1((char const *)str,"%d %s %d",& i,s,& j); + fscanf(stream,"%d %s %d",& i,s,& j); /* fscanf_va_1 */ + scanf("%d %s %d",& i,s,& j); /* scanf_va_1 */ + sscanf((char const *)str,"%d %s %d",& i,s,& j); /* sscanf_va_1 */ __retres = 0; return __retres; } diff --git a/src/plugins/variadic/tests/known/oracle/swprintf.res.oracle b/src/plugins/variadic/tests/known/oracle/swprintf.res.oracle index 5efd248eb0b..338a605bafc 100644 --- a/src/plugins/variadic/tests/known/oracle/swprintf.res.oracle +++ b/src/plugins/variadic/tests/known/oracle/swprintf.res.oracle @@ -103,11 +103,11 @@ int main(void) if (nondet) { size_t tmp; tmp = wcslen((wchar_t const *)(data)); - swprintf_va_1(dest,tmp,(wchar_t const *)L"%" "l" "s" ,data); + swprintf(dest,tmp,(wchar_t const *)L"%" "l" "s" ,data); /* swprintf_va_1 */ /*@ assert \false; */ ; } tmp_0 = wcslen((wchar_t const *)(data)); - swprintf_va_2(dest,tmp_0 / (size_t)2,(wchar_t const *)L"%" "l" "s" ,data); + swprintf(dest,tmp_0 / (size_t)2,(wchar_t const *)L"%" "l" "s" ,data); /* swprintf_va_2 */ __retres = 0; return __retres; } diff --git a/src/plugins/variadic/tests/known/oracle/wchar.res.oracle b/src/plugins/variadic/tests/known/oracle/wchar.res.oracle index 05cd9a214e2..631396fece9 100644 --- a/src/plugins/variadic/tests/known/oracle/wchar.res.oracle +++ b/src/plugins/variadic/tests/known/oracle/wchar.res.oracle @@ -254,21 +254,21 @@ int main(void) int j; wchar_t input[0x100] = {102, 111, 114, 116, 121, 45, 116, 119, 111, 32, 105, 115, 0}; - wprintf_va_1((wchar_t const *)L"%" "d" " " "%" "l" "d" "\\n" ,42,42L); - wprintf_va_2((wchar_t const *)L"%" "1" "0" "d" " " "%" "0" "1" "0" "d" - "\\n" ,42,42); - wprintf_va_3((wchar_t const *)L"%" "d" " " "%" "x" " " "%" "o" " " "%" "#" - "x" " " "%" "#" "o" "\\n" ,42,42u,42u,42u,42u); - wprintf_va_4((wchar_t const *)L"%" "2" "." "1" "f" " " "%" "+" "." "0" "e" - " " "%" "E" "\\n" ,42.0,42.0,42.0); - wprintf_va_5((wchar_t const *)L"%" "*" "d" " " "\\n" ,4,2); - wprintf_va_6((wchar_t const *)L"%" "l" "s" " " "\\n" ,(wchar_t *)L"4" "2" ); - swprintf_va_1(wstring,(unsigned int)0x100,(wchar_t const *)L"%" "s" " " "=" - " " "%" "d" ,(char *)L"4" "2" " " "+" " " "4" "2" ,42 + 42); - wscanf_va_1((wchar_t const *)L"%" "l" "s" ,wstring); - wscanf_va_2((wchar_t const *)L"%" "d" " " "%" "d" ,& i,& j); - swscanf_va_1((wchar_t const *)(input),(wchar_t const *)L"%" "l" "s" " " "%" - "*" "s" " " "%" "d" ,wstring,& i); + wprintf((wchar_t const *)L"%" "d" " " "%" "l" "d" "\\n" ,42,42L); /* wprintf_va_1 */ + wprintf((wchar_t const *)L"%" "1" "0" "d" " " "%" "0" "1" "0" "d" "\\n" , + 42,42); /* wprintf_va_2 */ + wprintf((wchar_t const *)L"%" "d" " " "%" "x" " " "%" "o" " " "%" "#" "x" + " " "%" "#" "o" "\\n" ,42,42u,42u,42u,42u); /* wprintf_va_3 */ + wprintf((wchar_t const *)L"%" "2" "." "1" "f" " " "%" "+" "." "0" "e" " " + "%" "E" "\\n" ,42.0,42.0,42.0); /* wprintf_va_4 */ + wprintf((wchar_t const *)L"%" "*" "d" " " "\\n" ,4,2); /* wprintf_va_5 */ + wprintf((wchar_t const *)L"%" "l" "s" " " "\\n" ,(wchar_t *)L"4" "2" ); /* wprintf_va_6 */ + swprintf(wstring,(unsigned int)0x100,(wchar_t const *)L"%" "s" " " "=" " " + "%" "d" ,(char *)L"4" "2" " " "+" " " "4" "2" ,42 + 42); /* swprintf_va_1 */ + wscanf((wchar_t const *)L"%" "l" "s" ,wstring); /* wscanf_va_1 */ + wscanf((wchar_t const *)L"%" "d" " " "%" "d" ,& i,& j); /* wscanf_va_2 */ + swscanf((wchar_t const *)(input),(wchar_t const *)L"%" "l" "s" " " "%" "*" + "s" " " "%" "d" ,wstring,& i); /* swscanf_va_1 */ __retres = 0; return __retres; } diff --git a/tests/libc/oracle/inttypes_h.0.res.oracle b/tests/libc/oracle/inttypes_h.0.res.oracle index aa91e7cdb99..8e3ecb947f2 100644 --- a/tests/libc/oracle/inttypes_h.0.res.oracle +++ b/tests/libc/oracle/inttypes_h.0.res.oracle @@ -2531,255 +2531,255 @@ int main(void) int __retres; { int8_t x; - scanf_va_1("%hhd",(signed char *)(& x)); - printf_va_1("%hhd",(int)x); - scanf_va_2("%hhi",(signed char *)(& x)); - printf_va_2("%hhi",(int)x); + scanf("%hhd",(signed char *)(& x)); /* scanf_va_1 */ + printf("%hhd",(int)x); /* printf_va_1 */ + scanf("%hhi",(signed char *)(& x)); /* scanf_va_2 */ + printf("%hhi",(int)x); /* printf_va_2 */ } { uint8_t x_0; - scanf_va_3("%hho",(unsigned char *)(& x_0)); - printf_va_3("%hho",(int)x_0); - scanf_va_4("%hhu",(unsigned char *)(& x_0)); - printf_va_4("%hhu",(int)x_0); - scanf_va_5("%hhx",(unsigned char *)(& x_0)); - printf_va_5("%hhx",(int)x_0); - scanf_va_6("%hhx",(unsigned char *)(& x_0)); - printf_va_6("%hhX",(int)x_0); + scanf("%hho",(unsigned char *)(& x_0)); /* scanf_va_3 */ + printf("%hho",(int)x_0); /* printf_va_3 */ + scanf("%hhu",(unsigned char *)(& x_0)); /* scanf_va_4 */ + printf("%hhu",(int)x_0); /* printf_va_4 */ + scanf("%hhx",(unsigned char *)(& x_0)); /* scanf_va_5 */ + printf("%hhx",(int)x_0); /* printf_va_5 */ + scanf("%hhx",(unsigned char *)(& x_0)); /* scanf_va_6 */ + printf("%hhX",(int)x_0); /* printf_va_6 */ } { int16_t x_1; - scanf_va_7("%hd",(short *)(& x_1)); - printf_va_7("%hd",(int)x_1); - scanf_va_8("%hi",(short *)(& x_1)); - printf_va_8("%hi",(int)x_1); + scanf("%hd",(short *)(& x_1)); /* scanf_va_7 */ + printf("%hd",(int)x_1); /* printf_va_7 */ + scanf("%hi",(short *)(& x_1)); /* scanf_va_8 */ + printf("%hi",(int)x_1); /* printf_va_8 */ } { uint16_t x_2; - scanf_va_9("%ho",(unsigned short *)(& x_2)); - printf_va_9("%ho",(unsigned int)x_2); - scanf_va_10("%hu",(unsigned short *)(& x_2)); - printf_va_10("%hu",(unsigned int)x_2); - scanf_va_11("%hx",(unsigned short *)(& x_2)); - printf_va_11("%hx",(unsigned int)x_2); - scanf_va_12("%hx",(unsigned short *)(& x_2)); - printf_va_12("%hX",(unsigned int)x_2); + scanf("%ho",(unsigned short *)(& x_2)); /* scanf_va_9 */ + printf("%ho",(unsigned int)x_2); /* printf_va_9 */ + scanf("%hu",(unsigned short *)(& x_2)); /* scanf_va_10 */ + printf("%hu",(unsigned int)x_2); /* printf_va_10 */ + scanf("%hx",(unsigned short *)(& x_2)); /* scanf_va_11 */ + printf("%hx",(unsigned int)x_2); /* printf_va_11 */ + scanf("%hx",(unsigned short *)(& x_2)); /* scanf_va_12 */ + printf("%hX",(unsigned int)x_2); /* printf_va_12 */ } { int32_t x_3; - scanf_va_13("%ld",(long *)(& x_3)); - printf_va_13("%ld",x_3); - scanf_va_14("%li",(long *)(& x_3)); - printf_va_14("%li",x_3); + scanf("%ld",(long *)(& x_3)); /* scanf_va_13 */ + printf("%ld",x_3); /* printf_va_13 */ + scanf("%li",(long *)(& x_3)); /* scanf_va_14 */ + printf("%li",x_3); /* printf_va_14 */ } { uint32_t x_4; - scanf_va_15("%lo",(unsigned long *)(& x_4)); - printf_va_15("%lo",x_4); - scanf_va_16("%lu",(unsigned long *)(& x_4)); - printf_va_16("%lu",x_4); - scanf_va_17("%lx",(unsigned long *)(& x_4)); - printf_va_17("%lx",x_4); - scanf_va_18("%lx",(unsigned long *)(& x_4)); - printf_va_18("%lX",x_4); + scanf("%lo",(unsigned long *)(& x_4)); /* scanf_va_15 */ + printf("%lo",x_4); /* printf_va_15 */ + scanf("%lu",(unsigned long *)(& x_4)); /* scanf_va_16 */ + printf("%lu",x_4); /* printf_va_16 */ + scanf("%lx",(unsigned long *)(& x_4)); /* scanf_va_17 */ + printf("%lx",x_4); /* printf_va_17 */ + scanf("%lx",(unsigned long *)(& x_4)); /* scanf_va_18 */ + printf("%lX",x_4); /* printf_va_18 */ } { int64_t x_5; - scanf_va_19("%lld",(long long *)(& x_5)); - printf_va_19("%lld",x_5); - scanf_va_20("%lli",(long long *)(& x_5)); - printf_va_20("%lli",x_5); + scanf("%lld",(long long *)(& x_5)); /* scanf_va_19 */ + printf("%lld",x_5); /* printf_va_19 */ + scanf("%lli",(long long *)(& x_5)); /* scanf_va_20 */ + printf("%lli",x_5); /* printf_va_20 */ } { uint64_t x_6; - scanf_va_21("%llo",(unsigned long long *)(& x_6)); - printf_va_21("%llo",x_6); - scanf_va_22("%llu",(unsigned long long *)(& x_6)); - printf_va_22("%llu",x_6); - scanf_va_23("%llx",(unsigned long long *)(& x_6)); - printf_va_23("%llx",x_6); - scanf_va_24("%llx",(unsigned long long *)(& x_6)); - printf_va_24("%llX",x_6); + scanf("%llo",(unsigned long long *)(& x_6)); /* scanf_va_21 */ + printf("%llo",x_6); /* printf_va_21 */ + scanf("%llu",(unsigned long long *)(& x_6)); /* scanf_va_22 */ + printf("%llu",x_6); /* printf_va_22 */ + scanf("%llx",(unsigned long long *)(& x_6)); /* scanf_va_23 */ + printf("%llx",x_6); /* printf_va_23 */ + scanf("%llx",(unsigned long long *)(& x_6)); /* scanf_va_24 */ + printf("%llX",x_6); /* printf_va_24 */ } { int_least8_t x_7; - scanf_va_25("%hhd",(signed char *)(& x_7)); - printf_va_25("%hhd",(int)x_7); - scanf_va_26("%hhi",(signed char *)(& x_7)); - printf_va_26("%hhi",(int)x_7); + scanf("%hhd",(signed char *)(& x_7)); /* scanf_va_25 */ + printf("%hhd",(int)x_7); /* printf_va_25 */ + scanf("%hhi",(signed char *)(& x_7)); /* scanf_va_26 */ + printf("%hhi",(int)x_7); /* printf_va_26 */ } { uint_least8_t x_8; - scanf_va_27("%hho",(unsigned char *)(& x_8)); - printf_va_27("%hho",(int)x_8); - scanf_va_28("%hhu",(unsigned char *)(& x_8)); - printf_va_28("%hhu",(int)x_8); - scanf_va_29("%hhx",(unsigned char *)(& x_8)); - printf_va_29("%hhx",(int)x_8); - scanf_va_30("%hhx",(unsigned char *)(& x_8)); - printf_va_30("%hhX",(int)x_8); + scanf("%hho",(unsigned char *)(& x_8)); /* scanf_va_27 */ + printf("%hho",(int)x_8); /* printf_va_27 */ + scanf("%hhu",(unsigned char *)(& x_8)); /* scanf_va_28 */ + printf("%hhu",(int)x_8); /* printf_va_28 */ + scanf("%hhx",(unsigned char *)(& x_8)); /* scanf_va_29 */ + printf("%hhx",(int)x_8); /* printf_va_29 */ + scanf("%hhx",(unsigned char *)(& x_8)); /* scanf_va_30 */ + printf("%hhX",(int)x_8); /* printf_va_30 */ } { int_least16_t x_9; - scanf_va_31("%hd",(short *)(& x_9)); - printf_va_31("%hd",(int)x_9); - scanf_va_32("%hi",(short *)(& x_9)); - printf_va_32("%hi",(int)x_9); + scanf("%hd",(short *)(& x_9)); /* scanf_va_31 */ + printf("%hd",(int)x_9); /* printf_va_31 */ + scanf("%hi",(short *)(& x_9)); /* scanf_va_32 */ + printf("%hi",(int)x_9); /* printf_va_32 */ } { uint_least16_t x_10; - scanf_va_33("%ho",(unsigned short *)(& x_10)); - printf_va_33("%ho",(unsigned int)x_10); - scanf_va_34("%hu",(unsigned short *)(& x_10)); - printf_va_34("%hu",(unsigned int)x_10); - scanf_va_35("%hx",(unsigned short *)(& x_10)); - printf_va_35("%hx",(unsigned int)x_10); - scanf_va_36("%hx",(unsigned short *)(& x_10)); - printf_va_36("%hX",(unsigned int)x_10); + scanf("%ho",(unsigned short *)(& x_10)); /* scanf_va_33 */ + printf("%ho",(unsigned int)x_10); /* printf_va_33 */ + scanf("%hu",(unsigned short *)(& x_10)); /* scanf_va_34 */ + printf("%hu",(unsigned int)x_10); /* printf_va_34 */ + scanf("%hx",(unsigned short *)(& x_10)); /* scanf_va_35 */ + printf("%hx",(unsigned int)x_10); /* printf_va_35 */ + scanf("%hx",(unsigned short *)(& x_10)); /* scanf_va_36 */ + printf("%hX",(unsigned int)x_10); /* printf_va_36 */ } { int_least32_t x_11; - scanf_va_37("%ld",(long *)(& x_11)); - printf_va_37("%ld",x_11); - scanf_va_38("%li",(long *)(& x_11)); - printf_va_38("%li",x_11); + scanf("%ld",(long *)(& x_11)); /* scanf_va_37 */ + printf("%ld",x_11); /* printf_va_37 */ + scanf("%li",(long *)(& x_11)); /* scanf_va_38 */ + printf("%li",x_11); /* printf_va_38 */ } { uint_least32_t x_12; - scanf_va_39("%lo",(unsigned long *)(& x_12)); - printf_va_39("%lo",x_12); - scanf_va_40("%lu",(unsigned long *)(& x_12)); - printf_va_40("%lu",x_12); - scanf_va_41("%lx",(unsigned long *)(& x_12)); - printf_va_41("%lx",x_12); - scanf_va_42("%lx",(unsigned long *)(& x_12)); - printf_va_42("%lX",x_12); + scanf("%lo",(unsigned long *)(& x_12)); /* scanf_va_39 */ + printf("%lo",x_12); /* printf_va_39 */ + scanf("%lu",(unsigned long *)(& x_12)); /* scanf_va_40 */ + printf("%lu",x_12); /* printf_va_40 */ + scanf("%lx",(unsigned long *)(& x_12)); /* scanf_va_41 */ + printf("%lx",x_12); /* printf_va_41 */ + scanf("%lx",(unsigned long *)(& x_12)); /* scanf_va_42 */ + printf("%lX",x_12); /* printf_va_42 */ } { int_least64_t x_13; - scanf_va_43("%lld",(long long *)(& x_13)); - printf_va_43("%lld",x_13); - scanf_va_44("%lli",(long long *)(& x_13)); - printf_va_44("%lli",x_13); + scanf("%lld",(long long *)(& x_13)); /* scanf_va_43 */ + printf("%lld",x_13); /* printf_va_43 */ + scanf("%lli",(long long *)(& x_13)); /* scanf_va_44 */ + printf("%lli",x_13); /* printf_va_44 */ } { uint_least64_t x_14; - scanf_va_45("%llo",(unsigned long long *)(& x_14)); - printf_va_45("%llo",x_14); - scanf_va_46("%llu",(unsigned long long *)(& x_14)); - printf_va_46("%llu",x_14); - scanf_va_47("%llx",(unsigned long long *)(& x_14)); - printf_va_47("%llx",x_14); - scanf_va_48("%llx",(unsigned long long *)(& x_14)); - printf_va_48("%llX",x_14); + scanf("%llo",(unsigned long long *)(& x_14)); /* scanf_va_45 */ + printf("%llo",x_14); /* printf_va_45 */ + scanf("%llu",(unsigned long long *)(& x_14)); /* scanf_va_46 */ + printf("%llu",x_14); /* printf_va_46 */ + scanf("%llx",(unsigned long long *)(& x_14)); /* scanf_va_47 */ + printf("%llx",x_14); /* printf_va_47 */ + scanf("%llx",(unsigned long long *)(& x_14)); /* scanf_va_48 */ + printf("%llX",x_14); /* printf_va_48 */ } { int_fast8_t x_15; - scanf_va_49("%hhd",(signed char *)(& x_15)); - printf_va_49("%hhd",(int)x_15); - scanf_va_50("%hhi",(signed char *)(& x_15)); - printf_va_50("%hhi",(int)x_15); + scanf("%hhd",(signed char *)(& x_15)); /* scanf_va_49 */ + printf("%hhd",(int)x_15); /* printf_va_49 */ + scanf("%hhi",(signed char *)(& x_15)); /* scanf_va_50 */ + printf("%hhi",(int)x_15); /* printf_va_50 */ } { uint_fast8_t x_16; - scanf_va_51("%hho",(unsigned char *)(& x_16)); - printf_va_51("%hho",(int)x_16); - scanf_va_52("%hhu",(unsigned char *)(& x_16)); - printf_va_52("%hhu",(int)x_16); - scanf_va_53("%hhx",(unsigned char *)(& x_16)); - printf_va_53("%hhx",(int)x_16); - scanf_va_54("%hhx",(unsigned char *)(& x_16)); - printf_va_54("%hhX",(int)x_16); + scanf("%hho",(unsigned char *)(& x_16)); /* scanf_va_51 */ + printf("%hho",(int)x_16); /* printf_va_51 */ + scanf("%hhu",(unsigned char *)(& x_16)); /* scanf_va_52 */ + printf("%hhu",(int)x_16); /* printf_va_52 */ + scanf("%hhx",(unsigned char *)(& x_16)); /* scanf_va_53 */ + printf("%hhx",(int)x_16); /* printf_va_53 */ + scanf("%hhx",(unsigned char *)(& x_16)); /* scanf_va_54 */ + printf("%hhX",(int)x_16); /* printf_va_54 */ } { int_fast16_t x_17; - scanf_va_55("%d",(int *)(& x_17)); - printf_va_55("%d",x_17); - scanf_va_56("%i",(int *)(& x_17)); - printf_va_56("%i",x_17); + scanf("%d",(int *)(& x_17)); /* scanf_va_55 */ + printf("%d",x_17); /* printf_va_55 */ + scanf("%i",(int *)(& x_17)); /* scanf_va_56 */ + printf("%i",x_17); /* printf_va_56 */ } { uint_fast16_t x_18; - scanf_va_57("%o",(unsigned int *)(& x_18)); - printf_va_57("%o",x_18); - scanf_va_58("%u",(unsigned int *)(& x_18)); - printf_va_58("%u",x_18); - scanf_va_59("%x",(unsigned int *)(& x_18)); - printf_va_59("%x",x_18); - scanf_va_60("%x",(unsigned int *)(& x_18)); - printf_va_60("%X",x_18); + scanf("%o",(unsigned int *)(& x_18)); /* scanf_va_57 */ + printf("%o",x_18); /* printf_va_57 */ + scanf("%u",(unsigned int *)(& x_18)); /* scanf_va_58 */ + printf("%u",x_18); /* printf_va_58 */ + scanf("%x",(unsigned int *)(& x_18)); /* scanf_va_59 */ + printf("%x",x_18); /* printf_va_59 */ + scanf("%x",(unsigned int *)(& x_18)); /* scanf_va_60 */ + printf("%X",x_18); /* printf_va_60 */ } { int_fast32_t x_19; - scanf_va_61("%ld",(long *)(& x_19)); - printf_va_61("%ld",x_19); - scanf_va_62("%li",(long *)(& x_19)); - printf_va_62("%li",x_19); + scanf("%ld",(long *)(& x_19)); /* scanf_va_61 */ + printf("%ld",x_19); /* printf_va_61 */ + scanf("%li",(long *)(& x_19)); /* scanf_va_62 */ + printf("%li",x_19); /* printf_va_62 */ } { uint_fast32_t x_20; - scanf_va_63("%lo",(unsigned long *)(& x_20)); - printf_va_63("%lo",x_20); - scanf_va_64("%lu",(unsigned long *)(& x_20)); - printf_va_64("%lu",x_20); - scanf_va_65("%lx",(unsigned long *)(& x_20)); - printf_va_65("%lx",x_20); - scanf_va_66("%lx",(unsigned long *)(& x_20)); - printf_va_66("%lX",x_20); + scanf("%lo",(unsigned long *)(& x_20)); /* scanf_va_63 */ + printf("%lo",x_20); /* printf_va_63 */ + scanf("%lu",(unsigned long *)(& x_20)); /* scanf_va_64 */ + printf("%lu",x_20); /* printf_va_64 */ + scanf("%lx",(unsigned long *)(& x_20)); /* scanf_va_65 */ + printf("%lx",x_20); /* printf_va_65 */ + scanf("%lx",(unsigned long *)(& x_20)); /* scanf_va_66 */ + printf("%lX",x_20); /* printf_va_66 */ } { int_fast64_t x_21; - scanf_va_67("%lld",(long long *)(& x_21)); - printf_va_67("%lld",x_21); - scanf_va_68("%lli",(long long *)(& x_21)); - printf_va_68("%lli",x_21); + scanf("%lld",(long long *)(& x_21)); /* scanf_va_67 */ + printf("%lld",x_21); /* printf_va_67 */ + scanf("%lli",(long long *)(& x_21)); /* scanf_va_68 */ + printf("%lli",x_21); /* printf_va_68 */ } { uint_fast64_t x_22; - scanf_va_69("%llo",(unsigned long long *)(& x_22)); - printf_va_69("%llo",x_22); - scanf_va_70("%llu",(unsigned long long *)(& x_22)); - printf_va_70("%llu",x_22); - scanf_va_71("%llx",(unsigned long long *)(& x_22)); - printf_va_71("%llx",x_22); - scanf_va_72("%llx",(unsigned long long *)(& x_22)); - printf_va_72("%llX",x_22); + scanf("%llo",(unsigned long long *)(& x_22)); /* scanf_va_69 */ + printf("%llo",x_22); /* printf_va_69 */ + scanf("%llu",(unsigned long long *)(& x_22)); /* scanf_va_70 */ + printf("%llu",x_22); /* printf_va_70 */ + scanf("%llx",(unsigned long long *)(& x_22)); /* scanf_va_71 */ + printf("%llx",x_22); /* printf_va_71 */ + scanf("%llx",(unsigned long long *)(& x_22)); /* scanf_va_72 */ + printf("%llX",x_22); /* printf_va_72 */ } { intmax_t x_23; - scanf_va_73("%lld",(long long *)(& x_23)); - printf_va_73("%lld",x_23); - scanf_va_74("%lli",(long long *)(& x_23)); - printf_va_74("%lli",x_23); + scanf("%lld",(long long *)(& x_23)); /* scanf_va_73 */ + printf("%lld",x_23); /* printf_va_73 */ + scanf("%lli",(long long *)(& x_23)); /* scanf_va_74 */ + printf("%lli",x_23); /* printf_va_74 */ } { uintmax_t x_24; - scanf_va_75("%llo",(unsigned long long *)(& x_24)); - printf_va_75("%llo",x_24); - scanf_va_76("%llu",(unsigned long long *)(& x_24)); - printf_va_76("%llu",x_24); - scanf_va_77("%llx",(unsigned long long *)(& x_24)); - printf_va_77("%llx",x_24); - scanf_va_78("%llx",(unsigned long long *)(& x_24)); - printf_va_78("%llX",x_24); + scanf("%llo",(unsigned long long *)(& x_24)); /* scanf_va_75 */ + printf("%llo",x_24); /* printf_va_75 */ + scanf("%llu",(unsigned long long *)(& x_24)); /* scanf_va_76 */ + printf("%llu",x_24); /* printf_va_76 */ + scanf("%llx",(unsigned long long *)(& x_24)); /* scanf_va_77 */ + printf("%llx",x_24); /* printf_va_77 */ + scanf("%llx",(unsigned long long *)(& x_24)); /* scanf_va_78 */ + printf("%llX",x_24); /* printf_va_78 */ } { intptr_t x_25; - scanf_va_79("%ld",(long *)(& x_25)); - printf_va_79("%ld",x_25); - scanf_va_80("%li",(long *)(& x_25)); - printf_va_80("%li",x_25); + scanf("%ld",(long *)(& x_25)); /* scanf_va_79 */ + printf("%ld",x_25); /* printf_va_79 */ + scanf("%li",(long *)(& x_25)); /* scanf_va_80 */ + printf("%li",x_25); /* printf_va_80 */ } { uintptr_t x_26; - scanf_va_81("%lo",(unsigned long *)(& x_26)); - printf_va_81("%lo",x_26); - scanf_va_82("%lu",(unsigned long *)(& x_26)); - printf_va_82("%lu",x_26); - scanf_va_83("%lx",(unsigned long *)(& x_26)); - printf_va_83("%lx",x_26); - scanf_va_84("%lx",(unsigned long *)(& x_26)); - printf_va_84("%lX",x_26); + scanf("%lo",(unsigned long *)(& x_26)); /* scanf_va_81 */ + printf("%lo",x_26); /* printf_va_81 */ + scanf("%lu",(unsigned long *)(& x_26)); /* scanf_va_82 */ + printf("%lu",x_26); /* printf_va_82 */ + scanf("%lx",(unsigned long *)(& x_26)); /* scanf_va_83 */ + printf("%lx",x_26); /* printf_va_83 */ + scanf("%lx",(unsigned long *)(& x_26)); /* scanf_va_84 */ + printf("%lX",x_26); /* printf_va_84 */ } __retres = 0; return __retres; diff --git a/tests/libc/oracle/inttypes_h.1.res.oracle b/tests/libc/oracle/inttypes_h.1.res.oracle index d369e0541c8..fcb32958224 100644 --- a/tests/libc/oracle/inttypes_h.1.res.oracle +++ b/tests/libc/oracle/inttypes_h.1.res.oracle @@ -2531,255 +2531,255 @@ int main(void) int __retres; { int8_t x; - scanf_va_1("%hhd",(signed char *)(& x)); - printf_va_1("%hhd",(int)x); - scanf_va_2("%hhi",(signed char *)(& x)); - printf_va_2("%hhi",(int)x); + scanf("%hhd",(signed char *)(& x)); /* scanf_va_1 */ + printf("%hhd",(int)x); /* printf_va_1 */ + scanf("%hhi",(signed char *)(& x)); /* scanf_va_2 */ + printf("%hhi",(int)x); /* printf_va_2 */ } { uint8_t x_0; - scanf_va_3("%hho",(unsigned char *)(& x_0)); - printf_va_3("%hho",(int)x_0); - scanf_va_4("%hhu",(unsigned char *)(& x_0)); - printf_va_4("%hhu",(int)x_0); - scanf_va_5("%hhx",(unsigned char *)(& x_0)); - printf_va_5("%hhx",(int)x_0); - scanf_va_6("%hhx",(unsigned char *)(& x_0)); - printf_va_6("%hhX",(int)x_0); + scanf("%hho",(unsigned char *)(& x_0)); /* scanf_va_3 */ + printf("%hho",(int)x_0); /* printf_va_3 */ + scanf("%hhu",(unsigned char *)(& x_0)); /* scanf_va_4 */ + printf("%hhu",(int)x_0); /* printf_va_4 */ + scanf("%hhx",(unsigned char *)(& x_0)); /* scanf_va_5 */ + printf("%hhx",(int)x_0); /* printf_va_5 */ + scanf("%hhx",(unsigned char *)(& x_0)); /* scanf_va_6 */ + printf("%hhX",(int)x_0); /* printf_va_6 */ } { int16_t x_1; - scanf_va_7("%hd",(short *)(& x_1)); - printf_va_7("%hd",(int)x_1); - scanf_va_8("%hi",(short *)(& x_1)); - printf_va_8("%hi",(int)x_1); + scanf("%hd",(short *)(& x_1)); /* scanf_va_7 */ + printf("%hd",(int)x_1); /* printf_va_7 */ + scanf("%hi",(short *)(& x_1)); /* scanf_va_8 */ + printf("%hi",(int)x_1); /* printf_va_8 */ } { uint16_t x_2; - scanf_va_9("%ho",(unsigned short *)(& x_2)); - printf_va_9("%ho",(int)x_2); - scanf_va_10("%hu",(unsigned short *)(& x_2)); - printf_va_10("%hu",(int)x_2); - scanf_va_11("%hx",(unsigned short *)(& x_2)); - printf_va_11("%hx",(int)x_2); - scanf_va_12("%hx",(unsigned short *)(& x_2)); - printf_va_12("%hX",(int)x_2); + scanf("%ho",(unsigned short *)(& x_2)); /* scanf_va_9 */ + printf("%ho",(int)x_2); /* printf_va_9 */ + scanf("%hu",(unsigned short *)(& x_2)); /* scanf_va_10 */ + printf("%hu",(int)x_2); /* printf_va_10 */ + scanf("%hx",(unsigned short *)(& x_2)); /* scanf_va_11 */ + printf("%hx",(int)x_2); /* printf_va_11 */ + scanf("%hx",(unsigned short *)(& x_2)); /* scanf_va_12 */ + printf("%hX",(int)x_2); /* printf_va_12 */ } { int32_t x_3; - scanf_va_13("%d",(int *)(& x_3)); - printf_va_13("%d",x_3); - scanf_va_14("%i",(int *)(& x_3)); - printf_va_14("%i",x_3); + scanf("%d",(int *)(& x_3)); /* scanf_va_13 */ + printf("%d",x_3); /* printf_va_13 */ + scanf("%i",(int *)(& x_3)); /* scanf_va_14 */ + printf("%i",x_3); /* printf_va_14 */ } { uint32_t x_4; - scanf_va_15("%o",(unsigned int *)(& x_4)); - printf_va_15("%o",x_4); - scanf_va_16("%u",(unsigned int *)(& x_4)); - printf_va_16("%u",x_4); - scanf_va_17("%x",(unsigned int *)(& x_4)); - printf_va_17("%x",x_4); - scanf_va_18("%x",(unsigned int *)(& x_4)); - printf_va_18("%X",x_4); + scanf("%o",(unsigned int *)(& x_4)); /* scanf_va_15 */ + printf("%o",x_4); /* printf_va_15 */ + scanf("%u",(unsigned int *)(& x_4)); /* scanf_va_16 */ + printf("%u",x_4); /* printf_va_16 */ + scanf("%x",(unsigned int *)(& x_4)); /* scanf_va_17 */ + printf("%x",x_4); /* printf_va_17 */ + scanf("%x",(unsigned int *)(& x_4)); /* scanf_va_18 */ + printf("%X",x_4); /* printf_va_18 */ } { int64_t x_5; - scanf_va_19("%lld",(long long *)(& x_5)); - printf_va_19("%lld",x_5); - scanf_va_20("%lli",(long long *)(& x_5)); - printf_va_20("%lli",x_5); + scanf("%lld",(long long *)(& x_5)); /* scanf_va_19 */ + printf("%lld",x_5); /* printf_va_19 */ + scanf("%lli",(long long *)(& x_5)); /* scanf_va_20 */ + printf("%lli",x_5); /* printf_va_20 */ } { uint64_t x_6; - scanf_va_21("%llo",(unsigned long long *)(& x_6)); - printf_va_21("%llo",x_6); - scanf_va_22("%llu",(unsigned long long *)(& x_6)); - printf_va_22("%llu",x_6); - scanf_va_23("%llx",(unsigned long long *)(& x_6)); - printf_va_23("%llx",x_6); - scanf_va_24("%llx",(unsigned long long *)(& x_6)); - printf_va_24("%llX",x_6); + scanf("%llo",(unsigned long long *)(& x_6)); /* scanf_va_21 */ + printf("%llo",x_6); /* printf_va_21 */ + scanf("%llu",(unsigned long long *)(& x_6)); /* scanf_va_22 */ + printf("%llu",x_6); /* printf_va_22 */ + scanf("%llx",(unsigned long long *)(& x_6)); /* scanf_va_23 */ + printf("%llx",x_6); /* printf_va_23 */ + scanf("%llx",(unsigned long long *)(& x_6)); /* scanf_va_24 */ + printf("%llX",x_6); /* printf_va_24 */ } { int_least8_t x_7; - scanf_va_25("%hhd",(signed char *)(& x_7)); - printf_va_25("%hhd",(int)x_7); - scanf_va_26("%hhi",(signed char *)(& x_7)); - printf_va_26("%hhi",(int)x_7); + scanf("%hhd",(signed char *)(& x_7)); /* scanf_va_25 */ + printf("%hhd",(int)x_7); /* printf_va_25 */ + scanf("%hhi",(signed char *)(& x_7)); /* scanf_va_26 */ + printf("%hhi",(int)x_7); /* printf_va_26 */ } { uint_least8_t x_8; - scanf_va_27("%hho",(unsigned char *)(& x_8)); - printf_va_27("%hho",(int)x_8); - scanf_va_28("%hhu",(unsigned char *)(& x_8)); - printf_va_28("%hhu",(int)x_8); - scanf_va_29("%hhx",(unsigned char *)(& x_8)); - printf_va_29("%hhx",(int)x_8); - scanf_va_30("%hhx",(unsigned char *)(& x_8)); - printf_va_30("%hhX",(int)x_8); + scanf("%hho",(unsigned char *)(& x_8)); /* scanf_va_27 */ + printf("%hho",(int)x_8); /* printf_va_27 */ + scanf("%hhu",(unsigned char *)(& x_8)); /* scanf_va_28 */ + printf("%hhu",(int)x_8); /* printf_va_28 */ + scanf("%hhx",(unsigned char *)(& x_8)); /* scanf_va_29 */ + printf("%hhx",(int)x_8); /* printf_va_29 */ + scanf("%hhx",(unsigned char *)(& x_8)); /* scanf_va_30 */ + printf("%hhX",(int)x_8); /* printf_va_30 */ } { int_least16_t x_9; - scanf_va_31("%hd",(short *)(& x_9)); - printf_va_31("%hd",(int)x_9); - scanf_va_32("%hi",(short *)(& x_9)); - printf_va_32("%hi",(int)x_9); + scanf("%hd",(short *)(& x_9)); /* scanf_va_31 */ + printf("%hd",(int)x_9); /* printf_va_31 */ + scanf("%hi",(short *)(& x_9)); /* scanf_va_32 */ + printf("%hi",(int)x_9); /* printf_va_32 */ } { uint_least16_t x_10; - scanf_va_33("%ho",(unsigned short *)(& x_10)); - printf_va_33("%ho",(int)x_10); - scanf_va_34("%hu",(unsigned short *)(& x_10)); - printf_va_34("%hu",(int)x_10); - scanf_va_35("%hx",(unsigned short *)(& x_10)); - printf_va_35("%hx",(int)x_10); - scanf_va_36("%hx",(unsigned short *)(& x_10)); - printf_va_36("%hX",(int)x_10); + scanf("%ho",(unsigned short *)(& x_10)); /* scanf_va_33 */ + printf("%ho",(int)x_10); /* printf_va_33 */ + scanf("%hu",(unsigned short *)(& x_10)); /* scanf_va_34 */ + printf("%hu",(int)x_10); /* printf_va_34 */ + scanf("%hx",(unsigned short *)(& x_10)); /* scanf_va_35 */ + printf("%hx",(int)x_10); /* printf_va_35 */ + scanf("%hx",(unsigned short *)(& x_10)); /* scanf_va_36 */ + printf("%hX",(int)x_10); /* printf_va_36 */ } { int_least32_t x_11; - scanf_va_37("%d",(int *)(& x_11)); - printf_va_37("%d",x_11); - scanf_va_38("%i",(int *)(& x_11)); - printf_va_38("%i",x_11); + scanf("%d",(int *)(& x_11)); /* scanf_va_37 */ + printf("%d",x_11); /* printf_va_37 */ + scanf("%i",(int *)(& x_11)); /* scanf_va_38 */ + printf("%i",x_11); /* printf_va_38 */ } { uint_least32_t x_12; - scanf_va_39("%o",(unsigned int *)(& x_12)); - printf_va_39("%o",x_12); - scanf_va_40("%u",(unsigned int *)(& x_12)); - printf_va_40("%u",x_12); - scanf_va_41("%x",(unsigned int *)(& x_12)); - printf_va_41("%x",x_12); - scanf_va_42("%x",(unsigned int *)(& x_12)); - printf_va_42("%X",x_12); + scanf("%o",(unsigned int *)(& x_12)); /* scanf_va_39 */ + printf("%o",x_12); /* printf_va_39 */ + scanf("%u",(unsigned int *)(& x_12)); /* scanf_va_40 */ + printf("%u",x_12); /* printf_va_40 */ + scanf("%x",(unsigned int *)(& x_12)); /* scanf_va_41 */ + printf("%x",x_12); /* printf_va_41 */ + scanf("%x",(unsigned int *)(& x_12)); /* scanf_va_42 */ + printf("%X",x_12); /* printf_va_42 */ } { int_least64_t x_13; - scanf_va_43("%lld",(long long *)(& x_13)); - printf_va_43("%lld",x_13); - scanf_va_44("%lli",(long long *)(& x_13)); - printf_va_44("%lli",x_13); + scanf("%lld",(long long *)(& x_13)); /* scanf_va_43 */ + printf("%lld",x_13); /* printf_va_43 */ + scanf("%lli",(long long *)(& x_13)); /* scanf_va_44 */ + printf("%lli",x_13); /* printf_va_44 */ } { uint_least64_t x_14; - scanf_va_45("%llo",(unsigned long long *)(& x_14)); - printf_va_45("%llo",x_14); - scanf_va_46("%llu",(unsigned long long *)(& x_14)); - printf_va_46("%llu",x_14); - scanf_va_47("%llx",(unsigned long long *)(& x_14)); - printf_va_47("%llx",x_14); - scanf_va_48("%llx",(unsigned long long *)(& x_14)); - printf_va_48("%llX",x_14); + scanf("%llo",(unsigned long long *)(& x_14)); /* scanf_va_45 */ + printf("%llo",x_14); /* printf_va_45 */ + scanf("%llu",(unsigned long long *)(& x_14)); /* scanf_va_46 */ + printf("%llu",x_14); /* printf_va_46 */ + scanf("%llx",(unsigned long long *)(& x_14)); /* scanf_va_47 */ + printf("%llx",x_14); /* printf_va_47 */ + scanf("%llx",(unsigned long long *)(& x_14)); /* scanf_va_48 */ + printf("%llX",x_14); /* printf_va_48 */ } { int_fast8_t x_15; - scanf_va_49("%hhd",(signed char *)(& x_15)); - printf_va_49("%hhd",(int)x_15); - scanf_va_50("%hhi",(signed char *)(& x_15)); - printf_va_50("%hhi",(int)x_15); + scanf("%hhd",(signed char *)(& x_15)); /* scanf_va_49 */ + printf("%hhd",(int)x_15); /* printf_va_49 */ + scanf("%hhi",(signed char *)(& x_15)); /* scanf_va_50 */ + printf("%hhi",(int)x_15); /* printf_va_50 */ } { uint_fast8_t x_16; - scanf_va_51("%hho",(unsigned char *)(& x_16)); - printf_va_51("%hho",(int)x_16); - scanf_va_52("%hhu",(unsigned char *)(& x_16)); - printf_va_52("%hhu",(int)x_16); - scanf_va_53("%hhx",(unsigned char *)(& x_16)); - printf_va_53("%hhx",(int)x_16); - scanf_va_54("%hhx",(unsigned char *)(& x_16)); - printf_va_54("%hhX",(int)x_16); + scanf("%hho",(unsigned char *)(& x_16)); /* scanf_va_51 */ + printf("%hho",(int)x_16); /* printf_va_51 */ + scanf("%hhu",(unsigned char *)(& x_16)); /* scanf_va_52 */ + printf("%hhu",(int)x_16); /* printf_va_52 */ + scanf("%hhx",(unsigned char *)(& x_16)); /* scanf_va_53 */ + printf("%hhx",(int)x_16); /* printf_va_53 */ + scanf("%hhx",(unsigned char *)(& x_16)); /* scanf_va_54 */ + printf("%hhX",(int)x_16); /* printf_va_54 */ } { int_fast16_t x_17; - scanf_va_55("%d",(int *)(& x_17)); - printf_va_55("%d",x_17); - scanf_va_56("%i",(int *)(& x_17)); - printf_va_56("%i",x_17); + scanf("%d",(int *)(& x_17)); /* scanf_va_55 */ + printf("%d",x_17); /* printf_va_55 */ + scanf("%i",(int *)(& x_17)); /* scanf_va_56 */ + printf("%i",x_17); /* printf_va_56 */ } { uint_fast16_t x_18; - scanf_va_57("%o",(unsigned int *)(& x_18)); - printf_va_57("%o",x_18); - scanf_va_58("%u",(unsigned int *)(& x_18)); - printf_va_58("%u",x_18); - scanf_va_59("%x",(unsigned int *)(& x_18)); - printf_va_59("%x",x_18); - scanf_va_60("%x",(unsigned int *)(& x_18)); - printf_va_60("%X",x_18); + scanf("%o",(unsigned int *)(& x_18)); /* scanf_va_57 */ + printf("%o",x_18); /* printf_va_57 */ + scanf("%u",(unsigned int *)(& x_18)); /* scanf_va_58 */ + printf("%u",x_18); /* printf_va_58 */ + scanf("%x",(unsigned int *)(& x_18)); /* scanf_va_59 */ + printf("%x",x_18); /* printf_va_59 */ + scanf("%x",(unsigned int *)(& x_18)); /* scanf_va_60 */ + printf("%X",x_18); /* printf_va_60 */ } { int_fast32_t x_19; - scanf_va_61("%d",(int *)(& x_19)); - printf_va_61("%d",x_19); - scanf_va_62("%i",(int *)(& x_19)); - printf_va_62("%i",x_19); + scanf("%d",(int *)(& x_19)); /* scanf_va_61 */ + printf("%d",x_19); /* printf_va_61 */ + scanf("%i",(int *)(& x_19)); /* scanf_va_62 */ + printf("%i",x_19); /* printf_va_62 */ } { uint_fast32_t x_20; - scanf_va_63("%o",(unsigned int *)(& x_20)); - printf_va_63("%o",x_20); - scanf_va_64("%u",(unsigned int *)(& x_20)); - printf_va_64("%u",x_20); - scanf_va_65("%x",(unsigned int *)(& x_20)); - printf_va_65("%x",x_20); - scanf_va_66("%x",(unsigned int *)(& x_20)); - printf_va_66("%X",x_20); + scanf("%o",(unsigned int *)(& x_20)); /* scanf_va_63 */ + printf("%o",x_20); /* printf_va_63 */ + scanf("%u",(unsigned int *)(& x_20)); /* scanf_va_64 */ + printf("%u",x_20); /* printf_va_64 */ + scanf("%x",(unsigned int *)(& x_20)); /* scanf_va_65 */ + printf("%x",x_20); /* printf_va_65 */ + scanf("%x",(unsigned int *)(& x_20)); /* scanf_va_66 */ + printf("%X",x_20); /* printf_va_66 */ } { int_fast64_t x_21; - scanf_va_67("%lld",(long long *)(& x_21)); - printf_va_67("%lld",x_21); - scanf_va_68("%lli",(long long *)(& x_21)); - printf_va_68("%lli",x_21); + scanf("%lld",(long long *)(& x_21)); /* scanf_va_67 */ + printf("%lld",x_21); /* printf_va_67 */ + scanf("%lli",(long long *)(& x_21)); /* scanf_va_68 */ + printf("%lli",x_21); /* printf_va_68 */ } { uint_fast64_t x_22; - scanf_va_69("%llo",(unsigned long long *)(& x_22)); - printf_va_69("%llo",x_22); - scanf_va_70("%llu",(unsigned long long *)(& x_22)); - printf_va_70("%llu",x_22); - scanf_va_71("%llx",(unsigned long long *)(& x_22)); - printf_va_71("%llx",x_22); - scanf_va_72("%llx",(unsigned long long *)(& x_22)); - printf_va_72("%llX",x_22); + scanf("%llo",(unsigned long long *)(& x_22)); /* scanf_va_69 */ + printf("%llo",x_22); /* printf_va_69 */ + scanf("%llu",(unsigned long long *)(& x_22)); /* scanf_va_70 */ + printf("%llu",x_22); /* printf_va_70 */ + scanf("%llx",(unsigned long long *)(& x_22)); /* scanf_va_71 */ + printf("%llx",x_22); /* printf_va_71 */ + scanf("%llx",(unsigned long long *)(& x_22)); /* scanf_va_72 */ + printf("%llX",x_22); /* printf_va_72 */ } { intmax_t x_23; - scanf_va_73("%lld",(long long *)(& x_23)); - printf_va_73("%lld",x_23); - scanf_va_74("%lli",(long long *)(& x_23)); - printf_va_74("%lli",x_23); + scanf("%lld",(long long *)(& x_23)); /* scanf_va_73 */ + printf("%lld",x_23); /* printf_va_73 */ + scanf("%lli",(long long *)(& x_23)); /* scanf_va_74 */ + printf("%lli",x_23); /* printf_va_74 */ } { uintmax_t x_24; - scanf_va_75("%llo",(unsigned long long *)(& x_24)); - printf_va_75("%llo",x_24); - scanf_va_76("%llu",(unsigned long long *)(& x_24)); - printf_va_76("%llu",x_24); - scanf_va_77("%llx",(unsigned long long *)(& x_24)); - printf_va_77("%llx",x_24); - scanf_va_78("%llx",(unsigned long long *)(& x_24)); - printf_va_78("%llX",x_24); + scanf("%llo",(unsigned long long *)(& x_24)); /* scanf_va_75 */ + printf("%llo",x_24); /* printf_va_75 */ + scanf("%llu",(unsigned long long *)(& x_24)); /* scanf_va_76 */ + printf("%llu",x_24); /* printf_va_76 */ + scanf("%llx",(unsigned long long *)(& x_24)); /* scanf_va_77 */ + printf("%llx",x_24); /* printf_va_77 */ + scanf("%llx",(unsigned long long *)(& x_24)); /* scanf_va_78 */ + printf("%llX",x_24); /* printf_va_78 */ } { intptr_t x_25; - scanf_va_79("%d",(int *)(& x_25)); - printf_va_79("%d",x_25); - scanf_va_80("%i",(int *)(& x_25)); - printf_va_80("%i",x_25); + scanf("%d",(int *)(& x_25)); /* scanf_va_79 */ + printf("%d",x_25); /* printf_va_79 */ + scanf("%i",(int *)(& x_25)); /* scanf_va_80 */ + printf("%i",x_25); /* printf_va_80 */ } { uintptr_t x_26; - scanf_va_81("%o",(unsigned int *)(& x_26)); - printf_va_81("%o",x_26); - scanf_va_82("%u",(unsigned int *)(& x_26)); - printf_va_82("%u",x_26); - scanf_va_83("%x",(unsigned int *)(& x_26)); - printf_va_83("%x",x_26); - scanf_va_84("%x",(unsigned int *)(& x_26)); - printf_va_84("%X",x_26); + scanf("%o",(unsigned int *)(& x_26)); /* scanf_va_81 */ + printf("%o",x_26); /* printf_va_81 */ + scanf("%u",(unsigned int *)(& x_26)); /* scanf_va_82 */ + printf("%u",x_26); /* printf_va_82 */ + scanf("%x",(unsigned int *)(& x_26)); /* scanf_va_83 */ + printf("%x",x_26); /* printf_va_83 */ + scanf("%x",(unsigned int *)(& x_26)); /* scanf_va_84 */ + printf("%X",x_26); /* printf_va_84 */ } __retres = 0; return __retres; diff --git a/tests/libc/oracle/inttypes_h.2.res.oracle b/tests/libc/oracle/inttypes_h.2.res.oracle index 0270a3902c6..d6d6d590fdd 100644 --- a/tests/libc/oracle/inttypes_h.2.res.oracle +++ b/tests/libc/oracle/inttypes_h.2.res.oracle @@ -2531,255 +2531,255 @@ int main(void) int __retres; { int8_t x; - scanf_va_1("%hhd",(signed char *)(& x)); - printf_va_1("%hhd",(int)x); - scanf_va_2("%hhi",(signed char *)(& x)); - printf_va_2("%hhi",(int)x); + scanf("%hhd",(signed char *)(& x)); /* scanf_va_1 */ + printf("%hhd",(int)x); /* printf_va_1 */ + scanf("%hhi",(signed char *)(& x)); /* scanf_va_2 */ + printf("%hhi",(int)x); /* printf_va_2 */ } { uint8_t x_0; - scanf_va_3("%hho",(unsigned char *)(& x_0)); - printf_va_3("%hho",(int)x_0); - scanf_va_4("%hhu",(unsigned char *)(& x_0)); - printf_va_4("%hhu",(int)x_0); - scanf_va_5("%hhx",(unsigned char *)(& x_0)); - printf_va_5("%hhx",(int)x_0); - scanf_va_6("%hhx",(unsigned char *)(& x_0)); - printf_va_6("%hhX",(int)x_0); + scanf("%hho",(unsigned char *)(& x_0)); /* scanf_va_3 */ + printf("%hho",(int)x_0); /* printf_va_3 */ + scanf("%hhu",(unsigned char *)(& x_0)); /* scanf_va_4 */ + printf("%hhu",(int)x_0); /* printf_va_4 */ + scanf("%hhx",(unsigned char *)(& x_0)); /* scanf_va_5 */ + printf("%hhx",(int)x_0); /* printf_va_5 */ + scanf("%hhx",(unsigned char *)(& x_0)); /* scanf_va_6 */ + printf("%hhX",(int)x_0); /* printf_va_6 */ } { int16_t x_1; - scanf_va_7("%hd",(short *)(& x_1)); - printf_va_7("%hd",(int)x_1); - scanf_va_8("%hi",(short *)(& x_1)); - printf_va_8("%hi",(int)x_1); + scanf("%hd",(short *)(& x_1)); /* scanf_va_7 */ + printf("%hd",(int)x_1); /* printf_va_7 */ + scanf("%hi",(short *)(& x_1)); /* scanf_va_8 */ + printf("%hi",(int)x_1); /* printf_va_8 */ } { uint16_t x_2; - scanf_va_9("%ho",(unsigned short *)(& x_2)); - printf_va_9("%ho",(int)x_2); - scanf_va_10("%hu",(unsigned short *)(& x_2)); - printf_va_10("%hu",(int)x_2); - scanf_va_11("%hx",(unsigned short *)(& x_2)); - printf_va_11("%hx",(int)x_2); - scanf_va_12("%hx",(unsigned short *)(& x_2)); - printf_va_12("%hX",(int)x_2); + scanf("%ho",(unsigned short *)(& x_2)); /* scanf_va_9 */ + printf("%ho",(int)x_2); /* printf_va_9 */ + scanf("%hu",(unsigned short *)(& x_2)); /* scanf_va_10 */ + printf("%hu",(int)x_2); /* printf_va_10 */ + scanf("%hx",(unsigned short *)(& x_2)); /* scanf_va_11 */ + printf("%hx",(int)x_2); /* printf_va_11 */ + scanf("%hx",(unsigned short *)(& x_2)); /* scanf_va_12 */ + printf("%hX",(int)x_2); /* printf_va_12 */ } { int32_t x_3; - scanf_va_13("%d",(int *)(& x_3)); - printf_va_13("%d",x_3); - scanf_va_14("%i",(int *)(& x_3)); - printf_va_14("%i",x_3); + scanf("%d",(int *)(& x_3)); /* scanf_va_13 */ + printf("%d",x_3); /* printf_va_13 */ + scanf("%i",(int *)(& x_3)); /* scanf_va_14 */ + printf("%i",x_3); /* printf_va_14 */ } { uint32_t x_4; - scanf_va_15("%o",(unsigned int *)(& x_4)); - printf_va_15("%o",x_4); - scanf_va_16("%u",(unsigned int *)(& x_4)); - printf_va_16("%u",x_4); - scanf_va_17("%x",(unsigned int *)(& x_4)); - printf_va_17("%x",x_4); - scanf_va_18("%x",(unsigned int *)(& x_4)); - printf_va_18("%X",x_4); + scanf("%o",(unsigned int *)(& x_4)); /* scanf_va_15 */ + printf("%o",x_4); /* printf_va_15 */ + scanf("%u",(unsigned int *)(& x_4)); /* scanf_va_16 */ + printf("%u",x_4); /* printf_va_16 */ + scanf("%x",(unsigned int *)(& x_4)); /* scanf_va_17 */ + printf("%x",x_4); /* printf_va_17 */ + scanf("%x",(unsigned int *)(& x_4)); /* scanf_va_18 */ + printf("%X",x_4); /* printf_va_18 */ } { int64_t x_5; - scanf_va_19("%ld",(long *)(& x_5)); - printf_va_19("%ld",x_5); - scanf_va_20("%li",(long *)(& x_5)); - printf_va_20("%li",x_5); + scanf("%ld",(long *)(& x_5)); /* scanf_va_19 */ + printf("%ld",x_5); /* printf_va_19 */ + scanf("%li",(long *)(& x_5)); /* scanf_va_20 */ + printf("%li",x_5); /* printf_va_20 */ } { uint64_t x_6; - scanf_va_21("%lo",(unsigned long *)(& x_6)); - printf_va_21("%lo",x_6); - scanf_va_22("%lu",(unsigned long *)(& x_6)); - printf_va_22("%lu",x_6); - scanf_va_23("%lx",(unsigned long *)(& x_6)); - printf_va_23("%lx",x_6); - scanf_va_24("%lx",(unsigned long *)(& x_6)); - printf_va_24("%lX",x_6); + scanf("%lo",(unsigned long *)(& x_6)); /* scanf_va_21 */ + printf("%lo",x_6); /* printf_va_21 */ + scanf("%lu",(unsigned long *)(& x_6)); /* scanf_va_22 */ + printf("%lu",x_6); /* printf_va_22 */ + scanf("%lx",(unsigned long *)(& x_6)); /* scanf_va_23 */ + printf("%lx",x_6); /* printf_va_23 */ + scanf("%lx",(unsigned long *)(& x_6)); /* scanf_va_24 */ + printf("%lX",x_6); /* printf_va_24 */ } { int_least8_t x_7; - scanf_va_25("%hhd",(signed char *)(& x_7)); - printf_va_25("%hhd",(int)x_7); - scanf_va_26("%hhi",(signed char *)(& x_7)); - printf_va_26("%hhi",(int)x_7); + scanf("%hhd",(signed char *)(& x_7)); /* scanf_va_25 */ + printf("%hhd",(int)x_7); /* printf_va_25 */ + scanf("%hhi",(signed char *)(& x_7)); /* scanf_va_26 */ + printf("%hhi",(int)x_7); /* printf_va_26 */ } { uint_least8_t x_8; - scanf_va_27("%hho",(unsigned char *)(& x_8)); - printf_va_27("%hho",(int)x_8); - scanf_va_28("%hhu",(unsigned char *)(& x_8)); - printf_va_28("%hhu",(int)x_8); - scanf_va_29("%hhx",(unsigned char *)(& x_8)); - printf_va_29("%hhx",(int)x_8); - scanf_va_30("%hhx",(unsigned char *)(& x_8)); - printf_va_30("%hhX",(int)x_8); + scanf("%hho",(unsigned char *)(& x_8)); /* scanf_va_27 */ + printf("%hho",(int)x_8); /* printf_va_27 */ + scanf("%hhu",(unsigned char *)(& x_8)); /* scanf_va_28 */ + printf("%hhu",(int)x_8); /* printf_va_28 */ + scanf("%hhx",(unsigned char *)(& x_8)); /* scanf_va_29 */ + printf("%hhx",(int)x_8); /* printf_va_29 */ + scanf("%hhx",(unsigned char *)(& x_8)); /* scanf_va_30 */ + printf("%hhX",(int)x_8); /* printf_va_30 */ } { int_least16_t x_9; - scanf_va_31("%hd",(short *)(& x_9)); - printf_va_31("%hd",(int)x_9); - scanf_va_32("%hi",(short *)(& x_9)); - printf_va_32("%hi",(int)x_9); + scanf("%hd",(short *)(& x_9)); /* scanf_va_31 */ + printf("%hd",(int)x_9); /* printf_va_31 */ + scanf("%hi",(short *)(& x_9)); /* scanf_va_32 */ + printf("%hi",(int)x_9); /* printf_va_32 */ } { uint_least16_t x_10; - scanf_va_33("%ho",(unsigned short *)(& x_10)); - printf_va_33("%ho",(int)x_10); - scanf_va_34("%hu",(unsigned short *)(& x_10)); - printf_va_34("%hu",(int)x_10); - scanf_va_35("%hx",(unsigned short *)(& x_10)); - printf_va_35("%hx",(int)x_10); - scanf_va_36("%hx",(unsigned short *)(& x_10)); - printf_va_36("%hX",(int)x_10); + scanf("%ho",(unsigned short *)(& x_10)); /* scanf_va_33 */ + printf("%ho",(int)x_10); /* printf_va_33 */ + scanf("%hu",(unsigned short *)(& x_10)); /* scanf_va_34 */ + printf("%hu",(int)x_10); /* printf_va_34 */ + scanf("%hx",(unsigned short *)(& x_10)); /* scanf_va_35 */ + printf("%hx",(int)x_10); /* printf_va_35 */ + scanf("%hx",(unsigned short *)(& x_10)); /* scanf_va_36 */ + printf("%hX",(int)x_10); /* printf_va_36 */ } { int_least32_t x_11; - scanf_va_37("%d",(int *)(& x_11)); - printf_va_37("%d",x_11); - scanf_va_38("%i",(int *)(& x_11)); - printf_va_38("%i",x_11); + scanf("%d",(int *)(& x_11)); /* scanf_va_37 */ + printf("%d",x_11); /* printf_va_37 */ + scanf("%i",(int *)(& x_11)); /* scanf_va_38 */ + printf("%i",x_11); /* printf_va_38 */ } { uint_least32_t x_12; - scanf_va_39("%o",(unsigned int *)(& x_12)); - printf_va_39("%o",x_12); - scanf_va_40("%u",(unsigned int *)(& x_12)); - printf_va_40("%u",x_12); - scanf_va_41("%x",(unsigned int *)(& x_12)); - printf_va_41("%x",x_12); - scanf_va_42("%x",(unsigned int *)(& x_12)); - printf_va_42("%X",x_12); + scanf("%o",(unsigned int *)(& x_12)); /* scanf_va_39 */ + printf("%o",x_12); /* printf_va_39 */ + scanf("%u",(unsigned int *)(& x_12)); /* scanf_va_40 */ + printf("%u",x_12); /* printf_va_40 */ + scanf("%x",(unsigned int *)(& x_12)); /* scanf_va_41 */ + printf("%x",x_12); /* printf_va_41 */ + scanf("%x",(unsigned int *)(& x_12)); /* scanf_va_42 */ + printf("%X",x_12); /* printf_va_42 */ } { int_least64_t x_13; - scanf_va_43("%ld",(long *)(& x_13)); - printf_va_43("%ld",x_13); - scanf_va_44("%li",(long *)(& x_13)); - printf_va_44("%li",x_13); + scanf("%ld",(long *)(& x_13)); /* scanf_va_43 */ + printf("%ld",x_13); /* printf_va_43 */ + scanf("%li",(long *)(& x_13)); /* scanf_va_44 */ + printf("%li",x_13); /* printf_va_44 */ } { uint_least64_t x_14; - scanf_va_45("%lo",(unsigned long *)(& x_14)); - printf_va_45("%lo",x_14); - scanf_va_46("%lu",(unsigned long *)(& x_14)); - printf_va_46("%lu",x_14); - scanf_va_47("%lx",(unsigned long *)(& x_14)); - printf_va_47("%lx",x_14); - scanf_va_48("%lx",(unsigned long *)(& x_14)); - printf_va_48("%lX",x_14); + scanf("%lo",(unsigned long *)(& x_14)); /* scanf_va_45 */ + printf("%lo",x_14); /* printf_va_45 */ + scanf("%lu",(unsigned long *)(& x_14)); /* scanf_va_46 */ + printf("%lu",x_14); /* printf_va_46 */ + scanf("%lx",(unsigned long *)(& x_14)); /* scanf_va_47 */ + printf("%lx",x_14); /* printf_va_47 */ + scanf("%lx",(unsigned long *)(& x_14)); /* scanf_va_48 */ + printf("%lX",x_14); /* printf_va_48 */ } { int_fast8_t x_15; - scanf_va_49("%hhd",(signed char *)(& x_15)); - printf_va_49("%hhd",(int)x_15); - scanf_va_50("%hhi",(signed char *)(& x_15)); - printf_va_50("%hhi",(int)x_15); + scanf("%hhd",(signed char *)(& x_15)); /* scanf_va_49 */ + printf("%hhd",(int)x_15); /* printf_va_49 */ + scanf("%hhi",(signed char *)(& x_15)); /* scanf_va_50 */ + printf("%hhi",(int)x_15); /* printf_va_50 */ } { uint_fast8_t x_16; - scanf_va_51("%hho",(unsigned char *)(& x_16)); - printf_va_51("%hho",(int)x_16); - scanf_va_52("%hhu",(unsigned char *)(& x_16)); - printf_va_52("%hhu",(int)x_16); - scanf_va_53("%hhx",(unsigned char *)(& x_16)); - printf_va_53("%hhx",(int)x_16); - scanf_va_54("%hhx",(unsigned char *)(& x_16)); - printf_va_54("%hhX",(int)x_16); + scanf("%hho",(unsigned char *)(& x_16)); /* scanf_va_51 */ + printf("%hho",(int)x_16); /* printf_va_51 */ + scanf("%hhu",(unsigned char *)(& x_16)); /* scanf_va_52 */ + printf("%hhu",(int)x_16); /* printf_va_52 */ + scanf("%hhx",(unsigned char *)(& x_16)); /* scanf_va_53 */ + printf("%hhx",(int)x_16); /* printf_va_53 */ + scanf("%hhx",(unsigned char *)(& x_16)); /* scanf_va_54 */ + printf("%hhX",(int)x_16); /* printf_va_54 */ } { int_fast16_t x_17; - scanf_va_55("%d",(int *)(& x_17)); - printf_va_55("%d",x_17); - scanf_va_56("%i",(int *)(& x_17)); - printf_va_56("%i",x_17); + scanf("%d",(int *)(& x_17)); /* scanf_va_55 */ + printf("%d",x_17); /* printf_va_55 */ + scanf("%i",(int *)(& x_17)); /* scanf_va_56 */ + printf("%i",x_17); /* printf_va_56 */ } { uint_fast16_t x_18; - scanf_va_57("%o",(unsigned int *)(& x_18)); - printf_va_57("%o",x_18); - scanf_va_58("%u",(unsigned int *)(& x_18)); - printf_va_58("%u",x_18); - scanf_va_59("%x",(unsigned int *)(& x_18)); - printf_va_59("%x",x_18); - scanf_va_60("%x",(unsigned int *)(& x_18)); - printf_va_60("%X",x_18); + scanf("%o",(unsigned int *)(& x_18)); /* scanf_va_57 */ + printf("%o",x_18); /* printf_va_57 */ + scanf("%u",(unsigned int *)(& x_18)); /* scanf_va_58 */ + printf("%u",x_18); /* printf_va_58 */ + scanf("%x",(unsigned int *)(& x_18)); /* scanf_va_59 */ + printf("%x",x_18); /* printf_va_59 */ + scanf("%x",(unsigned int *)(& x_18)); /* scanf_va_60 */ + printf("%X",x_18); /* printf_va_60 */ } { int_fast32_t x_19; - scanf_va_61("%d",(int *)(& x_19)); - printf_va_61("%d",x_19); - scanf_va_62("%i",(int *)(& x_19)); - printf_va_62("%i",x_19); + scanf("%d",(int *)(& x_19)); /* scanf_va_61 */ + printf("%d",x_19); /* printf_va_61 */ + scanf("%i",(int *)(& x_19)); /* scanf_va_62 */ + printf("%i",x_19); /* printf_va_62 */ } { uint_fast32_t x_20; - scanf_va_63("%o",(unsigned int *)(& x_20)); - printf_va_63("%o",x_20); - scanf_va_64("%u",(unsigned int *)(& x_20)); - printf_va_64("%u",x_20); - scanf_va_65("%x",(unsigned int *)(& x_20)); - printf_va_65("%x",x_20); - scanf_va_66("%x",(unsigned int *)(& x_20)); - printf_va_66("%X",x_20); + scanf("%o",(unsigned int *)(& x_20)); /* scanf_va_63 */ + printf("%o",x_20); /* printf_va_63 */ + scanf("%u",(unsigned int *)(& x_20)); /* scanf_va_64 */ + printf("%u",x_20); /* printf_va_64 */ + scanf("%x",(unsigned int *)(& x_20)); /* scanf_va_65 */ + printf("%x",x_20); /* printf_va_65 */ + scanf("%x",(unsigned int *)(& x_20)); /* scanf_va_66 */ + printf("%X",x_20); /* printf_va_66 */ } { int_fast64_t x_21; - scanf_va_67("%ld",(long *)(& x_21)); - printf_va_67("%ld",x_21); - scanf_va_68("%li",(long *)(& x_21)); - printf_va_68("%li",x_21); + scanf("%ld",(long *)(& x_21)); /* scanf_va_67 */ + printf("%ld",x_21); /* printf_va_67 */ + scanf("%li",(long *)(& x_21)); /* scanf_va_68 */ + printf("%li",x_21); /* printf_va_68 */ } { uint_fast64_t x_22; - scanf_va_69("%lo",(unsigned long *)(& x_22)); - printf_va_69("%lo",x_22); - scanf_va_70("%lu",(unsigned long *)(& x_22)); - printf_va_70("%lu",x_22); - scanf_va_71("%lx",(unsigned long *)(& x_22)); - printf_va_71("%lx",x_22); - scanf_va_72("%lx",(unsigned long *)(& x_22)); - printf_va_72("%lX",x_22); + scanf("%lo",(unsigned long *)(& x_22)); /* scanf_va_69 */ + printf("%lo",x_22); /* printf_va_69 */ + scanf("%lu",(unsigned long *)(& x_22)); /* scanf_va_70 */ + printf("%lu",x_22); /* printf_va_70 */ + scanf("%lx",(unsigned long *)(& x_22)); /* scanf_va_71 */ + printf("%lx",x_22); /* printf_va_71 */ + scanf("%lx",(unsigned long *)(& x_22)); /* scanf_va_72 */ + printf("%lX",x_22); /* printf_va_72 */ } { intmax_t x_23; - scanf_va_73("%lld",(long long *)(& x_23)); - printf_va_73("%lld",x_23); - scanf_va_74("%lli",(long long *)(& x_23)); - printf_va_74("%lli",x_23); + scanf("%lld",(long long *)(& x_23)); /* scanf_va_73 */ + printf("%lld",x_23); /* printf_va_73 */ + scanf("%lli",(long long *)(& x_23)); /* scanf_va_74 */ + printf("%lli",x_23); /* printf_va_74 */ } { uintmax_t x_24; - scanf_va_75("%llo",(unsigned long long *)(& x_24)); - printf_va_75("%llo",x_24); - scanf_va_76("%llu",(unsigned long long *)(& x_24)); - printf_va_76("%llu",x_24); - scanf_va_77("%llx",(unsigned long long *)(& x_24)); - printf_va_77("%llx",x_24); - scanf_va_78("%llx",(unsigned long long *)(& x_24)); - printf_va_78("%llX",x_24); + scanf("%llo",(unsigned long long *)(& x_24)); /* scanf_va_75 */ + printf("%llo",x_24); /* printf_va_75 */ + scanf("%llu",(unsigned long long *)(& x_24)); /* scanf_va_76 */ + printf("%llu",x_24); /* printf_va_76 */ + scanf("%llx",(unsigned long long *)(& x_24)); /* scanf_va_77 */ + printf("%llx",x_24); /* printf_va_77 */ + scanf("%llx",(unsigned long long *)(& x_24)); /* scanf_va_78 */ + printf("%llX",x_24); /* printf_va_78 */ } { intptr_t x_25; - scanf_va_79("%ld",(long *)(& x_25)); - printf_va_79("%ld",x_25); - scanf_va_80("%li",(long *)(& x_25)); - printf_va_80("%li",x_25); + scanf("%ld",(long *)(& x_25)); /* scanf_va_79 */ + printf("%ld",x_25); /* printf_va_79 */ + scanf("%li",(long *)(& x_25)); /* scanf_va_80 */ + printf("%li",x_25); /* printf_va_80 */ } { uintptr_t x_26; - scanf_va_81("%lo",(unsigned long *)(& x_26)); - printf_va_81("%lo",x_26); - scanf_va_82("%lu",(unsigned long *)(& x_26)); - printf_va_82("%lu",x_26); - scanf_va_83("%lx",(unsigned long *)(& x_26)); - printf_va_83("%lx",x_26); - scanf_va_84("%lx",(unsigned long *)(& x_26)); - printf_va_84("%lX",x_26); + scanf("%lo",(unsigned long *)(& x_26)); /* scanf_va_81 */ + printf("%lo",x_26); /* printf_va_81 */ + scanf("%lu",(unsigned long *)(& x_26)); /* scanf_va_82 */ + printf("%lu",x_26); /* printf_va_82 */ + scanf("%lx",(unsigned long *)(& x_26)); /* scanf_va_83 */ + printf("%lx",x_26); /* printf_va_83 */ + scanf("%lx",(unsigned long *)(& x_26)); /* scanf_va_84 */ + printf("%lX",x_26); /* printf_va_84 */ } __retres = 0; return __retres; diff --git a/tests/libc/oracle/inttypes_h.3.res.oracle b/tests/libc/oracle/inttypes_h.3.res.oracle index aa91e7cdb99..8e3ecb947f2 100644 --- a/tests/libc/oracle/inttypes_h.3.res.oracle +++ b/tests/libc/oracle/inttypes_h.3.res.oracle @@ -2531,255 +2531,255 @@ int main(void) int __retres; { int8_t x; - scanf_va_1("%hhd",(signed char *)(& x)); - printf_va_1("%hhd",(int)x); - scanf_va_2("%hhi",(signed char *)(& x)); - printf_va_2("%hhi",(int)x); + scanf("%hhd",(signed char *)(& x)); /* scanf_va_1 */ + printf("%hhd",(int)x); /* printf_va_1 */ + scanf("%hhi",(signed char *)(& x)); /* scanf_va_2 */ + printf("%hhi",(int)x); /* printf_va_2 */ } { uint8_t x_0; - scanf_va_3("%hho",(unsigned char *)(& x_0)); - printf_va_3("%hho",(int)x_0); - scanf_va_4("%hhu",(unsigned char *)(& x_0)); - printf_va_4("%hhu",(int)x_0); - scanf_va_5("%hhx",(unsigned char *)(& x_0)); - printf_va_5("%hhx",(int)x_0); - scanf_va_6("%hhx",(unsigned char *)(& x_0)); - printf_va_6("%hhX",(int)x_0); + scanf("%hho",(unsigned char *)(& x_0)); /* scanf_va_3 */ + printf("%hho",(int)x_0); /* printf_va_3 */ + scanf("%hhu",(unsigned char *)(& x_0)); /* scanf_va_4 */ + printf("%hhu",(int)x_0); /* printf_va_4 */ + scanf("%hhx",(unsigned char *)(& x_0)); /* scanf_va_5 */ + printf("%hhx",(int)x_0); /* printf_va_5 */ + scanf("%hhx",(unsigned char *)(& x_0)); /* scanf_va_6 */ + printf("%hhX",(int)x_0); /* printf_va_6 */ } { int16_t x_1; - scanf_va_7("%hd",(short *)(& x_1)); - printf_va_7("%hd",(int)x_1); - scanf_va_8("%hi",(short *)(& x_1)); - printf_va_8("%hi",(int)x_1); + scanf("%hd",(short *)(& x_1)); /* scanf_va_7 */ + printf("%hd",(int)x_1); /* printf_va_7 */ + scanf("%hi",(short *)(& x_1)); /* scanf_va_8 */ + printf("%hi",(int)x_1); /* printf_va_8 */ } { uint16_t x_2; - scanf_va_9("%ho",(unsigned short *)(& x_2)); - printf_va_9("%ho",(unsigned int)x_2); - scanf_va_10("%hu",(unsigned short *)(& x_2)); - printf_va_10("%hu",(unsigned int)x_2); - scanf_va_11("%hx",(unsigned short *)(& x_2)); - printf_va_11("%hx",(unsigned int)x_2); - scanf_va_12("%hx",(unsigned short *)(& x_2)); - printf_va_12("%hX",(unsigned int)x_2); + scanf("%ho",(unsigned short *)(& x_2)); /* scanf_va_9 */ + printf("%ho",(unsigned int)x_2); /* printf_va_9 */ + scanf("%hu",(unsigned short *)(& x_2)); /* scanf_va_10 */ + printf("%hu",(unsigned int)x_2); /* printf_va_10 */ + scanf("%hx",(unsigned short *)(& x_2)); /* scanf_va_11 */ + printf("%hx",(unsigned int)x_2); /* printf_va_11 */ + scanf("%hx",(unsigned short *)(& x_2)); /* scanf_va_12 */ + printf("%hX",(unsigned int)x_2); /* printf_va_12 */ } { int32_t x_3; - scanf_va_13("%ld",(long *)(& x_3)); - printf_va_13("%ld",x_3); - scanf_va_14("%li",(long *)(& x_3)); - printf_va_14("%li",x_3); + scanf("%ld",(long *)(& x_3)); /* scanf_va_13 */ + printf("%ld",x_3); /* printf_va_13 */ + scanf("%li",(long *)(& x_3)); /* scanf_va_14 */ + printf("%li",x_3); /* printf_va_14 */ } { uint32_t x_4; - scanf_va_15("%lo",(unsigned long *)(& x_4)); - printf_va_15("%lo",x_4); - scanf_va_16("%lu",(unsigned long *)(& x_4)); - printf_va_16("%lu",x_4); - scanf_va_17("%lx",(unsigned long *)(& x_4)); - printf_va_17("%lx",x_4); - scanf_va_18("%lx",(unsigned long *)(& x_4)); - printf_va_18("%lX",x_4); + scanf("%lo",(unsigned long *)(& x_4)); /* scanf_va_15 */ + printf("%lo",x_4); /* printf_va_15 */ + scanf("%lu",(unsigned long *)(& x_4)); /* scanf_va_16 */ + printf("%lu",x_4); /* printf_va_16 */ + scanf("%lx",(unsigned long *)(& x_4)); /* scanf_va_17 */ + printf("%lx",x_4); /* printf_va_17 */ + scanf("%lx",(unsigned long *)(& x_4)); /* scanf_va_18 */ + printf("%lX",x_4); /* printf_va_18 */ } { int64_t x_5; - scanf_va_19("%lld",(long long *)(& x_5)); - printf_va_19("%lld",x_5); - scanf_va_20("%lli",(long long *)(& x_5)); - printf_va_20("%lli",x_5); + scanf("%lld",(long long *)(& x_5)); /* scanf_va_19 */ + printf("%lld",x_5); /* printf_va_19 */ + scanf("%lli",(long long *)(& x_5)); /* scanf_va_20 */ + printf("%lli",x_5); /* printf_va_20 */ } { uint64_t x_6; - scanf_va_21("%llo",(unsigned long long *)(& x_6)); - printf_va_21("%llo",x_6); - scanf_va_22("%llu",(unsigned long long *)(& x_6)); - printf_va_22("%llu",x_6); - scanf_va_23("%llx",(unsigned long long *)(& x_6)); - printf_va_23("%llx",x_6); - scanf_va_24("%llx",(unsigned long long *)(& x_6)); - printf_va_24("%llX",x_6); + scanf("%llo",(unsigned long long *)(& x_6)); /* scanf_va_21 */ + printf("%llo",x_6); /* printf_va_21 */ + scanf("%llu",(unsigned long long *)(& x_6)); /* scanf_va_22 */ + printf("%llu",x_6); /* printf_va_22 */ + scanf("%llx",(unsigned long long *)(& x_6)); /* scanf_va_23 */ + printf("%llx",x_6); /* printf_va_23 */ + scanf("%llx",(unsigned long long *)(& x_6)); /* scanf_va_24 */ + printf("%llX",x_6); /* printf_va_24 */ } { int_least8_t x_7; - scanf_va_25("%hhd",(signed char *)(& x_7)); - printf_va_25("%hhd",(int)x_7); - scanf_va_26("%hhi",(signed char *)(& x_7)); - printf_va_26("%hhi",(int)x_7); + scanf("%hhd",(signed char *)(& x_7)); /* scanf_va_25 */ + printf("%hhd",(int)x_7); /* printf_va_25 */ + scanf("%hhi",(signed char *)(& x_7)); /* scanf_va_26 */ + printf("%hhi",(int)x_7); /* printf_va_26 */ } { uint_least8_t x_8; - scanf_va_27("%hho",(unsigned char *)(& x_8)); - printf_va_27("%hho",(int)x_8); - scanf_va_28("%hhu",(unsigned char *)(& x_8)); - printf_va_28("%hhu",(int)x_8); - scanf_va_29("%hhx",(unsigned char *)(& x_8)); - printf_va_29("%hhx",(int)x_8); - scanf_va_30("%hhx",(unsigned char *)(& x_8)); - printf_va_30("%hhX",(int)x_8); + scanf("%hho",(unsigned char *)(& x_8)); /* scanf_va_27 */ + printf("%hho",(int)x_8); /* printf_va_27 */ + scanf("%hhu",(unsigned char *)(& x_8)); /* scanf_va_28 */ + printf("%hhu",(int)x_8); /* printf_va_28 */ + scanf("%hhx",(unsigned char *)(& x_8)); /* scanf_va_29 */ + printf("%hhx",(int)x_8); /* printf_va_29 */ + scanf("%hhx",(unsigned char *)(& x_8)); /* scanf_va_30 */ + printf("%hhX",(int)x_8); /* printf_va_30 */ } { int_least16_t x_9; - scanf_va_31("%hd",(short *)(& x_9)); - printf_va_31("%hd",(int)x_9); - scanf_va_32("%hi",(short *)(& x_9)); - printf_va_32("%hi",(int)x_9); + scanf("%hd",(short *)(& x_9)); /* scanf_va_31 */ + printf("%hd",(int)x_9); /* printf_va_31 */ + scanf("%hi",(short *)(& x_9)); /* scanf_va_32 */ + printf("%hi",(int)x_9); /* printf_va_32 */ } { uint_least16_t x_10; - scanf_va_33("%ho",(unsigned short *)(& x_10)); - printf_va_33("%ho",(unsigned int)x_10); - scanf_va_34("%hu",(unsigned short *)(& x_10)); - printf_va_34("%hu",(unsigned int)x_10); - scanf_va_35("%hx",(unsigned short *)(& x_10)); - printf_va_35("%hx",(unsigned int)x_10); - scanf_va_36("%hx",(unsigned short *)(& x_10)); - printf_va_36("%hX",(unsigned int)x_10); + scanf("%ho",(unsigned short *)(& x_10)); /* scanf_va_33 */ + printf("%ho",(unsigned int)x_10); /* printf_va_33 */ + scanf("%hu",(unsigned short *)(& x_10)); /* scanf_va_34 */ + printf("%hu",(unsigned int)x_10); /* printf_va_34 */ + scanf("%hx",(unsigned short *)(& x_10)); /* scanf_va_35 */ + printf("%hx",(unsigned int)x_10); /* printf_va_35 */ + scanf("%hx",(unsigned short *)(& x_10)); /* scanf_va_36 */ + printf("%hX",(unsigned int)x_10); /* printf_va_36 */ } { int_least32_t x_11; - scanf_va_37("%ld",(long *)(& x_11)); - printf_va_37("%ld",x_11); - scanf_va_38("%li",(long *)(& x_11)); - printf_va_38("%li",x_11); + scanf("%ld",(long *)(& x_11)); /* scanf_va_37 */ + printf("%ld",x_11); /* printf_va_37 */ + scanf("%li",(long *)(& x_11)); /* scanf_va_38 */ + printf("%li",x_11); /* printf_va_38 */ } { uint_least32_t x_12; - scanf_va_39("%lo",(unsigned long *)(& x_12)); - printf_va_39("%lo",x_12); - scanf_va_40("%lu",(unsigned long *)(& x_12)); - printf_va_40("%lu",x_12); - scanf_va_41("%lx",(unsigned long *)(& x_12)); - printf_va_41("%lx",x_12); - scanf_va_42("%lx",(unsigned long *)(& x_12)); - printf_va_42("%lX",x_12); + scanf("%lo",(unsigned long *)(& x_12)); /* scanf_va_39 */ + printf("%lo",x_12); /* printf_va_39 */ + scanf("%lu",(unsigned long *)(& x_12)); /* scanf_va_40 */ + printf("%lu",x_12); /* printf_va_40 */ + scanf("%lx",(unsigned long *)(& x_12)); /* scanf_va_41 */ + printf("%lx",x_12); /* printf_va_41 */ + scanf("%lx",(unsigned long *)(& x_12)); /* scanf_va_42 */ + printf("%lX",x_12); /* printf_va_42 */ } { int_least64_t x_13; - scanf_va_43("%lld",(long long *)(& x_13)); - printf_va_43("%lld",x_13); - scanf_va_44("%lli",(long long *)(& x_13)); - printf_va_44("%lli",x_13); + scanf("%lld",(long long *)(& x_13)); /* scanf_va_43 */ + printf("%lld",x_13); /* printf_va_43 */ + scanf("%lli",(long long *)(& x_13)); /* scanf_va_44 */ + printf("%lli",x_13); /* printf_va_44 */ } { uint_least64_t x_14; - scanf_va_45("%llo",(unsigned long long *)(& x_14)); - printf_va_45("%llo",x_14); - scanf_va_46("%llu",(unsigned long long *)(& x_14)); - printf_va_46("%llu",x_14); - scanf_va_47("%llx",(unsigned long long *)(& x_14)); - printf_va_47("%llx",x_14); - scanf_va_48("%llx",(unsigned long long *)(& x_14)); - printf_va_48("%llX",x_14); + scanf("%llo",(unsigned long long *)(& x_14)); /* scanf_va_45 */ + printf("%llo",x_14); /* printf_va_45 */ + scanf("%llu",(unsigned long long *)(& x_14)); /* scanf_va_46 */ + printf("%llu",x_14); /* printf_va_46 */ + scanf("%llx",(unsigned long long *)(& x_14)); /* scanf_va_47 */ + printf("%llx",x_14); /* printf_va_47 */ + scanf("%llx",(unsigned long long *)(& x_14)); /* scanf_va_48 */ + printf("%llX",x_14); /* printf_va_48 */ } { int_fast8_t x_15; - scanf_va_49("%hhd",(signed char *)(& x_15)); - printf_va_49("%hhd",(int)x_15); - scanf_va_50("%hhi",(signed char *)(& x_15)); - printf_va_50("%hhi",(int)x_15); + scanf("%hhd",(signed char *)(& x_15)); /* scanf_va_49 */ + printf("%hhd",(int)x_15); /* printf_va_49 */ + scanf("%hhi",(signed char *)(& x_15)); /* scanf_va_50 */ + printf("%hhi",(int)x_15); /* printf_va_50 */ } { uint_fast8_t x_16; - scanf_va_51("%hho",(unsigned char *)(& x_16)); - printf_va_51("%hho",(int)x_16); - scanf_va_52("%hhu",(unsigned char *)(& x_16)); - printf_va_52("%hhu",(int)x_16); - scanf_va_53("%hhx",(unsigned char *)(& x_16)); - printf_va_53("%hhx",(int)x_16); - scanf_va_54("%hhx",(unsigned char *)(& x_16)); - printf_va_54("%hhX",(int)x_16); + scanf("%hho",(unsigned char *)(& x_16)); /* scanf_va_51 */ + printf("%hho",(int)x_16); /* printf_va_51 */ + scanf("%hhu",(unsigned char *)(& x_16)); /* scanf_va_52 */ + printf("%hhu",(int)x_16); /* printf_va_52 */ + scanf("%hhx",(unsigned char *)(& x_16)); /* scanf_va_53 */ + printf("%hhx",(int)x_16); /* printf_va_53 */ + scanf("%hhx",(unsigned char *)(& x_16)); /* scanf_va_54 */ + printf("%hhX",(int)x_16); /* printf_va_54 */ } { int_fast16_t x_17; - scanf_va_55("%d",(int *)(& x_17)); - printf_va_55("%d",x_17); - scanf_va_56("%i",(int *)(& x_17)); - printf_va_56("%i",x_17); + scanf("%d",(int *)(& x_17)); /* scanf_va_55 */ + printf("%d",x_17); /* printf_va_55 */ + scanf("%i",(int *)(& x_17)); /* scanf_va_56 */ + printf("%i",x_17); /* printf_va_56 */ } { uint_fast16_t x_18; - scanf_va_57("%o",(unsigned int *)(& x_18)); - printf_va_57("%o",x_18); - scanf_va_58("%u",(unsigned int *)(& x_18)); - printf_va_58("%u",x_18); - scanf_va_59("%x",(unsigned int *)(& x_18)); - printf_va_59("%x",x_18); - scanf_va_60("%x",(unsigned int *)(& x_18)); - printf_va_60("%X",x_18); + scanf("%o",(unsigned int *)(& x_18)); /* scanf_va_57 */ + printf("%o",x_18); /* printf_va_57 */ + scanf("%u",(unsigned int *)(& x_18)); /* scanf_va_58 */ + printf("%u",x_18); /* printf_va_58 */ + scanf("%x",(unsigned int *)(& x_18)); /* scanf_va_59 */ + printf("%x",x_18); /* printf_va_59 */ + scanf("%x",(unsigned int *)(& x_18)); /* scanf_va_60 */ + printf("%X",x_18); /* printf_va_60 */ } { int_fast32_t x_19; - scanf_va_61("%ld",(long *)(& x_19)); - printf_va_61("%ld",x_19); - scanf_va_62("%li",(long *)(& x_19)); - printf_va_62("%li",x_19); + scanf("%ld",(long *)(& x_19)); /* scanf_va_61 */ + printf("%ld",x_19); /* printf_va_61 */ + scanf("%li",(long *)(& x_19)); /* scanf_va_62 */ + printf("%li",x_19); /* printf_va_62 */ } { uint_fast32_t x_20; - scanf_va_63("%lo",(unsigned long *)(& x_20)); - printf_va_63("%lo",x_20); - scanf_va_64("%lu",(unsigned long *)(& x_20)); - printf_va_64("%lu",x_20); - scanf_va_65("%lx",(unsigned long *)(& x_20)); - printf_va_65("%lx",x_20); - scanf_va_66("%lx",(unsigned long *)(& x_20)); - printf_va_66("%lX",x_20); + scanf("%lo",(unsigned long *)(& x_20)); /* scanf_va_63 */ + printf("%lo",x_20); /* printf_va_63 */ + scanf("%lu",(unsigned long *)(& x_20)); /* scanf_va_64 */ + printf("%lu",x_20); /* printf_va_64 */ + scanf("%lx",(unsigned long *)(& x_20)); /* scanf_va_65 */ + printf("%lx",x_20); /* printf_va_65 */ + scanf("%lx",(unsigned long *)(& x_20)); /* scanf_va_66 */ + printf("%lX",x_20); /* printf_va_66 */ } { int_fast64_t x_21; - scanf_va_67("%lld",(long long *)(& x_21)); - printf_va_67("%lld",x_21); - scanf_va_68("%lli",(long long *)(& x_21)); - printf_va_68("%lli",x_21); + scanf("%lld",(long long *)(& x_21)); /* scanf_va_67 */ + printf("%lld",x_21); /* printf_va_67 */ + scanf("%lli",(long long *)(& x_21)); /* scanf_va_68 */ + printf("%lli",x_21); /* printf_va_68 */ } { uint_fast64_t x_22; - scanf_va_69("%llo",(unsigned long long *)(& x_22)); - printf_va_69("%llo",x_22); - scanf_va_70("%llu",(unsigned long long *)(& x_22)); - printf_va_70("%llu",x_22); - scanf_va_71("%llx",(unsigned long long *)(& x_22)); - printf_va_71("%llx",x_22); - scanf_va_72("%llx",(unsigned long long *)(& x_22)); - printf_va_72("%llX",x_22); + scanf("%llo",(unsigned long long *)(& x_22)); /* scanf_va_69 */ + printf("%llo",x_22); /* printf_va_69 */ + scanf("%llu",(unsigned long long *)(& x_22)); /* scanf_va_70 */ + printf("%llu",x_22); /* printf_va_70 */ + scanf("%llx",(unsigned long long *)(& x_22)); /* scanf_va_71 */ + printf("%llx",x_22); /* printf_va_71 */ + scanf("%llx",(unsigned long long *)(& x_22)); /* scanf_va_72 */ + printf("%llX",x_22); /* printf_va_72 */ } { intmax_t x_23; - scanf_va_73("%lld",(long long *)(& x_23)); - printf_va_73("%lld",x_23); - scanf_va_74("%lli",(long long *)(& x_23)); - printf_va_74("%lli",x_23); + scanf("%lld",(long long *)(& x_23)); /* scanf_va_73 */ + printf("%lld",x_23); /* printf_va_73 */ + scanf("%lli",(long long *)(& x_23)); /* scanf_va_74 */ + printf("%lli",x_23); /* printf_va_74 */ } { uintmax_t x_24; - scanf_va_75("%llo",(unsigned long long *)(& x_24)); - printf_va_75("%llo",x_24); - scanf_va_76("%llu",(unsigned long long *)(& x_24)); - printf_va_76("%llu",x_24); - scanf_va_77("%llx",(unsigned long long *)(& x_24)); - printf_va_77("%llx",x_24); - scanf_va_78("%llx",(unsigned long long *)(& x_24)); - printf_va_78("%llX",x_24); + scanf("%llo",(unsigned long long *)(& x_24)); /* scanf_va_75 */ + printf("%llo",x_24); /* printf_va_75 */ + scanf("%llu",(unsigned long long *)(& x_24)); /* scanf_va_76 */ + printf("%llu",x_24); /* printf_va_76 */ + scanf("%llx",(unsigned long long *)(& x_24)); /* scanf_va_77 */ + printf("%llx",x_24); /* printf_va_77 */ + scanf("%llx",(unsigned long long *)(& x_24)); /* scanf_va_78 */ + printf("%llX",x_24); /* printf_va_78 */ } { intptr_t x_25; - scanf_va_79("%ld",(long *)(& x_25)); - printf_va_79("%ld",x_25); - scanf_va_80("%li",(long *)(& x_25)); - printf_va_80("%li",x_25); + scanf("%ld",(long *)(& x_25)); /* scanf_va_79 */ + printf("%ld",x_25); /* printf_va_79 */ + scanf("%li",(long *)(& x_25)); /* scanf_va_80 */ + printf("%li",x_25); /* printf_va_80 */ } { uintptr_t x_26; - scanf_va_81("%lo",(unsigned long *)(& x_26)); - printf_va_81("%lo",x_26); - scanf_va_82("%lu",(unsigned long *)(& x_26)); - printf_va_82("%lu",x_26); - scanf_va_83("%lx",(unsigned long *)(& x_26)); - printf_va_83("%lx",x_26); - scanf_va_84("%lx",(unsigned long *)(& x_26)); - printf_va_84("%lX",x_26); + scanf("%lo",(unsigned long *)(& x_26)); /* scanf_va_81 */ + printf("%lo",x_26); /* printf_va_81 */ + scanf("%lu",(unsigned long *)(& x_26)); /* scanf_va_82 */ + printf("%lu",x_26); /* printf_va_82 */ + scanf("%lx",(unsigned long *)(& x_26)); /* scanf_va_83 */ + printf("%lx",x_26); /* printf_va_83 */ + scanf("%lx",(unsigned long *)(& x_26)); /* scanf_va_84 */ + printf("%lX",x_26); /* printf_va_84 */ } __retres = 0; return __retres; diff --git a/tests/libc/oracle/inttypes_h.4.res.oracle b/tests/libc/oracle/inttypes_h.4.res.oracle index d369e0541c8..fcb32958224 100644 --- a/tests/libc/oracle/inttypes_h.4.res.oracle +++ b/tests/libc/oracle/inttypes_h.4.res.oracle @@ -2531,255 +2531,255 @@ int main(void) int __retres; { int8_t x; - scanf_va_1("%hhd",(signed char *)(& x)); - printf_va_1("%hhd",(int)x); - scanf_va_2("%hhi",(signed char *)(& x)); - printf_va_2("%hhi",(int)x); + scanf("%hhd",(signed char *)(& x)); /* scanf_va_1 */ + printf("%hhd",(int)x); /* printf_va_1 */ + scanf("%hhi",(signed char *)(& x)); /* scanf_va_2 */ + printf("%hhi",(int)x); /* printf_va_2 */ } { uint8_t x_0; - scanf_va_3("%hho",(unsigned char *)(& x_0)); - printf_va_3("%hho",(int)x_0); - scanf_va_4("%hhu",(unsigned char *)(& x_0)); - printf_va_4("%hhu",(int)x_0); - scanf_va_5("%hhx",(unsigned char *)(& x_0)); - printf_va_5("%hhx",(int)x_0); - scanf_va_6("%hhx",(unsigned char *)(& x_0)); - printf_va_6("%hhX",(int)x_0); + scanf("%hho",(unsigned char *)(& x_0)); /* scanf_va_3 */ + printf("%hho",(int)x_0); /* printf_va_3 */ + scanf("%hhu",(unsigned char *)(& x_0)); /* scanf_va_4 */ + printf("%hhu",(int)x_0); /* printf_va_4 */ + scanf("%hhx",(unsigned char *)(& x_0)); /* scanf_va_5 */ + printf("%hhx",(int)x_0); /* printf_va_5 */ + scanf("%hhx",(unsigned char *)(& x_0)); /* scanf_va_6 */ + printf("%hhX",(int)x_0); /* printf_va_6 */ } { int16_t x_1; - scanf_va_7("%hd",(short *)(& x_1)); - printf_va_7("%hd",(int)x_1); - scanf_va_8("%hi",(short *)(& x_1)); - printf_va_8("%hi",(int)x_1); + scanf("%hd",(short *)(& x_1)); /* scanf_va_7 */ + printf("%hd",(int)x_1); /* printf_va_7 */ + scanf("%hi",(short *)(& x_1)); /* scanf_va_8 */ + printf("%hi",(int)x_1); /* printf_va_8 */ } { uint16_t x_2; - scanf_va_9("%ho",(unsigned short *)(& x_2)); - printf_va_9("%ho",(int)x_2); - scanf_va_10("%hu",(unsigned short *)(& x_2)); - printf_va_10("%hu",(int)x_2); - scanf_va_11("%hx",(unsigned short *)(& x_2)); - printf_va_11("%hx",(int)x_2); - scanf_va_12("%hx",(unsigned short *)(& x_2)); - printf_va_12("%hX",(int)x_2); + scanf("%ho",(unsigned short *)(& x_2)); /* scanf_va_9 */ + printf("%ho",(int)x_2); /* printf_va_9 */ + scanf("%hu",(unsigned short *)(& x_2)); /* scanf_va_10 */ + printf("%hu",(int)x_2); /* printf_va_10 */ + scanf("%hx",(unsigned short *)(& x_2)); /* scanf_va_11 */ + printf("%hx",(int)x_2); /* printf_va_11 */ + scanf("%hx",(unsigned short *)(& x_2)); /* scanf_va_12 */ + printf("%hX",(int)x_2); /* printf_va_12 */ } { int32_t x_3; - scanf_va_13("%d",(int *)(& x_3)); - printf_va_13("%d",x_3); - scanf_va_14("%i",(int *)(& x_3)); - printf_va_14("%i",x_3); + scanf("%d",(int *)(& x_3)); /* scanf_va_13 */ + printf("%d",x_3); /* printf_va_13 */ + scanf("%i",(int *)(& x_3)); /* scanf_va_14 */ + printf("%i",x_3); /* printf_va_14 */ } { uint32_t x_4; - scanf_va_15("%o",(unsigned int *)(& x_4)); - printf_va_15("%o",x_4); - scanf_va_16("%u",(unsigned int *)(& x_4)); - printf_va_16("%u",x_4); - scanf_va_17("%x",(unsigned int *)(& x_4)); - printf_va_17("%x",x_4); - scanf_va_18("%x",(unsigned int *)(& x_4)); - printf_va_18("%X",x_4); + scanf("%o",(unsigned int *)(& x_4)); /* scanf_va_15 */ + printf("%o",x_4); /* printf_va_15 */ + scanf("%u",(unsigned int *)(& x_4)); /* scanf_va_16 */ + printf("%u",x_4); /* printf_va_16 */ + scanf("%x",(unsigned int *)(& x_4)); /* scanf_va_17 */ + printf("%x",x_4); /* printf_va_17 */ + scanf("%x",(unsigned int *)(& x_4)); /* scanf_va_18 */ + printf("%X",x_4); /* printf_va_18 */ } { int64_t x_5; - scanf_va_19("%lld",(long long *)(& x_5)); - printf_va_19("%lld",x_5); - scanf_va_20("%lli",(long long *)(& x_5)); - printf_va_20("%lli",x_5); + scanf("%lld",(long long *)(& x_5)); /* scanf_va_19 */ + printf("%lld",x_5); /* printf_va_19 */ + scanf("%lli",(long long *)(& x_5)); /* scanf_va_20 */ + printf("%lli",x_5); /* printf_va_20 */ } { uint64_t x_6; - scanf_va_21("%llo",(unsigned long long *)(& x_6)); - printf_va_21("%llo",x_6); - scanf_va_22("%llu",(unsigned long long *)(& x_6)); - printf_va_22("%llu",x_6); - scanf_va_23("%llx",(unsigned long long *)(& x_6)); - printf_va_23("%llx",x_6); - scanf_va_24("%llx",(unsigned long long *)(& x_6)); - printf_va_24("%llX",x_6); + scanf("%llo",(unsigned long long *)(& x_6)); /* scanf_va_21 */ + printf("%llo",x_6); /* printf_va_21 */ + scanf("%llu",(unsigned long long *)(& x_6)); /* scanf_va_22 */ + printf("%llu",x_6); /* printf_va_22 */ + scanf("%llx",(unsigned long long *)(& x_6)); /* scanf_va_23 */ + printf("%llx",x_6); /* printf_va_23 */ + scanf("%llx",(unsigned long long *)(& x_6)); /* scanf_va_24 */ + printf("%llX",x_6); /* printf_va_24 */ } { int_least8_t x_7; - scanf_va_25("%hhd",(signed char *)(& x_7)); - printf_va_25("%hhd",(int)x_7); - scanf_va_26("%hhi",(signed char *)(& x_7)); - printf_va_26("%hhi",(int)x_7); + scanf("%hhd",(signed char *)(& x_7)); /* scanf_va_25 */ + printf("%hhd",(int)x_7); /* printf_va_25 */ + scanf("%hhi",(signed char *)(& x_7)); /* scanf_va_26 */ + printf("%hhi",(int)x_7); /* printf_va_26 */ } { uint_least8_t x_8; - scanf_va_27("%hho",(unsigned char *)(& x_8)); - printf_va_27("%hho",(int)x_8); - scanf_va_28("%hhu",(unsigned char *)(& x_8)); - printf_va_28("%hhu",(int)x_8); - scanf_va_29("%hhx",(unsigned char *)(& x_8)); - printf_va_29("%hhx",(int)x_8); - scanf_va_30("%hhx",(unsigned char *)(& x_8)); - printf_va_30("%hhX",(int)x_8); + scanf("%hho",(unsigned char *)(& x_8)); /* scanf_va_27 */ + printf("%hho",(int)x_8); /* printf_va_27 */ + scanf("%hhu",(unsigned char *)(& x_8)); /* scanf_va_28 */ + printf("%hhu",(int)x_8); /* printf_va_28 */ + scanf("%hhx",(unsigned char *)(& x_8)); /* scanf_va_29 */ + printf("%hhx",(int)x_8); /* printf_va_29 */ + scanf("%hhx",(unsigned char *)(& x_8)); /* scanf_va_30 */ + printf("%hhX",(int)x_8); /* printf_va_30 */ } { int_least16_t x_9; - scanf_va_31("%hd",(short *)(& x_9)); - printf_va_31("%hd",(int)x_9); - scanf_va_32("%hi",(short *)(& x_9)); - printf_va_32("%hi",(int)x_9); + scanf("%hd",(short *)(& x_9)); /* scanf_va_31 */ + printf("%hd",(int)x_9); /* printf_va_31 */ + scanf("%hi",(short *)(& x_9)); /* scanf_va_32 */ + printf("%hi",(int)x_9); /* printf_va_32 */ } { uint_least16_t x_10; - scanf_va_33("%ho",(unsigned short *)(& x_10)); - printf_va_33("%ho",(int)x_10); - scanf_va_34("%hu",(unsigned short *)(& x_10)); - printf_va_34("%hu",(int)x_10); - scanf_va_35("%hx",(unsigned short *)(& x_10)); - printf_va_35("%hx",(int)x_10); - scanf_va_36("%hx",(unsigned short *)(& x_10)); - printf_va_36("%hX",(int)x_10); + scanf("%ho",(unsigned short *)(& x_10)); /* scanf_va_33 */ + printf("%ho",(int)x_10); /* printf_va_33 */ + scanf("%hu",(unsigned short *)(& x_10)); /* scanf_va_34 */ + printf("%hu",(int)x_10); /* printf_va_34 */ + scanf("%hx",(unsigned short *)(& x_10)); /* scanf_va_35 */ + printf("%hx",(int)x_10); /* printf_va_35 */ + scanf("%hx",(unsigned short *)(& x_10)); /* scanf_va_36 */ + printf("%hX",(int)x_10); /* printf_va_36 */ } { int_least32_t x_11; - scanf_va_37("%d",(int *)(& x_11)); - printf_va_37("%d",x_11); - scanf_va_38("%i",(int *)(& x_11)); - printf_va_38("%i",x_11); + scanf("%d",(int *)(& x_11)); /* scanf_va_37 */ + printf("%d",x_11); /* printf_va_37 */ + scanf("%i",(int *)(& x_11)); /* scanf_va_38 */ + printf("%i",x_11); /* printf_va_38 */ } { uint_least32_t x_12; - scanf_va_39("%o",(unsigned int *)(& x_12)); - printf_va_39("%o",x_12); - scanf_va_40("%u",(unsigned int *)(& x_12)); - printf_va_40("%u",x_12); - scanf_va_41("%x",(unsigned int *)(& x_12)); - printf_va_41("%x",x_12); - scanf_va_42("%x",(unsigned int *)(& x_12)); - printf_va_42("%X",x_12); + scanf("%o",(unsigned int *)(& x_12)); /* scanf_va_39 */ + printf("%o",x_12); /* printf_va_39 */ + scanf("%u",(unsigned int *)(& x_12)); /* scanf_va_40 */ + printf("%u",x_12); /* printf_va_40 */ + scanf("%x",(unsigned int *)(& x_12)); /* scanf_va_41 */ + printf("%x",x_12); /* printf_va_41 */ + scanf("%x",(unsigned int *)(& x_12)); /* scanf_va_42 */ + printf("%X",x_12); /* printf_va_42 */ } { int_least64_t x_13; - scanf_va_43("%lld",(long long *)(& x_13)); - printf_va_43("%lld",x_13); - scanf_va_44("%lli",(long long *)(& x_13)); - printf_va_44("%lli",x_13); + scanf("%lld",(long long *)(& x_13)); /* scanf_va_43 */ + printf("%lld",x_13); /* printf_va_43 */ + scanf("%lli",(long long *)(& x_13)); /* scanf_va_44 */ + printf("%lli",x_13); /* printf_va_44 */ } { uint_least64_t x_14; - scanf_va_45("%llo",(unsigned long long *)(& x_14)); - printf_va_45("%llo",x_14); - scanf_va_46("%llu",(unsigned long long *)(& x_14)); - printf_va_46("%llu",x_14); - scanf_va_47("%llx",(unsigned long long *)(& x_14)); - printf_va_47("%llx",x_14); - scanf_va_48("%llx",(unsigned long long *)(& x_14)); - printf_va_48("%llX",x_14); + scanf("%llo",(unsigned long long *)(& x_14)); /* scanf_va_45 */ + printf("%llo",x_14); /* printf_va_45 */ + scanf("%llu",(unsigned long long *)(& x_14)); /* scanf_va_46 */ + printf("%llu",x_14); /* printf_va_46 */ + scanf("%llx",(unsigned long long *)(& x_14)); /* scanf_va_47 */ + printf("%llx",x_14); /* printf_va_47 */ + scanf("%llx",(unsigned long long *)(& x_14)); /* scanf_va_48 */ + printf("%llX",x_14); /* printf_va_48 */ } { int_fast8_t x_15; - scanf_va_49("%hhd",(signed char *)(& x_15)); - printf_va_49("%hhd",(int)x_15); - scanf_va_50("%hhi",(signed char *)(& x_15)); - printf_va_50("%hhi",(int)x_15); + scanf("%hhd",(signed char *)(& x_15)); /* scanf_va_49 */ + printf("%hhd",(int)x_15); /* printf_va_49 */ + scanf("%hhi",(signed char *)(& x_15)); /* scanf_va_50 */ + printf("%hhi",(int)x_15); /* printf_va_50 */ } { uint_fast8_t x_16; - scanf_va_51("%hho",(unsigned char *)(& x_16)); - printf_va_51("%hho",(int)x_16); - scanf_va_52("%hhu",(unsigned char *)(& x_16)); - printf_va_52("%hhu",(int)x_16); - scanf_va_53("%hhx",(unsigned char *)(& x_16)); - printf_va_53("%hhx",(int)x_16); - scanf_va_54("%hhx",(unsigned char *)(& x_16)); - printf_va_54("%hhX",(int)x_16); + scanf("%hho",(unsigned char *)(& x_16)); /* scanf_va_51 */ + printf("%hho",(int)x_16); /* printf_va_51 */ + scanf("%hhu",(unsigned char *)(& x_16)); /* scanf_va_52 */ + printf("%hhu",(int)x_16); /* printf_va_52 */ + scanf("%hhx",(unsigned char *)(& x_16)); /* scanf_va_53 */ + printf("%hhx",(int)x_16); /* printf_va_53 */ + scanf("%hhx",(unsigned char *)(& x_16)); /* scanf_va_54 */ + printf("%hhX",(int)x_16); /* printf_va_54 */ } { int_fast16_t x_17; - scanf_va_55("%d",(int *)(& x_17)); - printf_va_55("%d",x_17); - scanf_va_56("%i",(int *)(& x_17)); - printf_va_56("%i",x_17); + scanf("%d",(int *)(& x_17)); /* scanf_va_55 */ + printf("%d",x_17); /* printf_va_55 */ + scanf("%i",(int *)(& x_17)); /* scanf_va_56 */ + printf("%i",x_17); /* printf_va_56 */ } { uint_fast16_t x_18; - scanf_va_57("%o",(unsigned int *)(& x_18)); - printf_va_57("%o",x_18); - scanf_va_58("%u",(unsigned int *)(& x_18)); - printf_va_58("%u",x_18); - scanf_va_59("%x",(unsigned int *)(& x_18)); - printf_va_59("%x",x_18); - scanf_va_60("%x",(unsigned int *)(& x_18)); - printf_va_60("%X",x_18); + scanf("%o",(unsigned int *)(& x_18)); /* scanf_va_57 */ + printf("%o",x_18); /* printf_va_57 */ + scanf("%u",(unsigned int *)(& x_18)); /* scanf_va_58 */ + printf("%u",x_18); /* printf_va_58 */ + scanf("%x",(unsigned int *)(& x_18)); /* scanf_va_59 */ + printf("%x",x_18); /* printf_va_59 */ + scanf("%x",(unsigned int *)(& x_18)); /* scanf_va_60 */ + printf("%X",x_18); /* printf_va_60 */ } { int_fast32_t x_19; - scanf_va_61("%d",(int *)(& x_19)); - printf_va_61("%d",x_19); - scanf_va_62("%i",(int *)(& x_19)); - printf_va_62("%i",x_19); + scanf("%d",(int *)(& x_19)); /* scanf_va_61 */ + printf("%d",x_19); /* printf_va_61 */ + scanf("%i",(int *)(& x_19)); /* scanf_va_62 */ + printf("%i",x_19); /* printf_va_62 */ } { uint_fast32_t x_20; - scanf_va_63("%o",(unsigned int *)(& x_20)); - printf_va_63("%o",x_20); - scanf_va_64("%u",(unsigned int *)(& x_20)); - printf_va_64("%u",x_20); - scanf_va_65("%x",(unsigned int *)(& x_20)); - printf_va_65("%x",x_20); - scanf_va_66("%x",(unsigned int *)(& x_20)); - printf_va_66("%X",x_20); + scanf("%o",(unsigned int *)(& x_20)); /* scanf_va_63 */ + printf("%o",x_20); /* printf_va_63 */ + scanf("%u",(unsigned int *)(& x_20)); /* scanf_va_64 */ + printf("%u",x_20); /* printf_va_64 */ + scanf("%x",(unsigned int *)(& x_20)); /* scanf_va_65 */ + printf("%x",x_20); /* printf_va_65 */ + scanf("%x",(unsigned int *)(& x_20)); /* scanf_va_66 */ + printf("%X",x_20); /* printf_va_66 */ } { int_fast64_t x_21; - scanf_va_67("%lld",(long long *)(& x_21)); - printf_va_67("%lld",x_21); - scanf_va_68("%lli",(long long *)(& x_21)); - printf_va_68("%lli",x_21); + scanf("%lld",(long long *)(& x_21)); /* scanf_va_67 */ + printf("%lld",x_21); /* printf_va_67 */ + scanf("%lli",(long long *)(& x_21)); /* scanf_va_68 */ + printf("%lli",x_21); /* printf_va_68 */ } { uint_fast64_t x_22; - scanf_va_69("%llo",(unsigned long long *)(& x_22)); - printf_va_69("%llo",x_22); - scanf_va_70("%llu",(unsigned long long *)(& x_22)); - printf_va_70("%llu",x_22); - scanf_va_71("%llx",(unsigned long long *)(& x_22)); - printf_va_71("%llx",x_22); - scanf_va_72("%llx",(unsigned long long *)(& x_22)); - printf_va_72("%llX",x_22); + scanf("%llo",(unsigned long long *)(& x_22)); /* scanf_va_69 */ + printf("%llo",x_22); /* printf_va_69 */ + scanf("%llu",(unsigned long long *)(& x_22)); /* scanf_va_70 */ + printf("%llu",x_22); /* printf_va_70 */ + scanf("%llx",(unsigned long long *)(& x_22)); /* scanf_va_71 */ + printf("%llx",x_22); /* printf_va_71 */ + scanf("%llx",(unsigned long long *)(& x_22)); /* scanf_va_72 */ + printf("%llX",x_22); /* printf_va_72 */ } { intmax_t x_23; - scanf_va_73("%lld",(long long *)(& x_23)); - printf_va_73("%lld",x_23); - scanf_va_74("%lli",(long long *)(& x_23)); - printf_va_74("%lli",x_23); + scanf("%lld",(long long *)(& x_23)); /* scanf_va_73 */ + printf("%lld",x_23); /* printf_va_73 */ + scanf("%lli",(long long *)(& x_23)); /* scanf_va_74 */ + printf("%lli",x_23); /* printf_va_74 */ } { uintmax_t x_24; - scanf_va_75("%llo",(unsigned long long *)(& x_24)); - printf_va_75("%llo",x_24); - scanf_va_76("%llu",(unsigned long long *)(& x_24)); - printf_va_76("%llu",x_24); - scanf_va_77("%llx",(unsigned long long *)(& x_24)); - printf_va_77("%llx",x_24); - scanf_va_78("%llx",(unsigned long long *)(& x_24)); - printf_va_78("%llX",x_24); + scanf("%llo",(unsigned long long *)(& x_24)); /* scanf_va_75 */ + printf("%llo",x_24); /* printf_va_75 */ + scanf("%llu",(unsigned long long *)(& x_24)); /* scanf_va_76 */ + printf("%llu",x_24); /* printf_va_76 */ + scanf("%llx",(unsigned long long *)(& x_24)); /* scanf_va_77 */ + printf("%llx",x_24); /* printf_va_77 */ + scanf("%llx",(unsigned long long *)(& x_24)); /* scanf_va_78 */ + printf("%llX",x_24); /* printf_va_78 */ } { intptr_t x_25; - scanf_va_79("%d",(int *)(& x_25)); - printf_va_79("%d",x_25); - scanf_va_80("%i",(int *)(& x_25)); - printf_va_80("%i",x_25); + scanf("%d",(int *)(& x_25)); /* scanf_va_79 */ + printf("%d",x_25); /* printf_va_79 */ + scanf("%i",(int *)(& x_25)); /* scanf_va_80 */ + printf("%i",x_25); /* printf_va_80 */ } { uintptr_t x_26; - scanf_va_81("%o",(unsigned int *)(& x_26)); - printf_va_81("%o",x_26); - scanf_va_82("%u",(unsigned int *)(& x_26)); - printf_va_82("%u",x_26); - scanf_va_83("%x",(unsigned int *)(& x_26)); - printf_va_83("%x",x_26); - scanf_va_84("%x",(unsigned int *)(& x_26)); - printf_va_84("%X",x_26); + scanf("%o",(unsigned int *)(& x_26)); /* scanf_va_81 */ + printf("%o",x_26); /* printf_va_81 */ + scanf("%u",(unsigned int *)(& x_26)); /* scanf_va_82 */ + printf("%u",x_26); /* printf_va_82 */ + scanf("%x",(unsigned int *)(& x_26)); /* scanf_va_83 */ + printf("%x",x_26); /* printf_va_83 */ + scanf("%x",(unsigned int *)(& x_26)); /* scanf_va_84 */ + printf("%X",x_26); /* printf_va_84 */ } __retres = 0; return __retres; diff --git a/tests/libc/oracle/inttypes_h.5.res.oracle b/tests/libc/oracle/inttypes_h.5.res.oracle index 0270a3902c6..d6d6d590fdd 100644 --- a/tests/libc/oracle/inttypes_h.5.res.oracle +++ b/tests/libc/oracle/inttypes_h.5.res.oracle @@ -2531,255 +2531,255 @@ int main(void) int __retres; { int8_t x; - scanf_va_1("%hhd",(signed char *)(& x)); - printf_va_1("%hhd",(int)x); - scanf_va_2("%hhi",(signed char *)(& x)); - printf_va_2("%hhi",(int)x); + scanf("%hhd",(signed char *)(& x)); /* scanf_va_1 */ + printf("%hhd",(int)x); /* printf_va_1 */ + scanf("%hhi",(signed char *)(& x)); /* scanf_va_2 */ + printf("%hhi",(int)x); /* printf_va_2 */ } { uint8_t x_0; - scanf_va_3("%hho",(unsigned char *)(& x_0)); - printf_va_3("%hho",(int)x_0); - scanf_va_4("%hhu",(unsigned char *)(& x_0)); - printf_va_4("%hhu",(int)x_0); - scanf_va_5("%hhx",(unsigned char *)(& x_0)); - printf_va_5("%hhx",(int)x_0); - scanf_va_6("%hhx",(unsigned char *)(& x_0)); - printf_va_6("%hhX",(int)x_0); + scanf("%hho",(unsigned char *)(& x_0)); /* scanf_va_3 */ + printf("%hho",(int)x_0); /* printf_va_3 */ + scanf("%hhu",(unsigned char *)(& x_0)); /* scanf_va_4 */ + printf("%hhu",(int)x_0); /* printf_va_4 */ + scanf("%hhx",(unsigned char *)(& x_0)); /* scanf_va_5 */ + printf("%hhx",(int)x_0); /* printf_va_5 */ + scanf("%hhx",(unsigned char *)(& x_0)); /* scanf_va_6 */ + printf("%hhX",(int)x_0); /* printf_va_6 */ } { int16_t x_1; - scanf_va_7("%hd",(short *)(& x_1)); - printf_va_7("%hd",(int)x_1); - scanf_va_8("%hi",(short *)(& x_1)); - printf_va_8("%hi",(int)x_1); + scanf("%hd",(short *)(& x_1)); /* scanf_va_7 */ + printf("%hd",(int)x_1); /* printf_va_7 */ + scanf("%hi",(short *)(& x_1)); /* scanf_va_8 */ + printf("%hi",(int)x_1); /* printf_va_8 */ } { uint16_t x_2; - scanf_va_9("%ho",(unsigned short *)(& x_2)); - printf_va_9("%ho",(int)x_2); - scanf_va_10("%hu",(unsigned short *)(& x_2)); - printf_va_10("%hu",(int)x_2); - scanf_va_11("%hx",(unsigned short *)(& x_2)); - printf_va_11("%hx",(int)x_2); - scanf_va_12("%hx",(unsigned short *)(& x_2)); - printf_va_12("%hX",(int)x_2); + scanf("%ho",(unsigned short *)(& x_2)); /* scanf_va_9 */ + printf("%ho",(int)x_2); /* printf_va_9 */ + scanf("%hu",(unsigned short *)(& x_2)); /* scanf_va_10 */ + printf("%hu",(int)x_2); /* printf_va_10 */ + scanf("%hx",(unsigned short *)(& x_2)); /* scanf_va_11 */ + printf("%hx",(int)x_2); /* printf_va_11 */ + scanf("%hx",(unsigned short *)(& x_2)); /* scanf_va_12 */ + printf("%hX",(int)x_2); /* printf_va_12 */ } { int32_t x_3; - scanf_va_13("%d",(int *)(& x_3)); - printf_va_13("%d",x_3); - scanf_va_14("%i",(int *)(& x_3)); - printf_va_14("%i",x_3); + scanf("%d",(int *)(& x_3)); /* scanf_va_13 */ + printf("%d",x_3); /* printf_va_13 */ + scanf("%i",(int *)(& x_3)); /* scanf_va_14 */ + printf("%i",x_3); /* printf_va_14 */ } { uint32_t x_4; - scanf_va_15("%o",(unsigned int *)(& x_4)); - printf_va_15("%o",x_4); - scanf_va_16("%u",(unsigned int *)(& x_4)); - printf_va_16("%u",x_4); - scanf_va_17("%x",(unsigned int *)(& x_4)); - printf_va_17("%x",x_4); - scanf_va_18("%x",(unsigned int *)(& x_4)); - printf_va_18("%X",x_4); + scanf("%o",(unsigned int *)(& x_4)); /* scanf_va_15 */ + printf("%o",x_4); /* printf_va_15 */ + scanf("%u",(unsigned int *)(& x_4)); /* scanf_va_16 */ + printf("%u",x_4); /* printf_va_16 */ + scanf("%x",(unsigned int *)(& x_4)); /* scanf_va_17 */ + printf("%x",x_4); /* printf_va_17 */ + scanf("%x",(unsigned int *)(& x_4)); /* scanf_va_18 */ + printf("%X",x_4); /* printf_va_18 */ } { int64_t x_5; - scanf_va_19("%ld",(long *)(& x_5)); - printf_va_19("%ld",x_5); - scanf_va_20("%li",(long *)(& x_5)); - printf_va_20("%li",x_5); + scanf("%ld",(long *)(& x_5)); /* scanf_va_19 */ + printf("%ld",x_5); /* printf_va_19 */ + scanf("%li",(long *)(& x_5)); /* scanf_va_20 */ + printf("%li",x_5); /* printf_va_20 */ } { uint64_t x_6; - scanf_va_21("%lo",(unsigned long *)(& x_6)); - printf_va_21("%lo",x_6); - scanf_va_22("%lu",(unsigned long *)(& x_6)); - printf_va_22("%lu",x_6); - scanf_va_23("%lx",(unsigned long *)(& x_6)); - printf_va_23("%lx",x_6); - scanf_va_24("%lx",(unsigned long *)(& x_6)); - printf_va_24("%lX",x_6); + scanf("%lo",(unsigned long *)(& x_6)); /* scanf_va_21 */ + printf("%lo",x_6); /* printf_va_21 */ + scanf("%lu",(unsigned long *)(& x_6)); /* scanf_va_22 */ + printf("%lu",x_6); /* printf_va_22 */ + scanf("%lx",(unsigned long *)(& x_6)); /* scanf_va_23 */ + printf("%lx",x_6); /* printf_va_23 */ + scanf("%lx",(unsigned long *)(& x_6)); /* scanf_va_24 */ + printf("%lX",x_6); /* printf_va_24 */ } { int_least8_t x_7; - scanf_va_25("%hhd",(signed char *)(& x_7)); - printf_va_25("%hhd",(int)x_7); - scanf_va_26("%hhi",(signed char *)(& x_7)); - printf_va_26("%hhi",(int)x_7); + scanf("%hhd",(signed char *)(& x_7)); /* scanf_va_25 */ + printf("%hhd",(int)x_7); /* printf_va_25 */ + scanf("%hhi",(signed char *)(& x_7)); /* scanf_va_26 */ + printf("%hhi",(int)x_7); /* printf_va_26 */ } { uint_least8_t x_8; - scanf_va_27("%hho",(unsigned char *)(& x_8)); - printf_va_27("%hho",(int)x_8); - scanf_va_28("%hhu",(unsigned char *)(& x_8)); - printf_va_28("%hhu",(int)x_8); - scanf_va_29("%hhx",(unsigned char *)(& x_8)); - printf_va_29("%hhx",(int)x_8); - scanf_va_30("%hhx",(unsigned char *)(& x_8)); - printf_va_30("%hhX",(int)x_8); + scanf("%hho",(unsigned char *)(& x_8)); /* scanf_va_27 */ + printf("%hho",(int)x_8); /* printf_va_27 */ + scanf("%hhu",(unsigned char *)(& x_8)); /* scanf_va_28 */ + printf("%hhu",(int)x_8); /* printf_va_28 */ + scanf("%hhx",(unsigned char *)(& x_8)); /* scanf_va_29 */ + printf("%hhx",(int)x_8); /* printf_va_29 */ + scanf("%hhx",(unsigned char *)(& x_8)); /* scanf_va_30 */ + printf("%hhX",(int)x_8); /* printf_va_30 */ } { int_least16_t x_9; - scanf_va_31("%hd",(short *)(& x_9)); - printf_va_31("%hd",(int)x_9); - scanf_va_32("%hi",(short *)(& x_9)); - printf_va_32("%hi",(int)x_9); + scanf("%hd",(short *)(& x_9)); /* scanf_va_31 */ + printf("%hd",(int)x_9); /* printf_va_31 */ + scanf("%hi",(short *)(& x_9)); /* scanf_va_32 */ + printf("%hi",(int)x_9); /* printf_va_32 */ } { uint_least16_t x_10; - scanf_va_33("%ho",(unsigned short *)(& x_10)); - printf_va_33("%ho",(int)x_10); - scanf_va_34("%hu",(unsigned short *)(& x_10)); - printf_va_34("%hu",(int)x_10); - scanf_va_35("%hx",(unsigned short *)(& x_10)); - printf_va_35("%hx",(int)x_10); - scanf_va_36("%hx",(unsigned short *)(& x_10)); - printf_va_36("%hX",(int)x_10); + scanf("%ho",(unsigned short *)(& x_10)); /* scanf_va_33 */ + printf("%ho",(int)x_10); /* printf_va_33 */ + scanf("%hu",(unsigned short *)(& x_10)); /* scanf_va_34 */ + printf("%hu",(int)x_10); /* printf_va_34 */ + scanf("%hx",(unsigned short *)(& x_10)); /* scanf_va_35 */ + printf("%hx",(int)x_10); /* printf_va_35 */ + scanf("%hx",(unsigned short *)(& x_10)); /* scanf_va_36 */ + printf("%hX",(int)x_10); /* printf_va_36 */ } { int_least32_t x_11; - scanf_va_37("%d",(int *)(& x_11)); - printf_va_37("%d",x_11); - scanf_va_38("%i",(int *)(& x_11)); - printf_va_38("%i",x_11); + scanf("%d",(int *)(& x_11)); /* scanf_va_37 */ + printf("%d",x_11); /* printf_va_37 */ + scanf("%i",(int *)(& x_11)); /* scanf_va_38 */ + printf("%i",x_11); /* printf_va_38 */ } { uint_least32_t x_12; - scanf_va_39("%o",(unsigned int *)(& x_12)); - printf_va_39("%o",x_12); - scanf_va_40("%u",(unsigned int *)(& x_12)); - printf_va_40("%u",x_12); - scanf_va_41("%x",(unsigned int *)(& x_12)); - printf_va_41("%x",x_12); - scanf_va_42("%x",(unsigned int *)(& x_12)); - printf_va_42("%X",x_12); + scanf("%o",(unsigned int *)(& x_12)); /* scanf_va_39 */ + printf("%o",x_12); /* printf_va_39 */ + scanf("%u",(unsigned int *)(& x_12)); /* scanf_va_40 */ + printf("%u",x_12); /* printf_va_40 */ + scanf("%x",(unsigned int *)(& x_12)); /* scanf_va_41 */ + printf("%x",x_12); /* printf_va_41 */ + scanf("%x",(unsigned int *)(& x_12)); /* scanf_va_42 */ + printf("%X",x_12); /* printf_va_42 */ } { int_least64_t x_13; - scanf_va_43("%ld",(long *)(& x_13)); - printf_va_43("%ld",x_13); - scanf_va_44("%li",(long *)(& x_13)); - printf_va_44("%li",x_13); + scanf("%ld",(long *)(& x_13)); /* scanf_va_43 */ + printf("%ld",x_13); /* printf_va_43 */ + scanf("%li",(long *)(& x_13)); /* scanf_va_44 */ + printf("%li",x_13); /* printf_va_44 */ } { uint_least64_t x_14; - scanf_va_45("%lo",(unsigned long *)(& x_14)); - printf_va_45("%lo",x_14); - scanf_va_46("%lu",(unsigned long *)(& x_14)); - printf_va_46("%lu",x_14); - scanf_va_47("%lx",(unsigned long *)(& x_14)); - printf_va_47("%lx",x_14); - scanf_va_48("%lx",(unsigned long *)(& x_14)); - printf_va_48("%lX",x_14); + scanf("%lo",(unsigned long *)(& x_14)); /* scanf_va_45 */ + printf("%lo",x_14); /* printf_va_45 */ + scanf("%lu",(unsigned long *)(& x_14)); /* scanf_va_46 */ + printf("%lu",x_14); /* printf_va_46 */ + scanf("%lx",(unsigned long *)(& x_14)); /* scanf_va_47 */ + printf("%lx",x_14); /* printf_va_47 */ + scanf("%lx",(unsigned long *)(& x_14)); /* scanf_va_48 */ + printf("%lX",x_14); /* printf_va_48 */ } { int_fast8_t x_15; - scanf_va_49("%hhd",(signed char *)(& x_15)); - printf_va_49("%hhd",(int)x_15); - scanf_va_50("%hhi",(signed char *)(& x_15)); - printf_va_50("%hhi",(int)x_15); + scanf("%hhd",(signed char *)(& x_15)); /* scanf_va_49 */ + printf("%hhd",(int)x_15); /* printf_va_49 */ + scanf("%hhi",(signed char *)(& x_15)); /* scanf_va_50 */ + printf("%hhi",(int)x_15); /* printf_va_50 */ } { uint_fast8_t x_16; - scanf_va_51("%hho",(unsigned char *)(& x_16)); - printf_va_51("%hho",(int)x_16); - scanf_va_52("%hhu",(unsigned char *)(& x_16)); - printf_va_52("%hhu",(int)x_16); - scanf_va_53("%hhx",(unsigned char *)(& x_16)); - printf_va_53("%hhx",(int)x_16); - scanf_va_54("%hhx",(unsigned char *)(& x_16)); - printf_va_54("%hhX",(int)x_16); + scanf("%hho",(unsigned char *)(& x_16)); /* scanf_va_51 */ + printf("%hho",(int)x_16); /* printf_va_51 */ + scanf("%hhu",(unsigned char *)(& x_16)); /* scanf_va_52 */ + printf("%hhu",(int)x_16); /* printf_va_52 */ + scanf("%hhx",(unsigned char *)(& x_16)); /* scanf_va_53 */ + printf("%hhx",(int)x_16); /* printf_va_53 */ + scanf("%hhx",(unsigned char *)(& x_16)); /* scanf_va_54 */ + printf("%hhX",(int)x_16); /* printf_va_54 */ } { int_fast16_t x_17; - scanf_va_55("%d",(int *)(& x_17)); - printf_va_55("%d",x_17); - scanf_va_56("%i",(int *)(& x_17)); - printf_va_56("%i",x_17); + scanf("%d",(int *)(& x_17)); /* scanf_va_55 */ + printf("%d",x_17); /* printf_va_55 */ + scanf("%i",(int *)(& x_17)); /* scanf_va_56 */ + printf("%i",x_17); /* printf_va_56 */ } { uint_fast16_t x_18; - scanf_va_57("%o",(unsigned int *)(& x_18)); - printf_va_57("%o",x_18); - scanf_va_58("%u",(unsigned int *)(& x_18)); - printf_va_58("%u",x_18); - scanf_va_59("%x",(unsigned int *)(& x_18)); - printf_va_59("%x",x_18); - scanf_va_60("%x",(unsigned int *)(& x_18)); - printf_va_60("%X",x_18); + scanf("%o",(unsigned int *)(& x_18)); /* scanf_va_57 */ + printf("%o",x_18); /* printf_va_57 */ + scanf("%u",(unsigned int *)(& x_18)); /* scanf_va_58 */ + printf("%u",x_18); /* printf_va_58 */ + scanf("%x",(unsigned int *)(& x_18)); /* scanf_va_59 */ + printf("%x",x_18); /* printf_va_59 */ + scanf("%x",(unsigned int *)(& x_18)); /* scanf_va_60 */ + printf("%X",x_18); /* printf_va_60 */ } { int_fast32_t x_19; - scanf_va_61("%d",(int *)(& x_19)); - printf_va_61("%d",x_19); - scanf_va_62("%i",(int *)(& x_19)); - printf_va_62("%i",x_19); + scanf("%d",(int *)(& x_19)); /* scanf_va_61 */ + printf("%d",x_19); /* printf_va_61 */ + scanf("%i",(int *)(& x_19)); /* scanf_va_62 */ + printf("%i",x_19); /* printf_va_62 */ } { uint_fast32_t x_20; - scanf_va_63("%o",(unsigned int *)(& x_20)); - printf_va_63("%o",x_20); - scanf_va_64("%u",(unsigned int *)(& x_20)); - printf_va_64("%u",x_20); - scanf_va_65("%x",(unsigned int *)(& x_20)); - printf_va_65("%x",x_20); - scanf_va_66("%x",(unsigned int *)(& x_20)); - printf_va_66("%X",x_20); + scanf("%o",(unsigned int *)(& x_20)); /* scanf_va_63 */ + printf("%o",x_20); /* printf_va_63 */ + scanf("%u",(unsigned int *)(& x_20)); /* scanf_va_64 */ + printf("%u",x_20); /* printf_va_64 */ + scanf("%x",(unsigned int *)(& x_20)); /* scanf_va_65 */ + printf("%x",x_20); /* printf_va_65 */ + scanf("%x",(unsigned int *)(& x_20)); /* scanf_va_66 */ + printf("%X",x_20); /* printf_va_66 */ } { int_fast64_t x_21; - scanf_va_67("%ld",(long *)(& x_21)); - printf_va_67("%ld",x_21); - scanf_va_68("%li",(long *)(& x_21)); - printf_va_68("%li",x_21); + scanf("%ld",(long *)(& x_21)); /* scanf_va_67 */ + printf("%ld",x_21); /* printf_va_67 */ + scanf("%li",(long *)(& x_21)); /* scanf_va_68 */ + printf("%li",x_21); /* printf_va_68 */ } { uint_fast64_t x_22; - scanf_va_69("%lo",(unsigned long *)(& x_22)); - printf_va_69("%lo",x_22); - scanf_va_70("%lu",(unsigned long *)(& x_22)); - printf_va_70("%lu",x_22); - scanf_va_71("%lx",(unsigned long *)(& x_22)); - printf_va_71("%lx",x_22); - scanf_va_72("%lx",(unsigned long *)(& x_22)); - printf_va_72("%lX",x_22); + scanf("%lo",(unsigned long *)(& x_22)); /* scanf_va_69 */ + printf("%lo",x_22); /* printf_va_69 */ + scanf("%lu",(unsigned long *)(& x_22)); /* scanf_va_70 */ + printf("%lu",x_22); /* printf_va_70 */ + scanf("%lx",(unsigned long *)(& x_22)); /* scanf_va_71 */ + printf("%lx",x_22); /* printf_va_71 */ + scanf("%lx",(unsigned long *)(& x_22)); /* scanf_va_72 */ + printf("%lX",x_22); /* printf_va_72 */ } { intmax_t x_23; - scanf_va_73("%lld",(long long *)(& x_23)); - printf_va_73("%lld",x_23); - scanf_va_74("%lli",(long long *)(& x_23)); - printf_va_74("%lli",x_23); + scanf("%lld",(long long *)(& x_23)); /* scanf_va_73 */ + printf("%lld",x_23); /* printf_va_73 */ + scanf("%lli",(long long *)(& x_23)); /* scanf_va_74 */ + printf("%lli",x_23); /* printf_va_74 */ } { uintmax_t x_24; - scanf_va_75("%llo",(unsigned long long *)(& x_24)); - printf_va_75("%llo",x_24); - scanf_va_76("%llu",(unsigned long long *)(& x_24)); - printf_va_76("%llu",x_24); - scanf_va_77("%llx",(unsigned long long *)(& x_24)); - printf_va_77("%llx",x_24); - scanf_va_78("%llx",(unsigned long long *)(& x_24)); - printf_va_78("%llX",x_24); + scanf("%llo",(unsigned long long *)(& x_24)); /* scanf_va_75 */ + printf("%llo",x_24); /* printf_va_75 */ + scanf("%llu",(unsigned long long *)(& x_24)); /* scanf_va_76 */ + printf("%llu",x_24); /* printf_va_76 */ + scanf("%llx",(unsigned long long *)(& x_24)); /* scanf_va_77 */ + printf("%llx",x_24); /* printf_va_77 */ + scanf("%llx",(unsigned long long *)(& x_24)); /* scanf_va_78 */ + printf("%llX",x_24); /* printf_va_78 */ } { intptr_t x_25; - scanf_va_79("%ld",(long *)(& x_25)); - printf_va_79("%ld",x_25); - scanf_va_80("%li",(long *)(& x_25)); - printf_va_80("%li",x_25); + scanf("%ld",(long *)(& x_25)); /* scanf_va_79 */ + printf("%ld",x_25); /* printf_va_79 */ + scanf("%li",(long *)(& x_25)); /* scanf_va_80 */ + printf("%li",x_25); /* printf_va_80 */ } { uintptr_t x_26; - scanf_va_81("%lo",(unsigned long *)(& x_26)); - printf_va_81("%lo",x_26); - scanf_va_82("%lu",(unsigned long *)(& x_26)); - printf_va_82("%lu",x_26); - scanf_va_83("%lx",(unsigned long *)(& x_26)); - printf_va_83("%lx",x_26); - scanf_va_84("%lx",(unsigned long *)(& x_26)); - printf_va_84("%lX",x_26); + scanf("%lo",(unsigned long *)(& x_26)); /* scanf_va_81 */ + printf("%lo",x_26); /* printf_va_81 */ + scanf("%lu",(unsigned long *)(& x_26)); /* scanf_va_82 */ + printf("%lu",x_26); /* printf_va_82 */ + scanf("%lx",(unsigned long *)(& x_26)); /* scanf_va_83 */ + printf("%lx",x_26); /* printf_va_83 */ + scanf("%lx",(unsigned long *)(& x_26)); /* scanf_va_84 */ + printf("%lX",x_26); /* printf_va_84 */ } __retres = 0; return __retres; diff --git a/tests/libc/oracle/inttypes_h.6.res.oracle b/tests/libc/oracle/inttypes_h.6.res.oracle index d369e0541c8..fcb32958224 100644 --- a/tests/libc/oracle/inttypes_h.6.res.oracle +++ b/tests/libc/oracle/inttypes_h.6.res.oracle @@ -2531,255 +2531,255 @@ int main(void) int __retres; { int8_t x; - scanf_va_1("%hhd",(signed char *)(& x)); - printf_va_1("%hhd",(int)x); - scanf_va_2("%hhi",(signed char *)(& x)); - printf_va_2("%hhi",(int)x); + scanf("%hhd",(signed char *)(& x)); /* scanf_va_1 */ + printf("%hhd",(int)x); /* printf_va_1 */ + scanf("%hhi",(signed char *)(& x)); /* scanf_va_2 */ + printf("%hhi",(int)x); /* printf_va_2 */ } { uint8_t x_0; - scanf_va_3("%hho",(unsigned char *)(& x_0)); - printf_va_3("%hho",(int)x_0); - scanf_va_4("%hhu",(unsigned char *)(& x_0)); - printf_va_4("%hhu",(int)x_0); - scanf_va_5("%hhx",(unsigned char *)(& x_0)); - printf_va_5("%hhx",(int)x_0); - scanf_va_6("%hhx",(unsigned char *)(& x_0)); - printf_va_6("%hhX",(int)x_0); + scanf("%hho",(unsigned char *)(& x_0)); /* scanf_va_3 */ + printf("%hho",(int)x_0); /* printf_va_3 */ + scanf("%hhu",(unsigned char *)(& x_0)); /* scanf_va_4 */ + printf("%hhu",(int)x_0); /* printf_va_4 */ + scanf("%hhx",(unsigned char *)(& x_0)); /* scanf_va_5 */ + printf("%hhx",(int)x_0); /* printf_va_5 */ + scanf("%hhx",(unsigned char *)(& x_0)); /* scanf_va_6 */ + printf("%hhX",(int)x_0); /* printf_va_6 */ } { int16_t x_1; - scanf_va_7("%hd",(short *)(& x_1)); - printf_va_7("%hd",(int)x_1); - scanf_va_8("%hi",(short *)(& x_1)); - printf_va_8("%hi",(int)x_1); + scanf("%hd",(short *)(& x_1)); /* scanf_va_7 */ + printf("%hd",(int)x_1); /* printf_va_7 */ + scanf("%hi",(short *)(& x_1)); /* scanf_va_8 */ + printf("%hi",(int)x_1); /* printf_va_8 */ } { uint16_t x_2; - scanf_va_9("%ho",(unsigned short *)(& x_2)); - printf_va_9("%ho",(int)x_2); - scanf_va_10("%hu",(unsigned short *)(& x_2)); - printf_va_10("%hu",(int)x_2); - scanf_va_11("%hx",(unsigned short *)(& x_2)); - printf_va_11("%hx",(int)x_2); - scanf_va_12("%hx",(unsigned short *)(& x_2)); - printf_va_12("%hX",(int)x_2); + scanf("%ho",(unsigned short *)(& x_2)); /* scanf_va_9 */ + printf("%ho",(int)x_2); /* printf_va_9 */ + scanf("%hu",(unsigned short *)(& x_2)); /* scanf_va_10 */ + printf("%hu",(int)x_2); /* printf_va_10 */ + scanf("%hx",(unsigned short *)(& x_2)); /* scanf_va_11 */ + printf("%hx",(int)x_2); /* printf_va_11 */ + scanf("%hx",(unsigned short *)(& x_2)); /* scanf_va_12 */ + printf("%hX",(int)x_2); /* printf_va_12 */ } { int32_t x_3; - scanf_va_13("%d",(int *)(& x_3)); - printf_va_13("%d",x_3); - scanf_va_14("%i",(int *)(& x_3)); - printf_va_14("%i",x_3); + scanf("%d",(int *)(& x_3)); /* scanf_va_13 */ + printf("%d",x_3); /* printf_va_13 */ + scanf("%i",(int *)(& x_3)); /* scanf_va_14 */ + printf("%i",x_3); /* printf_va_14 */ } { uint32_t x_4; - scanf_va_15("%o",(unsigned int *)(& x_4)); - printf_va_15("%o",x_4); - scanf_va_16("%u",(unsigned int *)(& x_4)); - printf_va_16("%u",x_4); - scanf_va_17("%x",(unsigned int *)(& x_4)); - printf_va_17("%x",x_4); - scanf_va_18("%x",(unsigned int *)(& x_4)); - printf_va_18("%X",x_4); + scanf("%o",(unsigned int *)(& x_4)); /* scanf_va_15 */ + printf("%o",x_4); /* printf_va_15 */ + scanf("%u",(unsigned int *)(& x_4)); /* scanf_va_16 */ + printf("%u",x_4); /* printf_va_16 */ + scanf("%x",(unsigned int *)(& x_4)); /* scanf_va_17 */ + printf("%x",x_4); /* printf_va_17 */ + scanf("%x",(unsigned int *)(& x_4)); /* scanf_va_18 */ + printf("%X",x_4); /* printf_va_18 */ } { int64_t x_5; - scanf_va_19("%lld",(long long *)(& x_5)); - printf_va_19("%lld",x_5); - scanf_va_20("%lli",(long long *)(& x_5)); - printf_va_20("%lli",x_5); + scanf("%lld",(long long *)(& x_5)); /* scanf_va_19 */ + printf("%lld",x_5); /* printf_va_19 */ + scanf("%lli",(long long *)(& x_5)); /* scanf_va_20 */ + printf("%lli",x_5); /* printf_va_20 */ } { uint64_t x_6; - scanf_va_21("%llo",(unsigned long long *)(& x_6)); - printf_va_21("%llo",x_6); - scanf_va_22("%llu",(unsigned long long *)(& x_6)); - printf_va_22("%llu",x_6); - scanf_va_23("%llx",(unsigned long long *)(& x_6)); - printf_va_23("%llx",x_6); - scanf_va_24("%llx",(unsigned long long *)(& x_6)); - printf_va_24("%llX",x_6); + scanf("%llo",(unsigned long long *)(& x_6)); /* scanf_va_21 */ + printf("%llo",x_6); /* printf_va_21 */ + scanf("%llu",(unsigned long long *)(& x_6)); /* scanf_va_22 */ + printf("%llu",x_6); /* printf_va_22 */ + scanf("%llx",(unsigned long long *)(& x_6)); /* scanf_va_23 */ + printf("%llx",x_6); /* printf_va_23 */ + scanf("%llx",(unsigned long long *)(& x_6)); /* scanf_va_24 */ + printf("%llX",x_6); /* printf_va_24 */ } { int_least8_t x_7; - scanf_va_25("%hhd",(signed char *)(& x_7)); - printf_va_25("%hhd",(int)x_7); - scanf_va_26("%hhi",(signed char *)(& x_7)); - printf_va_26("%hhi",(int)x_7); + scanf("%hhd",(signed char *)(& x_7)); /* scanf_va_25 */ + printf("%hhd",(int)x_7); /* printf_va_25 */ + scanf("%hhi",(signed char *)(& x_7)); /* scanf_va_26 */ + printf("%hhi",(int)x_7); /* printf_va_26 */ } { uint_least8_t x_8; - scanf_va_27("%hho",(unsigned char *)(& x_8)); - printf_va_27("%hho",(int)x_8); - scanf_va_28("%hhu",(unsigned char *)(& x_8)); - printf_va_28("%hhu",(int)x_8); - scanf_va_29("%hhx",(unsigned char *)(& x_8)); - printf_va_29("%hhx",(int)x_8); - scanf_va_30("%hhx",(unsigned char *)(& x_8)); - printf_va_30("%hhX",(int)x_8); + scanf("%hho",(unsigned char *)(& x_8)); /* scanf_va_27 */ + printf("%hho",(int)x_8); /* printf_va_27 */ + scanf("%hhu",(unsigned char *)(& x_8)); /* scanf_va_28 */ + printf("%hhu",(int)x_8); /* printf_va_28 */ + scanf("%hhx",(unsigned char *)(& x_8)); /* scanf_va_29 */ + printf("%hhx",(int)x_8); /* printf_va_29 */ + scanf("%hhx",(unsigned char *)(& x_8)); /* scanf_va_30 */ + printf("%hhX",(int)x_8); /* printf_va_30 */ } { int_least16_t x_9; - scanf_va_31("%hd",(short *)(& x_9)); - printf_va_31("%hd",(int)x_9); - scanf_va_32("%hi",(short *)(& x_9)); - printf_va_32("%hi",(int)x_9); + scanf("%hd",(short *)(& x_9)); /* scanf_va_31 */ + printf("%hd",(int)x_9); /* printf_va_31 */ + scanf("%hi",(short *)(& x_9)); /* scanf_va_32 */ + printf("%hi",(int)x_9); /* printf_va_32 */ } { uint_least16_t x_10; - scanf_va_33("%ho",(unsigned short *)(& x_10)); - printf_va_33("%ho",(int)x_10); - scanf_va_34("%hu",(unsigned short *)(& x_10)); - printf_va_34("%hu",(int)x_10); - scanf_va_35("%hx",(unsigned short *)(& x_10)); - printf_va_35("%hx",(int)x_10); - scanf_va_36("%hx",(unsigned short *)(& x_10)); - printf_va_36("%hX",(int)x_10); + scanf("%ho",(unsigned short *)(& x_10)); /* scanf_va_33 */ + printf("%ho",(int)x_10); /* printf_va_33 */ + scanf("%hu",(unsigned short *)(& x_10)); /* scanf_va_34 */ + printf("%hu",(int)x_10); /* printf_va_34 */ + scanf("%hx",(unsigned short *)(& x_10)); /* scanf_va_35 */ + printf("%hx",(int)x_10); /* printf_va_35 */ + scanf("%hx",(unsigned short *)(& x_10)); /* scanf_va_36 */ + printf("%hX",(int)x_10); /* printf_va_36 */ } { int_least32_t x_11; - scanf_va_37("%d",(int *)(& x_11)); - printf_va_37("%d",x_11); - scanf_va_38("%i",(int *)(& x_11)); - printf_va_38("%i",x_11); + scanf("%d",(int *)(& x_11)); /* scanf_va_37 */ + printf("%d",x_11); /* printf_va_37 */ + scanf("%i",(int *)(& x_11)); /* scanf_va_38 */ + printf("%i",x_11); /* printf_va_38 */ } { uint_least32_t x_12; - scanf_va_39("%o",(unsigned int *)(& x_12)); - printf_va_39("%o",x_12); - scanf_va_40("%u",(unsigned int *)(& x_12)); - printf_va_40("%u",x_12); - scanf_va_41("%x",(unsigned int *)(& x_12)); - printf_va_41("%x",x_12); - scanf_va_42("%x",(unsigned int *)(& x_12)); - printf_va_42("%X",x_12); + scanf("%o",(unsigned int *)(& x_12)); /* scanf_va_39 */ + printf("%o",x_12); /* printf_va_39 */ + scanf("%u",(unsigned int *)(& x_12)); /* scanf_va_40 */ + printf("%u",x_12); /* printf_va_40 */ + scanf("%x",(unsigned int *)(& x_12)); /* scanf_va_41 */ + printf("%x",x_12); /* printf_va_41 */ + scanf("%x",(unsigned int *)(& x_12)); /* scanf_va_42 */ + printf("%X",x_12); /* printf_va_42 */ } { int_least64_t x_13; - scanf_va_43("%lld",(long long *)(& x_13)); - printf_va_43("%lld",x_13); - scanf_va_44("%lli",(long long *)(& x_13)); - printf_va_44("%lli",x_13); + scanf("%lld",(long long *)(& x_13)); /* scanf_va_43 */ + printf("%lld",x_13); /* printf_va_43 */ + scanf("%lli",(long long *)(& x_13)); /* scanf_va_44 */ + printf("%lli",x_13); /* printf_va_44 */ } { uint_least64_t x_14; - scanf_va_45("%llo",(unsigned long long *)(& x_14)); - printf_va_45("%llo",x_14); - scanf_va_46("%llu",(unsigned long long *)(& x_14)); - printf_va_46("%llu",x_14); - scanf_va_47("%llx",(unsigned long long *)(& x_14)); - printf_va_47("%llx",x_14); - scanf_va_48("%llx",(unsigned long long *)(& x_14)); - printf_va_48("%llX",x_14); + scanf("%llo",(unsigned long long *)(& x_14)); /* scanf_va_45 */ + printf("%llo",x_14); /* printf_va_45 */ + scanf("%llu",(unsigned long long *)(& x_14)); /* scanf_va_46 */ + printf("%llu",x_14); /* printf_va_46 */ + scanf("%llx",(unsigned long long *)(& x_14)); /* scanf_va_47 */ + printf("%llx",x_14); /* printf_va_47 */ + scanf("%llx",(unsigned long long *)(& x_14)); /* scanf_va_48 */ + printf("%llX",x_14); /* printf_va_48 */ } { int_fast8_t x_15; - scanf_va_49("%hhd",(signed char *)(& x_15)); - printf_va_49("%hhd",(int)x_15); - scanf_va_50("%hhi",(signed char *)(& x_15)); - printf_va_50("%hhi",(int)x_15); + scanf("%hhd",(signed char *)(& x_15)); /* scanf_va_49 */ + printf("%hhd",(int)x_15); /* printf_va_49 */ + scanf("%hhi",(signed char *)(& x_15)); /* scanf_va_50 */ + printf("%hhi",(int)x_15); /* printf_va_50 */ } { uint_fast8_t x_16; - scanf_va_51("%hho",(unsigned char *)(& x_16)); - printf_va_51("%hho",(int)x_16); - scanf_va_52("%hhu",(unsigned char *)(& x_16)); - printf_va_52("%hhu",(int)x_16); - scanf_va_53("%hhx",(unsigned char *)(& x_16)); - printf_va_53("%hhx",(int)x_16); - scanf_va_54("%hhx",(unsigned char *)(& x_16)); - printf_va_54("%hhX",(int)x_16); + scanf("%hho",(unsigned char *)(& x_16)); /* scanf_va_51 */ + printf("%hho",(int)x_16); /* printf_va_51 */ + scanf("%hhu",(unsigned char *)(& x_16)); /* scanf_va_52 */ + printf("%hhu",(int)x_16); /* printf_va_52 */ + scanf("%hhx",(unsigned char *)(& x_16)); /* scanf_va_53 */ + printf("%hhx",(int)x_16); /* printf_va_53 */ + scanf("%hhx",(unsigned char *)(& x_16)); /* scanf_va_54 */ + printf("%hhX",(int)x_16); /* printf_va_54 */ } { int_fast16_t x_17; - scanf_va_55("%d",(int *)(& x_17)); - printf_va_55("%d",x_17); - scanf_va_56("%i",(int *)(& x_17)); - printf_va_56("%i",x_17); + scanf("%d",(int *)(& x_17)); /* scanf_va_55 */ + printf("%d",x_17); /* printf_va_55 */ + scanf("%i",(int *)(& x_17)); /* scanf_va_56 */ + printf("%i",x_17); /* printf_va_56 */ } { uint_fast16_t x_18; - scanf_va_57("%o",(unsigned int *)(& x_18)); - printf_va_57("%o",x_18); - scanf_va_58("%u",(unsigned int *)(& x_18)); - printf_va_58("%u",x_18); - scanf_va_59("%x",(unsigned int *)(& x_18)); - printf_va_59("%x",x_18); - scanf_va_60("%x",(unsigned int *)(& x_18)); - printf_va_60("%X",x_18); + scanf("%o",(unsigned int *)(& x_18)); /* scanf_va_57 */ + printf("%o",x_18); /* printf_va_57 */ + scanf("%u",(unsigned int *)(& x_18)); /* scanf_va_58 */ + printf("%u",x_18); /* printf_va_58 */ + scanf("%x",(unsigned int *)(& x_18)); /* scanf_va_59 */ + printf("%x",x_18); /* printf_va_59 */ + scanf("%x",(unsigned int *)(& x_18)); /* scanf_va_60 */ + printf("%X",x_18); /* printf_va_60 */ } { int_fast32_t x_19; - scanf_va_61("%d",(int *)(& x_19)); - printf_va_61("%d",x_19); - scanf_va_62("%i",(int *)(& x_19)); - printf_va_62("%i",x_19); + scanf("%d",(int *)(& x_19)); /* scanf_va_61 */ + printf("%d",x_19); /* printf_va_61 */ + scanf("%i",(int *)(& x_19)); /* scanf_va_62 */ + printf("%i",x_19); /* printf_va_62 */ } { uint_fast32_t x_20; - scanf_va_63("%o",(unsigned int *)(& x_20)); - printf_va_63("%o",x_20); - scanf_va_64("%u",(unsigned int *)(& x_20)); - printf_va_64("%u",x_20); - scanf_va_65("%x",(unsigned int *)(& x_20)); - printf_va_65("%x",x_20); - scanf_va_66("%x",(unsigned int *)(& x_20)); - printf_va_66("%X",x_20); + scanf("%o",(unsigned int *)(& x_20)); /* scanf_va_63 */ + printf("%o",x_20); /* printf_va_63 */ + scanf("%u",(unsigned int *)(& x_20)); /* scanf_va_64 */ + printf("%u",x_20); /* printf_va_64 */ + scanf("%x",(unsigned int *)(& x_20)); /* scanf_va_65 */ + printf("%x",x_20); /* printf_va_65 */ + scanf("%x",(unsigned int *)(& x_20)); /* scanf_va_66 */ + printf("%X",x_20); /* printf_va_66 */ } { int_fast64_t x_21; - scanf_va_67("%lld",(long long *)(& x_21)); - printf_va_67("%lld",x_21); - scanf_va_68("%lli",(long long *)(& x_21)); - printf_va_68("%lli",x_21); + scanf("%lld",(long long *)(& x_21)); /* scanf_va_67 */ + printf("%lld",x_21); /* printf_va_67 */ + scanf("%lli",(long long *)(& x_21)); /* scanf_va_68 */ + printf("%lli",x_21); /* printf_va_68 */ } { uint_fast64_t x_22; - scanf_va_69("%llo",(unsigned long long *)(& x_22)); - printf_va_69("%llo",x_22); - scanf_va_70("%llu",(unsigned long long *)(& x_22)); - printf_va_70("%llu",x_22); - scanf_va_71("%llx",(unsigned long long *)(& x_22)); - printf_va_71("%llx",x_22); - scanf_va_72("%llx",(unsigned long long *)(& x_22)); - printf_va_72("%llX",x_22); + scanf("%llo",(unsigned long long *)(& x_22)); /* scanf_va_69 */ + printf("%llo",x_22); /* printf_va_69 */ + scanf("%llu",(unsigned long long *)(& x_22)); /* scanf_va_70 */ + printf("%llu",x_22); /* printf_va_70 */ + scanf("%llx",(unsigned long long *)(& x_22)); /* scanf_va_71 */ + printf("%llx",x_22); /* printf_va_71 */ + scanf("%llx",(unsigned long long *)(& x_22)); /* scanf_va_72 */ + printf("%llX",x_22); /* printf_va_72 */ } { intmax_t x_23; - scanf_va_73("%lld",(long long *)(& x_23)); - printf_va_73("%lld",x_23); - scanf_va_74("%lli",(long long *)(& x_23)); - printf_va_74("%lli",x_23); + scanf("%lld",(long long *)(& x_23)); /* scanf_va_73 */ + printf("%lld",x_23); /* printf_va_73 */ + scanf("%lli",(long long *)(& x_23)); /* scanf_va_74 */ + printf("%lli",x_23); /* printf_va_74 */ } { uintmax_t x_24; - scanf_va_75("%llo",(unsigned long long *)(& x_24)); - printf_va_75("%llo",x_24); - scanf_va_76("%llu",(unsigned long long *)(& x_24)); - printf_va_76("%llu",x_24); - scanf_va_77("%llx",(unsigned long long *)(& x_24)); - printf_va_77("%llx",x_24); - scanf_va_78("%llx",(unsigned long long *)(& x_24)); - printf_va_78("%llX",x_24); + scanf("%llo",(unsigned long long *)(& x_24)); /* scanf_va_75 */ + printf("%llo",x_24); /* printf_va_75 */ + scanf("%llu",(unsigned long long *)(& x_24)); /* scanf_va_76 */ + printf("%llu",x_24); /* printf_va_76 */ + scanf("%llx",(unsigned long long *)(& x_24)); /* scanf_va_77 */ + printf("%llx",x_24); /* printf_va_77 */ + scanf("%llx",(unsigned long long *)(& x_24)); /* scanf_va_78 */ + printf("%llX",x_24); /* printf_va_78 */ } { intptr_t x_25; - scanf_va_79("%d",(int *)(& x_25)); - printf_va_79("%d",x_25); - scanf_va_80("%i",(int *)(& x_25)); - printf_va_80("%i",x_25); + scanf("%d",(int *)(& x_25)); /* scanf_va_79 */ + printf("%d",x_25); /* printf_va_79 */ + scanf("%i",(int *)(& x_25)); /* scanf_va_80 */ + printf("%i",x_25); /* printf_va_80 */ } { uintptr_t x_26; - scanf_va_81("%o",(unsigned int *)(& x_26)); - printf_va_81("%o",x_26); - scanf_va_82("%u",(unsigned int *)(& x_26)); - printf_va_82("%u",x_26); - scanf_va_83("%x",(unsigned int *)(& x_26)); - printf_va_83("%x",x_26); - scanf_va_84("%x",(unsigned int *)(& x_26)); - printf_va_84("%X",x_26); + scanf("%o",(unsigned int *)(& x_26)); /* scanf_va_81 */ + printf("%o",x_26); /* printf_va_81 */ + scanf("%u",(unsigned int *)(& x_26)); /* scanf_va_82 */ + printf("%u",x_26); /* printf_va_82 */ + scanf("%x",(unsigned int *)(& x_26)); /* scanf_va_83 */ + printf("%x",x_26); /* printf_va_83 */ + scanf("%x",(unsigned int *)(& x_26)); /* scanf_va_84 */ + printf("%X",x_26); /* printf_va_84 */ } __retres = 0; return __retres; diff --git a/tests/libc/oracle/inttypes_h.7.res.oracle b/tests/libc/oracle/inttypes_h.7.res.oracle index 3d046586494..9dfd0ff2a95 100644 --- a/tests/libc/oracle/inttypes_h.7.res.oracle +++ b/tests/libc/oracle/inttypes_h.7.res.oracle @@ -2531,255 +2531,255 @@ int main(void) int __retres; { int8_t x; - scanf_va_1("%hhd",(signed char *)(& x)); - printf_va_1("%hhd",(int)x); - scanf_va_2("%hhi",(signed char *)(& x)); - printf_va_2("%hhi",(int)x); + scanf("%hhd",(signed char *)(& x)); /* scanf_va_1 */ + printf("%hhd",(int)x); /* printf_va_1 */ + scanf("%hhi",(signed char *)(& x)); /* scanf_va_2 */ + printf("%hhi",(int)x); /* printf_va_2 */ } { uint8_t x_0; - scanf_va_3("%hho",(unsigned char *)(& x_0)); - printf_va_3("%hho",(int)x_0); - scanf_va_4("%hhu",(unsigned char *)(& x_0)); - printf_va_4("%hhu",(int)x_0); - scanf_va_5("%hhx",(unsigned char *)(& x_0)); - printf_va_5("%hhx",(int)x_0); - scanf_va_6("%hhx",(unsigned char *)(& x_0)); - printf_va_6("%hhX",(int)x_0); + scanf("%hho",(unsigned char *)(& x_0)); /* scanf_va_3 */ + printf("%hho",(int)x_0); /* printf_va_3 */ + scanf("%hhu",(unsigned char *)(& x_0)); /* scanf_va_4 */ + printf("%hhu",(int)x_0); /* printf_va_4 */ + scanf("%hhx",(unsigned char *)(& x_0)); /* scanf_va_5 */ + printf("%hhx",(int)x_0); /* printf_va_5 */ + scanf("%hhx",(unsigned char *)(& x_0)); /* scanf_va_6 */ + printf("%hhX",(int)x_0); /* printf_va_6 */ } { int16_t x_1; - scanf_va_7("%hd",(short *)(& x_1)); - printf_va_7("%hd",(int)x_1); - scanf_va_8("%hi",(short *)(& x_1)); - printf_va_8("%hi",(int)x_1); + scanf("%hd",(short *)(& x_1)); /* scanf_va_7 */ + printf("%hd",(int)x_1); /* printf_va_7 */ + scanf("%hi",(short *)(& x_1)); /* scanf_va_8 */ + printf("%hi",(int)x_1); /* printf_va_8 */ } { uint16_t x_2; - scanf_va_9("%ho",(unsigned short *)(& x_2)); - printf_va_9("%ho",(int)x_2); - scanf_va_10("%hu",(unsigned short *)(& x_2)); - printf_va_10("%hu",(int)x_2); - scanf_va_11("%hx",(unsigned short *)(& x_2)); - printf_va_11("%hx",(int)x_2); - scanf_va_12("%hx",(unsigned short *)(& x_2)); - printf_va_12("%hX",(int)x_2); + scanf("%ho",(unsigned short *)(& x_2)); /* scanf_va_9 */ + printf("%ho",(int)x_2); /* printf_va_9 */ + scanf("%hu",(unsigned short *)(& x_2)); /* scanf_va_10 */ + printf("%hu",(int)x_2); /* printf_va_10 */ + scanf("%hx",(unsigned short *)(& x_2)); /* scanf_va_11 */ + printf("%hx",(int)x_2); /* printf_va_11 */ + scanf("%hx",(unsigned short *)(& x_2)); /* scanf_va_12 */ + printf("%hX",(int)x_2); /* printf_va_12 */ } { int32_t x_3; - scanf_va_13("%d",(int *)(& x_3)); - printf_va_13("%d",x_3); - scanf_va_14("%i",(int *)(& x_3)); - printf_va_14("%i",x_3); + scanf("%d",(int *)(& x_3)); /* scanf_va_13 */ + printf("%d",x_3); /* printf_va_13 */ + scanf("%i",(int *)(& x_3)); /* scanf_va_14 */ + printf("%i",x_3); /* printf_va_14 */ } { uint32_t x_4; - scanf_va_15("%o",(unsigned int *)(& x_4)); - printf_va_15("%o",x_4); - scanf_va_16("%u",(unsigned int *)(& x_4)); - printf_va_16("%u",x_4); - scanf_va_17("%x",(unsigned int *)(& x_4)); - printf_va_17("%x",x_4); - scanf_va_18("%x",(unsigned int *)(& x_4)); - printf_va_18("%X",x_4); + scanf("%o",(unsigned int *)(& x_4)); /* scanf_va_15 */ + printf("%o",x_4); /* printf_va_15 */ + scanf("%u",(unsigned int *)(& x_4)); /* scanf_va_16 */ + printf("%u",x_4); /* printf_va_16 */ + scanf("%x",(unsigned int *)(& x_4)); /* scanf_va_17 */ + printf("%x",x_4); /* printf_va_17 */ + scanf("%x",(unsigned int *)(& x_4)); /* scanf_va_18 */ + printf("%X",x_4); /* printf_va_18 */ } { int64_t x_5; - scanf_va_19("%lld",(__int64 *)(& x_5)); - printf_va_19("%lld",x_5); - scanf_va_20("%lli",(__int64 *)(& x_5)); - printf_va_20("%lli",x_5); + scanf("%lld",(__int64 *)(& x_5)); /* scanf_va_19 */ + printf("%lld",x_5); /* printf_va_19 */ + scanf("%lli",(__int64 *)(& x_5)); /* scanf_va_20 */ + printf("%lli",x_5); /* printf_va_20 */ } { uint64_t x_6; - scanf_va_21("%llo",(unsigned __int64 *)(& x_6)); - printf_va_21("%llo",x_6); - scanf_va_22("%llu",(unsigned __int64 *)(& x_6)); - printf_va_22("%llu",x_6); - scanf_va_23("%llx",(unsigned __int64 *)(& x_6)); - printf_va_23("%llx",x_6); - scanf_va_24("%llx",(unsigned __int64 *)(& x_6)); - printf_va_24("%llX",x_6); + scanf("%llo",(unsigned __int64 *)(& x_6)); /* scanf_va_21 */ + printf("%llo",x_6); /* printf_va_21 */ + scanf("%llu",(unsigned __int64 *)(& x_6)); /* scanf_va_22 */ + printf("%llu",x_6); /* printf_va_22 */ + scanf("%llx",(unsigned __int64 *)(& x_6)); /* scanf_va_23 */ + printf("%llx",x_6); /* printf_va_23 */ + scanf("%llx",(unsigned __int64 *)(& x_6)); /* scanf_va_24 */ + printf("%llX",x_6); /* printf_va_24 */ } { int_least8_t x_7; - scanf_va_25("%hhd",(signed char *)(& x_7)); - printf_va_25("%hhd",(int)x_7); - scanf_va_26("%hhi",(signed char *)(& x_7)); - printf_va_26("%hhi",(int)x_7); + scanf("%hhd",(signed char *)(& x_7)); /* scanf_va_25 */ + printf("%hhd",(int)x_7); /* printf_va_25 */ + scanf("%hhi",(signed char *)(& x_7)); /* scanf_va_26 */ + printf("%hhi",(int)x_7); /* printf_va_26 */ } { uint_least8_t x_8; - scanf_va_27("%hho",(unsigned char *)(& x_8)); - printf_va_27("%hho",(int)x_8); - scanf_va_28("%hhu",(unsigned char *)(& x_8)); - printf_va_28("%hhu",(int)x_8); - scanf_va_29("%hhx",(unsigned char *)(& x_8)); - printf_va_29("%hhx",(int)x_8); - scanf_va_30("%hhx",(unsigned char *)(& x_8)); - printf_va_30("%hhX",(int)x_8); + scanf("%hho",(unsigned char *)(& x_8)); /* scanf_va_27 */ + printf("%hho",(int)x_8); /* printf_va_27 */ + scanf("%hhu",(unsigned char *)(& x_8)); /* scanf_va_28 */ + printf("%hhu",(int)x_8); /* printf_va_28 */ + scanf("%hhx",(unsigned char *)(& x_8)); /* scanf_va_29 */ + printf("%hhx",(int)x_8); /* printf_va_29 */ + scanf("%hhx",(unsigned char *)(& x_8)); /* scanf_va_30 */ + printf("%hhX",(int)x_8); /* printf_va_30 */ } { int_least16_t x_9; - scanf_va_31("%hd",(short *)(& x_9)); - printf_va_31("%hd",(int)x_9); - scanf_va_32("%hi",(short *)(& x_9)); - printf_va_32("%hi",(int)x_9); + scanf("%hd",(short *)(& x_9)); /* scanf_va_31 */ + printf("%hd",(int)x_9); /* printf_va_31 */ + scanf("%hi",(short *)(& x_9)); /* scanf_va_32 */ + printf("%hi",(int)x_9); /* printf_va_32 */ } { uint_least16_t x_10; - scanf_va_33("%ho",(unsigned short *)(& x_10)); - printf_va_33("%ho",(int)x_10); - scanf_va_34("%hu",(unsigned short *)(& x_10)); - printf_va_34("%hu",(int)x_10); - scanf_va_35("%hx",(unsigned short *)(& x_10)); - printf_va_35("%hx",(int)x_10); - scanf_va_36("%hx",(unsigned short *)(& x_10)); - printf_va_36("%hX",(int)x_10); + scanf("%ho",(unsigned short *)(& x_10)); /* scanf_va_33 */ + printf("%ho",(int)x_10); /* printf_va_33 */ + scanf("%hu",(unsigned short *)(& x_10)); /* scanf_va_34 */ + printf("%hu",(int)x_10); /* printf_va_34 */ + scanf("%hx",(unsigned short *)(& x_10)); /* scanf_va_35 */ + printf("%hx",(int)x_10); /* printf_va_35 */ + scanf("%hx",(unsigned short *)(& x_10)); /* scanf_va_36 */ + printf("%hX",(int)x_10); /* printf_va_36 */ } { int_least32_t x_11; - scanf_va_37("%d",(int *)(& x_11)); - printf_va_37("%d",x_11); - scanf_va_38("%i",(int *)(& x_11)); - printf_va_38("%i",x_11); + scanf("%d",(int *)(& x_11)); /* scanf_va_37 */ + printf("%d",x_11); /* printf_va_37 */ + scanf("%i",(int *)(& x_11)); /* scanf_va_38 */ + printf("%i",x_11); /* printf_va_38 */ } { uint_least32_t x_12; - scanf_va_39("%o",(unsigned int *)(& x_12)); - printf_va_39("%o",x_12); - scanf_va_40("%u",(unsigned int *)(& x_12)); - printf_va_40("%u",x_12); - scanf_va_41("%x",(unsigned int *)(& x_12)); - printf_va_41("%x",x_12); - scanf_va_42("%x",(unsigned int *)(& x_12)); - printf_va_42("%X",x_12); + scanf("%o",(unsigned int *)(& x_12)); /* scanf_va_39 */ + printf("%o",x_12); /* printf_va_39 */ + scanf("%u",(unsigned int *)(& x_12)); /* scanf_va_40 */ + printf("%u",x_12); /* printf_va_40 */ + scanf("%x",(unsigned int *)(& x_12)); /* scanf_va_41 */ + printf("%x",x_12); /* printf_va_41 */ + scanf("%x",(unsigned int *)(& x_12)); /* scanf_va_42 */ + printf("%X",x_12); /* printf_va_42 */ } { int_least64_t x_13; - scanf_va_43("%lld",(__int64 *)(& x_13)); - printf_va_43("%lld",x_13); - scanf_va_44("%lli",(__int64 *)(& x_13)); - printf_va_44("%lli",x_13); + scanf("%lld",(__int64 *)(& x_13)); /* scanf_va_43 */ + printf("%lld",x_13); /* printf_va_43 */ + scanf("%lli",(__int64 *)(& x_13)); /* scanf_va_44 */ + printf("%lli",x_13); /* printf_va_44 */ } { uint_least64_t x_14; - scanf_va_45("%llo",(unsigned __int64 *)(& x_14)); - printf_va_45("%llo",x_14); - scanf_va_46("%llu",(unsigned __int64 *)(& x_14)); - printf_va_46("%llu",x_14); - scanf_va_47("%llx",(unsigned __int64 *)(& x_14)); - printf_va_47("%llx",x_14); - scanf_va_48("%llx",(unsigned __int64 *)(& x_14)); - printf_va_48("%llX",x_14); + scanf("%llo",(unsigned __int64 *)(& x_14)); /* scanf_va_45 */ + printf("%llo",x_14); /* printf_va_45 */ + scanf("%llu",(unsigned __int64 *)(& x_14)); /* scanf_va_46 */ + printf("%llu",x_14); /* printf_va_46 */ + scanf("%llx",(unsigned __int64 *)(& x_14)); /* scanf_va_47 */ + printf("%llx",x_14); /* printf_va_47 */ + scanf("%llx",(unsigned __int64 *)(& x_14)); /* scanf_va_48 */ + printf("%llX",x_14); /* printf_va_48 */ } { int_fast8_t x_15; - scanf_va_49("%hhd",(signed char *)(& x_15)); - printf_va_49("%hhd",(int)x_15); - scanf_va_50("%hhi",(signed char *)(& x_15)); - printf_va_50("%hhi",(int)x_15); + scanf("%hhd",(signed char *)(& x_15)); /* scanf_va_49 */ + printf("%hhd",(int)x_15); /* printf_va_49 */ + scanf("%hhi",(signed char *)(& x_15)); /* scanf_va_50 */ + printf("%hhi",(int)x_15); /* printf_va_50 */ } { uint_fast8_t x_16; - scanf_va_51("%hho",(unsigned char *)(& x_16)); - printf_va_51("%hho",(int)x_16); - scanf_va_52("%hhu",(unsigned char *)(& x_16)); - printf_va_52("%hhu",(int)x_16); - scanf_va_53("%hhx",(unsigned char *)(& x_16)); - printf_va_53("%hhx",(int)x_16); - scanf_va_54("%hhx",(unsigned char *)(& x_16)); - printf_va_54("%hhX",(int)x_16); + scanf("%hho",(unsigned char *)(& x_16)); /* scanf_va_51 */ + printf("%hho",(int)x_16); /* printf_va_51 */ + scanf("%hhu",(unsigned char *)(& x_16)); /* scanf_va_52 */ + printf("%hhu",(int)x_16); /* printf_va_52 */ + scanf("%hhx",(unsigned char *)(& x_16)); /* scanf_va_53 */ + printf("%hhx",(int)x_16); /* printf_va_53 */ + scanf("%hhx",(unsigned char *)(& x_16)); /* scanf_va_54 */ + printf("%hhX",(int)x_16); /* printf_va_54 */ } { int_fast16_t x_17; - scanf_va_55("%d",(int *)(& x_17)); - printf_va_55("%d",x_17); - scanf_va_56("%i",(int *)(& x_17)); - printf_va_56("%i",x_17); + scanf("%d",(int *)(& x_17)); /* scanf_va_55 */ + printf("%d",x_17); /* printf_va_55 */ + scanf("%i",(int *)(& x_17)); /* scanf_va_56 */ + printf("%i",x_17); /* printf_va_56 */ } { uint_fast16_t x_18; - scanf_va_57("%o",(unsigned int *)(& x_18)); - printf_va_57("%o",x_18); - scanf_va_58("%u",(unsigned int *)(& x_18)); - printf_va_58("%u",x_18); - scanf_va_59("%x",(unsigned int *)(& x_18)); - printf_va_59("%x",x_18); - scanf_va_60("%x",(unsigned int *)(& x_18)); - printf_va_60("%X",x_18); + scanf("%o",(unsigned int *)(& x_18)); /* scanf_va_57 */ + printf("%o",x_18); /* printf_va_57 */ + scanf("%u",(unsigned int *)(& x_18)); /* scanf_va_58 */ + printf("%u",x_18); /* printf_va_58 */ + scanf("%x",(unsigned int *)(& x_18)); /* scanf_va_59 */ + printf("%x",x_18); /* printf_va_59 */ + scanf("%x",(unsigned int *)(& x_18)); /* scanf_va_60 */ + printf("%X",x_18); /* printf_va_60 */ } { int_fast32_t x_19; - scanf_va_61("%d",(int *)(& x_19)); - printf_va_61("%d",x_19); - scanf_va_62("%i",(int *)(& x_19)); - printf_va_62("%i",x_19); + scanf("%d",(int *)(& x_19)); /* scanf_va_61 */ + printf("%d",x_19); /* printf_va_61 */ + scanf("%i",(int *)(& x_19)); /* scanf_va_62 */ + printf("%i",x_19); /* printf_va_62 */ } { uint_fast32_t x_20; - scanf_va_63("%o",(unsigned int *)(& x_20)); - printf_va_63("%o",x_20); - scanf_va_64("%u",(unsigned int *)(& x_20)); - printf_va_64("%u",x_20); - scanf_va_65("%x",(unsigned int *)(& x_20)); - printf_va_65("%x",x_20); - scanf_va_66("%x",(unsigned int *)(& x_20)); - printf_va_66("%X",x_20); + scanf("%o",(unsigned int *)(& x_20)); /* scanf_va_63 */ + printf("%o",x_20); /* printf_va_63 */ + scanf("%u",(unsigned int *)(& x_20)); /* scanf_va_64 */ + printf("%u",x_20); /* printf_va_64 */ + scanf("%x",(unsigned int *)(& x_20)); /* scanf_va_65 */ + printf("%x",x_20); /* printf_va_65 */ + scanf("%x",(unsigned int *)(& x_20)); /* scanf_va_66 */ + printf("%X",x_20); /* printf_va_66 */ } { int_fast64_t x_21; - scanf_va_67("%lld",(__int64 *)(& x_21)); - printf_va_67("%lld",x_21); - scanf_va_68("%lli",(__int64 *)(& x_21)); - printf_va_68("%lli",x_21); + scanf("%lld",(__int64 *)(& x_21)); /* scanf_va_67 */ + printf("%lld",x_21); /* printf_va_67 */ + scanf("%lli",(__int64 *)(& x_21)); /* scanf_va_68 */ + printf("%lli",x_21); /* printf_va_68 */ } { uint_fast64_t x_22; - scanf_va_69("%llo",(unsigned __int64 *)(& x_22)); - printf_va_69("%llo",x_22); - scanf_va_70("%llu",(unsigned __int64 *)(& x_22)); - printf_va_70("%llu",x_22); - scanf_va_71("%llx",(unsigned __int64 *)(& x_22)); - printf_va_71("%llx",x_22); - scanf_va_72("%llx",(unsigned __int64 *)(& x_22)); - printf_va_72("%llX",x_22); + scanf("%llo",(unsigned __int64 *)(& x_22)); /* scanf_va_69 */ + printf("%llo",x_22); /* printf_va_69 */ + scanf("%llu",(unsigned __int64 *)(& x_22)); /* scanf_va_70 */ + printf("%llu",x_22); /* printf_va_70 */ + scanf("%llx",(unsigned __int64 *)(& x_22)); /* scanf_va_71 */ + printf("%llx",x_22); /* printf_va_71 */ + scanf("%llx",(unsigned __int64 *)(& x_22)); /* scanf_va_72 */ + printf("%llX",x_22); /* printf_va_72 */ } { intmax_t x_23; - scanf_va_73("%lld",(__int64 *)(& x_23)); - printf_va_73("%lld",x_23); - scanf_va_74("%lli",(__int64 *)(& x_23)); - printf_va_74("%lli",x_23); + scanf("%lld",(__int64 *)(& x_23)); /* scanf_va_73 */ + printf("%lld",x_23); /* printf_va_73 */ + scanf("%lli",(__int64 *)(& x_23)); /* scanf_va_74 */ + printf("%lli",x_23); /* printf_va_74 */ } { uintmax_t x_24; - scanf_va_75("%llo",(unsigned __int64 *)(& x_24)); - printf_va_75("%llo",x_24); - scanf_va_76("%llu",(unsigned __int64 *)(& x_24)); - printf_va_76("%llu",x_24); - scanf_va_77("%llx",(unsigned __int64 *)(& x_24)); - printf_va_77("%llx",x_24); - scanf_va_78("%llx",(unsigned __int64 *)(& x_24)); - printf_va_78("%llX",x_24); + scanf("%llo",(unsigned __int64 *)(& x_24)); /* scanf_va_75 */ + printf("%llo",x_24); /* printf_va_75 */ + scanf("%llu",(unsigned __int64 *)(& x_24)); /* scanf_va_76 */ + printf("%llu",x_24); /* printf_va_76 */ + scanf("%llx",(unsigned __int64 *)(& x_24)); /* scanf_va_77 */ + printf("%llx",x_24); /* printf_va_77 */ + scanf("%llx",(unsigned __int64 *)(& x_24)); /* scanf_va_78 */ + printf("%llX",x_24); /* printf_va_78 */ } { intptr_t x_25; - scanf_va_79("%lld",(__int64 *)(& x_25)); - printf_va_79("%lld",x_25); - scanf_va_80("%lli",(__int64 *)(& x_25)); - printf_va_80("%lli",x_25); + scanf("%lld",(__int64 *)(& x_25)); /* scanf_va_79 */ + printf("%lld",x_25); /* printf_va_79 */ + scanf("%lli",(__int64 *)(& x_25)); /* scanf_va_80 */ + printf("%lli",x_25); /* printf_va_80 */ } { uintptr_t x_26; - scanf_va_81("%llo",(unsigned __int64 *)(& x_26)); - printf_va_81("%llo",x_26); - scanf_va_82("%llu",(unsigned __int64 *)(& x_26)); - printf_va_82("%llu",x_26); - scanf_va_83("%llx",(unsigned __int64 *)(& x_26)); - printf_va_83("%llx",x_26); - scanf_va_84("%llx",(unsigned __int64 *)(& x_26)); - printf_va_84("%llX",x_26); + scanf("%llo",(unsigned __int64 *)(& x_26)); /* scanf_va_81 */ + printf("%llo",x_26); /* printf_va_81 */ + scanf("%llu",(unsigned __int64 *)(& x_26)); /* scanf_va_82 */ + printf("%llu",x_26); /* printf_va_82 */ + scanf("%llx",(unsigned __int64 *)(& x_26)); /* scanf_va_83 */ + printf("%llx",x_26); /* printf_va_83 */ + scanf("%llx",(unsigned __int64 *)(& x_26)); /* scanf_va_84 */ + printf("%llX",x_26); /* printf_va_84 */ } __retres = 0; return __retres; -- GitLab