|
ReactOS 0.4.16-dev-2104-gb84fa49
|
#include <limits.h>#include <locale.h>#include <stdarg.h>#include <stdio.h>#include <stdlib.h>#include <mbctype.h>#include <wctype.h>#include "windef.h"#include "winbase.h"#include "winuser.h"#include "winnls.h"#include "msvcrt.h"#include "mtdll.h"#include "wine/debug.h"
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 | MSVCRT_LEADBYTE 0x8000 |
| #define | MSVCRT_C1_DEFINED 0x200 |
| #define | LCID_CONVERSION_FLAGS 0 |
| #define | FOUND_SNAME 0x4 |
| #define | FOUND_LANGUAGE 0x2 |
| #define | FOUND_COUNTRY 0x1 |
| #define | CONTINUE_LOOKING TRUE |
| #define | STOP_LOOKING FALSE |
Variables | |
| _locale_t | MSVCRT_locale = NULL |
| unsigned short * | MSVCRT__pctype = NULL |
| unsigned int | MSVCRT___lc_codepage = 0 |
| int | MSVCRT___lc_collate_cp = 0 |
| LCID | MSVCRT___lc_handle [LC_MAX - LC_MIN+1] = { 0 } |
| int | MSVCRT___mb_cur_max = 1 |
| BOOL | initial_locale = TRUE |
| __lc_time_data | cloc_time_data |
| static const unsigned char | cloc_clmap [256] |
| static const unsigned char | cloc_cumap [256] |
| static char | empty [] = "" |
| static char | cloc_dec_point [] = "." |
| static struct lconv | cloc_lconv |
| static const char *const | _country_synonyms [] |
| int CDECL __crtCompareStringA | ( | LCID | lcid, |
| DWORD | flags, | ||
| const char * | src1, | ||
| int | len1, | ||
| const char * | src2, | ||
| int | len2 | ||
| ) |
Definition at line 944 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 956 of file locale.c.
Definition at line 968 of file locale.c.
Definition at line 992 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 877 of file locale.c.
Referenced by _mbctolower_l(), _mbctoupper_l(), _tolower_l(), and _toupper_l().
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 1012 of file locale.c.
Definition at line 1981 of file locale.c.
Referenced by msvcrt_init_locale().
Definition at line 1171 of file locale.c.
Definition at line 678 of file locale.c.
Definition at line 826 of file locale.c.
Referenced by test__Gettnames().
Definition at line 574 of file locale.c.
Referenced by _wsetlocale(), msvcrt_init_locale(), setlocale(), and update_thread_locale().
Definition at line 582 of file locale.c.
Referenced by _wsetlocale(), msvcrt_init_locale(), setlocale(), and update_thread_locale().
Definition at line 2097 of file locale.c.
|
inlinestatic |
Definition at line 1192 of file locale.c.
Referenced by create_locinfo().
|
static |
Definition at line 255 of file locale.c.
Referenced by ddraw_match_surface_desc(), and find_best_locale_proc().
|
inlinestatic |
Definition at line 649 of file locale.c.
Referenced by setlocale().
|
static |
Definition at line 453 of file locale.c.
Referenced by create_locinfo().
|
static |
Definition at line 1278 of file locale.c.
Referenced by _create_locale(), and setlocale().
|
static |
Definition at line 1208 of file locale.c.
Referenced by create_locinfo().
|
static |
Definition at line 277 of file locale.c.
Referenced by locale_to_sname(), and MSVCRT_locale_to_LCID().
Definition at line 1162 of file locale.c.
Referenced by _free_locale(), _wcsicmp_l(), _wcslwr_s_l(), _wcsnicmp_l(), and _wcsupr_s_l().
| void free_locinfo | ( | pthreadlocinfo | locinfo | ) |
Definition at line 1061 of file locale.c.
Referenced by _configthreadlocale(), _create_locale(), create_locinfo(), free_locale_noalloc(), MSVCRT__free_locale(), msvcrt_free_tls_mem(), setlocale(), and update_thread_locale().
| void free_mbcinfo | ( | pthreadmbcinfo | mbcinfo | ) |
Definition at line 1138 of file locale.c.
Referenced by _configthreadlocale(), _setmbcp(), free_locale_noalloc(), MSVCRT__free_locale(), msvcrt_free_tls_mem(), and update_thread_locale().
Definition at line 1149 of file locale.c.
Referenced by _get_current_locale(), _wcsicmp_l(), _wcslwr_s_l(), _wcsnicmp_l(), and _wcsupr_s_l().
| pthreadlocinfo CDECL get_locinfo | ( | void | ) |
Definition at line 635 of file locale.c.
Referenced by ___lc_codepage_func(), ___lc_collate_cp_func(), ___lc_handle_func(), __p__pctype(), __pctype_func(), _Getdays(), _Getmonths(), _Gettnames(), localeconv(), MSVCRT__get_current_locale(), MSVCRT_btowc(), and setlocale().
| pthreadmbcinfo CDECL get_mbcinfo | ( | void | ) |
Definition at line 642 of file locale.c.
Referenced by __p__mbctype(), _getmbcp(), _ismbbkalnum(), _ismbbkana(), _ismbbkana_l(), _ismbblead(), _ismbblead_l(), _ismbbpunct(), _ismbbtrail(), _ismbbtrail_l(), _ismbchira(), _ismbchira_l(), _ismbckata(), _ismbckata_l(), _ismbcl0_l(), _ismbcl1_l(), _ismbcl2_l(), _ismbslead_l(), _mbbtombc(), _mbbtombc_l(), _mbcjistojms(), _mbcjistojms_l(), _mbcjmstojis(), _mbcjmstojis_l(), _mbctolower_l(), _mbctombb(), _mbctombb_l(), _mbctoupper_l(), _mbsbtype_l(), _mbschr_l(), _mbscmp_l(), _mbscoll(), _mbsdec_l(), _mbsicmp_l(), _mbsicoll(), _mbslwr_l(), _mbslwr_s_l(), _mbsnbcat(), _mbsnbcat_l(), _mbsnbcat_s_l(), _mbsnbcmp_l(), _mbsnbcnt_l(), _mbsnbcoll_l(), _mbsnbcpy(), _mbsnbcpy_l(), _mbsnbcpy_s(), _mbsnbcpy_s_l(), _mbsnbicmp_l(), _mbsnbicoll_l(), _mbsnbset_l(), _mbsncat(), _mbsncat_l(), _mbsnccnt_l(), _mbsncmp_l(), _mbsncpy(), _mbsncpy_l(), _mbsnicmp_l(), _mbsnlen_l(), _mbsnset_l(), _mbspbrk_l(), _mbsrchr_l(), _mbsrev_l(), _mbsset_l(), _mbstok_s_l(), _mbsupr_l(), _mbsupr_s_l(), _setmbcp(), _setmbcp_l(), MSVCRT__get_current_locale(), and msvcrt_mbc_to_wc_l().
|
static |
Definition at line 587 of file locale.c.
Referenced by get_current_locale_noalloc(), and update_thread_locale().
|
static |
Definition at line 471 of file locale.c.
Referenced by create_locinfo(), and update_threadlocinfo_category().
| BOOL locale_to_sname | ( | const char * | locale, |
| unsigned short * | codepage, | ||
| BOOL * | sname_match, | ||
| WCHAR * | sname | ||
| ) |
Definition at line 335 of file locale.c.
Referenced by create_locinfo(), and create_mbcinfo().
Definition at line 2151 of file locale.c.
Referenced by DllMain().
Definition at line 222 of file locale.c.
Referenced by locale_to_sname(), and MSVCRT_locale_to_LCID().
|
inlinestatic |
Definition at line 505 of file locale.c.
Referenced by update_threadlocinfo_category().
Definition at line 2035 of file locale.c.
|
static |
Definition at line 609 of file locale.c.
Referenced by get_current_locale_noalloc(), get_locinfo(), get_mbcinfo(), and setlocale().
|
static |
Definition at line 512 of file locale.c.
Referenced by create_locinfo(), and MSVCRT__create_locale().
| WINE_DEFAULT_DEBUG_CHANNEL | ( | msvcrt | ) |
Definition at line 173 of file locale.c.
Referenced by remap_synonym().
Definition at line 85 of file locale.c.
Referenced by create_locinfo().
Definition at line 121 of file locale.c.
Referenced by create_locinfo().
Definition at line 163 of file locale.c.
Referenced by __lconv_init(), and create_locinfo().
| __lc_time_data cloc_time_data |
Definition at line 60 of file locale.c.
Referenced by create_locinfo(), free_locinfo(), and strftime_impl().
Definition at line 49 of file locale.c.
Referenced by setlocale(), tolower(), and toupper().
Definition at line 45 of file locale.c.
Referenced by msvcrt_init_locale(), and setlocale().
| int MSVCRT___lc_collate_cp = 0 |
Definition at line 46 of file locale.c.
Referenced by __init_global_locale(), msvcrt_init_locale(), and setlocale().
Definition at line 47 of file locale.c.
Referenced by ___lc_handle_func(), __init_global_locale(), msvcrt_init_locale(), and setlocale().
| int MSVCRT___mb_cur_max = 1 |
Definition at line 48 of file locale.c.
Referenced by msvcrt_init_locale(), and setlocale().
Definition at line 44 of file locale.c.
Referenced by msvcrt_init_locale(), and setlocale().
Definition at line 43 of file locale.c.
Referenced by __init_global_locale(), _configthreadlocale(), get_locinfo(), get_mbcinfo(), msvcrt_init_locale(), setlocale(), and update_thread_locale().