"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "dlls/msvcp120/tests/msvcp120.c" between
wine-6.0.tar.xz and wine-6.0.1.tar.xz

About: Wine is an Open Source implementation of the MS Windows API on top of X, OpenGL, and Unix. Think of Wine as a compatibility layer for running Windows programs.

msvcp120.c  (wine-6.0.tar.xz):msvcp120.c  (wine-6.0.1.tar.xz)
skipping to change at line 219 skipping to change at line 219
static MSVCRT_long (__cdecl *p__Xtime_diff_to_millis2)(const xtime*, const xtime *); static MSVCRT_long (__cdecl *p__Xtime_diff_to_millis2)(const xtime*, const xtime *);
static int (__cdecl *p_xtime_get)(xtime*, int); static int (__cdecl *p_xtime_get)(xtime*, int);
static _Cvtvec* (__cdecl *p__Getcvt)(_Cvtvec*); static _Cvtvec* (__cdecl *p__Getcvt)(_Cvtvec*);
static void (CDECL *p__Call_once)(int *once, void (CDECL *func)(void)); static void (CDECL *p__Call_once)(int *once, void (CDECL *func)(void));
static void (CDECL *p__Call_onceEx)(int *once, void (CDECL *func)(void*), void * argv); static void (CDECL *p__Call_onceEx)(int *once, void (CDECL *func)(void*), void * argv);
static void (CDECL *p__Do_call)(void *this); static void (CDECL *p__Do_call)(void *this);
static short (__cdecl *p__Dtest)(double *d); static short (__cdecl *p__Dtest)(double *d);
static short (__cdecl *p__Dscale)(double *d, int exp); static short (__cdecl *p__Dscale)(double *d, int exp);
static short (__cdecl *p__FExp)(float *x, float y, int exp); static short (__cdecl *p__FExp)(float *x, float y, int exp);
static const char* (__cdecl *p__Syserror_map)(int err);
/* filesystem */ /* filesystem */
static ULONGLONG(__cdecl *p_tr2_sys__File_size)(char const*); static ULONGLONG(__cdecl *p_tr2_sys__File_size)(char const*);
static ULONGLONG(__cdecl *p_tr2_sys__File_size_wchar)(WCHAR const*); static ULONGLONG(__cdecl *p_tr2_sys__File_size_wchar)(WCHAR const*);
static int (__cdecl *p_tr2_sys__Equivalent)(char const*, char const*); static int (__cdecl *p_tr2_sys__Equivalent)(char const*, char const*);
static int (__cdecl *p_tr2_sys__Equivalent_wchar)(WCHAR const*, WCHAR const*); static int (__cdecl *p_tr2_sys__Equivalent_wchar)(WCHAR const*, WCHAR const*);
static char* (__cdecl *p_tr2_sys__Current_get)(char *); static char* (__cdecl *p_tr2_sys__Current_get)(char *);
static WCHAR* (__cdecl *p_tr2_sys__Current_get_wchar)(WCHAR *); static WCHAR* (__cdecl *p_tr2_sys__Current_get_wchar)(WCHAR *);
static MSVCP_bool (__cdecl *p_tr2_sys__Current_set)(char const*); static MSVCP_bool (__cdecl *p_tr2_sys__Current_set)(char const*);
static MSVCP_bool (__cdecl *p_tr2_sys__Current_set_wchar)(WCHAR const*); static MSVCP_bool (__cdecl *p_tr2_sys__Current_set_wchar)(WCHAR const*);
skipping to change at line 578 skipping to change at line 579
SET(p_vector_base_v4__Internal_compact, SET(p_vector_base_v4__Internal_compact,
"?_Internal_compact@_Concurrent_vector_base_v4@details@Concurren cy@@IEAAPEAX_KPEAXP6AX10@ZP6AX1PEBX0@Z@Z"); "?_Internal_compact@_Concurrent_vector_base_v4@details@Concurren cy@@IEAAPEAX_KPEAXP6AX10@ZP6AX1PEBX0@Z@Z");
SET(p_vector_base_v4__Internal_grow_by, SET(p_vector_base_v4__Internal_grow_by,
"?_Internal_grow_by@_Concurrent_vector_base_v4@details@Concurren cy@@IEAA_K_K0P6AXPEAXPEBX0@Z2@Z"); "?_Internal_grow_by@_Concurrent_vector_base_v4@details@Concurren cy@@IEAA_K_K0P6AXPEAXPEBX0@Z2@Z");
SET(p_vector_base_v4__Internal_grow_to_at_least_with_result, SET(p_vector_base_v4__Internal_grow_to_at_least_with_result,
"?_Internal_grow_to_at_least_with_result@_Concurrent_vector_base _v4@details@Concurrency@@IEAA_K_K0P6AXPEAXPEBX0@Z2@Z"); "?_Internal_grow_to_at_least_with_result@_Concurrent_vector_base _v4@details@Concurrency@@IEAA_K_K0P6AXPEAXPEBX0@Z2@Z");
SET(p_vector_base_v4__Internal_reserve, SET(p_vector_base_v4__Internal_reserve,
"?_Internal_reserve@_Concurrent_vector_base_v4@details@Concurren cy@@IEAAX_K00@Z"); "?_Internal_reserve@_Concurrent_vector_base_v4@details@Concurren cy@@IEAAX_K00@Z");
SET(p_vector_base_v4__Internal_resize, SET(p_vector_base_v4__Internal_resize,
"?_Internal_resize@_Concurrent_vector_base_v4@details@Concurrenc y@@IEAAX_K00P6AXPEAX0@ZP6AX1PEBX0@Z3@Z"); "?_Internal_resize@_Concurrent_vector_base_v4@details@Concurrenc y@@IEAAX_K00P6AXPEAX0@ZP6AX1PEBX0@Z3@Z");
SET(p__Syserror_map,
"?_Syserror_map@std@@YAPEBDH@Z");
} else { } else {
SET(p_tr2_sys__File_size, SET(p_tr2_sys__File_size,
"?_File_size@sys@tr2@std@@YA_KPBD@Z"); "?_File_size@sys@tr2@std@@YA_KPBD@Z");
SET(p_tr2_sys__File_size_wchar, SET(p_tr2_sys__File_size_wchar,
"?_File_size@sys@tr2@std@@YA_KPB_W@Z"); "?_File_size@sys@tr2@std@@YA_KPB_W@Z");
SET(p_tr2_sys__Equivalent, SET(p_tr2_sys__Equivalent,
"?_Equivalent@sys@tr2@std@@YAHPBD0@Z"); "?_Equivalent@sys@tr2@std@@YAHPBD0@Z");
SET(p_tr2_sys__Equivalent_wchar, SET(p_tr2_sys__Equivalent_wchar,
"?_Equivalent@sys@tr2@std@@YAHPB_W0@Z"); "?_Equivalent@sys@tr2@std@@YAHPB_W0@Z");
SET(p_tr2_sys__Current_get, SET(p_tr2_sys__Current_get,
skipping to change at line 651 skipping to change at line 654
SET(p_threads__Mtx_new, SET(p_threads__Mtx_new,
"?_Mtx_new@threads@stdext@@YAXAAPAX@Z"); "?_Mtx_new@threads@stdext@@YAXAAPAX@Z");
SET(p_threads__Mtx_delete, SET(p_threads__Mtx_delete,
"?_Mtx_delete@threads@stdext@@YAXPAX@Z"); "?_Mtx_delete@threads@stdext@@YAXPAX@Z");
SET(p_threads__Mtx_lock, SET(p_threads__Mtx_lock,
"?_Mtx_lock@threads@stdext@@YAXPAX@Z"); "?_Mtx_lock@threads@stdext@@YAXPAX@Z");
SET(p_threads__Mtx_unlock, SET(p_threads__Mtx_unlock,
"?_Mtx_unlock@threads@stdext@@YAXPAX@Z"); "?_Mtx_unlock@threads@stdext@@YAXPAX@Z");
SET(p_vector_base_v4__Segment_index_of, SET(p_vector_base_v4__Segment_index_of,
"?_Segment_index_of@_Concurrent_vector_base_v4@details@Concurren cy@@KAII@Z"); "?_Segment_index_of@_Concurrent_vector_base_v4@details@Concurren cy@@KAII@Z");
SET(p__Syserror_map,
"?_Syserror_map@std@@YAPBDH@Z");
#ifdef __i386__ #ifdef __i386__
SET(p_i386_Thrd_current, SET(p_i386_Thrd_current,
"_Thrd_current"); "_Thrd_current");
p__Thrd_current = i386_Thrd_current; p__Thrd_current = i386_Thrd_current;
SET(p__Pad_ctor, SET(p__Pad_ctor,
"??0_Pad@std@@QAE@XZ"); "??0_Pad@std@@QAE@XZ");
SET(p__Pad_copy_ctor, SET(p__Pad_copy_ctor,
"??0_Pad@std@@QAE@ABV01@@Z"); "??0_Pad@std@@QAE@ABV01@@Z");
SET(p__Pad_dtor, SET(p__Pad_dtor,
"??1_Pad@std@@QAE@XZ"); "??1_Pad@std@@QAE@XZ");
skipping to change at line 1173 skipping to change at line 1178
d = 90; d = 90;
ret = p__FExp(&d, 1, 0); ret = p__FExp(&d, 1, 0);
ok(ret == FP_INFINITE, "ret = %x\n", ret); ok(ret == FP_INFINITE, "ret = %x\n", ret);
d = 90; d = 90;
ret = p__FExp(&d, 1, -50); ret = p__FExp(&d, 1, -50);
ok(compare_float(d, 1.0839359e+024, 4), "d = %g\n", d); ok(compare_float(d, 1.0839359e+024, 4), "d = %g\n", d);
ok(ret == FP_NORMAL, "ret = %x\n", ret); ok(ret == FP_NORMAL, "ret = %x\n", ret);
} }
static void test__Syserror_map(void)
{
const char *r;
r = p__Syserror_map(0);
ok(!r, "_Syserror_map(0) returned %p\n", r);
}
static void test_tr2_sys__File_size(void) static void test_tr2_sys__File_size(void)
{ {
ULONGLONG val; ULONGLONG val;
HANDLE file; HANDLE file;
LARGE_INTEGER file_size; LARGE_INTEGER file_size;
CreateDirectoryA("tr2_test_dir", NULL); CreateDirectoryA("tr2_test_dir", NULL);
file = CreateFileA("tr2_test_dir/f1", GENERIC_WRITE, 0, NULL, CREATE_ALWAYS, 0, NULL); file = CreateFileA("tr2_test_dir/f1", GENERIC_WRITE, 0, NULL, CREATE_ALWAYS, 0, NULL);
ok(file != INVALID_HANDLE_VALUE, "create file failed: INVALID_HANDLE_VALUE\n "); ok(file != INVALID_HANDLE_VALUE, "create file failed: INVALID_HANDLE_VALUE\n ");
file_size.QuadPart = 7; file_size.QuadPart = 7;
skipping to change at line 3309 skipping to change at line 3322
alloc_expect_struct(); alloc_expect_struct();
test__Xtime_diff_to_millis2(); test__Xtime_diff_to_millis2();
test_xtime_get(); test_xtime_get();
test__Getcvt(); test__Getcvt();
test__Call_once(); test__Call_once();
test__Do_call(); test__Do_call();
test__Dtest(); test__Dtest();
test__Dscale(); test__Dscale();
test__FExp(); test__FExp();
test__Syserror_map();
test_tr2_sys__File_size(); test_tr2_sys__File_size();
test_tr2_sys__Equivalent(); test_tr2_sys__Equivalent();
test_tr2_sys__Current_get(); test_tr2_sys__Current_get();
test_tr2_sys__Current_set(); test_tr2_sys__Current_set();
test_tr2_sys__Make_dir(); test_tr2_sys__Make_dir();
test_tr2_sys__Remove_dir(); test_tr2_sys__Remove_dir();
test_tr2_sys__Copy_file(); test_tr2_sys__Copy_file();
test_tr2_sys__Rename(); test_tr2_sys__Rename();
test_tr2_sys__Statvfs(); test_tr2_sys__Statvfs();
 End of changes. 5 change blocks. 
0 lines changed or deleted 14 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)