Data Structures |
| struct | LOCALECONV |
| struct | _Locale_lcid_t |
| struct | _Locale_ctype_t |
| struct | _Locale_numeric_t |
| struct | _Locale_time_t |
| struct | _Locale_collate_t |
| struct | _Locale_monetary_t |
Defines |
| #define | _STLP_STRCPY(D, DS, S) strcpy(D, S) |
| #define | _STLP_STRNCPY(D, DS, S, C) strncpy(D, S, C) |
| #define | _STLP_STRCAT(D, DS, S) strcat(D, S) |
| #define | MAX_LANG_LEN 64 /* max language name length */ |
| #define | MAX_CTRY_LEN 64 /* max country name length */ |
| #define | MAX_MODIFIER_LEN 0 /* max modifier name length - n/a */ |
| #define | MAX_LC_LEN (MAX_LANG_LEN+MAX_CTRY_LEN+MAX_MODIFIER_LEN+3) |
| #define | MAX_CP_LEN 5 /* max code page name length */ |
| #define | LANG_INVARIANT 0x7f |
| #define | _STLP_LANG_INVARIANT_DEFINED |
| #define | CP_UTF7 65000 |
| #define | CP_UTF8 65001 |
| #define | INVARIANT_LCID MAKELCID(MAKELANGID(LANG_INVARIANT, SUBLANG_NEUTRAL), SORT_DEFAULT) |
| #define | MAP(x, y) if ((mask & x) != 0) ret |= (y) |
| #define | CSTR_EQUAL 2 |
| #define | CSTR_LESS_THAN 1 |
Functions |
| static void | __FixGrouping (char *grouping) |
| static const char * | __ConvertName (const char *lname, LOCALECONV *ConvTable, int TableSize) |
| static int | __ParseLocaleString (const char *lname, char *lang, char *ctry, char *page) |
| static int | __GetLCID (const char *lang, const char *ctry, LCID *lcid) |
| static int | __GetLCIDFromName (const char *lname, LCID *lcid, char *cp, _Locale_lcid_t *hint) |
| static char const * | __GetLocaleName (LCID lcid, const char *cp, char *buf) |
| static char const * | __Extract_locale_name (const char *loc, const char *category, char *buf) |
| static char const * | __TranslateToSystem (const char *lname, char *buf, _Locale_lcid_t *hint, int *__err_code) |
| static void | __GetLocaleInfoUsingACP (LCID lcid, const char *cp, LCTYPE lctype, char *buf, int buf_size, wchar_t *wbuf, int wbuf_size) |
| static int | __intGetACP (LCID lcid) |
| static int | __intGetOCP (LCID lcid) |
| static int | __GetDefaultCP (LCID lcid) |
| static char * | __ConvertToCP (int from_cp, int to_cp, const char *from, size_t size, size_t *ret_buf_size) |
| static void | my_ltoa (long __x, char *buf) |
| _Locale_lcid_t * | _Locale_get_ctype_hint (_Locale_ctype_t *ltype) |
| _Locale_lcid_t * | _Locale_get_numeric_hint (_Locale_numeric_t *lnumeric) |
| _Locale_lcid_t * | _Locale_get_time_hint (_Locale_time_t *ltime) |
| _Locale_lcid_t * | _Locale_get_collate_hint (_Locale_collate_t *lcollate) |
| _Locale_lcid_t * | _Locale_get_monetary_hint (_Locale_monetary_t *lmonetary) |
| _Locale_lcid_t * | _Locale_get_messages_hint (struct _Locale_messages *lmessages) |
| unsigned short | MapCtypeMask (unsigned short mask) |
| static void | MapCtypeMasks (unsigned short *cur, unsigned short *end) |
| _Locale_ctype_t * | _Locale_ctype_create (const char *name, _Locale_lcid_t *lc_hint, int *__err_code) |
| _Locale_numeric_t * | _Locale_numeric_create (const char *name, _Locale_lcid_t *lc_hint, int *__err_code) |
| static int | __ConvertDate (const char *NTDate, char *buffer, int buf_size) |
| static int | __ConvertTime (const char *NTTime, char *buffer, int buf_size) |
| _Locale_time_t * | _Locale_time_create (const char *name, _Locale_lcid_t *lc_hint, int *__err_code) |
| _Locale_collate_t * | _Locale_collate_create (const char *name, _Locale_lcid_t *lc_hint, int *__err_code) |
| _Locale_monetary_t * | _Locale_monetary_create (const char *name, _Locale_lcid_t *lc_hint, int *__err_code) |
| struct _Locale_messages * | _Locale_messages_create (const char *name, _Locale_lcid_t *lc_hint, int *__err_code) |
| static const char * | _Locale_common_default (char *buf) |
| const char * | _Locale_ctype_default (char *buf) |
| const char * | _Locale_numeric_default (char *buf) |
| const char * | _Locale_time_default (char *buf) |
| const char * | _Locale_collate_default (char *buf) |
| const char * | _Locale_monetary_default (char *buf) |
| const char * | _Locale_messages_default (char *buf) |
| char const * | _Locale_ctype_name (const _Locale_ctype_t *ltype, char *buf) |
| char const * | _Locale_numeric_name (const _Locale_numeric_t *lnum, char *buf) |
| char const * | _Locale_time_name (const _Locale_time_t *ltime, char *buf) |
| char const * | _Locale_collate_name (const _Locale_collate_t *lcol, char *buf) |
| char const * | _Locale_monetary_name (const _Locale_monetary_t *lmon, char *buf) |
| char const * | _Locale_messages_name (const struct _Locale_messages *lmes, char *buf) |
| void | _Locale_ctype_destroy (_Locale_ctype_t *ltype) |
| void | _Locale_numeric_destroy (_Locale_numeric_t *lnum) |
| void | _Locale_time_destroy (_Locale_time_t *ltime) |
| void | _Locale_collate_destroy (_Locale_collate_t *lcol) |
| void | _Locale_monetary_destroy (_Locale_monetary_t *lmon) |
| void | _Locale_messages_destroy (struct _Locale_messages *lmes) |
| static char const * | _Locale_extract_category_name (const char *name, const char *category, char *buf, _Locale_lcid_t *hint, int *__err_code) |
| char const * | _Locale_extract_ctype_name (const char *cname, char *buf, _Locale_lcid_t *hint, int *__err_code) |
| char const * | _Locale_extract_numeric_name (const char *cname, char *buf, _Locale_lcid_t *hint, int *__err_code) |
| char const * | _Locale_extract_time_name (const char *cname, char *buf, _Locale_lcid_t *hint, int *__err_code) |
| char const * | _Locale_extract_collate_name (const char *cname, char *buf, _Locale_lcid_t *hint, int *__err_code) |
| char const * | _Locale_extract_monetary_name (const char *cname, char *buf, _Locale_lcid_t *hint, int *__err_code) |
| char const * | _Locale_extract_messages_name (const char *cname, char *buf, _Locale_lcid_t *hint, int *__err_code) |
| const _Locale_mask_t * | _Locale_ctype_table (_Locale_ctype_t *ltype) |
| int | _Locale_toupper (_Locale_ctype_t *ltype, int c) |
| int | _Locale_tolower (_Locale_ctype_t *ltype, int c) |
| static DWORD | trim_size_t_to_DWORD (size_t n) |
| static int | _Locale_strcmp_auxA (_Locale_collate_t *lcol, const char *s1, size_t n1, const char *s2, size_t n2) |
| int | _Locale_strcmp (_Locale_collate_t *lcol, const char *s1, size_t n1, const char *s2, size_t n2) |
| size_t | _Locale_strxfrm (_Locale_collate_t *lcol, char *dst, size_t dst_size, const char *src, size_t src_size) |
| char | _Locale_decimal_point (_Locale_numeric_t *lnum) |
| char | _Locale_thousands_sep (_Locale_numeric_t *lnum) |
| const char * | _Locale_grouping (_Locale_numeric_t *lnum) |
| const char * | _Locale_true (_Locale_numeric_t *lnum) |
| const char * | _Locale_false (_Locale_numeric_t *lnum) |
| const char * | _Locale_int_curr_symbol (_Locale_monetary_t *lmon) |
| const char * | _Locale_currency_symbol (_Locale_monetary_t *lmon) |
| char | _Locale_mon_decimal_point (_Locale_monetary_t *lmon) |
| char | _Locale_mon_thousands_sep (_Locale_monetary_t *lmon) |
| const char * | _Locale_mon_grouping (_Locale_monetary_t *lmon) |
| const char * | _Locale_positive_sign (_Locale_monetary_t *lmon) |
| const char * | _Locale_negative_sign (_Locale_monetary_t *lmon) |
| char | _Locale_int_frac_digits (_Locale_monetary_t *lmon) |
| char | _Locale_frac_digits (_Locale_monetary_t *lmon) |
| int | _Locale_p_cs_precedes (_Locale_monetary_t *lmon) |
| int | _Locale_p_sep_by_space (_Locale_monetary_t *lmon) |
| int | _Locale_p_sign_posn (_Locale_monetary_t *lmon) |
| int | _Locale_n_cs_precedes (_Locale_monetary_t *lmon) |
| int | _Locale_n_sep_by_space (_Locale_monetary_t *lmon) |
| int | _Locale_n_sign_posn (_Locale_monetary_t *lmon) |
| const char * | _Locale_full_monthname (_Locale_time_t *ltime, int month) |
| const char * | _Locale_abbrev_monthname (_Locale_time_t *ltime, int month) |
| const char * | _Locale_full_dayofweek (_Locale_time_t *ltime, int day) |
| const char * | _Locale_abbrev_dayofweek (_Locale_time_t *ltime, int day) |
| const char * | _Locale_d_t_fmt (_Locale_time_t *ltime) |
| const char * | _Locale_long_d_t_fmt (_Locale_time_t *ltime) |
| const char * | _Locale_d_fmt (_Locale_time_t *ltime) |
| const char * | _Locale_long_d_fmt (_Locale_time_t *ltime) |
| const char * | _Locale_t_fmt (_Locale_time_t *ltime) |
| const char * | _Locale_am_str (_Locale_time_t *ltime) |
| const char * | _Locale_pm_str (_Locale_time_t *ltime) |
| nl_catd_type | _Locale_catopen (struct _Locale_messages *lmes, const char *cat_name) |
| void | _Locale_catclose (struct _Locale_messages *lmes, nl_catd_type cat) |
| const char * | _Locale_catgets (struct _Locale_messages *lmes, nl_catd_type cat, int setid, int msgid, const char *dfault) |
| void | _Locale_init () |
| void | _Locale_final () |
| static LCID | LocaleFromHex (const char *locale) |
| static BOOL CALLBACK | EnumLocalesProcA (LPSTR locale) |
| static int | trim_size_t_to_int (size_t n) |
Variables |
| static const char * | _C_name = "C" |
| static LOCALECONV | __rg_language [] |
| static LOCALECONV | __rg_country [] |
| static DWORD | max_DWORD = 0xffffffff |
| static const char * | __true_name = "true" |
| static const char * | __false_name = "false" |
| static CRITICAL_SECTION | __criticalSection |
| static int | __FindFlag |
| static LCID | __FndLCID |
| static const char * | __FndLang |
| static const char * | __FndCtry |