/home/ntakagi/work/STLport-5.1.5/src/c_locale_glibc/gcc_localeinfo.h File Reference#include <stddef.h>
#include <langinfo.h>
#include <time.h>
#include <sys/types.h>
Go to the source code of this file.
|
Classes |
struct | loaded_l10nfile |
struct | locale_data |
union | locale_data::locale_data_value |
struct | era_entry |
Defines |
#define | _LOCALEINFO_H 1 |
#define | PARAMS(args) () |
#define | CEN_REVISION 1 |
#define | CEN_SPONSOR 2 |
#define | CEN_SPECIAL 4 |
#define | XPG_NORM_CODESET 8 |
#define | XPG_CODESET 16 |
#define | TERRITORY 32 |
#define | CEN_AUDIENCE 64 |
#define | XPG_MODIFIER 128 |
#define | CEN_SPECIFIC (CEN_REVISION|CEN_SPONSOR|CEN_SPECIAL|CEN_AUDIENCE) |
#define | XPG_SPECIFIC (XPG_CODESET|XPG_NORM_CODESET|XPG_MODIFIER) |
#define | LIMAGIC(category) (0x960617de ^ (category)) |
#define | FORWARD_CHAR ((wchar_t) 0xfffffffd) |
#define | ELLIPSIS_CHAR ((wchar_t) 0xfffffffe) |
#define | IGNORE_CHAR ((wchar_t) 0xffffffff) |
#define | MAX_USAGE_COUNT (UINT_MAX - 1) |
#define | UNDELETABLE UINT_MAX |
#define | _NL_CURRENT(category, item) (_nl_current_##category->values[_NL_ITEM_INDEX (item)].string) |
#define | _NL_CURRENT_WORD(category, item) (_nl_current_##category->values[_NL_ITEM_INDEX (item)].word) |
#define | _NL_CURRENT_DEFINE(category) |
Enumerations |
enum | coll_sort_rule {
illegal_0__,
sort_forward,
sort_backward,
illegal_3__,
sort_position,
sort_forward_position,
sort_backward_position,
sort_mask
} |
enum | value_type {
none,
string,
stringarray,
byte,
bytearray,
word
} |
Functions |
const char *_nl_normalize_codeset | PARAMS ((const char *codeset, size_t name_len)) |
loaded_l10nfile *_nl_make_l10nflist | PARAMS ((struct loaded_l10nfile **l10nfile_list, const char *dirlist, size_t dirlist_len, int mask, const char *language, const char *territory, const char *codeset, const char *normalized_codeset, const char *modifier, const char *special, const char *sponsor, const char *revision, const char *filename, int do_allocate)) |
const char *_nl_expand_alias | PARAMS ((const char *name)) |
int _nl_explode_name | PARAMS ((char *name, const char **language, const char **modifier, const char **territory, const char **codeset, const char **normalized_codeset, const char **special, const char **sponsor, const char **revision)) |
locale_data * | _nl_find_locale (const char *locale_path, size_t locale_path_len, int category, char **name) |
void | _nl_load_locale (struct loaded_l10nfile *file, int category) |
era_entry * | _nl_get_era_entry (const struct tm *tp) |
const char * | _nl_get_alt_digit (unsigned int number) |
Variables |
const char *const | _nl_category_names [LC_ALL+1] |
const size_t | _nl_category_name_sizes [LC_ALL+1] |
locale_data **const | _nl_current [LC_ALL] |
const char | _nl_C_name [] |
const u_int32_t * | __collate_table |
const u_int32_t * | __collate_extra |
const u_int32_t * | __collate_element_hash |
const char * | __collate_element_strings |
const wchar_t * | __collate_element_values |
const u_int32_t * | __collate_symbol_hash |
const char * | __collate_symbol_strings |
const u_int32_t * | __collate_symbol_classes |
Define Documentation
#define _NL_CURRENT |
( |
category, |
|
|
item |
|
) |
(_nl_current_##category->values[_NL_ITEM_INDEX (item)].string) |
#define _NL_CURRENT_DEFINE |
( |
category |
|
) |
|
#define _NL_CURRENT_WORD |
( |
category, |
|
|
item |
|
) |
(_nl_current_##category->values[_NL_ITEM_INDEX (item)].word) |
#define CEN_SPECIFIC (CEN_REVISION|CEN_SPONSOR|CEN_SPECIAL|CEN_AUDIENCE) |
#define ELLIPSIS_CHAR ((wchar_t) 0xfffffffe) |
#define FORWARD_CHAR ((wchar_t) 0xfffffffd) |
#define IGNORE_CHAR ((wchar_t) 0xffffffff) |
#define LIMAGIC |
( |
category |
|
) |
(0x960617de ^ (category)) |
#define MAX_USAGE_COUNT (UINT_MAX - 1) |
#define PARAMS |
( |
args |
|
) |
() |
#define UNDELETABLE UINT_MAX |
#define XPG_NORM_CODESET 8 |
#define XPG_SPECIFIC (XPG_CODESET|XPG_NORM_CODESET|XPG_MODIFIER) |
Enumeration Type Documentation
- Enumerator:
-
illegal_0__ |
|
sort_forward |
|
sort_backward |
|
illegal_3__ |
|
sort_position |
|
sort_forward_position |
|
sort_backward_position |
|
sort_mask |
|
Definition at line 124 of file gcc_localeinfo.h.
- Enumerator:
-
none |
|
string |
|
stringarray |
|
byte |
|
bytearray |
|
word |
|
Definition at line 137 of file gcc_localeinfo.h.
Function Documentation
struct locale_data* _nl_find_locale |
( |
const char * |
locale_path, |
|
|
size_t |
locale_path_len, |
|
|
int |
category, |
|
|
char ** |
name | |
|
) |
| | |
const char* _nl_get_alt_digit |
( |
unsigned int |
number |
) |
|
struct era_entry* _nl_get_era_entry |
( |
const struct tm * |
tp |
) |
|
int _nl_explode_name PARAMS |
( |
(char *name, const char **language, const char **modifier, const char **territory, const char **codeset, const char **normalized_codeset, const char **special, const char **sponsor, const char **revision) |
|
) |
|
const char* _nl_expand_alias PARAMS |
( |
(const char *name) |
|
) |
|
struct loaded_l10nfile* _nl_make_l10nflist PARAMS |
( |
(struct loaded_l10nfile **l10nfile_list, const char *dirlist, size_t dirlist_len, int mask, const char *language, const char *territory, const char *codeset, const char *normalized_codeset, const char *modifier, const char *special, const char *sponsor, const char *revision, const char *filename, int do_allocate) |
|
) |
|
const char* _nl_normalize_codeset PARAMS |
( |
(const char *codeset, size_t name_len) |
|
) |
|
Variable Documentation
Generated on Mon Mar 10 15:32:47 2008 by
1.5.1
|