ReactOS 0.4.17-dev-457-g63deca5
corecrt_wctype.h File Reference
#include <corecrt.h>
Include dependency graph for corecrt_wctype.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define WEOF   ((wint_t)(0xFFFF))
 
#define __PCTYPE_FUNC   __pctype_func()
 
#define _pctype   (__pctype_func())
 
#define _pwctype   (__pwctype_func())
 
#define _UPPER   0x01
 
#define _LOWER   0x02
 
#define _DIGIT   0x04
 
#define _SPACE   0x08
 
#define _PUNCT   0x10
 
#define _CONTROL   0x20
 
#define _BLANK   0x40
 
#define _HEX   0x80
 
#define _LEADBYTE   0x8000
 
#define _ALPHA   (0x0100 | _UPPER | _LOWER)
 
#define iswalpha(_c)   (iswctype(_c, _ALPHA))
 
#define iswupper(_c)   (iswctype(_c, _UPPER))
 
#define iswlower(_c)   (iswctype(_c, _LOWER))
 
#define iswdigit(_c)   (iswctype(_c, _DIGIT))
 
#define iswxdigit(_c)   (iswctype(_c, _HEX))
 
#define iswspace(_c)   (iswctype(_c, _SPACE))
 
#define iswpunct(_c)   (iswctype(_c, _PUNCT))
 
#define iswblank(_c)   (((_c) == '\t') ? _BLANK : iswctype(_c,_BLANK) )
 
#define iswalnum(_c)   (iswctype(_c, _ALPHA | _DIGIT))
 
#define iswprint(_c)   (iswctype(_c, _BLANK | _PUNCT | _ALPHA | _DIGIT))
 
#define iswgraph(_c)   (iswctype(_c, _PUNCT | _ALPHA | _DIGIT))
 
#define iswcntrl(_c)   (iswctype(_c, _CONTROL))
 
#define iswascii(_c)   ((unsigned)(_c) < 0x80)
 
#define _iswalpha_l(_c, _p)   (iswctype(_c, _ALPHA))
 
#define _iswupper_l(_c, _p)   (iswctype(_c, _UPPER))
 
#define _iswlower_l(_c, _p)   (iswctype(_c, _LOWER))
 
#define _iswdigit_l(_c, _p)   (iswctype(_c, _DIGIT))
 
#define _iswxdigit_l(_c, _p)   (iswctype(_c, _HEX))
 
#define _iswspace_l(_c, _p)   (iswctype(_c, _SPACE))
 
#define _iswpunct_l(_c, _p)   (iswctype(_c, _PUNCT))
 
#define _iswblank_l(_c, _p)   (iswctype(_c, _BLANK))
 
#define _iswalnum_l(_c, _p)   (iswctype(_c, _ALPHA | _DIGIT))
 
#define _iswprint_l(_c, _p)   (iswctype(_c, _BLANK | _PUNCT | _ALPHA | _DIGIT))
 
#define _iswgraph_l(_c, _p)   (iswctype(_c, _PUNCT | _ALPHA | _DIGIT))
 
#define _iswcntrl_l(_c, _p)   (iswctype(_c, _CONTROL))
 

Functions

_ACRTIMP const unsigned short *__cdecl __pctype_func (void)
 
_ACRTIMP const wctype_t *__cdecl __pwctype_func (void)
 
_Check_return_ _ACRTIMP int __cdecl iswalnum (_In_ wint_t _C)
 
_Check_return_ _ACRTIMP int __cdecl iswalpha (_In_ wint_t _C)
 
_Check_return_ _ACRTIMP int __cdecl iswascii (_In_ wint_t _C)
 
_Check_return_ _ACRTIMP int __cdecl iswblank (_In_ wint_t _C)
 
_Check_return_ _ACRTIMP int __cdecl iswcntrl (_In_ wint_t _C)
 
 _When_ (_Param_(1)==0, _Post_equal_to_(0)) _Check_return_ _ACRTIMP int __cdecl iswdigit(_In_ wint_t _C)
 
_Check_return_ _ACRTIMP int __cdecl iswgraph (_In_ wint_t _C)
 
_Check_return_ _ACRTIMP int __cdecl iswlower (_In_ wint_t _C)
 
_Check_return_ _ACRTIMP int __cdecl iswprint (_In_ wint_t _C)
 
