Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
15bef00d
Commit
15bef00d
authored
Nov 16, 2012
by
Piotr Caban
Committed by
Alexandre Julliard
Nov 16, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp: Sync implementations.
parent
a497d36a
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
80 additions
and
14 deletions
+80
-14
locale.c
dlls/msvcp100/locale.c
+22
-0
msvcp100.spec
dlls/msvcp100/msvcp100.spec
+2
-2
locale.c
dlls/msvcp60/locale.c
+22
-0
msvcp60.spec
dlls/msvcp60/msvcp60.spec
+2
-2
msvcp70.spec
dlls/msvcp70/msvcp70.spec
+2
-2
locale.c
dlls/msvcp71/locale.c
+22
-0
msvcp71.spec
dlls/msvcp71/msvcp71.spec
+2
-2
string.c
dlls/msvcp71/string.c
+2
-2
msvcp80.spec
dlls/msvcp80/msvcp80.spec
+2
-2
string.c
dlls/msvcp90/string.c
+2
-2
No files found.
dlls/msvcp100/locale.c
View file @
15bef00d
...
...
@@ -26,6 +26,7 @@
#include "limits.h"
#include "math.h"
#include "stdio.h"
#include "wctype.h"
#include "wine/list.h"
...
...
@@ -7778,6 +7779,27 @@ locale* __cdecl locale_global(locale *ret, const locale *loc)
return
ret
;
}
/* wctrans */
wctrans_t
__cdecl
wctrans
(
const
char
*
property
)
{
static
const
char
str_tolower
[]
=
"tolower"
;
static
const
char
str_toupper
[]
=
"toupper"
;
if
(
!
strcmp
(
property
,
str_tolower
))
return
2
;
if
(
!
strcmp
(
property
,
str_toupper
))
return
1
;
return
0
;
}
/* towctrans */
wint_t
__cdecl
towctrans
(
wint_t
c
,
wctrans_t
category
)
{
if
(
category
==
1
)
return
towupper
(
c
);
return
towlower
(
c
);
}
DEFINE_RTTI_DATA0
(
locale_facet
,
0
,
".?AVfacet@locale@std@@"
);
DEFINE_RTTI_DATA1
(
collate_char
,
0
,
&
locale_facet_rtti_base_descriptor
,
".?AV?$collate@D@std@@"
);
DEFINE_RTTI_DATA1
(
collate_wchar
,
0
,
&
locale_facet_rtti_base_descriptor
,
".?AV?$collate@_W@std@@"
);
...
...
dlls/msvcp100/msvcp100.spec
View file @
15bef00d
...
...
@@ -2865,6 +2865,6 @@
@ stub _Wcsxfrm
# extern _Xbig
@ stub __Wcrtomb_lk
@
stub towctrans
@
stub wctrans
@
cdecl towctrans(long long)
@
cdecl wctrans(str)
@ cdecl wctype(str)
dlls/msvcp60/locale.c
View file @
15bef00d
...
...
@@ -26,6 +26,7 @@
#include "limits.h"
#include "math.h"
#include "stdio.h"
#include "wctype.h"
#include "wine/list.h"
...
...
@@ -7652,6 +7653,27 @@ locale* __cdecl locale_global(locale *ret, const locale *loc)
return
ret
;
}
/* wctrans */
wctrans_t
__cdecl
wctrans
(
const
char
*
property
)
{
static
const
char
str_tolower
[]
=
"tolower"
;
static
const
char
str_toupper
[]
=
"toupper"
;
if
(
!
strcmp
(
property
,
str_tolower
))
return
2
;
if
(
!
strcmp
(
property
,
str_toupper
))
return
1
;
return
0
;
}
/* towctrans */
wint_t
__cdecl
towctrans
(
wint_t
c
,
wctrans_t
category
)
{
if
(
category
==
1
)
return
towupper
(
c
);
return
towlower
(
c
);
}
DEFINE_RTTI_DATA0
(
locale_facet
,
0
,
".?AVfacet@locale@std@@"
);
DEFINE_RTTI_DATA1
(
collate_char
,
0
,
&
locale_facet_rtti_base_descriptor
,
".?AV?$collate@D@std@@"
);
DEFINE_RTTI_DATA1
(
collate_wchar
,
0
,
&
locale_facet_rtti_base_descriptor
,
".?AV?$collate@_W@std@@"
);
...
...
dlls/msvcp60/msvcp60.spec
View file @
15bef00d
...
...
@@ -4312,9 +4312,9 @@
@ stub mbrlen # msvcrt.mbrlen
@ stub mbrtowc # msvcrt.mbrtowc
@ stub mbsrtowcs # msvcrt.mbsrtowcs
@
stub towctrans
@
cdecl towctrans(long long)
@ stub wcrtomb # msvcrt.wcrtomb
@ cdecl wcsrtombs(ptr ptr long ptr) msvcrt.wcsrtombs
@ cdecl wctob(long) msvcrt.wctob
@
stub wctrans
@
cdecl wctrans(str)
@ cdecl wctype(str)
dlls/msvcp70/msvcp70.spec
View file @
15bef00d
...
...
@@ -5101,9 +5101,9 @@
@ stub mbrlen
@ stub mbrtowc
@ stub mbsrtowcs
@
stub
towctrans
@
cdecl towctrans(long long) msvcp90.
towctrans
@ stub wcrtomb
@ cdecl wcsrtombs(ptr ptr long ptr) msvcrt.wcsrtombs
@ cdecl wctob(long) msvcrt.wctob
@
stub
wctrans
@
cdecl wctrans(str) msvcp90.
wctrans
@ cdecl wctype(str) msvcp90.wctype
dlls/msvcp71/locale.c
View file @
15bef00d
...
...
@@ -26,6 +26,7 @@
#include "limits.h"
#include "math.h"
#include "stdio.h"
#include "wctype.h"
#include "wine/list.h"
...
...
@@ -8275,6 +8276,27 @@ locale* __cdecl locale_global(locale *ret, const locale *loc)
return
ret
;
}
/* wctrans */
wctrans_t
__cdecl
wctrans
(
const
char
*
property
)
{
static
const
char
str_tolower
[]
=
"tolower"
;
static
const
char
str_toupper
[]
=
"toupper"
;
if
(
!
strcmp
(
property
,
str_tolower
))
return
2
;
if
(
!
strcmp
(
property
,
str_toupper
))
return
1
;
return
0
;
}
/* towctrans */
wint_t
__cdecl
towctrans
(
wint_t
c
,
wctrans_t
category
)
{
if
(
category
==
1
)
return
towupper
(
c
);
return
towlower
(
c
);
}
DEFINE_RTTI_DATA0
(
locale_facet
,
0
,
".?AVfacet@locale@std@@"
);
DEFINE_RTTI_DATA1
(
collate_char
,
0
,
&
locale_facet_rtti_base_descriptor
,
".?AV?$collate@D@std@@"
);
DEFINE_RTTI_DATA1
(
collate_wchar
,
0
,
&
locale_facet_rtti_base_descriptor
,
".?AV?$collate@_W@std@@"
);
...
...
dlls/msvcp71/msvcp71.spec
View file @
15bef00d
...
...
@@ -5161,9 +5161,9 @@
@ stub mbrlen
@ stub mbrtowc
@ stub mbsrtowcs
@
stub towctrans
@
cdecl towctrans(long long)
@ stub wcrtomb
@ cdecl wcsrtombs(ptr ptr long ptr) msvcrt.wcsrtombs
@ cdecl wctob(long) msvcrt.wctob
@
stub wctrans
@
cdecl wctrans(str)
@ cdecl wctype(str)
dlls/msvcp71/string.c
View file @
15bef00d
...
...
@@ -565,7 +565,7 @@ MSVCP_bool __thiscall basic_string_char_inside(
{
char
*
cstr
=
basic_string_char_ptr
(
this
);
return
(
ptr
<
cstr
||
ptr
>=
cstr
+
this
->
size
)
?
FALSE
:
TRUE
;
return
ptr
>=
cstr
&&
ptr
<
cstr
+
this
->
size
;
}
/* ?_Tidy@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@IAEX_NI@Z */
...
...
@@ -2256,7 +2256,7 @@ MSVCP_bool __thiscall basic_string_wchar_inside(
{
wchar_t
*
cstr
=
basic_string_wchar_ptr
(
this
);
return
(
ptr
<
cstr
||
ptr
>=
cstr
+
this
->
size
)
?
FALSE
:
TRUE
;
return
ptr
>=
cstr
&&
ptr
<
cstr
+
this
->
size
;
}
/* ?_Tidy@?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@IAEX_NI@Z */
...
...
dlls/msvcp80/msvcp80.spec
View file @
15bef00d
...
...
@@ -5785,6 +5785,6 @@
@ stub __Stofx
@ stub __Stoldx
@ stub __Wcrtomb_lk
@
stub
towctrans
@
stub
wctrans
@
cdecl towctrans(long long) msvcp90.
towctrans
@
cdecl wctrans(str) msvcp90.
wctrans
@ cdecl wctype(str) msvcp90.wctype
dlls/msvcp90/string.c
View file @
15bef00d
...
...
@@ -563,7 +563,7 @@ MSVCP_bool __thiscall basic_string_char_inside(
{
char
*
cstr
=
basic_string_char_ptr
(
this
);
return
(
ptr
<
cstr
||
ptr
>=
cstr
+
this
->
size
)
?
FALSE
:
TRUE
;
return
ptr
>=
cstr
&&
ptr
<
cstr
+
this
->
size
;
}
/* ?_Tidy@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@IAEX_NI@Z */
...
...
@@ -2377,7 +2377,7 @@ MSVCP_bool __thiscall basic_string_wchar_inside(
{
wchar_t
*
cstr
=
basic_string_wchar_ptr
(
this
);
return
(
ptr
<
cstr
||
ptr
>=
cstr
+
this
->
size
)
?
FALSE
:
TRUE
;
return
ptr
>=
cstr
&&
ptr
<
cstr
+
this
->
size
;
}
/* ?_Tidy@?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@IAEX_NI@Z */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment