/home/ntakagi/work/STLport-5.1.5/src/c_locale.h File Reference

#include "stlport_prefix.h"
#include <stl/c_locale.h>

Go to the source code of this file.

Defines

#define _Locale_MAX_SIMPLE_NAME   256
#define _Locale_MAX_COMPOSITE_NAME   6*(_Locale_MAX_SIMPLE_NAME+3)

Typedefs

typedef unsigned int _Locale_mask_t
typedef int nl_catd_type

Functions

void _Locale_init ()
void _Locale_final ()
void * _Locale_ctype_create (const char *, struct _Locale_name_hint *)
void * _Locale_numeric_create (const char *, struct _Locale_name_hint *)
void * _Locale_time_create (const char *, struct _Locale_name_hint *)
void * _Locale_collate_create (const char *, struct _Locale_name_hint *)
void * _Locale_monetary_create (const char *, struct _Locale_name_hint *)
void * _Locale_messages_create (const char *, struct _Locale_name_hint *)
void _Locale_ctype_destroy (void *)
void _Locale_numeric_destroy (void *)
void _Locale_time_destroy (void *)
void _Locale_collate_destroy (void *)
void _Locale_monetary_destroy (void *)
void _Locale_messages_destroy (void *)
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 void *, char *__buf)
char const * _Locale_numeric_name (const void *, char *__buf)
char const * _Locale_time_name (const void *, char *__buf)
char const * _Locale_collate_name (const void *, char *__buf)
char const * _Locale_monetary_name (const void *, char *__buf)
char const * _Locale_messages_name (const void *, char *__buf)
char const * _Locale_extract_ctype_name (const char *cname, char *__buf, struct _Locale_name_hint *__hint)
char const * _Locale_extract_numeric_name (const char *cname, char *__buf, struct _Locale_name_hint *__hint)
char const * _Locale_extract_time_name (const char *cname, char *__buf, struct _Locale_name_hint *__hint)
char const * _Locale_extract_collate_name (const char *cname, char *__buf, struct _Locale_name_hint *__hint)
char const * _Locale_extract_monetary_name (const char *cname, char *__buf, struct _Locale_name_hint *__hint)
char const * _Locale_extract_messages_name (const char *cname, char *__buf, struct _Locale_name_hint *__hint)
char const * _Locale_compose_name (char *__buf, const char *__Ctype, const char *__Numeric, const char *__Time, const char *__Collate, const char *__Monetary, const char *__Messages, const char *__DefaultName)
_Locale_name_hint_Locale_get_ctype_hint (struct _Locale_ctype *)
_Locale_name_hint_Locale_get_numeric_hint (struct _Locale_numeric *)
_Locale_name_hint_Locale_get_time_hint (struct _Locale_time *)
_Locale_name_hint_Locale_get_collate_hint (struct _Locale_collate *)
_Locale_name_hint_Locale_get_monetary_hint (struct _Locale_monetary *)
_Locale_name_hint_Locale_get_messages_hint (struct _Locale_messages *)
const _Locale_mask_t_Locale_ctype_table (struct _Locale_ctype *)
int _Locale_toupper (struct _Locale_ctype *, int)
int _Locale_tolower (struct _Locale_ctype *, int)
_Locale_mask_t _Locale_wchar_ctype (struct _Locale_ctype *, wint_t, _Locale_mask_t)
wint_t _Locale_wchar_tolower (struct _Locale_ctype *, wint_t)
wint_t _Locale_wchar_toupper (struct _Locale_ctype *, wint_t)
int _Locale_mb_cur_max (struct _Locale_ctype *)
int _Locale_mb_cur_min (struct _Locale_ctype *)
int _Locale_is_stateless (struct _Locale_ctype *)
wint_t _Locale_btowc (struct _Locale_ctype *, int)
int _Locale_wctob (struct _Locale_ctype *, wint_t)
size_t _Locale_mbtowc (struct _Locale_ctype *, wchar_t *, const char *, size_t, mbstate_t *)
size_t _Locale_wctomb (struct _Locale_ctype *, char *, size_t, const wchar_t, mbstate_t *)
size_t _Locale_unshift (struct _Locale_ctype *, mbstate_t *, char *, size_t, char **)
int _Locale_strcmp (struct _Locale_collate *, const char *, size_t, const char *, size_t)
int _Locale_strwcmp (struct _Locale_collate *, const wchar_t *, size_t, const wchar_t *, size_t)
size_t _Locale_strxfrm (struct _Locale_collate *, char *, size_t, const char *, size_t)
size_t _Locale_strwxfrm (struct _Locale_collate *, wchar_t *, size_t, const wchar_t *, size_t)
char _Locale_decimal_point (struct _Locale_numeric *)
char _Locale_thousands_sep (struct _Locale_numeric *)
const char * _Locale_grouping (struct _Locale_numeric *)
const char * _Locale_true (struct _Locale_numeric *)
const char * _Locale_false (struct _Locale_numeric *)
const char * _Locale_int_curr_symbol (struct _Locale_monetary *)
const char * _Locale_currency_symbol (struct _Locale_monetary *)
char _Locale_mon_decimal_point (struct _Locale_monetary *)
char _Locale_mon_thousands_sep (struct _Locale_monetary *)
const char * _Locale_mon_grouping (struct _Locale_monetary *)
const char * _Locale_positive_sign (struct _Locale_monetary *)
const char * _Locale_negative_sign (struct _Locale_monetary *)
char _Locale_int_frac_digits (struct _Locale_monetary *)
char _Locale_frac_digits (struct _Locale_monetary *)
int _Locale_p_cs_precedes (struct _Locale_monetary *)
int _Locale_p_sep_by_space (struct _Locale_monetary *)
int _Locale_p_sign_posn (struct _Locale_monetary *)
int _Locale_n_cs_precedes (struct _Locale_monetary *)
int _Locale_n_sep_by_space (struct _Locale_monetary *)
int _Locale_n_sign_posn (struct _Locale_monetary *)
const char * _Locale_full_monthname (struct _Locale_time *, int)
const char * _Locale_abbrev_monthname (struct _Locale_time *, int)
const char * _Locale_full_dayofweek (struct _Locale_time *, int)
const char * _Locale_abbrev_dayofweek (struct _Locale_time *, int)
const char * _Locale_d_t_fmt (struct _Locale_time *)
const char * _Locale_d_fmt (struct _Locale_time *)
const char * _Locale_t_fmt (struct _Locale_time *)
const char * _Locale_long_d_t_fmt (struct _Locale_time *)
const char * _Locale_long_d_fmt (struct _Locale_time *)
const char * _Locale_am_str (struct _Locale_time *)
const char * _Locale_pm_str (struct _Locale_time *)
const char * _Locale_t_fmt_ampm (struct _Locale_time *)
nl_catd_type _Locale_catopen (struct _Locale_messages *, const char *)
void _Locale_catclose (struct _Locale_messages *, nl_catd_type)
const char * _Locale_catgets (struct _Locale_messages *, nl_catd_type, int, int, const char *)


