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 3211 of file mbcs.c.
3212{
3213 unsigned char letter =
c;
3215
3223
3225}
#define MultiByteToWideChar
#define MB_ERR_INVALID_CHARS
◆ mbrlen()
Definition at line 3100 of file mbcs.c.
3101{
3104
3106 return 0;
3107
3109 return 1;
3114 }else {
3116 }
3119 }else {
3122 }
3123
3127}
◆ mbrtowc()
Definition at line 3230 of file mbcs.c.
3232{
3235 char tmpstr[2];
3237
3240
3242 return 0;
3243
3244 if(
locinfo->mb_cur_max == 1) {
3250 }else {
3254 }
3257 }else {
3262 }
3263
3267 }
3268
3272}
◆ mbsrtowcs()
Definition at line 3430 of file mbcs.c.
3432{
3434 wchar_t tmpdst;
3437
3439 return -1;
3440
3443 int ch_len =
mbrtowc(&tmpdst,
p, 2, &
s);
3444 if(wcstr)
3445 wcstr[
ret] = tmpdst;
3446
3447 if(ch_len < 0) {
3448 return -1;
3449 }else if(ch_len == 0) {
3450 if(wcstr) *pmbstr =
NULL;
3452 }
3453
3456 }
3457
3458 if(wcstr) *pmbstr =
p;
3460}
#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()