ReactOS 0.4.16-dev-598-gc07fba4
|
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 | strcasecmp _stricmp |
#define | strncasecmp _strnicmp |
#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 1492 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 539 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 551 of file locale.c.
Definition at line 563 of file locale.c.
Definition at line 591 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 512 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 527 of file locale.c.
void __init_global_locale | ( | ) |
Definition at line 1498 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 611 of file locale.c.
Referenced by my_lconv_init().
Definition at line 1426 of file locale.c.
Definition at line 419 of file locale.c.
Definition at line 405 of file locale.c.
Definition at line 20 of file atox.cpp.
Referenced by MSVCRT__create_locale(), and MSVCRT_locale_to_LCID().
|
static |
Definition at line 122 of file locale.c.
Referenced by ddraw_match_surface_desc(), and find_best_locale_proc().
|
inlinestatic |
Definition at line 376 of file locale.c.
Referenced by setlocale().
|
static |
Definition at line 143 of file locale.c.
Referenced by MSVCRT_locale_to_LCID().
void free_locinfo | ( | MSVCRT_pthreadlocinfo | locinfo | ) |
Definition at line 643 of file locale.c.
Referenced by _configthreadlocale(), and MSVCRT__free_locale().
void free_mbcinfo | ( | MSVCRT_pthreadmbcinfo | mbcinfo | ) |
Definition at line 687 of file locale.c.
Referenced by _configthreadlocale(), and MSVCRT__free_locale().
MSVCRT_pthreadlocinfo get_locinfo | ( | void | ) |
Definition at line 356 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 366 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 724 of file locale.c.
Referenced by __init_global_locale(), _configthreadlocale(), and setlocale().
void CDECL MSVCRT__free_locale | ( | MSVCRT__locale_t | locale | ) |
Definition at line 713 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 210 of file locale.c.
Referenced by MSVCRT__create_locale().
Definition at line 90 of file locale.c.
Referenced by MSVCRT_locale_to_LCID().
Definition at line 1279 of file locale.c.
Definition at line 347 of file locale.c.
Referenced by setlocale().
|
static |
Definition at line 291 of file locale.c.
Referenced by MSVCRT__create_locale().
Definition at line 36 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 39 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 52 of file locale.c.
Referenced by remap_synonym().
Definition at line 40 of file locale.c.
Referenced by __lconv_init().
MSVCRT__locale_t global_locale = NULL |
Definition at line 1497 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 37 of file locale.c.
Referenced by __init_global_locale(), and setlocale().
Definition at line 38 of file locale.c.
Referenced by ___lc_handle_func(), __init_global_locale(), and setlocale().