26#ifndef _CRT_NON_CONFORMING_SWPRINTFS
27#define _CRT_NON_CONFORMING_SWPRINTFS
45 static const unsigned __inf_bytes = 0x7f800000;
46 return *(
const float *)&__inf_bytes;
48#define INFINITY __port_infinity()
52 static const unsigned __nan_bytes = 0x7fc00000;
53 return *(
const float *)&__nan_bytes;
55#define NAN __port_nan()
61 static const unsigned __ind_bytes = 0xffc00000;
62 return *(
const float *)&__ind_bytes;
64#define IND __port_ind()
76static unsigned int (
__cdecl *p__set_output_format)(
unsigned int);
115 double pnumber=789456123;
117 WCHAR wide[] = {
'w',
'i',
'd',
'e',0};
123 ok(
r==23,
"return count wrong\n");
128 ok(
r==23,
"return count wrong\n");
133 ok(
r==23,
"return count wrong\n");
138 ok(
r==7,
"return count wrong\n");
143 ok(
r==11,
"return count wrong\n");
238 ok(
r==0,
".0I64d failed: '%s'\n",
buffer);
262 ok(!
strcmp(
buffer,
" 0018446744073709551615") &&
r==25,
"#+25.22I64u conversion failed: '%s'\n",
buffer);
302 ok(
r == 1 ||
r == 11,
"return count wrong %d\n",
r);
311 ok(
r==1,
"return count wrong\n");
316 ok(
r==3,
"return count wrong\n");
333 ok(
r==1,
"return count wrong\n");
338 ok(
r==2,
"return count wrong\n");
343 ok(
r==2,
"return count wrong\n");
348 ok(
r==2,
"return count wrong\n");
353 ok(
r==4,
"return count wrong\n");
358 ok(
r==4,
"return count wrong\n");
363 ok(
r==4,
"return count wrong\n");
368 ok(
r==12,
"return count wrong\n");
372 ok(
r==12,
"return count wrong\n");
377 ok(
r==10,
"return count wrong\n");
381 ok(
r==8,
"return count wrong\n");
386 ok(
r==8,
"return count wrong\n");
390 ok(
r==8,
"return count wrong\n");
395 ok(
r==3,
"return count wrong\n");
399 ok(
r==0,
"return count wrong\n");
404 ok(
r==8,
"return count wrong\n");
409 ok(
r==2,
"return count wrong\n");
413 ok(
r==1,
"return count wrong\n");
415 if (
sizeof(
void *) == 8)
420 ok(
r==16,
"return count wrong\n");
424 ok(!
strcmp(
buffer,
" 0X0000000000000039"),
"Pointer formatted incorrectly\n");
425 ok(
r==20,
"return count wrong\n");
430 ok(
r==16,
"return count wrong\n");
435 ok(
r==16,
"return count wrong\n");
439 ok(!
strcmp(
buffer,
"0X0000000000000039 "),
"Pointer formatted incorrectly\n");
440 ok(
r==20,
"return count wrong\n");
445 ok(
r==16,
"return count wrong\n");
452 ok(
r==8,
"return count wrong\n");
456 ok(!
strcmp(
buffer,
" 0X00000039"),
"Pointer formatted incorrectly\n");
457 ok(
r==12,
"return count wrong\n");
462 ok(
r==8,
"return count wrong\n");
467 ok(
r==8,
"return count wrong\n");
471 ok(!
strcmp(
buffer,
"0X00000039 "),
"Pointer formatted incorrectly\n");
472 ok(
r==12,
"return count wrong\n");
477 ok(
r==8,
"return count wrong\n");
483 ok(
r==4,
"return count wrong\n");
488 ok(
r==1,
"return count wrong\n");
493 ok(
r==1,
"return count wrong\n");
498 ok(
r==5,
"return count wrong\n");
503 ok(
r==5,
"return count wrong\n");
508 ok(
r==4,
"return count wrong\n");
513 ok(
r==10,
"return count wrong\n");
518 ok(
r==10,
"return count wrong\n");
523 ok(
r==4,
"return count wrong\n");
528 ok(
r==2,
"return count wrong\n");
533 ok(
r==2,
"return count wrong\n");
538 ok(
r==4,
"return count wrong\n");
543 ok(
r==8,
"return count wrong\n");
548 ok(
r==1,
"return count wrong\n");
553 ok(
r==3,
"return count wrong\n");
558 ok(
r==4,
"return count wrong\n");
563 ok(
r==0,
"return count wrong\n");
565 format =
"%j%k%m%q%r%t%v%y%z";
568 ok(
r==9,
"return count wrong\n");
577 ok(
x == 0,
"should not write to x: %d\n",
x);
581 ok(
x == 4,
"should write to x: %d\n",
x);
583 ok(
r==4,
"return count wrong: %d\n",
r);
589 ok(
r==1,
"return count wrong\n");
594 ok(
r==6,
"return count wrong\n");
599 ok(
r==8,
"return count wrong\n");
604 ok(
r==1,
"return count wrong\n");
609 ok(
r==11,
"return count wrong\n");
614 ok(
r==12,
"return count wrong\n");
619 ok(
r==14,
"return count wrong\n");
624 ok(
r==12,
"return count wrong\n");
629 ok(
r==12,
"return count wrong\n");
634 ok(
r==3,
"return count wrong\n");
639 ok(
r==2,
"return count wrong\n");
644 ok(
r==1,
"return count wrong\n");
649 ok(
r==2,
"return count wrong\n");
654 ok(
r==2,
"return count wrong\n");
658 if (
sizeof(
void *) == 8)
661 ok(
r==16,
"return count wrong\n");
666 ok(
r==8,
"return count wrong\n");
672 ok(
r==6,
"return count wrong\n");
677 ok(
r==4,
"return count wrong\n");
682 ok(
r==10,
"return count wrong\n");
687 ok(
r==0,
"return count wrong\n");
692 ok(
r==0,
"return count wrong\n");
697 ok(
r==1,
"return count wrong\n");
702 ok(
r==1,
"return count wrong\n");
707 ok(
r==0,
"return count wrong\n");
712 ok(
r==0,
"return count wrong\n");
717 ok(
r==1,
"return count wrong\n");
722 ok(
r==3,
"return count wrong\n");
727 ok(
r==2,
"return count wrong\n");
741 ok(
r==9,
"r = %d\n",
r);
744 ok(
r==8,
"r = %d\n",
r);
747 ok(
r==8,
"r = %d\n",
r);
752 ok(
r==14,
"r = %d\n",
r);
755 ok(
r==13,
"r = %d\n",
r);
758 ok(
r==13,
"r = %d\n",
r);
763 ok(
r==7,
"r = %d\n",
r);
766 ok(
r==7,
"r = %d\n",
r);
769 ok(
r==6,
"r = %d\n",
r);
774 ok(
r==10,
"r = %d\n",
r);
777 ok(
r==10,
"r = %d\n",
r);
780 ok(
r==10,
"r = %d\n",
r);
785 ok(
r==1,
"r = %d\n",
r);
788 ok(
r==1,
"r = %d\n",
r);
793 ok(
r==1,
"r = %d\n",
r);
796 ok(
r==0,
"r = %d\n",
r);
801 ok(
r==2,
"r = %d\n",
r);
811 win_skip(
"Japanese_Japan.932 locale not available\n");
817 ok(
r==1,
"r = %d\n",
r);
822 ok(
r==2,
"r = %d\n",
r);
827 ok(
r==14,
"r = %d\n",
r);
836 const wchar_t I64d[] = {
'%',
'I',
'6',
'4',
'd',0};
837 double pnumber=789456123;
838 const wchar_t TwentyThreePoint15e[]= {
'%',
'+',
'#',
'2',
'3',
'.',
'1',
'5',
'e',0};
839 const wchar_t e008[] = {
'e',
'+',
'0',
'0',
'8',0};
840 const wchar_t string_w[] = {
's',
't',
'r',
'i',
'n',
'g',0};
841 const char string[] =
"string";
842 const wchar_t S[]={
'%',
'S',0};
843 const wchar_t hs[] = {
'%',
'h',
's', 0};
857 struct snprintf_test {
862 const struct snprintf_test
tests[] = {{
"short", 5},
867 const int bufsiz =
sizeof buffer;
874 const int valid =
n < 0 ? bufsiz : (
n == bufsiz ?
n :
n+1);
876 ok (
n ==
expect,
"\"%s\": expected %d, returned %d\n",
885 static const char file_name[] =
"fprintf.tst";
886 static const WCHAR utf16_test[] = {
'u',
'n',
'i',
'c',
'o',
'd',
'e',
'\n',0};
895 ok(
ret == 12,
"ftell returned %d\n",
ret);
900 ok(
ret == 26,
"ftell returned %d\n",
ret);
905 ok(
ret == 42,
"ftell returned %d\n",
ret);
913 ok(
ret == 12,
"ftell returned %d\n",
ret);
935 ok(
ret == 13,
"ftell returned %d\n",
ret);
940 ok(
ret == 28,
"ftell returned %d\n",
ret);
945 ok(
ret == 37,
"ftell returned %d\n",
ret);
953 ok(
ret == 13,
"ftell returned %d\n",
ret);
978 ok( -3 ==
dec,
"dec wrong %d\n",
dec);
979 ok( 0 ==
sign,
"sign wrong\n");
983 ok( -3 ==
dec,
"dec wrong %d\n",
dec);
984 ok( 0 ==
sign,
"sign wrong\n");
988 ok( -3 ==
dec,
"dec wrong %d\n",
dec);
989 ok( 0 ==
sign,
"sign wrong\n");
994 ok( 3 ==
dec,
"dec wrong %d\n",
dec);
995 ok( 1 ==
sign,
"sign wrong\n");
999 ok( 3 ==
dec,
"dec wrong\n");
1000 ok( 0 ==
sign,
"sign wrong\n");
1005 ok( 0 ==
dec,
"dec wrong %d\n",
dec);
1006 ok( 0 ==
sign,
"sign wrong\n");
1010 ok( 0 ==
dec,
"dec wrong %d\n",
dec);
1011 ok( 0 ==
sign,
"sign wrong\n");
1015 ok( 0 ==
dec,
"dec wrong %d\n",
dec);
1016 ok( 0 ==
sign,
"sign wrong\n");
1021 ok( 3 ==
dec,
"dec wrong %d\n",
dec);
1022 ok( 1 ==
sign,
"sign wrong\n");
1026 ok( 3 ==
dec,
"dec wrong %d\n",
dec);
1027 ok( 1 ==
sign,
"sign wrong\n");
1031 ok( 3 ==
dec,
"dec wrong %d\n",
dec);
1032 ok( 1 ==
sign,
"sign wrong\n");
1036 ok( 3 ==
dec,
"dec wrong %d\n",
dec);
1037 ok( 1 ==
sign,
"sign wrong\n");
1042 ok( 3 ==
dec,
"dec wrong %d\n",
dec);
1043 ok( 0 ==
sign,
"sign wrong\n");
1048 ok( -1 ==
dec,
"dec wrong %d\n",
dec);
1049 ok( 0 ==
sign,
"sign wrong\n");
1053 ok( -2 ==
dec,
"dec wrong %d\n",
dec);
1054 ok( 0 ==
sign,
"sign wrong\n");
1058 ok( 0 ==
dec,
"dec wrong %d\n",
dec);
1059 ok( 0 ==
sign,
"sign wrong\n");
1063 ok( 1 ==
dec,
"dec wrong %d\n",
dec);
1064 ok( 0 ==
sign,
"sign wrong\n");
1078 { 45.0, 2,
"45",
"4500", 2, 2, 0 },
1080 { 0.0001, 1,
"1",
"", -3, -3, 0 },
1081 { 0.0001, 10,
"1000000000",
"1000000", -3, -3, 0 },
1083 { -111.0001, 5,
"11100",
"11100010", 3, 3, 1 },
1084 { 111.0001, 5,
"11100",
"11100010", 3, 3, 0 },
1086 { 3333.3, 2,
"33",
"333330", 4, 4, 0 },
1087 {999999999999.9, 3,
"100",
"999999999999900", 13, 12, 0 },
1089 { 0.0, 5,
"00000",
"00000", 0, 0, 0 },
1090 { 0.0, 0,
"",
"", 0, 0, 0 },
1091 { 0.0, -1,
"",
"", 0, 0, 0 },
1093 { -123.0001, 0,
"",
"123", 3, 3, 1 },
1094 { -123.0001, -1,
"",
"12", 3, 3, 1 },
1095 { -123.0001, -2,
"",
"1", 3, 3, 1 },
1096 { -123.0001, -3,
"",
"", 3, 3, 1 },
1098 { 99.99, 1,
"1",
"1000", 3, 3, 0 },
1100 { 0.0063, 2,
"63",
"1", -2, -1, 0 },
1101 { 0.0063, 3,
"630",
"6", -2, -2, 0 },
1102 { 0.09999999996, 2,
"10",
"10", 0, 0, 0 },
1103 { 0.6, 1,
"6",
"6", 0, 0, 0 },
1104 { 0.6, 0,
"",
"1", 1, 1, 0 },
1105 { 0.4, 0,
"",
"", 0, 0, 0 },
1106 { 0.49, 0,
"",
"", 0, 0, 0 },
1107 { 0.51, 0,
"",
"1", 1, 1, 0 },
1109 { 1.0, 30,
"100000000000000000000000000000",
1110 "1000000000000000000000000000000", 1, 1, 0},
1111 { 123456789012345678901.0, 30,
"123456789012345680000000000000",
1112 "123456789012345680000000000000000000000000000000000", 21, 21, 0},
1129 "_ecvt() bad return, got \n'%s' expected \n'%s'\n",
str,
1132 "_ecvt() decimal point wrong, got %d expected %d\n",
decpt,
1135 "_ecvt() sign wrong, got %d expected %d\n",
sign,
1145 "_fcvt() bad return, got \n'%s' expected \n'%s'\n",
str,
1148 "_fcvt() decimal point wrong, got %d expected %d\n",
decpt,
1151 "_fcvt() sign wrong, got %d expected %d\n",
sign,
1161 ok(
err == 0,
"_ecvt_s() failed with error code %d\n",
err);
1163 "_ecvt_s() bad return, got \n'%s' expected \n'%s'\n",
str,
1166 "_ecvt_s() decimal point wrong, got %d expected %d\n",
decpt,
1169 "_ecvt_s() sign wrong, got %d expected %d\n",
sign,
1175 win_skip(
"_ecvt_s not available\n");
1184 err = p__fcvt_s(
NULL, 0, 0.0, 0, &
i, &
i);
1187 err = p__fcvt_s(
str, 0, 0.0, 0, &
i, &
i);
1192 err = p__fcvt_s(
str, -1, 0.0, 0, &
i, &
i);
1193 ok(
err == 0,
"got %d, expected 0\n",
err);
1194 ok(
str[0] == 0,
"got %c, expected 0\n",
str[0]);
1195 ok(
str[1] == 0,
"got %c, expected 0\n",
str[1]);
1206 ok(
err == 0,
"_fcvt_s() failed with error code %d\n",
err);
1208 "_fcvt_s() bad return, got '%s' expected '%s'. test %d\n",
str,
1211 "_fcvt_s() decimal point wrong, got %d expected %d\n",
decpt,
1214 "_fcvt_s() sign wrong, got %d expected %d\n",
sign,
1220 win_skip(
"_fcvt_s not available\n");
1235 const wchar_t format[] = {
'%',
'w',
's',
'%',
'w',
's',
'%',
'w',
's',0};
1236 const wchar_t one[] = {
'o',
'n',
'e',0};
1237 const wchar_t two[] = {
't',
'w',
'o',0};
1238 const wchar_t three[] = {
't',
'h',
'r',
'e',
'e',0};
1246 ok(
ret == 11,
"got %d expected 11\n",
ret );
1248 ok( !
strcmp(
buf,
"onetwothree"),
"got %s expected 'onetwothree'\n",
buf );
1251 ok(
ret == -1,
"got %d, expected -1\n",
ret );
1319 const wchar_t format[] = {
'%',
's',
' ',
'%',
'd',0};
1320 const wchar_t number[] = {
'n',
'u',
'm',
'b',
'e',
'r',0};
1321 const wchar_t out[] = {
'n',
'u',
'm',
'b',
'e',
'r',
' ',
'1',
'2',
'3',0};
1326 if (!p_vswprintf || !p__vswprintf || !p__vswprintf_l ||!p__vswprintf_c
1327 || !p__vswprintf_c_l || !p__vswprintf_p_l)
1329 win_skip(
"_vswprintf or vswprintf not available\n");
1334 ok(
ret == 10,
"got %d, expected 10\n",
ret);
1339 ok(
ret == 10,
"got %d, expected 10\n",
ret);
1344 ok(
ret == 10,
"got %d, expected 10\n",
ret);
1349 ok(
ret == 10,
"got %d, expected 10\n",
ret);
1354 ok(
ret == 10,
"got %d, expected 10\n",
ret);
1359 ok(
ret == 10,
"got %d, expected 10\n",
ret);
1379 win_skip(
"_vscprintf not available\n");
1384 ok(
ret == 8,
"got %d expected 8\n",
ret );
1399 const wchar_t format[] = {
'%',
's',
' ',
'%',
'd',0};
1400 const wchar_t number[] = {
'n',
'u',
'm',
'b',
'e',
'r',0};
1406 win_skip(
"_vscwprintf not available\n");
1411 ok(
ret == 8,
"got %d expected 8\n",
ret );
1427 const wchar_t format[] = {
'A',
'B',
'%',
'u',
'C',0 };
1428 const wchar_t out7[] = {
'A',
'B',
'1',
'2',
'3',
'C',0 };
1429 const wchar_t out6[] = {
'A',
'B',
'1',
'2',
'3',0 };
1430 const wchar_t out2[] = {
'A',0 };
1431 const wchar_t out1[] = { 0 };
1432 wchar_t buffer[14] = { 0 };
1435 if (!p__vsnwprintf_s)
1437 win_skip(
"_vsnwprintf_s not available\n");
1445 ok(
exp == got,
"length wrong, expect=%d, got=%d\n",
exp, got);
1449 ok(
exp == got,
"length wrong, expect=%d, got=%d\n",
exp, got);
1453 ok(
exp == got,
"length wrong, expect=%d, got=%d\n",
exp, got);
1460 ok(
exp == got,
"length wrong, expect=%d, got=%d\n",
exp, got);
1464 ok(
exp == got,
"length wrong, expect=%d, got=%d\n",
exp, got);
1468 ok(
exp == got,
"length wrong, expect=%d, got=%d\n",
exp, got);
1488 if(!p__vsprintf_p) {
1489 win_skip(
"vsprintf_p not available\n");
1519 if (!p__get_output_format || !p__set_output_format)
1521 win_skip(
"_get_output_format or _set_output_format is not available\n");
1525 ret = p__get_output_format();
1528 c = p_sprintf(
buf,
"%E", 1.23);
1529 ok(
c == 13,
"c = %d\n",
c);
1535 c = p_sprintf(
buf,
"%E", 1.23);
1536 ok(
c == 12,
"c = %d\n",
c);
1539 ret = p__get_output_format();
ios_base &_STLP_CALL dec(ios_base &__s)
int strcmp(const char *String1, const char *String2)
int memcmp(void *Buffer1, void *Buffer2, ACPI_SIZE Count)
int strncmp(const char *String1, const char *String2, ACPI_SIZE Count)
char * strcpy(char *DstString, const char *SrcString)
#define GetProcAddress(x, y)
#define WideCharToMultiByte
HMODULE WINAPI DECLSPEC_HOTPATCH GetModuleHandleA(LPCSTR lpModuleName)
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
GLint GLint GLint GLint GLint x
GLuint GLuint GLsizei count
GLdouble GLdouble GLdouble r
GLenum GLuint GLenum GLsizei const GLchar * buf
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
#define _TWO_DIGIT_EXPONENT
_Check_return_ _CRTIMP int __cdecl fscanf(_Inout_ FILE *_File, _In_z_ _Scanf_format_string_ const char *_Format,...)
_Check_return_opt_ _CRTIMP int __cdecl fprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format,...)
_Check_return_ _CRTIMP FILE *__cdecl fopen(_In_z_ const char *_Filename, _In_z_ const char *_Mode)
_CRTIMP int __cdecl _vsnwprintf(wchar_t *_Dest, size_t _Count, const wchar_t *_Format, va_list _Args)
_Check_return_opt_ _CRTIMP char *__cdecl fgets(_Out_writes_z_(_MaxCount) char *_Buf, _In_ int _MaxCount, _Inout_ FILE *_File)
_Check_return_opt_ _CRTIMP int __cdecl fclose(_Inout_ FILE *_File)
_Check_return_opt_ _CRTIMP int __cdecl fwprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const wchar_t *_Format,...)
_Check_return_ _CRTIMP long __cdecl ftell(_Inout_ FILE *_File)
_Check_return_ _CRTIMP char *__cdecl _ecvt(_In_ double _Val, _In_ int _NumOfDigits, _Out_ int *_PtDec, _Out_ int *_PtSign)
_Check_return_ _CRTIMP char *__cdecl _fcvt(_In_ double _Val, _In_ int _NumOfDec, _Out_ int *_PtDec, _Out_ int *_PtSign)
_CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)
_CONST_RETURN wchar_t *__cdecl wcsstr(_In_z_ const wchar_t *_Str, _In_z_ const wchar_t *_SubStr)
static struct test_info tests[]
static PEXPLICIT_ACCESSW *static HMODULE hmod
static int WINAPIV _vsnwprintf_wrapper(wchar_t *str, size_t len, const wchar_t *format,...)
static void test_vsnwprintf_s(void)
static void test_vsnwprintf(void)
static int WINAPIV _vscwprintf_wrapper(const wchar_t *format,...)
static int WINAPIV vswprintf_wrapper(wchar_t *str, const wchar_t *format,...)
static void test_swprintf(void)
static int WINAPIV _vsprintf_p_wrapper(char *str, size_t sizeOfBuffer, const char *format,...)
static int WINAPIV _vswprintf_p_l_wrapper(wchar_t *str, size_t size, const wchar_t *format, void *locale,...)
static void test_sprintf(void)
static int WINAPIV _vswprintf_l_wrapper(wchar_t *str, const wchar_t *format, void *locale,...)
static float __port_ind(void)
static void test__get_output_format(void)
static size_t size_t count
static void test_vsprintf_p(void)
static size_t sizeOfBuffer
static size_t size_t const wchar_t * format
static void test_vscprintf(void)
static __ms_va_list valist
static void test_fprintf(void)
static const wchar_t void * locale
static size_t double int int int * sign
static int WINAPIV _vsnwprintf_s_wrapper(wchar_t *str, size_t sizeOfBuffer, size_t count, const wchar_t *format,...)
static int WINAPIV _vswprintf_c_l_wrapper(wchar_t *str, size_t size, const wchar_t *format, void *locale,...)
static float __port_infinity(void)
static void test_snprintf(void)
static int WINAPIV _vswprintf_wrapper(wchar_t *str, const wchar_t *format,...)
static void test_vscwprintf(void)
static size_t double int ndigits
static void test_vswprintf(void)
static size_t double int int * decpt
static size_t double number
static int WINAPIV _vswprintf_c_wrapper(wchar_t *str, size_t size, const wchar_t *format,...)
static static const char __ms_va_list
static struct @1684 test_cvt_testcases[]
static void test_fcvt(void)
static int WINAPIV _vscprintf_wrapper(const char *format,...)
static float __port_nan(void)
static void test_xcvt(void)
_Check_return_ _CRTIMP int __cdecl wcscmp(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
#define __ms_va_end(list)
#define __ms_va_start(list, arg)