/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 _LOCALEINFO_H   1

Definition at line 21 of file gcc_localeinfo.h.

#define _NL_CURRENT ( category,
item   )     (_nl_current_##category->values[_NL_ITEM_INDEX (item)].string)

Definition at line 166 of file gcc_localeinfo.h.

#define _NL_CURRENT_DEFINE ( category   ) 

Value:

extern const struct locale_data _nl_C_##category; \
  const struct locale_data *_nl_current_##category = &_nl_C_##category

Definition at line 174 of file gcc_localeinfo.h.

#define _NL_CURRENT_WORD ( category,
item   )     (_nl_current_##category->values[_NL_ITEM_INDEX (item)].word)

Definition at line 170 of file gcc_localeinfo.h.

#define CEN_AUDIENCE   64

Definition at line 46 of file gcc_localeinfo.h.

#define CEN_REVISION   1

Definition at line 40 of file gcc_localeinfo.h.

#define CEN_SPECIAL   4

Definition at line 42 of file gcc_localeinfo.h.

#define CEN_SPECIFIC   (CEN_REVISION|CEN_SPONSOR|CEN_SPECIAL|CEN_AUDIENCE)

Definition at line 49 of file gcc_localeinfo.h.

#define CEN_SPONSOR   2

Definition at line 41 of file gcc_localeinfo.h.

#define ELLIPSIS_CHAR   ((wchar_t) 0xfffffffe)

Definition at line 97 of file gcc_localeinfo.h.

#define FORWARD_CHAR   ((wchar_t) 0xfffffffd)

Definition at line 96 of file gcc_localeinfo.h.

#define IGNORE_CHAR   ((wchar_t) 0xffffffff)

Definition at line 98 of file gcc_localeinfo.h.

#define LIMAGIC ( category   )     (0x960617de ^ (category))

Definition at line 93 of file gcc_localeinfo.h.

#define MAX_USAGE_COUNT   (UINT_MAX - 1)

Definition at line 100 of file gcc_localeinfo.h.

#define PARAMS ( args   )     ()

Definition at line 35 of file gcc_localeinfo.h.

#define TERRITORY   32

Definition at line 45 of file gcc_localeinfo.h.

#define UNDELETABLE   UINT_MAX

Definition at line 101 of file gcc_localeinfo.h.

#define XPG_CODESET   16

Definition at line 44 of file gcc_localeinfo.h.

#define XPG_MODIFIER   128

Definition at line 47 of file gcc_localeinfo.h.

#define XPG_NORM_CODESET   8

Definition at line 43 of file gcc_localeinfo.h.

#define XPG_SPECIFIC   (XPG_CODESET|XPG_NORM_CODESET|XPG_MODIFIER)

Definition at line 50 of file gcc_localeinfo.h.


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.

enum value_type

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  ) 

void _nl_load_locale ( struct loaded_l10nfile file,
int  category 
)

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

const u_int32_t* __collate_element_hash

const wchar_t* __collate_element_values

const u_int32_t* __collate_extra

const u_int32_t* __collate_symbol_classes

const u_int32_t* __collate_symbol_hash

const u_int32_t* __collate_table

const char _nl_C_name[]

const size_t _nl_category_name_sizes[LC_ALL+1]

const char* const _nl_category_names[LC_ALL+1]

struct locale_data* * const _nl_current[LC_ALL]



Generated on Mon Mar 10 15:32:47 2008 by  doxygen 1.5.1