_Check_return_ _ACRTIMP int __cdecl iswpunct (_In_ wint_t _C)
 
_Check_return_ _ACRTIMP int __cdecl iswspace (_In_ wint_t _C)
 
_Check_return_ _ACRTIMP int __cdecl iswupper (_In_ wint_t _C)
 
_Check_return_ _ACRTIMP int __cdecl iswxdigit (_In_ wint_t _C)
 
_Check_return_ _ACRTIMP int __cdecl __iswcsymf (_In_ wint_t _C)
 
_Check_return_ _ACRTIMP int __cdecl __iswcsym (_In_ wint_t _C)
 
_Check_return_ _ACRTIMP int __cdecl _iswalnum_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _ACRTIMP int __cdecl _iswalpha_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _ACRTIMP int __cdecl _iswblank_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _ACRTIMP int __cdecl _iswcntrl_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _ACRTIMP int __cdecl _iswdigit_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _ACRTIMP int __cdecl _iswgraph_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _ACRTIMP int __cdecl _iswlower_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _ACRTIMP int __cdecl _iswprint_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _ACRTIMP int __cdecl _iswpunct_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _ACRTIMP int __cdecl _iswspace_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _ACRTIMP int __cdecl _iswupper_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _ACRTIMP int __cdecl _iswxdigit_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _ACRTIMP int __cdecl _iswcsymf_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _ACRTIMP int __cdecl _iswcsym_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _ACRTIMP wint_t __cdecl towupper (_In_ wint_t _C)
 
_Check_return_ _ACRTIMP wint_t __cdecl towlower (_In_ wint_t _C)
 
_Check_return_ _ACRTIMP int __cdecl iswctype (_In_ wint_t _C, _In_ wctype_t _Type)
 
_Check_return_ _ACRTIMP wint_t __cdecl _towupper_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _ACRTIMP wint_t __cdecl _towlower_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _ACRTIMP int __cdecl _iswctype_l (_In_ wint_t _C, _In_ wctype_t _Type, _In_opt_ _locale_t _Locale)
 

Macro Definition Documentation

◆ __PCTYPE_FUNC

#define __PCTYPE_FUNC   __pctype_func()

Definition at line 32 of file corecrt_wctype.h.

◆ _ALPHA

#define _ALPHA   (0x0100 | _UPPER | _LOWER)

Definition at line 58 of file corecrt_wctype.h.

◆ _BLANK

#define _BLANK   0x40

Definition at line 54 of file corecrt_wctype.h.

◆ _CONTROL

#define _CONTROL   0x20

Definition at line 53 of file corecrt_wctype.h.

◆ _DIGIT

#define _DIGIT   0x04

Definition at line 50 of file corecrt_wctype.h.

◆ _HEX

#define _HEX   0x80

Definition at line 55 of file corecrt_wctype.h.

◆ _iswalnum_l

#define _iswalnum_l (   _c,
  _p 
)    (iswctype(_c, _ALPHA | _DIGIT))

Definition at line 150 of file corecrt_wctype.h.

◆ _iswalpha_l

#define _iswalpha_l (   _c,
  _p 
)    (iswctype(_c, _ALPHA))

Definition at line 142 of file corecrt_wctype.h.

◆ _iswblank_l

#define _iswblank_l (   _c,
  _p 
)    (iswctype(_c, _BLANK))

Definition at line 149 of file corecrt_wctype.h.

◆ _iswcntrl_l

#define _iswcntrl_l (   _c,
  _p 
)    (iswctype(_c, _CONTROL))

Definition at line 153 of file corecrt_wctype.h.

◆ _iswdigit_l

#define _iswdigit_l (   _c,
  _p 
)    (iswctype(_c, _DIGIT))

Definition at line 145 of file corecrt_wctype.h.

◆ _iswgraph_l

#define _iswgraph_l (   _c,
  _p 
)    (iswctype(_c, _PUNCT | _ALPHA | _DIGIT))

Definition at line 152 of file corecrt_wctype.h.

◆ _iswlower_l

#define _iswlower_l (   _c,
  _p 
)    (iswctype(_c, _LOWER))

Definition at line 144 of file corecrt_wctype.h.

◆ _iswprint_l

#define _iswprint_l (   _c,
  _p 
)    (iswctype(_c, _BLANK | _PUNCT | _ALPHA | _DIGIT))

Definition at line 151 of file corecrt_wctype.h.

