ReactOS 0.4.16-dev-136-g52192f1
|
Go to the source code of this file.
Classes | |
struct | locale_search_t |
Macros | |
#define | MAX_ELEM_LEN 64 /* Max length of country/language/CP string */ |
#define | MAX_LOCALE_LENGTH 256 |
#define | LOCK_LOCALE _mlock(_SETLOCALE_LOCK); |
#define | UNLOCK_LOCALE _munlock(_SETLOCALE_LOCK); |
#define | MSVCRT_LEADBYTE 0x8000 |
#define | MSVCRT_C1_DEFINED 0x200 |
#define | FOUND_LANGUAGE 0x4 |
#define | FOUND_COUNTRY 0x2 |
#define | FOUND_CODEPAGE 0x1 |
#define | CONTINUE_LOOKING TRUE |
#define | STOP_LOOKING FALSE |
Variables | |
unsigned int | __lc_codepage = 0 |
int | MSVCRT___lc_collate_cp = 0 |
LCID | MSVCRT___lc_handle [LC_MAX - LC_MIN+1] = { 0 } |
int | __mb_cur_max = 1 |
static unsigned char | charmax = CHAR_MAX |
unsigned char | _mbctype [257] = { 0 } |
static const char *const | _country_synonyms [] |
unsigned int | __setlc_active |
unsigned int | __unguarded_readlc_active |
MSVCRT__locale_t | global_locale = NULL |
#define LOCK_LOCALE _mlock(_SETLOCALE_LOCK); |
#define UNLOCK_LOCALE _munlock(_SETLOCALE_LOCK); |
Definition at line 627 of file locale.c.
Referenced by mbrtowc(), START_TEST(), and Test___lc_codepage().
Definition at line 1490 of file locale.c.
Referenced by Test___unguarded_readlc_active().
int CDECL __crtCompareStringA | ( | LCID | lcid, |
DWORD | flags, | ||
const char * | src1, | ||
int | len1, | ||
const char * | src2, | ||
int | len2 | ||
) |
Definition at line 537 of file locale.c.
int CDECL __crtCompareStringW | ( | LCID | lcid, |
DWORD | flags, | ||
const wchar_t * | src1, | ||
int | len1, | ||
const wchar_t * | src2, | ||
int | len2 | ||
) |
Definition at line 549 of file locale.c.
Definition at line 561 of file locale.c.
Definition at line 589 of file locale.c.
int CDECL __crtLCMapStringA | ( | LCID | lcid, |
DWORD | mapflags, | ||
const char * | src, | ||
int | srclen, | ||
char * | dst, | ||
int | dstlen, | ||
unsigned int | codepage, | ||
int | xflag | ||
) |
Definition at line 510 of file locale.c.
int CDECL __crtLCMapStringW | ( | LCID | lcid, |
DWORD | mapflags, | ||
const wchar_t * | src, | ||
int | srclen, | ||
wchar_t * | dst, | ||
int | dstlen, | ||
unsigned int | codepage, | ||
int | xflag | ||
) |
Definition at line 525 of file locale.c.
void __init_global_locale | ( | ) |
Definition at line 1496 of file locale.c.
Referenced by __get_MSVCRT_locale().
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.PD within this package.
Definition at line 609 of file locale.c.
Referenced by my_lconv_init().
Definition at line 1424 of file locale.c.
Definition at line 417 of file locale.c.
Definition at line 1472 of file locale.c.
Referenced by test__ismbclx(), test__mbscat_s(), test_ismbckata(), test_ismbclegal(), test_mbbtombc(), test_mbcjisjms(), test_mbcjmsjis(), test_mbcp(), test_mbctohira(), test_mbctokata(), test_mbctombb(), test_mbsspn(), test_mbsspnp(), test_splitpath(), and test_wctob().
Definition at line 483 of file locale.c.
Referenced by test__Gettnames().
Definition at line 403 of file locale.c.
Referenced by MSVCRT__create_locale(), and MSVCRT_locale_to_LCID().
|
static |
Definition at line 120 of file locale.c.
Referenced by ddraw_match_surface_desc(), and find_best_locale_proc().
|
inlinestatic |
Definition at line 374 of file locale.c.
Referenced by setlocale().
|
static |
Definition at line 141 of file locale.c.
Referenced by MSVCRT_locale_to_LCID().
void free_locinfo | ( | MSVCRT_pthreadlocinfo | locinfo | ) |
Definition at line 641 of file locale.c.
Referenced by _configthreadlocale(), and MSVCRT__free_locale().
void free_mbcinfo | ( | MSVCRT_pthreadmbcinfo | mbcinfo | ) |
Definition at line 685 of file locale.c.
Referenced by _configthreadlocale(), and MSVCRT__free_locale().
MSVCRT_pthreadlocinfo get_locinfo | ( | void | ) |
Definition at line 354 of file locale.c.
Referenced by ___lc_collate_cp_func(), __p__pctype(), __pctype_func(), _Getdays(), _Getmonths(), _Gettnames(), localeconv(), MSVCRT__get_current_locale(), MSVCRT_btowc(), and setlocale().
MSVCRT_pthreadmbcinfo get_mbcinfo | ( | void | ) |
Definition at line 364 of file locale.c.
Referenced by __p__mbctype(), _getmbcp(), _ismbbkalnum(), _ismbbkana(), _ismbblead(), _ismbbpunct(), _ismbbtrail(), _ismbchira(), _ismbckata(), _mbbtombc(), _mbcjistojms(), _mbcjmstojis(), _mbctombb(), _mbsnbcpy(), _mbsnbcpy_s(), _mbsncpy(), _setmbcp_l(), and MSVCRT__get_current_locale().
MSVCRT__locale_t CDECL MSVCRT__create_locale | ( | int | category, |
const char * | locale | ||
) |
Definition at line 722 of file locale.c.
Referenced by __init_global_locale(), _configthreadlocale(), and setlocale().
void CDECL MSVCRT__free_locale | ( | MSVCRT__locale_t | locale | ) |
Definition at line 711 of file locale.c.
Referenced by DllMain(), MSVCRT__create_locale(), msvcrt_init_exception(), and setlocale().
MSVCRT__locale_t CDECL MSVCRT__get_current_locale | ( | void | ) |
Definition at line 208 of file locale.c.
Referenced by MSVCRT__create_locale().
Definition at line 88 of file locale.c.
Referenced by MSVCRT_locale_to_LCID().
Definition at line 1277 of file locale.c.
Definition at line 345 of file locale.c.
Referenced by setlocale().
|
static |
Definition at line 289 of file locale.c.
Referenced by MSVCRT__create_locale().
Definition at line 34 of file locale.c.
Referenced by ___lc_codepage_func(), __init_global_locale(), setlocale(), and Test___lc_codepage().
int __mb_cur_max = 1 |
Definition at line 37 of file locale.c.
Referenced by __init_global_locale(), and setlocale().
Definition at line 16 of file environ.c.
Referenced by ___setlc_active_func(), and Test___setlc_active().
Definition at line 17 of file environ.c.
Referenced by ___unguarded_readlc_active_add_func(), and Test___unguarded_readlc_active().
Definition at line 50 of file locale.c.
Referenced by remap_synonym().
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().
Definition at line 38 of file locale.c.
Referenced by __lconv_init().
MSVCRT__locale_t global_locale = NULL |
Definition at line 1495 of file locale.c.
Referenced by __get_MSVCRT_locale(), __init_global_locale(), _setmbcp_l(), DllMain(), and msvcrt_init_exception().
int MSVCRT___lc_collate_cp = 0 |
Definition at line 35 of file locale.c.
Referenced by __init_global_locale(), and setlocale().
Definition at line 36 of file locale.c.
Referenced by ___lc_handle_func(), __init_global_locale(), and setlocale().