ReactOS 0.4.16-dev-905-gc1b8c4f
|
#include <corecrt_internal.h>
#include <locale.h>
#include <corecrt_internal_mbstring.h>
#include <mbctype.h>
#include <winnls.h>
Go to the source code of this file.
Classes | |
struct | code_page_info |
Macros | |
#define | _CHINESE_SIMP_CP 936 |
#define | _KOREAN_WANGSUNG_CP 949 |
#define | _CHINESE_TRAD_CP 950 |
#define | _KOREAN_JOHAB_CP 1361 |
#define | NUM_CHARS 257 /* -1 through 255 */ |
#define | NUM_CTYPES 4 /* table contains 4 types of info */ |
#define | MAX_RANGES 8 /* max number of ranges needed given languages so far */ |
#define | _MBCTYPE_DEFAULT |
#define | _MBCASEMAP_DEFAULT |
#define | JAPANSE_DEFAULT_LOCALE_NAME_INDEX 0 |
#define | CHINESE_SIMPLIFIED_LOCALE_NAME_INDEX 1 |
#define | KOREAN_DEFAULT_LOCALE_NAME_INDEX 2 |
#define | CHINESE_TRADITIONAL_LOCALE_NAME_INDEX 3 |
Functions | |
_CRT_LINKER_FORCE_INCLUDE (__acrt_multibyte_initializer) | |
unsigned char *__cdecl | __p__mbctype () |
unsigned char *__cdecl | __p__mbcasemap () |
int __cdecl | _setmbcp_nolock (int, __crt_multibyte_data *) |
static int | getSystemCP (int) |
static void | setSBCS (__crt_multibyte_data *ptmbci) |
static __crt_multibyte_data *__cdecl | update_thread_multibyte_data_internal (__acrt_ptd *const ptd, __crt_multibyte_data **const current_multibyte_data) throw () |
__crt_multibyte_data *__cdecl | __acrt_update_thread_multibyte_data () |
static int __cdecl | setmbcp_internal (int const requested_codepage, bool const is_for_crt_initialization, __acrt_ptd *const ptd, __crt_multibyte_data **const current_multibyte_data) throw () |
static const wchar_t * | CPtoLocaleName (int codepage) |
static void | setSBUpLow (__crt_multibyte_data *ptmbci) |
int __cdecl | _setmbcp (int const codepage) |
int __cdecl | _getmbcp () |
bool __cdecl | __acrt_initialize_multibyte () |
Variables | |
__crt_multibyte_data | __acrt_initial_multibyte_data |
static unsigned char | _mbctypes [__crt_state_management::state_index_count][NUM_CHARS] |
static unsigned char | _mbcasemaps [__crt_state_management::state_index_count][256] |
__crt_state_management::dual_state_global< unsigned char * > | _mbctype |
__crt_state_management::dual_state_global< unsigned char * > | _mbcasemap |
__crt_state_management::dual_state_global< __crt_multibyte_data * > | __acrt_current_multibyte_data |
static int | fSystemSet |
static char | __rgctypeflag [NUM_CTYPES] = { _MS, _MP, _M1, _M2 } |
static code_page_info | __rgcode_page_info [] |
const wchar_t *const | _mb_locale_names [] |
#define _CHINESE_SIMP_CP 936 |
Definition at line 22 of file mbctype.cpp.
#define _CHINESE_TRAD_CP 950 |
Definition at line 24 of file mbctype.cpp.
#define _KOREAN_JOHAB_CP 1361 |
Definition at line 25 of file mbctype.cpp.
#define _KOREAN_WANGSUNG_CP 949 |
Definition at line 23 of file mbctype.cpp.
#define _MBCASEMAP_DEFAULT |
Definition at line 101 of file mbctype.cpp.
#define _MBCTYPE_DEFAULT |
Definition at line 77 of file mbctype.cpp.
#define CHINESE_SIMPLIFIED_LOCALE_NAME_INDEX 1 |
Definition at line 218 of file mbctype.cpp.
#define CHINESE_TRADITIONAL_LOCALE_NAME_INDEX 3 |
Definition at line 220 of file mbctype.cpp.
#define JAPANSE_DEFAULT_LOCALE_NAME_INDEX 0 |
Definition at line 217 of file mbctype.cpp.
#define KOREAN_DEFAULT_LOCALE_NAME_INDEX 2 |
Definition at line 219 of file mbctype.cpp.
Definition at line 30 of file mbctype.cpp.
#define NUM_CHARS 257 /* -1 through 255 */ |
Definition at line 27 of file mbctype.cpp.
Definition at line 29 of file mbctype.cpp.
Definition at line 894 of file mbctype.cpp.
Referenced by do_locale_initialization(), initialize_multibyte(), and pre_initialize().
__crt_multibyte_data *__cdecl __acrt_update_thread_multibyte_data | ( | void | ) |
Definition at line 361 of file mbctype.cpp.
Referenced by __acrt_update_multibyte_info(), __acrt_update_multibyte_info_explicit(), and _get_current_locale().
Definition at line 237 of file mbctype.cpp.
Definition at line 232 of file mbctype.cpp.
Referenced by Test__mbctype().
_CRT_LINKER_FORCE_INCLUDE | ( | __acrt_multibyte_initializer | ) |
Definition at line 870 of file mbctype.cpp.
Referenced by test__ismbclx(), test__mbscat_s(), test__mbslwr_s(), test__mbsncpy_s(), test__mbsupr_s(), test_btowc(), test_ismbckata(), test_ismbclegal(), test_mbbtombc(), test_mbcjisjms(), test_mbcjmsjis(), test_mbcp(), test_mbctohira(), test_mbctokata(), test_mbctombb(), test_mbsrev(), test_mbsspn(), test_mbsspnp(), test_splitpath(), and test_wctob().
Definition at line 687 of file mbctype.cpp.
Referenced by __init_global_locale(), test__ismbclx(), test__mbbtype(), test__mbbtype_l(), test__mbscat_s(), test__mbslwr_s(), test__mbsncpy_s(), test__mbsupr_s(), test_btowc(), test_cp_table(), test_ismbckata(), test_ismbclegal(), test_mbbtombc(), test_mbcjisjms(), test_mbcjmsjis(), test_mbcp(), test_mbctohira(), test_mbctokata(), test_mbctombb(), test_mbsrev(), test_mbsspn(), test_mbsspnp(), test_splitpath(), and test_wctob().
int __cdecl _setmbcp_nolock | ( | int | codepage, |
__crt_multibyte_data * | ptmbci | ||
) |
Definition at line 692 of file mbctype.cpp.
Referenced by _wcreate_locale(), and setmbcp_internal().
Definition at line 514 of file mbctype.cpp.
Referenced by _setmbcp_nolock().
Definition at line 554 of file mbctype.cpp.
Referenced by _setmbcp_nolock(), and setmbcp_internal().
|
static |
Definition at line 394 of file mbctype.cpp.
Referenced by __acrt_initialize_multibyte(), and _setmbcp().
|
static |
Definition at line 261 of file mbctype.cpp.
Referenced by _setmbcp_nolock().
|
static |
Definition at line 598 of file mbctype.cpp.
Referenced by _setmbcp_nolock().
|
static |
Definition at line 305 of file mbctype.cpp.
Referenced by __acrt_update_thread_multibyte_data(), and setmbcp_internal().
__crt_state_management::dual_state_global<__crt_multibyte_data*> __acrt_current_multibyte_data |
Definition at line 131 of file mbctype.cpp.
Referenced by __acrt_initialize_multibyte(), __acrt_update_multibyte_info(), __acrt_update_multibyte_info_explicit(), __acrt_update_thread_multibyte_data(), _setmbcp(), and uninitialize_allocated_memory().
__crt_multibyte_data __acrt_initial_multibyte_data |
Definition at line 42 of file mbctype.cpp.
Referenced by __acrt_initialize_multibyte(), _free_locale(), construct_ptd(), destroy_ptd(), setmbcp_internal(), setSBCS(), uninitialize_allocated_memory(), and update_thread_multibyte_data_internal().
|
static |
Definition at line 138 of file mbctype.cpp.
Referenced by _setmbcp_nolock().
Definition at line 136 of file mbctype.cpp.
Referenced by _setmbcp_nolock().
Definition at line 222 of file mbctype.cpp.
Referenced by CPtoLocaleName().
Definition at line 128 of file mbctype.cpp.
Referenced by __acrt_initialize_multibyte(), __p__mbcasemap(), and setmbcp_internal().
Definition at line 116 of file mbctype.cpp.
Referenced by __acrt_initialize_multibyte(), and setmbcp_internal().
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 125 of file mbctype.cpp.
Referenced by __acrt_initialize_multibyte(), __p__mbctype(), and setmbcp_internal().
Definition at line 93 of file mbctype.cpp.
Referenced by __acrt_initialize_multibyte(), and setmbcp_internal().
|
static |
Definition at line 134 of file mbctype.cpp.
Referenced by _setmbcp_nolock(), and getSystemCP().