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
724a09ab
Commit
724a09ab
authored
Apr 03, 2017
by
Daniel Lehman
Committed by
Alexandre Julliard
Apr 04, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ucrtbase: Add _isblank_l.
Signed-off-by:
Daniel Lehman
<
dlehman@esri.com
>
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
21d6e97d
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
51 additions
and
8 deletions
+51
-8
api-ms-win-crt-string-l1-1-0.spec
...s-win-crt-string-l1-1-0/api-ms-win-crt-string-l1-1-0.spec
+2
-2
msvcr120.spec
dlls/msvcr120/msvcr120.spec
+2
-2
msvcr120_app.spec
dlls/msvcr120_app/msvcr120_app.spec
+2
-2
ctype.c
dlls/msvcrt/ctype.c
+16
-0
misc.c
dlls/ucrtbase/tests/misc.c
+27
-0
ucrtbase.spec
dlls/ucrtbase/ucrtbase.spec
+2
-2
No files found.
dlls/api-ms-win-crt-string-l1-1-0/api-ms-win-crt-string-l1-1-0.spec
View file @
724a09ab
...
...
@@ -7,7 +7,7 @@
@ stub __wcsncnt
@ cdecl _isalnum_l(long ptr) ucrtbase._isalnum_l
@ cdecl _isalpha_l(long ptr) ucrtbase._isalpha_l
@
stub
_isblank_l
@
cdecl _isblank_l(long ptr) ucrtbase.
_isblank_l
@ cdecl _iscntrl_l(long ptr) ucrtbase._iscntrl_l
@ cdecl _isctype(long long) ucrtbase._isctype
@ cdecl _isctype_l(long long ptr) ucrtbase._isctype_l
...
...
@@ -100,7 +100,7 @@
@ cdecl is_wctype(long long) ucrtbase.is_wctype
@ cdecl isalnum(long) ucrtbase.isalnum
@ cdecl isalpha(long) ucrtbase.isalpha
@
stub
isblank
@
cdecl isblank(long) ucrtbase.
isblank
@ cdecl iscntrl(long) ucrtbase.iscntrl
@ cdecl isdigit(long) ucrtbase.isdigit
@ cdecl isgraph(long) ucrtbase.isgraph
...
...
dlls/msvcr120/msvcr120.spec
View file @
724a09ab
...
...
@@ -1291,7 +1291,7 @@
@ cdecl _isalnum_l(long ptr) MSVCRT__isalnum_l
@ cdecl _isalpha_l(long ptr) MSVCRT__isalpha_l
@ cdecl _isatty(long) MSVCRT__isatty
@
stub
_isblank_l
@
cdecl _isblank_l(long ptr) MSVCRT_
_isblank_l
@ cdecl _iscntrl_l(long ptr) MSVCRT__iscntrl_l
@ cdecl _isctype(long long) MSVCRT__isctype
@ cdecl _isctype_l(long long ptr) MSVCRT__isctype_l
...
...
@@ -2215,7 +2215,7 @@
@ cdecl is_wctype(long long) ntdll.iswctype
@ cdecl isalnum(long) MSVCRT_isalnum
@ cdecl isalpha(long) MSVCRT_isalpha
@
stub
isblank
@
cdecl isblank(long) MSVCRT_
isblank
@ cdecl iscntrl(long) MSVCRT_iscntrl
@ cdecl isdigit(long) MSVCRT_isdigit
@ cdecl isgraph(long) MSVCRT_isgraph
...
...
dlls/msvcr120_app/msvcr120_app.spec
View file @
724a09ab
...
...
@@ -1194,7 +1194,7 @@
@ cdecl _isalnum_l(long ptr) msvcr120._isalnum_l
@ cdecl _isalpha_l(long ptr) msvcr120._isalpha_l
@ cdecl _isatty(long) msvcr120._isatty
@
stub
_isblank_l
@
cdecl _isblank_l(long ptr) msvcr120.
_isblank_l
@ cdecl _iscntrl_l(long ptr) msvcr120._iscntrl_l
@ cdecl _isctype(long long) msvcr120._isctype
@ cdecl _isctype_l(long long ptr) msvcr120._isctype_l
...
...
@@ -1878,7 +1878,7 @@
@ stub imaxdiv
@ cdecl isalnum(long) msvcr120.isalnum
@ cdecl isalpha(long) msvcr120.isalpha
@
stub
isblank
@
cdecl isblank(long) msvcr120.
isblank
@ cdecl iscntrl(long) msvcr120.iscntrl
@ cdecl isdigit(long) msvcr120.isdigit
@ cdecl isgraph(long) msvcr120.isgraph
...
...
dlls/msvcrt/ctype.c
View file @
724a09ab
...
...
@@ -293,6 +293,22 @@ int CDECL MSVCRT_isxdigit(int c)
}
/*********************************************************************
* _isblank_l (MSVCRT.@)
*/
int
CDECL
MSVCRT__isblank_l
(
int
c
,
MSVCRT__locale_t
locale
)
{
return
c
==
'\t'
||
MSVCRT__isctype_l
(
c
,
MSVCRT__BLANK
,
locale
);
}
/*********************************************************************
* isblank (MSVCRT.@)
*/
int
CDECL
MSVCRT_isblank
(
int
c
)
{
return
c
==
'\t'
||
MSVCRT__isctype
(
c
,
MSVCRT__BLANK
);
}
/*********************************************************************
* __isascii (MSVCRT.@)
*/
int
CDECL
MSVCRT___isascii
(
int
c
)
...
...
dlls/ucrtbase/tests/misc.c
View file @
724a09ab
...
...
@@ -86,6 +86,9 @@ static char* (CDECL *p__get_narrow_winmain_command_line)(void);
static
int
(
CDECL
*
p_sopen_dispatch
)(
const
char
*
,
int
,
int
,
int
,
int
*
,
int
);
static
int
(
CDECL
*
p_sopen_s
)(
int
*
,
const
char
*
,
int
,
int
,
int
);
static
MSVCRT_lldiv_t
(
CDECL
*
p_lldiv
)(
LONGLONG
,
LONGLONG
);
static
int
(
CDECL
*
p__isctype
)(
int
,
int
);
static
int
(
CDECL
*
p_isblank
)(
int
);
static
int
(
CDECL
*
p__isblank_l
)(
int
,
_locale_t
);
static
void
test__initialize_onexit_table
(
void
)
{
...
...
@@ -380,6 +383,9 @@ static BOOL init(void)
p_sopen_dispatch
=
(
void
*
)
GetProcAddress
(
module
,
"_sopen_dispatch"
);
p_sopen_s
=
(
void
*
)
GetProcAddress
(
module
,
"_sopen_s"
);
p_lldiv
=
(
void
*
)
GetProcAddress
(
module
,
"lldiv"
);
p__isctype
=
(
void
*
)
GetProcAddress
(
module
,
"_isctype"
);
p_isblank
=
(
void
*
)
GetProcAddress
(
module
,
"isblank"
);
p__isblank_l
=
(
void
*
)
GetProcAddress
(
module
,
"_isblank_l"
);
return
TRUE
;
}
...
...
@@ -460,6 +466,26 @@ static void test_lldiv(void)
ok
(
r
.
rem
==
0x222
,
"rem = %x%08x
\n
"
,
(
INT32
)(
r
.
rem
>>
32
),
(
UINT32
)
r
.
rem
);
}
static
void
test_isblank
(
void
)
{
int
c
;
for
(
c
=
0
;
c
<=
0xff
;
c
++
)
{
if
(
c
==
'\t'
||
c
==
' '
)
{
if
(
c
==
'\t'
)
ok
(
!
p__isctype
(
c
,
_BLANK
),
"tab shouldn't be blank
\n
"
);
else
ok
(
p__isctype
(
c
,
_BLANK
),
"space should be blank
\n
"
);
ok
(
p_isblank
(
c
),
"%d should be blank
\n
"
,
c
);
ok
(
p__isblank_l
(
c
,
NULL
),
"%d should be blank
\n
"
,
c
);
}
else
{
ok
(
!
p__isctype
(
c
,
_BLANK
),
"%d shouldn't be blank
\n
"
,
c
);
ok
(
!
p_isblank
(
c
),
"%d shouldn't be blank
\n
"
,
c
);
ok
(
!
p__isblank_l
(
c
,
NULL
),
"%d shouldn't be blank
\n
"
,
c
);
}
}
}
START_TEST
(
misc
)
{
int
arg_c
;
...
...
@@ -483,4 +509,5 @@ START_TEST(misc)
test__sopen_dispatch
();
test__sopen_s
();
test_lldiv
();
test_isblank
();
}
dlls/ucrtbase/ucrtbase.spec
View file @
724a09ab
...
...
@@ -430,7 +430,7 @@
@ cdecl _isalnum_l(long ptr) MSVCRT__isalnum_l
@ cdecl _isalpha_l(long ptr) MSVCRT__isalpha_l
@ cdecl _isatty(long) MSVCRT__isatty
@
stub
_isblank_l
@
cdecl _isblank_l(long ptr) MSVCRT_
_isblank_l
@ cdecl _iscntrl_l(long ptr) MSVCRT__iscntrl_l
@ cdecl _isctype(long long) MSVCRT__isctype
@ cdecl _isctype_l(long long ptr) MSVCRT__isctype_l
...
...
@@ -2349,7 +2349,7 @@
@ cdecl is_wctype(long long) ntdll.iswctype
@ cdecl isalnum(long) MSVCRT_isalnum
@ cdecl isalpha(long) MSVCRT_isalpha
@
stub
isblank
@
cdecl isblank(long) MSVCRT_
isblank
@ cdecl iscntrl(long) MSVCRT_iscntrl
@ cdecl isdigit(long) MSVCRT_isdigit
@ cdecl isgraph(long) MSVCRT_isgraph
...
...
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