Go to the source code of this file.
|
| _ACRTIMP wchar_t *__cdecl | _wsetlocale (int, const wchar_t *) |
| |
| wchar_t __cdecl | btowc (int) |
| |
| size_t __cdecl | mbrlen (const char *, size_t, mbstate_t *) |
| |
| size_t __cdecl | mbrtowc (wchar_t *, const char *, size_t, mbstate_t *) |
| |
| size_t __cdecl | mbsrtowcs (wchar_t *, const char **, size_t, mbstate_t *) |
| |
| size_t __cdecl | wcrtomb (char *, wchar_t, mbstate_t *) |
| |
| int __cdecl | wcrtomb_s (size_t *, char *, size_t, wchar_t, mbstate_t *) |
| |
| size_t __cdecl | wcsrtombs (char *, const wchar_t **, size_t, mbstate_t *) |
| |
| int __cdecl | wctob (wint_t) |
| |
| _ACRTIMP errno_t __cdecl | wmemcpy_s (wchar_t *, size_t, const wchar_t *, size_t) |
| |
| static wchar_t * | wmemchr (const wchar_t *s, wchar_t c, size_t n) |
| |
| static int | wmemcmp (const wchar_t *s1, const wchar_t *s2, size_t n) |
| |
| static wchar_t *__cdecl | wmemcpy (wchar_t *dst, const wchar_t *src, size_t n) |
| |
| static wchar_t *__cdecl | wmemmove (wchar_t *dst, const wchar_t *src, size_t n) |
| |
| static wchar_t *__cdecl | wmemset (wchar_t *s, wchar_t c, size_t n) |
| |
◆ _WLOCALE_DEFINED
◆ WCHAR_MAX
◆ WCHAR_MIN
◆ mbstate_t
◆ _wsetlocale()
Definition at line 2097 of file locale.c.
2098{
2100
2104
2105 if(wlocale) {
2109
2113
2115 }
2116
2120
2123
2125 return ret ? current_lc_all :
NULL;
2126}
void CDECL _lock_locales(void)
void CDECL _unlock_locales(void)
#define MAX_LOCALE_LENGTH
◆ btowc()
Definition at line 3206 of file mbcs.c.
3207{
3208 unsigned char letter =
c;
3210
3218
3220}
#define MultiByteToWideChar
#define MB_ERR_INVALID_CHARS
◆ mbrlen()
Definition at line 3095 of file mbcs.c.
3096{
3099
3101 return 0;
3102
3104 return 1;
3109 }else {
3111 }
3114 }else {
3117 }
3118
3122}
◆ mbrtowc()
Definition at line 3225 of file mbcs.c.
3227{
3230 char tmpstr[2];
3232
3235
3237 return 0;
3238
3239 if(
locinfo->mb_cur_max == 1) {
3245 }else {
3249 }
3252 }else {
3257 }
3258
3262 }
3263
3267}
◆ mbsrtowcs()
Definition at line 3425 of file mbcs.c.
3427{
3429 wchar_t tmpdst;
3432
3434 return -1;
3435
3438 int ch_len =
mbrtowc(&tmpdst,
p, 2, &
s);
3439 if(wcstr)
3440 wcstr[
ret] = tmpdst;
3441
3442 if(ch_len < 0) {
3443 return -1;
3444 }else if(ch_len == 0) {
3445 if(wcstr) *pmbstr =
NULL;
3447 }
3448
3451 }
3452
3453 if(wcstr) *pmbstr =
p;
3455}
#define MSVCRT_CHECK_PMT(x)
GLuint GLuint GLsizei count
Referenced by mbsrtowcs_s().
◆ wcrtomb()
◆ wcrtomb_s()
Definition at line 2197 of file wcs.c.
2199{
2201
2206}
int CDECL wctomb_s(int *len, char *mbchar, size_t size, wchar_t wch)
Referenced by wcrtomb().
◆ wcsrtombs()
Definition at line 701 of file wcs.c.
703{
704 if(mbstate)
705 *mbstate = 0;
706
708}
static size_t wcsrtombs_l(char *mbstr, const wchar_t **wcstr, size_t count, _locale_t locale)
◆ wctob()
Definition at line 2175 of file wcs.c.
2176{
2181
2183
2186 return (
signed char)
wchar;
2187 else
2192}
#define WideCharToMultiByte
void CDECL perror(const char *str)
size_t const wchar_t const wchar
wchar_t tm const _CrtWcstime_Writes_and_advances_ptr_ count wchar_t ** out
◆ wmemchr()
◆ wmemcmp()
Definition at line 56 of file wchar.h.
57{
59 for (
i = 0;
i <
n;
i++)
60 {
61 if (
s1[
i] >
s2[
i])
return 1;
62 if (
s1[
i] <
s2[
i])
return -1;
63 }
64 return 0;
65}
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
◆ wmemcpy()
◆ wmemcpy_s()
Definition at line 18 of file wmemcpy_s.cpp.
24{
26 return 0;
27
29
31 {
32
34
37
38
40 }
41
42#pragma warning(suppress:__WARNING_BANNED_API_USAGEL2)
44 return 0;
45}
size_t const size_in_elements
static wchar_t *__cdecl wmemset(wchar_t *s, wchar_t c, size_t n)
static wchar_t *__cdecl wmemcpy(wchar_t *dst, const wchar_t *src, size_t n)
#define _VALIDATE_RETURN_ERRCODE(expr, errorcode)
◆ wmemmove()
◆ wmemset()