Define Documentation

#define _Locale_MAX_COMPOSITE_NAME   6*(_Locale_MAX_SIMPLE_NAME+3)


Typedef Documentation

typedef unsigned int _Locale_mask_t

Definition at line 64 of file c_locale.h.

typedef int nl_catd_type

Definition at line 428 of file c_locale.h.


Function Documentation

const char* _Locale_abbrev_dayofweek ( struct _Locale_time ,
int   
)

Definition at line 254 of file c_locale_dummy.c.

References _Locale_time::abbrev_dayofweek.

Referenced by _Init_timeinfo().

const char* _Locale_abbrev_monthname ( struct _Locale_time ,
int   
)

Definition at line 250 of file c_locale_dummy.c.

References _Locale_time::abbrev_month.

Referenced by _Init_timeinfo().

const char* _Locale_am_str ( struct _Locale_time  ) 

Definition at line 262 of file c_locale_dummy.c.

References _Locale_time::am.

Referenced by _Init_timeinfo().

wint_t _Locale_btowc ( struct _Locale_ctype ,
int   
)

Definition at line 148 of file c_locale_dummy.c.

References _Locale_ctype::cp, and wint_t.

void _Locale_catclose ( struct _Locale_messages ,
nl_catd_type   
)

Definition at line 270 of file c_locale_dummy.c.

Referenced by _Messages_impl::do_close().

const char* _Locale_catgets ( struct _Locale_messages ,
nl_catd_type  ,
int  ,
int  ,
const char *   
)

Definition at line 271 of file c_locale_dummy.c.

Referenced by _Messages_impl::do_get().

