ReactOS
0.4.16-dev-814-g656a5dc
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
c
d
e
f
g
h
i
l
m
n
o
p
s
t
u
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
_
a
b
c
d
f
i
l
m
o
p
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
common_utf8.cpp
Go to the documentation of this file.
1
//
2
// common_utf8.cpp
3
//
4
// Copyright (c) Microsoft Corporation. All rights reserved.
5
//
6
// Common UTF-8 utilities
7
//
8
9
#include <
corecrt_internal.h
>
10
#include <
corecrt_internal_mbstring.h
>
11
#include <
corecrt_internal_ptd_propagation.h
>
12
13
namespace
__crt_mbstring
14
{
15
size_t
return_illegal_sequence
(
mbstate_t
* ps, __crt_cached_ptd_host&
ptd
)
16
{
17
*ps = {};
18
ptd
.get_errno().set(
EILSEQ
);
19
return
INVALID
;
20
}
21
22
size_t
reset_and_return
(
size_t
retval
,
mbstate_t
* ps)
23
{
24
*ps = {};
25
return
retval
;
26
}
27
}
corecrt_internal.h
corecrt_internal_mbstring.h
corecrt_internal_ptd_propagation.h
ptd
_In_ size_t const _In_ int _In_ bool const _In_ unsigned const _In_ __acrt_rounding_mode const _Inout_ __crt_cached_ptd_host & ptd
Definition:
cvt.cpp:355
__crt_mbstring
Definition:
common_utf8.cpp:14
__crt_mbstring::INVALID
constexpr size_t INVALID
Definition:
corecrt_internal_mbstring.h:147
__crt_mbstring::return_illegal_sequence
size_t return_illegal_sequence(mbstate_t *ps, __crt_cached_ptd_host &ptd)
Definition:
common_utf8.cpp:15
__crt_mbstring::reset_and_return
size_t reset_and_return(size_t retval, mbstate_t *ps)
Definition:
common_utf8.cpp:22
EILSEQ
#define EILSEQ
Definition:
errno.h:109
__mbstate_t
Definition:
_sunprocc.h:145
retval
int retval
Definition:
wcstombs.cpp:91
sdk
lib
ucrt
convert
common_utf8.cpp
Generated on Thu Mar 13 2025 06:14:43 for ReactOS by
1.9.6