#include <corecrt_internal_mbstring.h>
#include <locale.h>
Go to the source code of this file.
◆ _mbcjistojms_l()
Definition at line 36 of file tojisjms.cpp.
40{
43
44 if (_loc_update.GetLocaleT()->mbcinfo->mbcodepage !=
_KANJI_CP)
46
49 if (h < 0x21 || h > 0x7e || l < 0x21 || l > 0x7e)
50 {
52 return 0;
53 }
57 else
59 }
60 else
62
63 h = ((
h - 0x21) >> 1) + 0x81;
67}
GLfloat GLfloat GLfloat GLfloat h
Referenced by int().
◆ _mbcjmstojis_l()
Definition at line 94 of file tojisjms.cpp.
98{
100 _LocaleUpdate _loc_update(
plocinfo);
101
102 if ( _loc_update.GetLocaleT()->mbcinfo->mbcodepage !=
_KANJI_CP )
104
107
108
110 {
112 return 0;
113 }
114
115 h -= (
h >= 0xa0) ? 0xc1 : 0x81;
117 c = (
h << 9) + 0x2200;
119 } else {
120 c = (
h << 9) + 0x2100;
121 c |=
l - ((
l <= 0x7e) ? 0x1f : 0x20);
122 }
123
124
125 if ( (
c>0x7E7E) || (
c<0x2121) || ((
c&0xFF)>0x7E) || ((
c&0xFF)<0x21) )
126 {
128 return 0;
129 }
130
132}
#define _ismbblead_l(_c, p)
#define _ismbbtrail_l(_c, p)
◆ int()
Definition at line 68 of file tojisjms.cpp.
71{
73}
unsigned int __cdecl _mbcjistojms_l(unsigned int c, _locale_t plocinfo)