◆ _iswpunct_l

#define _iswpunct_l (   _c,
  _p 
)    (iswctype(_c, _PUNCT))

Definition at line 148 of file corecrt_wctype.h.

◆ _iswspace_l

#define _iswspace_l (   _c,
  _p 
)    (iswctype(_c, _SPACE))

Definition at line 147 of file corecrt_wctype.h.

◆ _iswupper_l

#define _iswupper_l (   _c,
  _p 
)    (iswctype(_c, _UPPER))

Definition at line 143 of file corecrt_wctype.h.

◆ _iswxdigit_l

#define _iswxdigit_l (   _c,
  _p 
)    (iswctype(_c, _HEX))

Definition at line 146 of file corecrt_wctype.h.

◆ _LEADBYTE

#define _LEADBYTE   0x8000

Definition at line 57 of file corecrt_wctype.h.

◆ _LOWER

#define _LOWER   0x02

Definition at line 49 of file corecrt_wctype.h.

◆ _pctype

#define _pctype   (__pctype_func())

Definition at line 42 of file corecrt_wctype.h.

◆ _PUNCT

#define _PUNCT   0x10

Definition at line 52 of file corecrt_wctype.h.

◆ _pwctype

#define _pwctype   (__pwctype_func())

Definition at line 43 of file corecrt_wctype.h.

◆ _SPACE

#define _SPACE   0x08

Definition at line 51 of file corecrt_wctype.h.

◆ _UPPER

#define _UPPER   0x01

Definition at line 48 of file corecrt_wctype.h.

◆ iswalnum

#define iswalnum (   _c)    (iswctype(_c, _ALPHA | _DIGIT))

Definition at line 136 of file corecrt_wctype.h.

◆ iswalpha

#define iswalpha (   _c)    (iswctype(_c, _ALPHA))

Definition at line 128 of file corecrt_wctype.h.

◆ iswascii

#define iswascii (   _c)    ((unsigned)(_c) < 0x80)

Definition at line 140 of file corecrt_wctype.h.

◆ iswblank

#define iswblank (   _c)    (((_c) == '\t') ? _BLANK : iswctype(_c,_BLANK) )

Definition at line 135 of file corecrt_wctype.h.

◆ iswcntrl

#define iswcntrl (   _c)    (iswctype(_c, _CONTROL))

Definition at line 139 of file corecrt_wctype.h.

◆ iswdigit

#define iswdigit (   _c)    (iswctype(_c, _DIGIT))

Definition at line 131 of file corecrt_wctype.h.

◆ iswgraph

#define iswgraph (   _c)    (iswctype(_c, _PUNCT | _ALPHA | _DIGIT))

Definition at line 138 of file corecrt_wctype.h.

◆ iswlower

#define iswlower (   _c)    (iswctype(_c, _LOWER))

Definition at line 130 of file corecrt_wctype.h.

◆ iswprint

#define iswprint (   _c)    (iswctype(_c, _BLANK | _PUNCT | _ALPHA | _DIGIT))

Definition at line 137 of file corecrt_wctype.h.

◆ iswpunct

#define iswpunct (   _c)    (iswctype(_c, _PUNCT))

Definition at line 134 of file corecrt_wctype.h.

◆ iswspace

#define iswspace (   _c)    (iswctype(_c, _SPACE))

Definition at line 133 of file corecrt_wctype.h.

◆ iswupper

#define iswupper (   _c)    (iswctype(_c, _UPPER))

Definition at line 129 of file corecrt_wctype.h.

◆ iswxdigit

#define iswxdigit (   _c)    (iswctype(_c, _HEX))

Definition at line 132 of file corecrt_wctype.h.

◆ WEOF

#define WEOF   ((wint_t)(0xFFFF))

Definition at line 21 of file corecrt_wctype.h.

Function Documentation

◆ __iswcsym()

◆ __iswcsymf()

◆ __pctype_func()

_ACRTIMP const unsigned short *__cdecl __pctype_func ( void  )

Definition at line 141 of file ctype.c.

142{
143 return get_locinfo()->pctype;
144}
#define get_locinfo()
Definition: winesup.h:25

◆ __pwctype_func()

_ACRTIMP const wctype_t *__cdecl __pwctype_func ( void  )

Definition at line 157 of file ctype.c.

