31 if(d1-d2>-1
e-30 && d1-d2<1
e-30)
53static void *(
__cdecl *p_lfind_s)(
const void*,
const void*,
unsigned int*,
54 size_t,
int (
__cdecl *)(
void*,
const void*,
const void*),
void*);
82 win_skip(
"rand_s is not available\n");
88 ok(
ret ==
EINVAL,
"Expected rand_s to return EINVAL, got %d\n",
ret);
92 ok(
ret == 0,
"Expected rand_s to return 0, got %d\n",
ret);
114 { { 0x00000000, 0x00000000, 0x0000 }, 10, 0, {0,
' ', 1,
"0"}, 1,
"" },
115 { { 0x00000000, 0x80000000, 0x3fff }, 10, 0, {1,
' ', 1,
"1"}, 1,
"000000009" },
116 { { 0x00000000, 0x80000000, 0xbfff }, 10, 0, {1,
'-', 1,
"1"}, 1,
"000000009" },
117 { { 0x0a3d7000, 0x9d70a3d7, 0x3fff }, 10, 0, {1,
' ', 3,
"123"}, 1,
"0000009" },
118 { { 0x00000000, 0x9184e72a, 0x402a }, 10, 0, {14,
' ', 1,
"1"}, 1,
"000000009" },
119 { { 0x04675000, 0xc9f2c9cd, 0x4062 }, 30, 0, {31,
' ', 21,
"100000000000000001988"}, 1,
"" },
120 { { 0x4bb41000, 0xe12e1342, 0x3fd3 }, 10, 0, {-12,
' ', 1,
"1"}, 1,
"000000000" },
121 { { 0x00000000, 0x80000000, 0x3ffd }, 10, 0, {0,
' ', 2,
"25"}, 1,
"00000000" },
122 { { 0xbf94d800, 0x800000d6, 0x3fff }, 10, 0, {1,
' ', 8,
"10000001"}, 1,
"00" },
123 { { 0x00000000, 0x80000000, 0x7fff }, 10, 0, {1,
' ', 5,
"1#INF"}, 0,
"" },
124 { { 0x00000000, 0x80000000, 0xffff }, 10, 0, {1,
'-', 5,
"1#INF"}, 0,
"" },
125 { { 0x00000001, 0x80000000, 0x7fff }, 10, 0, {1,
' ', 6,
"1#SNAN"}, 0,
"" },
126 { { 0x00000001, 0x80000000, 0xffff }, 10, 0, {1,
'-', 6,
"1#SNAN"}, 0,
"" },
127 { { 0x00000000, 0xc0000000, 0x7fff }, 10, 0, {1,
' ', 6,
"1#QNAN"}, 0,
"" },
128 { { 0x00000000, 0x40000000, 0xffff }, 10, 0, {1,
'-', 6,
"1#QNAN"}, 0,
"" },
130 { { 0x00000000, 0x00000000, 0x0000 }, 10, 1, {0,
' ', 1,
"0"}, 1,
"" },
131 { { 0x00000000, 0x80000000, 0x3fff }, 10, 1, {1,
' ', 1,
"1"}, 1,
"0000000009" },
132 { { 0x00000000, 0x80000000, 0xbfff }, 10, 1, {1,
'-', 1,
"1"}, 1,
"0000000009" },
133 { { 0x0a3d7000, 0x9d70a3d7, 0x3fff }, 10, 1, {1,
' ', 3,
"123"}, 1,
"00000009" },
134 { { 0x00000000, 0x9184e72a, 0x402a }, 10, 1, {14,
' ', 1,
"1"}, 1,
"00000000000000000009" },
135 { { 0x04675000, 0xc9f2c9cd, 0x4062 }, 30, 1, {31,
' ', 21,
"100000000000000001988"}, 1,
"" },
136 { { 0x4bb41000, 0xe12e1342, 0x3fd3 }, 10, 1, {0,
' ', 1,
"0"}, 1,
"" },
137 { { 0xe57a4000, 0xd6bf94d5, 0x3fe7 }, 10, 1, {-6,
' ', 1,
"1"}, 1,
"09" },
138 { { 0x00000000, 0x80000000, 0x3ffd }, 10, 1, {0,
' ', 2,
"25"}, 1,
"00000000" },
139 { { 0xbf94d800, 0x800000d6, 0x3fff }, 10, 1, {1,
' ', 8,
"10000001"}, 1,
"000" },
140 { { 0x00000000, 0x80000000, 0x7fff }, 10, 1, {1,
' ', 5,
"1#INF"}, 0,
"" },
141 { { 0x00000000, 0x80000000, 0xffff }, 10, 1, {1,
'-', 5,
"1#INF"}, 0,
"" },
142 { { 0x00000001, 0x80000000, 0x7fff }, 10, 1, {1,
' ', 6,
"1#SNAN"}, 0,
"" },
143 { { 0x00000000, 0xc0000000, 0x7fff }, 10, 1, {1,
' ', 6,
"1#QNAN"}, 0,
"" },
144 { { 0x00000000, 0x40000000, 0x7fff }, 10, 1, {1,
' ', 6,
"1#QNAN"}, 0,
"" },
146 { { 0x00000000, 0x00000000, 0x0000 }, 0, 0, {0,
' ', 1,
"0"}, 1,
"" },
147 { { 0x00000000, 0x00000000, 0x0000 }, 0, 1, {0,
' ', 1,
"0"}, 1,
"" },
148 { { 0x00000000, 0xf6000000, 0x4005 }, 2, 0, {3,
' ', 2,
"12"}, 1,
"" },
149 { { 0x00000000, 0xf6000000, 0x4005 }, 0, 0, {0,
' ', 1,
"0"}, 1,
"" },
150 { { 0x00000000, 0xf6000000, 0x4005 }, 2, 1, {3,
' ', 3,
"123"}, 1,
"09" },
151 { { 0x0a3d7000, 0xfd70a3d7, 0x3ffe }, 1, 0, {1,
' ', 1,
"1"}, 1,
"" },
152 { { 0x00000000, 0x9a5db800, 0x4013 }, 2, 0, {7,
' ', 2,
"13"}, 1,
"" },
153 { { 0x00000000, 0x9a5db800, 0x4013 }, 2, 1, {7,
' ', 7,
"1264567"}, 1,
"00" },
154 { { 0x00000000, 0x932c05a6, 0x401d }, 2, 1, {10,
' ', 10,
"1234567891"}, 1,
"09" }
163 win_skip(
"I10_OUTPUT not available\n");
179 "%d: &out.str[%d] = %.25s...\n",
i,
out.len+1,
out.str+
out.len+1);
182 if(
out.str[
j] !=
'#')
183 ok(0,
"%d: out.str[%d] = %c (expected \'#\')\n",
i,
j,
out.str[
j]);
194 win_skip(
"strerror_s is not available\n");
200 ok(
ret ==
EINVAL,
"Expected strerror_s to return EINVAL, got %d\n",
ret);
205 ok(
ret ==
EINVAL,
"Expected strerror_s to return EINVAL, got %d\n",
ret);
210 ret = pstrerror_s(
buf, 0, 0);
211 ok(
ret ==
EINVAL,
"Expected strerror_s to return EINVAL, got %d\n",
ret);
213 ok(
buf[0] ==
'X',
"Expected output buffer to be untouched\n");
216 ret = pstrerror_s(
buf, 1, 0);
217 ok(
ret == 0,
"Expected strerror_s to return 0, got %d\n",
ret);
218 ok(
buf[0] == 0,
"Expected output buffer to be null terminated\n");
221 ret = pstrerror_s(
buf, 2, 0);
222 ok(
ret == 0,
"Expected strerror_s to return 0, got %d\n",
ret);
223 ok(
strlen(
buf) == 1,
"Expected output buffer to be truncated\n");
227 ok(
ret == 0,
"Expected strerror_s to return 0, got %d\n",
ret);
231 ok(
ret == 0,
"Expected strerror_s to return 0, got %d\n",
ret);
240 win_skip(
"_get_doserrno is not available\n");
247 ok(
ret ==
EINVAL,
"Expected _get_doserrno to return EINVAL, got %d\n",
ret);
254 ret = p_get_doserrno(&
out);
255 ok(
ret == 0,
"Expected _get_doserrno to return 0, got %d\n",
ret);
265 win_skip(
"_get_errno is not available\n");
271 ok(
ret ==
EINVAL,
"Expected _get_errno to return EINVAL, got %d\n",
ret);
277 ok(
ret == 0,
"Expected _get_errno to return 0, got %d\n",
ret);
278 ok(
out ==
EBADF,
"Expected output variable to be EBADF, got %d\n",
out);
287 win_skip(
"_set_doserrno is not available\n");
293 ok(
ret == 0,
"Expected _set_doserrno to return 0, got %d\n",
ret);
295 "Expected _doserrno to be ERROR_FILE_NOT_FOUND, got %ld\n",
_doserrno);
298 ret = p_set_doserrno(-1);
299 ok(
ret == 0,
"Expected _set_doserrno to return 0, got %d\n",
ret);
301 "Expected _doserrno to be -1, got %ld\n",
_doserrno);
304 ret = p_set_doserrno(0xdeadbeef);
305 ok(
ret == 0,
"Expected _set_doserrno to return 0, got %d\n",
ret);
307 "Expected _doserrno to be 0xdeadbeef, got %ld\n",
_doserrno);
316 win_skip(
"_set_errno is not available\n");
322 ok(
ret == 0,
"Expected _set_errno to return 0, got %d\n",
ret);
326 ret = p_set_errno(-1);
327 ok(
ret == 0,
"Expected _set_errno to return 0, got %d\n",
ret);
328 ok(
errno == -1,
"Expected errno to be -1, got %d\n",
errno);
331 ret = p_set_errno(0xdeadbeef);
332 ok(
ret == 0,
"Expected _set_errno to return 0, got %d\n",
ret);
333 ok(
errno == 0xdeadbeef,
"Expected errno to be 0xdeadbeef, got %d\n",
errno);
348 char buf[1024], *rets;
351 if (
strcmp(
buf,
"child-to-parent\n") != 0)
363 char *tempf,
buf[1024];
367 ok(tempf !=
NULL,
"_tempnam failed\n");
369 ok(
fd != -1,
"open failed\n");
373 ok(pipe !=
NULL,
"_popen failed with error: %d\n",
errno);
379 ok(
ret == 0x37,
"_pclose returned %x, expected 0x37\n",
ret);
386 ok(
ret == -1,
"_pclose returned %x, expected -1\n",
ret);
392 ok(pipe !=
NULL,
"_popen failed with error: %d\n",
errno);
394 ret =
fputs(
"child-to-parent\n", pipe);
400 skip(
"Skipping _pclose, because it hangs on reactos\n");
405 ok(
ret == 0x3,
"_pclose returned %x, expected 0x3\n",
ret);
410 if(!p__invalid_parameter) {
411 win_skip(
"_invalid_parameter not available\n");
434 ok(qt->
pos < 64,
"qt->pos = %d\n", qt->
pos);
436 "%d) l on %ld position\n", qt->
pos, (
long)((
int*)
l - qt->
base));
438 "%d) r on %ld position\n", qt->
pos, (
long)((
int*)
r - qt->
base));
442 return *(
int*)
l%1000 - *(
int*)
r%1000;
447 static const int nonstable_test[] = {9000, 8001, 7002, 6003, 1003, 5004, 4005, 3006, 2007};
452 {1, 0}, {2, 1}, {3, 2}, {4, 3}, {5, 4}, {6, 5}, {7, 6},
453 {1, 0}, {2, 1}, {3, 2}, {4, 3}, {5, 4}, {6, 5},
454 {1, 0}, {2, 1}, {3, 2}, {4, 3}, {5, 4},
455 {1, 0}, {2, 1}, {3, 2}, {4, 3},
456 {1, 0}, {2, 1}, {3, 2},
462 {1, 0}, {2, 0}, {3, 0}, {4, 0}, {5, 0}, {6, 0}, {7, 0},
463 {1, 0}, {2, 1}, {3, 1}, {4, 1}, {5, 1}, {6, 1},
464 {1, 0}, {2, 1}, {3, 2}, {4, 2}, {5, 2},
465 {1, 0}, {2, 1}, {3, 2}, {4, 3},
466 {1, 0}, {2, 1}, {3, 2},
472 {0, 4}, {0, 8}, {4, 8},
473 {1, 4}, {2, 4}, {3, 4}, {5, 4}, {6, 4}, {7, 4}, {7, 4}, {6, 4},
476 {1, 0}, {2, 1}, {3, 2}, {4, 3}, {5, 4}, {6, 4},
477 {1, 0}, {2, 1}, {3, 2}, {4, 3}, {5, 3},
478 {1, 0}, {2, 1}, {3, 2}, {4, 2},
479 {1, 0}, {2, 1}, {3, 2},
486 win_skip(
"qsort_s not available\n");
492 ok(small_sort.
pos == 28,
"small_sort.pos = %d\n", small_sort.
pos);
498 ok(small_sort2.pos == 28,
"small_sort2.pos = %d\n", small_sort2.pos);
506 ok(quick_sort.pos == 34,
"quick_sort.pos = %d\n", quick_sort.pos);
509 for(
i=0;
i<9;
i++)
tab[
i] = 8-
i + 1000*(
i+1);
513 ok(
tab[
i] == nonstable_test[
i],
"tab[%d] = %d, expected %d\n",
i,
tab[
i], nonstable_test[
i]);
520 ok(
tab[
i-1] <=
tab[
i],
"data sorted incorrectly on position %d: %d <= %d\n",
i,
tab[
i-1],
tab[
i]);
524 for(
i=0;
i<100;
i++) {
535 ok(
tab[
i] ==
i,
"data sorted incorrectly on position %d: %d\n",
i,
tab[
i]);
544 mask = 0xFFFFFFFF00000000ULL;
549 ok((ai &
mask) == (bi &
mask),
"comparing %s and %s\n",
557 ok(ai == bi,
"comparing %08lx and %08lx\n", ai, bi);
563 static const UINT64 test_nan_i = 0xFFF0000123456780ULL;
564 static const DWORD test_nanf_i = 0xFF801234;
565 double test_nan = *(
double*)&test_nan_i;
566 float test_nanf = *(
float*)&test_nanf_i;
600 ok(
eq_nan(test_nan_i | (1ULL << 51),
cosh(test_nan)),
"cosh not preserving nan\n");
601 ok(
eq_nan(test_nan_i | (1ULL << 51),
sinh(test_nan)),
"sinh not preserving nan\n");
602 ok(
eq_nan(test_nan_i | (1ULL << 51),
tanh(test_nan)),
"tanh not preserving nan\n");
603 ok(
eq_nanf(test_nanf_i | (1 << 22),
coshf(test_nanf)),
"coshf not preserving nan\n");
604 ok(
eq_nanf(test_nanf_i | (1 << 22),
sinhf(test_nanf)),
"sinhf not preserving nan\n");
605 ok(
eq_nanf(test_nanf_i | (1 << 22),
tanhf(test_nanf)),
"tanhf not preserving nan\n");
610 if (end_thread_type == (
void*)1)
612 else if (end_thread_type == (
void*)2)
614 else if (end_thread_type == (
void*)3)
676 ok(
ret == 1,
"suspend count = %ld\n",
ret);
683 *(
int *)
ctx = 0xdeadc0de;
684 return *(
int *)
l - *(
int *)
r;
689 static const int tests[] = {9000, 8001, 7002, 6003, 1003, 5004, 4005, 3006, 2007};
697 win_skip(
"_lfind_s is not available\n");
707 ok(!found,
"Expected NULL, got %p\n", found);
712 ok(!found,
"Expected NULL, got %p\n", found);
717 ok(!found,
"Expected NULL, got %p\n", found);
722 ok(!found,
"Expected NULL, got %p\n", found);
729 ok(found ==
tests,
"Expected %p, got %p\n",
tests, found);
730 ok(
ctx == 0xdeadc0de,
"Expected 0xdeadc0de, got %x\n",
ctx);
737 ok(found ==
tests+8,
"Expected %p, got %p\n",
tests+8, found);
738 ok(
ctx == 0xdeadc0de,
"Expected 0xdeadc0de, got %x\n",
ctx);
745 ok(!found,
"Expected NULL, got %p\n", found);
746 ok(
ctx == 0xdeadc0de,
"Expected 0xdeadc0de, got %x\n",
ctx);
758 if (!
strcmp(arg_v[2],
"popen_read"))
760 else if(arg_c == 4 && !
strcmp(arg_v[2],
"popen"))
763 ok(0,
"invalid argument '%s'\n", arg_v[2]);
unsigned long long UINT64
_STLP_DECLSPEC complex< float > _STLP_CALL sinh(const complex< float > &)
_STLP_DECLSPEC complex< float > _STLP_CALL cosh(const complex< float > &)
_STLP_DECLSPEC complex< float > _STLP_CALL tanh(const complex< float > &)
int strcmp(const char *String1, const char *String2)
ACPI_SIZE strlen(const char *String)
int strncmp(const char *String1, const char *String2, ACPI_SIZE Count)
#define GetProcAddress(x, y)
#define INVALID_HANDLE_VALUE
static __inline const char * wine_dbgstr_longlong(ULONGLONG ll)
HMODULE WINAPI DECLSPEC_HOTPATCH GetModuleHandleA(LPCSTR lpModuleName)
VOID WINAPI ExitProcess(IN UINT uExitCode)
DWORD WINAPI ResumeThread(IN HANDLE hThread)
VOID WINAPI ExitThread(IN DWORD uExitCode)
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
GLdouble GLdouble GLdouble r
GLboolean GLboolean GLboolean b
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
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 GLint GLint j
_Check_return_ float __cdecl tanhf(_In_ float x)
_Check_return_ float __cdecl coshf(_In_ float x)
_Check_return_ float __cdecl sinhf(_In_ float x)
_Check_return_opt_ _CRTIMP int __cdecl _pclose(_Inout_ FILE *_File)
_Check_return_ _CRTIMP char *__cdecl _tempnam(_In_opt_z_ const char *_DirName, _In_opt_z_ const char *_FilePrefix)
_Check_return_opt_ _CRTIMP int __cdecl fputs(_In_z_ const char *_Str, _Inout_ FILE *_File)
_Check_return_opt_ _CRTIMP char *__cdecl fgets(_Out_writes_z_(_MaxCount) char *_Buf, _In_ int _MaxCount, _Inout_ FILE *_File)
_Check_return_ _CRTIMP FILE *__cdecl _popen(_In_z_ const char *_Command, _In_z_ const char *_Mode)
void __cdecl srand(_In_ unsigned int _Seed)
_Check_return_ int __cdecl atoi(_In_z_ const char *_Str)
_Check_return_ int __cdecl rand(void)
#define ERROR_FILE_NOT_FOUND
static struct test_info tests[]
#define sprintf(buf, format,...)
static PEXPLICIT_ACCESSW *static HMODULE hmod
#define todo_wine_if(is_todo)
static void test__invalid_parameter(void)
static void test__lfind_s(void)
struct _I10_OUTPUT_data I10_OUTPUT_data
static void test__set_doserrno(void)
static void test__popen_child(int fd)
static void test_math_functions(void)
static const I10_OUTPUT_test I10_OUTPUT_tests[]
static void __cdecl test_thread_func(void *end_thread_type)
static int eq_nan(UINT64 ai, double b)
static void test__popen_read_child(void)
static void test_qsort_s(void)
static void test__get_errno(void)
static unsigned __stdcall test_thread_func_ex(void *arg)
static void test_thread_handle_close(void)
struct _I10_OUTPUT_test I10_OUTPUT_test
static void test__set_errno(void)
static void test__get_doserrno(void)
static void test_I10_OUTPUT(void)
static int __cdecl _lfind_s_comp(void *ctx, const void *l, const void *r)
static void test_strerror_s(void)
static BOOL almost_equal(double d1, double d2)
static int __cdecl qsort_comp(void *ctx, const void *l, const void *r)
static int eq_nanf(DWORD ai, float b)
static void test__popen(const char *name)
static void test_rand_s(void)
static const wchar_t const wchar_t unsigned uintptr_t
static void test_thread_suspended(void)
static const char mbstate_t *static wchar_t const char mbstate_t *static const wchar_t int *static double
_CRTIMP intptr_t __cdecl _get_osfhandle(_In_ int _FileHandle)
_Check_return_opt_ _CRTIMP int __cdecl _close(_In_ int _FileHandle)
_Check_return_ _CRTIMP int __cdecl _unlink(_In_z_ const char *_Filename)
_CRTIMP int __cdecl _open(const char *_Filename, int _OpenFlag,...)
_CRTIMP void __cdecl _endthreadex(_In_ unsigned _Retval)
_CRTIMP uintptr_t __cdecl _beginthreadex(_In_opt_ void *_Security, _In_ unsigned _StackSize, _In_ unsigned(__stdcall *_StartAddress)(void *), _In_opt_ void *_ArgList, _In_ unsigned _InitFlag, _Out_opt_ unsigned *_ThrdAddr)
_CRTIMP uintptr_t __cdecl _beginthread(_In_ void(__cdecl *_StartAddress)(void *), _In_ unsigned _StackSize, _In_opt_ void *_ArgList)
_CRTIMP void __cdecl _endthread(void)
int winetest_get_mainargs(char ***pargv)
struct qsort_test::@1691 cmp[64]
DWORD WINAPI WaitForSingleObject(IN HANDLE hHandle, IN DWORD dwMilliseconds)
VOID WINAPI DECLSPEC_HOTPATCH Sleep(IN DWORD dwMilliseconds)
wchar_t tm const _CrtWcstime_Writes_and_advances_ptr_ count wchar_t ** out
static struct wctab tab[]
#define ERROR_INVALID_CMM