nl_catd_type _Locale_catopen ( struct _Locale_messages ,
const char *   
)

Definition at line 268 of file c_locale_dummy.c.

Referenced by _Messages_impl::do_open().

void* _Locale_collate_create ( const char *  ,
struct _Locale_name_hint  
)

const char* _Locale_collate_default ( char *  __buf  ) 

Definition at line 55 of file c_locale_dummy.c.

Referenced by _Locale_impl::insert_collate_facets().

void _Locale_collate_destroy ( void *   ) 

Definition at line 80 of file c_locale_dummy.c.

char const* _Locale_collate_name ( const void *  ,
char *  __buf 
)

Definition at line 68 of file c_locale_dummy.c.

References _Locale_collate::cp, _Locale_name_hint::id, and _Locale_collate::lc.

char const* _Locale_compose_name ( char *  __buf,
const char *  __Ctype,
const char *  __Numeric,
const char *  __Time,
const char *  __Collate,
const char *  __Monetary,
const char *  __Messages,
const char *  __DefaultName 
)

void* _Locale_ctype_create ( const char *  ,
struct _Locale_name_hint  
)

const char* _Locale_ctype_default ( char *  __buf  ) 

Definition at line 52 of file c_locale_dummy.c.

Referenced by _Locale_impl::insert_ctype_facets().

void _Locale_ctype_destroy ( void *   ) 

Definition at line 77 of file c_locale_dummy.c.

char const* _Locale_ctype_name ( const void *  ,
char *  __buf 
)

const _Locale_mask_t* _Locale_ctype_table ( struct _Locale_ctype  ) 

Definition at line 124 of file c_locale_dummy.c.

References _STLP_STATIC_ASSERT, and _Locale_ctype::ctable.

Referenced by ctype_byname< char >::ctype_byname().

const char* _Locale_currency_symbol ( struct _Locale_monetary  ) 

const char* _Locale_d_fmt ( struct _Locale_time  ) 

Definition at line 258 of file c_locale_dummy.c.

References _Locale_time::date_format.

Referenced by __get_date_order(), and _Init_timeinfo().

const char* _Locale_d_t_fmt ( struct _Locale_time  ) 

Definition at line 257 of file c_locale_dummy.c.

References _Locale_time::date_time_format.

Referenced by _Init_timeinfo().

char _Locale_decimal_point ( struct _Locale_numeric  ) 

char const* _Locale_extract_collate_name ( const char *  cname,
char *  __buf,
struct _Locale_name_hint __hint 
)

Definition at line 94 of file c_locale_dummy.c.

Referenced by __acquire_collate(), and _Locale_collate_default().

char const* _Locale_extract_ctype_name ( const char *  cname,
char *  __buf,
struct _Locale_name_hint __hint 
)

Definition at line 85 of file c_locale_dummy.c.

Referenced by __acquire_ctype(), and _Locale_ctype_default().

char const* _Locale_extract_messages_name ( const char *  cname,
char *  __buf,
struct _Locale_name_hint __hint 
)

char const* _Locale_extract_monetary_name ( const char *  cname,
char *  __buf,
struct _Locale_name_hint __hint 
)

Definition at line 97 of file c_locale_dummy.c.

Referenced by __acquire_monetary(), and _Locale_monetary_default().

char const* _Locale_extract_numeric_name ( const char *  cname,
char *  __buf,
struct _Locale_name_hint __hint 
)

Definition at line 88 of file c_locale_dummy.c.

Referenced by __acquire_numeric(), and _Locale_numeric_default().

char const* _Locale_extract_time_name ( const char *  cname,
char *  __buf,
struct _Locale_name_hint __hint 
)

Definition at line 91 of file c_locale_dummy.c.

Referenced by __acquire_time(), and _Locale_time_default().

const char* _Locale_false ( struct _Locale_numeric  ) 

void _Locale_final (  ) 

Definition at line 31 of file c_locale_dummy.c.

Referenced by ios_base::Init::~Init().

const char* _Locale_full_dayofweek ( struct _Locale_time ,
int   
)

Definition at line 252 of file c_locale_dummy.c.

References _Locale_time::dayofweek.

Referenced by _Init_timeinfo().

const char* _Locale_full_monthname ( struct _Locale_time ,
int   
)

Definition at line 248 of file c_locale_dummy.c.

References _Locale_time::month.

