#include <precomp.h>
#include <mbstring.h>
#include <mbctype.h>
Go to the source code of this file.
◆ _mbbtype()
Definition at line 21 of file mbbtype.c.
22{
24 if ((
c >= 0x40 &&
c <= 0x7e ) || (
c >= 0x80 &&
c <= 0xfc ) )
25 {
27 }
28 else if ((
c >= 0x20 &&
c <= 0x7E ) || (
c >= 0xA1 &&
c <= 0xDF ) ||
29 (
c >= 0x81 &&
c <= 0x9F ) || (
c >= 0xE0 &&
c <= 0xFC ) )
31 else
32 return 0;
33 } else {
34 if ((
c >= 0x20 &&
c <= 0x7E ) || (
c >= 0xA1 &&
c <= 0xDF )) {
36 }
37 else if ( (
c >= 0x81 &&
c <= 0x9F ) || (
c >= 0xE0 &&
c <= 0xFC) )
39 else if ((
c >= 0x20 &&
c <= 0x7E ) || (
c >= 0xA1 &&
c <= 0xDF ) ||
40 (
c >= 0x81 &&
c <= 0x9F ) || (
c >= 0xE0 &&
c <= 0xFC ) )
42 else
43 return 0;
44 }
45 return 0;
46}
GLuint GLuint GLsizei GLenum type
◆ _mbsbtype()
Definition at line 51 of file mbbtype.c.
52{
53 int lead = 0;
54 const unsigned char *
end =
str +
n;
55
56
57
58
60 {
65 }
66
67 if (lead)
70 else
72 else
75 else
77}
_Check_return_ _CRTIMP int __cdecl _ismbbtrail(_In_ unsigned int _C)
int __cdecl _ismbblead(unsigned int)