ReactOS 0.4.15-dev-7953-g1f49173
mbctype.h File Reference
#include <crtdefs.h>
#include <ctype.h>
Include dependency graph for mbctype.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define _MS   0x01
 
#define _MP   0x02
 
#define _M1   0x04
 
#define _M2   0x08
 
#define _SBUP   0x10
 
#define _SBLOW   0x20
 
#define _MBC_SINGLE   0
 
#define _MBC_LEAD   1
 
#define _MBC_TRAIL   2
 
#define _MBC_ILLEGAL   (-1)
 
#define _KANJI_CP   932
 
#define _MB_CP_SBCS   0
 
#define _MB_CP_OEM   -2
 
#define _MB_CP_ANSI   -3
 
#define _MB_CP_LOCALE   -4
 
#define _MBCTYPE_DEFINED
 
#define _MBLEADTRAIL_DEFINED
 

Functions

pthreadmbcinfo __cdecl __updatetmbcinfo (void)
 
_CRTIMP int __cdecl _setmbcp (_In_ int _CodePage)
 
_CRTIMP int __cdecl _getmbcp (void)
 
_Check_return_ _CRTIMP int __cdecl _ismbbkalnum (_In_ unsigned int _C)
 
_Check_return_ _CRTIMP int __cdecl _ismbbkalnum_l (_In_ unsigned int _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl _ismbbkana (_In_ unsigned int _C)
 
_Check_return_ _CRTIMP int __cdecl _ismbbkana_l (_In_ unsigned int _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl _ismbbkpunct (_In_ unsigned int _C)
 
_Check_return_ _CRTIMP int __cdecl _ismbbkpunct_l (_In_ unsigned int _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl _ismbbkprint (_In_ unsigned int _C)
 
_Check_return_ _CRTIMP int __cdecl _ismbbkprint_l (_In_ unsigned int _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl _ismbbalpha (_In_ unsigned int _C)
 
_Check_return_ _CRTIMP int __cdecl _ismbbalpha_l (_In_ unsigned int _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl _ismbbpunct (_In_ unsigned int _C)
 
_Check_return_ _CRTIMP int __cdecl _ismbbpunct_l (_In_ unsigned int _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl _ismbbalnum (_In_ unsigned int _C)
 
_Check_return_ _CRTIMP int __cdecl _ismbbalnum_l (_In_ unsigned int _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl _ismbbprint (_In_ unsigned int _C)
 
_Check_return_ _CRTIMP int __cdecl _ismbbprint_l (_In_ unsigned int _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl _ismbbgraph (_In_ unsigned int _C)
 
_Check_return_ _CRTIMP int __cdecl _ismbbgraph_l (_In_ unsigned int _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl _ismbblead (_In_ unsigned int _C)
 
_Check_return_ _CRTIMP int __cdecl _ismbblead_l (_In_ unsigned int _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl _ismbbtrail (_In_ unsigned int _C)
 
_Check_return_ _CRTIMP int __cdecl _ismbbtrail_l (_In_ unsigned int _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl _ismbslead (_In_reads_z_(_Pos - _Str+1) const unsigned char *_Str, _In_z_ const unsigned char *_Pos)
 
_Check_return_ _CRTIMP int __cdecl _ismbslead_l (_In_reads_z_(_Pos - _Str+1) const unsigned char *_Str, _In_z_ const unsigned char *_Pos, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl _ismbstrail (_In_reads_z_(_Pos - _Str+1) const unsigned char *_Str, _In_z_ const unsigned char *_Pos)
 
_Check_return_ _CRTIMP int __cdecl _ismbstrail_l (_In_reads_z_(_Pos - _Str+1) const unsigned char *_Str, _In_z_ const unsigned char *_Pos, _In_opt_ _locale_t _Locale)
 

Variables

_CRTIMP unsigned char _mbctype [257]
 
_CRTIMP unsigned char _mbcasemap [257]
 
pthreadmbcinfo __ptmbcinfo
 
int __globallocalestatus
 
int __locale_changed
 
struct threadmbcinfostruct __initialmbcinfo
 

Macro Definition Documentation

◆ _KANJI_CP

#define _KANJI_CP   932

Definition at line 53 of file mbctype.h.

◆ _M1

#define _M1   0x04

Definition at line 42 of file mbctype.h.

◆ _M2

#define _M2   0x08

Definition at line 43 of file mbctype.h.

◆ _MB_CP_ANSI

#define _MB_CP_ANSI   -3

Definition at line 57 of file mbctype.h.

◆ _MB_CP_LOCALE

#define _MB_CP_LOCALE   -4

Definition at line 58 of file mbctype.h.

◆ _MB_CP_OEM

#define _MB_CP_OEM   -2

Definition at line 56 of file mbctype.h.

◆ _MB_CP_SBCS

#define _MB_CP_SBCS   0

Definition at line 55 of file mbctype.h.

◆ _MBC_ILLEGAL

#define _MBC_ILLEGAL   (-1)

Definition at line 51 of file mbctype.h.

◆ _MBC_LEAD

#define _MBC_LEAD   1

Definition at line 49 of file mbctype.h.

◆ _MBC_SINGLE

#define _MBC_SINGLE   0

Definition at line 48 of file mbctype.h.

◆ _MBC_TRAIL

#define _MBC_TRAIL   2

Definition at line 50 of file mbctype.h.

◆ _MBCTYPE_DEFINED

#define _MBCTYPE_DEFINED

Definition at line 61 of file mbctype.h.

◆ _MBLEADTRAIL_DEFINED

#define _MBLEADTRAIL_DEFINED

Definition at line 210 of file mbctype.h.

◆ _MP

#define _MP   0x02

Definition at line 41 of file mbctype.h.

◆ _MS

#define _MS   0x01

Definition at line 40 of file mbctype.h.

◆ _SBLOW

#define _SBLOW   0x20

Definition at line 46 of file mbctype.h.

◆ _SBUP

#define _SBUP   0x10

Definition at line 45 of file mbctype.h.

Function Documentation

◆ __updatetmbcinfo()

pthreadmbcinfo __cdecl __updatetmbcinfo ( void  )

◆ _getmbcp()

◆ _ismbbalnum()

Referenced by _ismbcalnum().

◆ _ismbbalnum_l()

_Check_return_ _CRTIMP int __cdecl _ismbbalnum_l ( _In_ unsigned int  _C,
_In_opt_ _locale_t  _Locale 
)

◆ _ismbbalpha()

◆ _ismbbalpha_l()

_Check_return_ _CRTIMP int __cdecl _ismbbalpha_l ( _In_ unsigned int  _C,
_In_opt_ _locale_t  _Locale 
)

◆ _ismbbgraph()

◆ _ismbbgraph_l()

_Check_return_ _CRTIMP int __cdecl _ismbbgraph_l ( _In_ unsigned int  _C,
_In_opt_ _locale_t  _Locale 
)

◆ _ismbbkalnum()

Referenced by _ismbbalpha().

◆ _ismbbkalnum_l()

_Check_return_ _CRTIMP int __cdecl _ismbbkalnum_l ( _In_ unsigned int  _C,
_In_opt_ _locale_t  _Locale 
)

◆ _ismbbkana()

◆ _ismbbkana_l()

_Check_return_ _CRTIMP int __cdecl _ismbbkana_l ( _In_ unsigned int  _C,
_In_opt_ _locale_t  _Locale 
)

◆ _ismbbkprint()

◆ _ismbbkprint_l()

_Check_return_ _CRTIMP int __cdecl _ismbbkprint_l ( _In_ unsigned int  _C,
_In_opt_ _locale_t  _Locale 
)

◆ _ismbbkpunct()

◆ _ismbbkpunct_l()

_Check_return_ _CRTIMP int __cdecl _ismbbkpunct_l ( _In_ unsigned int  _C,
_In_opt_ _locale_t  _Locale 
)

◆ _ismbblead()

◆ _ismbblead_l()

_Check_return_ _CRTIMP int __cdecl _ismbblead_l ( _In_ unsigned int  _C,
_In_opt_ _locale_t  _Locale 
)

◆ _ismbbprint()

◆ _ismbbprint_l()

_Check_return_ _CRTIMP int __cdecl _ismbbprint_l ( _In_ unsigned int  _C,
_In_opt_ _locale_t  _Locale 
)

◆ _ismbbpunct()

◆ _ismbbpunct_l()

_Check_return_ _CRTIMP int __cdecl _ismbbpunct_l ( _In_ unsigned int  _C,
_In_opt_ _locale_t  _Locale 
)

◆ _ismbbtrail()

◆ _ismbbtrail_l()

_Check_return_ _CRTIMP int __cdecl _ismbbtrail_l ( _In_ unsigned int  _C,
_In_opt_ _locale_t  _Locale 
)

◆ _ismbslead()

_Check_return_ _CRTIMP int __cdecl _ismbslead ( _In_reads_z_(_Pos - _Str+1) const unsigned char _Str,
_In_z_ const unsigned char _Pos 
)

Referenced by _ismbstrail(), and test_mbcp().

◆ _ismbslead_l()

_Check_return_ _CRTIMP int __cdecl _ismbslead_l ( _In_reads_z_(_Pos - _Str+1) const unsigned char _Str,
_In_z_ const unsigned char _Pos,
_In_opt_ _locale_t  _Locale 
)

◆ _ismbstrail()

_Check_return_ _CRTIMP int __cdecl _ismbstrail ( _In_reads_z_(_Pos - _Str+1) const unsigned char _Str,
_In_z_ const unsigned char _Pos 
)

◆ _ismbstrail_l()

_Check_return_ _CRTIMP int __cdecl _ismbstrail_l ( _In_reads_z_(_Pos - _Str+1) const unsigned char _Str,
_In_z_ const unsigned char _Pos,
_In_opt_ _locale_t  _Locale 
)

◆ _setmbcp()

_CRTIMP int __cdecl _setmbcp ( _In_ int  _CodePage)

Variable Documentation

◆ __globallocalestatus

int __globallocalestatus
extern

◆ __initialmbcinfo

struct threadmbcinfostruct __initialmbcinfo
extern

◆ __locale_changed

int __locale_changed
extern

◆ __ptmbcinfo

pthreadmbcinfo __ptmbcinfo
extern

◆ _mbcasemap

_CRTIMP unsigned char _mbcasemap[257]
extern

Definition at line 22 of file stubs.c.

Referenced by __p__mbcasemap(), and Test__mbcasemap().

◆ _mbctype

_CRTIMP unsigned char _mbctype[257]
extern

This file has no copyright assigned and is placed in the Public Domain. This file is part of the w64 mingw-runtime package. No warranty is given; refer to the file DISCLAIMER within this package.

Definition at line 40 of file locale.c.

Referenced by _ismbbkpunct(), _setmbcp_l(), and Test__mbctype().