Referenced by _Init_timeinfo().

struct _Locale_name_hint* _Locale_get_collate_hint ( struct _Locale_collate  ) 

Definition at line 115 of file c_locale_dummy.c.

References _Locale_collate::lc.

Referenced by _Locale_extract_hint().

struct _Locale_name_hint* _Locale_get_ctype_hint ( struct _Locale_ctype  ) 

Definition at line 109 of file c_locale_dummy.c.

References _Locale_ctype::lc.

Referenced by _Locale_extract_hint().

struct _Locale_name_hint* _Locale_get_messages_hint ( struct _Locale_messages  ) 

Definition at line 119 of file c_locale_dummy.c.

References _Locale_messages::lc.

struct _Locale_name_hint* _Locale_get_monetary_hint ( struct _Locale_monetary  ) 

Definition at line 117 of file c_locale_dummy.c.

References _Locale_monetary::lc.

Referenced by _Locale_extract_hint().

struct _Locale_name_hint* _Locale_get_numeric_hint ( struct _Locale_numeric  ) 

Definition at line 111 of file c_locale_dummy.c.

References _Locale_numeric::lc.

Referenced by _Locale_extract_hint().

struct _Locale_name_hint* _Locale_get_time_hint ( struct _Locale_time  ) 

Definition at line 113 of file c_locale_dummy.c.

References _Locale_time::lc.

Referenced by _Locale_time_extract_hint().

const char* _Locale_grouping ( struct _Locale_numeric  ) 

void _Locale_init (  ) 

Definition at line 28 of file c_locale_dummy.c.

Referenced by ios_base::Init::Init().

const char* _Locale_int_curr_symbol ( struct _Locale_monetary  ) 

char _Locale_int_frac_digits ( struct _Locale_monetary  ) 

int _Locale_is_stateless ( struct _Locale_ctype  ) 

const char* _Locale_long_d_fmt ( struct _Locale_time  ) 

Definition at line 261 of file c_locale_dummy.c.

References _Locale_time::long_date_format.

Referenced by _Init_timeinfo().

const char* _Locale_long_d_t_fmt ( struct _Locale_time  ) 

Definition at line 260 of file c_locale_dummy.c.

References _Locale_time::long_date_time_format.

Referenced by _Init_timeinfo().

int _Locale_mb_cur_min ( struct _Locale_ctype  ) 

size_t _Locale_mbtowc ( struct _Locale_ctype ,
wchar_t *  ,
const char *  ,
size_t  ,
mbstate_t  
)

Definition at line 152 of file c_locale_dummy.c.

References count(), and _Locale_ctype::cp.

void* _Locale_messages_create ( const char *  ,
struct _Locale_name_hint  
)

const char* _Locale_messages_default ( char *  __buf  ) 

Definition at line 57 of file c_locale_dummy.c.

Referenced by _Locale_impl::insert_messages_facets().

void _Locale_messages_destroy ( void *   ) 

Definition at line 82 of file c_locale_dummy.c.

char const* _Locale_messages_name ( const void *  ,
char *  __buf 
)

const char* _Locale_monetary_default ( char *  __buf  ) 

Definition at line 56 of file c_locale_dummy.c.

Referenced by _Locale_impl::insert_monetary_facets().

void _Locale_monetary_destroy ( void *   ) 

Definition at line 81 of file c_locale_dummy.c.

References _Locale_monetary::grouping.

char const* _Locale_monetary_name ( const void *  ,
char *  __buf 
)

int _Locale_n_cs_precedes ( struct _Locale_monetary  ) 

Definition at line 239 of file c_locale_dummy.c.

References _Locale_name_hint::id, and _Locale_monetary::lc.

int _Locale_n_sep_by_space ( struct _Locale_monetary  ) 

Definition at line 241 of file c_locale_dummy.c.

References _Locale_name_hint::id, and _Locale_monetary::lc.

int _Locale_n_sign_posn ( struct _Locale_monetary  ) 

Definition at line 243 of file c_locale_dummy.c.

References _Locale_name_hint::id, and _Locale_monetary::lc.

const char* _Locale_numeric_default ( char *  __buf  ) 

Definition at line 53 of file c_locale_dummy.c.

Referenced by _Locale_impl::insert_numeric_facets().

void _Locale_numeric_destroy ( void *   ) 

Definition at line 78 of file c_locale_dummy.c.