158{
159 return MSVCRT__pwctype;
160}
WORD * MSVCRT__pwctype
Definition: ctype.c:128

◆ _iswalnum_l()

_Check_return_ _ACRTIMP int __cdecl _iswalnum_l ( _In_ wint_t  _C,
_In_opt_ _locale_t  _Locale 
)

◆ _iswalpha_l()

_Check_return_ _ACRTIMP int __cdecl _iswalpha_l ( _In_ wint_t  _C,
_In_opt_ _locale_t  _Locale 
)

◆ _iswblank_l()

_Check_return_ _ACRTIMP int __cdecl _iswblank_l ( _In_ wint_t  _C,
_In_opt_ _locale_t  _Locale 
)

◆ _iswcntrl_l()

_Check_return_ _ACRTIMP int __cdecl _iswcntrl_l ( _In_ wint_t  _C,
_In_opt_ _locale_t  _Locale 
)

◆ _iswcsym_l()

_Check_return_ _ACRTIMP int __cdecl _iswcsym_l ( _In_ wint_t  _C,
_In_opt_ _locale_t  _Locale 
)

◆ _iswcsymf_l()

_Check_return_ _ACRTIMP int __cdecl _iswcsymf_l ( _In_ wint_t  _C,
_In_opt_ _locale_t  _Locale 
)

◆ _iswctype_l()

_Check_return_ _ACRTIMP int __cdecl _iswctype_l ( _In_ wint_t  _C,
_In_ wctype_t  _Type,
_In_opt_ _locale_t  _Locale 
)

◆ _iswdigit_l()

_Check_return_ _ACRTIMP int __cdecl _iswdigit_l ( _In_ wint_t  _C,
_In_opt_ _locale_t  _Locale 
)

◆ _iswgraph_l()

_Check_return_ _ACRTIMP int __cdecl _iswgraph_l ( _In_ wint_t  _C,
_In_opt_ _locale_t  _Locale 
)

◆ _iswlower_l()

_Check_return_ _ACRTIMP int __cdecl _iswlower_l ( _In_ wint_t  _C,
_In_opt_ _locale_t  _Locale 
)

◆ _iswprint_l()

_Check_return_ _ACRTIMP int __cdecl _iswprint_l ( _In_ wint_t  _C,
_In_opt_ _locale_t  _Locale 
)

◆ _iswpunct_l()

_Check_return_ _ACRTIMP int __cdecl _iswpunct_l ( _In_ wint_t  _C,
_In_opt_ _locale_t  _Locale 
)

◆ _iswspace_l()

_Check_return_ _ACRTIMP int __cdecl _iswspace_l ( _In_ wint_t  _C,
_In_opt_ _locale_t  _Locale 
)

◆ _iswupper_l()

_Check_return_ _ACRTIMP int __cdecl _iswupper_l ( _In_ wint_t  _C,
_In_opt_ _locale_t  _Locale 
)

◆ _iswxdigit_l()

_Check_return_ _ACRTIMP int __cdecl _iswxdigit_l ( _In_ wint_t  _C,
_In_opt_ _locale_t  _Locale 
)

◆ _towlower_l()

_Check_return_ _ACRTIMP wint_t __cdecl _towlower_l ( _In_ wint_t  _C,
_In_opt_ _locale_t  _Locale 
)

◆ _towupper_l()

_Check_return_ _ACRTIMP wint_t __cdecl _towupper_l ( _In_ wint_t  _C,
_In_opt_ _locale_t  _Locale 
)

◆ _When_()

_When_ ( _Param_(1)  = =0,
_Post_equal_to_(0)   
)

◆ iswalnum()

◆ iswalpha()

◆ iswascii()

◆ iswblank()

◆ iswcntrl()

◆ iswctype()

_Check_return_ _ACRTIMP int __cdecl iswctype ( _In_ wint_t  _C,
_In_ wctype_t  _Type 
)

◆ iswgraph()

◆ iswlower()

◆ iswprint()

◆ iswpunct()

◆ iswspace()

◆ iswupper()

◆ iswxdigit()

◆ towlower()

◆ towupper()

Definition at line 16 of file towupper_nt.c.

18{
19 return RtlUpcaseUnicodeChar((WCHAR)_C);
20}
WCHAR NTAPI RtlUpcaseUnicodeChar(_In_ WCHAR Source)
Definition: nlsboot.c:177
short WCHAR
Definition: pedump.c:58