ReactOS 0.4.16-dev-937-g7afcd2a
mbclevel.cpp File Reference
#include <corecrt_internal_mbstring.h>
#include <locale.h>
Include dependency graph for mbclevel.cpp:

Go to the source code of this file.

Functions

int __cdecl _ismbcl0_l (unsigned int c, _locale_t plocinfo)
 
 int (__cdecl _ismbcl0)(unsigned int c)
 
int __cdecl _ismbcl1_l (unsigned int c, _locale_t plocinfo)
 
int __cdecl _ismbcl2_l (unsigned int c, _locale_t plocinfo)
 
int __cdecl _ismbcl2 (unsigned int c)
 

Function Documentation

◆ _ismbcl0_l()

int __cdecl _ismbcl0_l ( unsigned int  c,
_locale_t  plocinfo 
)

Definition at line 36 of file mbclevel.cpp.

40{
41 _LocaleUpdate _loc_update(plocinfo);
42
43 return( (_loc_update.GetLocaleT()->mbcinfo->mbcodepage == _KANJI_CP) &&
44 (_ismbblead_l(c >> 8, _loc_update.GetLocaleT())) &&
45 (_ismbbtrail_l(c & 0x0ff, _loc_update.GetLocaleT())) &&
46 (c < 0x889f) );
47}
#define _ismbblead_l(_c, p)
#define _ismbbtrail_l(_c, p)
#define _KANJI_CP
Definition: mbctype.h:53
const GLubyte * c
Definition: glext.h:8905
_locale_t plocinfo
Definition: ismbbyte.cpp:75

Referenced by int().

◆ _ismbcl1_l()

int __cdecl _ismbcl1_l ( unsigned int  c,
_locale_t  plocinfo 
)

Definition at line 73 of file mbclevel.cpp.

77{
78 _LocaleUpdate _loc_update(plocinfo);
79
80 return( (_loc_update.GetLocaleT()->mbcinfo->mbcodepage == _KANJI_CP) &&
81 (_ismbblead_l(c >> 8, _loc_update.GetLocaleT())) &&
82 (_ismbbtrail_l(c & 0x0ff, _loc_update.GetLocaleT())) &&
83 (c >= 0x889f) && (c <= 0x9872) );
84}

◆ _ismbcl2()

int __cdecl _ismbcl2 ( unsigned int  c)

Definition at line 122 of file mbclevel.cpp.

125{
126 return _ismbcl2_l(c, nullptr);
127}
int __cdecl _ismbcl2_l(unsigned int c, _locale_t plocinfo)
Definition: mbclevel.cpp:110

◆ _ismbcl2_l()

int __cdecl _ismbcl2_l ( unsigned int  c,
_locale_t  plocinfo 
)

Definition at line 110 of file mbclevel.cpp.

114{
115 _LocaleUpdate _loc_update(plocinfo);
116
117 return( (_loc_update.GetLocaleT()->mbcinfo->mbcodepage == _KANJI_CP) &&
118 (_ismbblead_l(c >> 8, _loc_update.GetLocaleT())) &&
119 (_ismbbtrail_l(c & 0x0ff, _loc_update.GetLocaleT())) &&
120 (c >= 0x989f) && (c <= 0xEAA4) );
121}

Referenced by _ismbcl2().

◆ int()

int ( __cdecl  _ismbcl0)

Definition at line 49 of file mbclevel.cpp.

52{
53 return _ismbcl0_l(c, nullptr);
54}
int __cdecl _ismbcl0_l(unsigned int c, _locale_t plocinfo)
Definition: mbclevel.cpp:36