References _Locale_numeric::grouping.

char const* _Locale_numeric_name ( const void *  ,
char *  __buf 
)

Definition at line 62 of file c_locale_dummy.c.

References _Locale_numeric::cp, _Locale_name_hint::id, and _Locale_numeric::lc.

int _Locale_p_cs_precedes ( struct _Locale_monetary  ) 

Definition at line 233 of file c_locale_dummy.c.

References _Locale_name_hint::id, and _Locale_monetary::lc.

int _Locale_p_sep_by_space ( struct _Locale_monetary  ) 

Definition at line 235 of file c_locale_dummy.c.

References _Locale_name_hint::id, and _Locale_monetary::lc.

int _Locale_p_sign_posn ( struct _Locale_monetary  ) 

Definition at line 237 of file c_locale_dummy.c.

References _Locale_name_hint::id, and _Locale_monetary::lc.

const char* _Locale_pm_str ( struct _Locale_time  ) 

Definition at line 263 of file c_locale_dummy.c.

References _Locale_time::pm.

Referenced by _Init_timeinfo().

int _Locale_strcmp ( struct _Locale_collate ,
const char *  ,
size_t  ,
const char *  ,
size_t   
)

int _Locale_strwcmp ( struct _Locale_collate ,
const wchar_t *  ,
size_t  ,
const wchar_t *  ,
size_t   
)

Definition at line 181 of file c_locale_dummy.c.

References CSTR_EQUAL, and CSTR_LESS_THAN.

Referenced by collate_byname< wchar_t >::do_compare().

size_t _Locale_strwxfrm ( struct _Locale_collate ,
wchar_t *  ,
size_t  ,
const wchar_t *  ,
size_t   
)

size_t _Locale_strxfrm ( struct _Locale_collate ,
char *  ,
size_t  ,
const char *  ,
size_t   
)

const char* _Locale_t_fmt ( struct _Locale_time  ) 

Definition at line 259 of file c_locale_dummy.c.

References _Locale_time::time_format.

Referenced by _Init_timeinfo().

const char* _Locale_t_fmt_ampm ( struct _Locale_time  ) 

Definition at line 264 of file c_locale_dummy.c.

char _Locale_thousands_sep ( struct _Locale_numeric  ) 

void* _Locale_time_create ( const char *  ,
struct _Locale_name_hint  
)

const char* _Locale_time_default ( char *  __buf  ) 

Definition at line 54 of file c_locale_dummy.c.

Referenced by _Locale_impl::insert_time_facets().

char const* _Locale_time_name ( const void *  ,
char *  __buf 
)

Definition at line 65 of file c_locale_dummy.c.

References _Locale_time::cp, _Locale_name_hint::id, and _Locale_time::lc.

int _Locale_tolower ( struct _Locale_ctype ,
int   
)

int _Locale_toupper ( struct _Locale_ctype ,
int   
)

const char* _Locale_true ( struct _Locale_numeric  ) 

size_t _Locale_unshift ( struct _Locale_ctype ,
mbstate_t ,
char *  ,
size_t  ,
char **   
)

Definition at line 165 of file c_locale_dummy.c.

_Locale_mask_t _Locale_wchar_ctype ( struct _Locale_ctype ,
wint_t  ,
_Locale_mask_t   
)

wint_t _Locale_wchar_tolower ( struct _Locale_ctype ,
wint_t   
)

Definition at line 135 of file c_locale_dummy.c.

References _Locale_name_hint::id, and _Locale_ctype::lc.

Referenced by ctype_byname< wchar_t >::do_tolower().

wint_t _Locale_wchar_toupper ( struct _Locale_ctype ,
wint_t   
)

Definition at line 138 of file c_locale_dummy.c.

References _Locale_name_hint::id, and _Locale_ctype::lc.

Referenced by ctype_byname< wchar_t >::do_toupper().

int _Locale_wctob ( struct _Locale_ctype ,
wint_t   
)

Definition at line 150 of file c_locale_dummy.c.

References _Locale_ctype::cp.

size_t _Locale_wctomb ( struct _Locale_ctype ,
char *  ,
size_t  ,
const   wchar_t,
mbstate_t  
)

Definition at line 158 of file c_locale_dummy.c.

References _Locale_ctype::cp.

Referenced by codecvt_byname< wchar_t, char, mbstate_t >::do_out().



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