Lines Matching refs:locale
34 locale* _Stl_get_classic_locale();
35 locale* _Stl_get_global_locale();
39 # define locale _STLP_NO_MEM_T_NAME(loc) macro
42 locale::facet::~facet() {} in ~facet()
46 bool locale::operator()(const string& __x, in operator ()()
51 bool locale::operator()(const wstring& __x, in operator ()()
57 void _STLP_CALL locale::_M_throw_on_null_name() in _M_throw_on_null_name()
60 void _STLP_CALL locale::_M_throw_on_combine_error(const string& name) { in _M_throw_on_combine_error()
68 void _STLP_CALL locale::_M_throw_on_creation_failure(int __err_code, in _M_throw_on_creation_failure()
102 static const locale::id& _Stl_loc_get_index(locale::id& id) { in _Stl_loc_get_index()
105 … static _STLP_VOLATILE __stl_atomic_t _S_index = __STATIC_CAST(__stl_atomic_t, locale::id::_S_max); in _Stl_loc_get_index()
110 size_t new_index = locale::id::_S_max++; in _Stl_loc_get_index()
118 locale::locale() _STLP_NOTHROW in locale() function in locale
123 locale::locale(const locale& L) _STLP_NOTHROW in locale() function in locale
127 void locale::_M_insert(facet* f, locale::id& n) { in _M_insert()
132 locale::locale( _Locale_impl* impl ) : in locale() function in locale
137 locale::locale(const char* name) in locale() function in locale
143 _M_impl = _get_Locale_impl( locale::classic()._M_impl ); in locale()
149 impl = new _Locale_impl(locale::id::_S_max, name); in locale()
193 locale::category c) { in _Stl_loc_combine_names_aux()
198 …L->name = string("LC_CTYPE=") + _Locale_extract_ctype_name((c & locale::ctype) ? ctype_name : name… in _Stl_loc_combine_names_aux()
199 …L->name += string("LC_TIME=") + _Locale_extract_time_name((c & locale::time) ? time_name : name, b… in _Stl_loc_combine_names_aux()
200 …L->name += string("LC_NUMERIC=") + _Locale_extract_numeric_name((c & locale::numeric) ? numeric_na… in _Stl_loc_combine_names_aux()
201 …L->name += string("LC_COLLATE=") + _Locale_extract_collate_name((c & locale::collate) ? collate_na… in _Stl_loc_combine_names_aux()
202 …L->name += string("LC_MONETARY=") + _Locale_extract_monetary_name((c & locale::monetary) ? monetar… in _Stl_loc_combine_names_aux()
203 …L->name += string("LC_MESSAGES=") + _Locale_extract_messages_name((c & locale::messages) ? message… in _Stl_loc_combine_names_aux()
210 locale::category c) { in _Stl_loc_combine_names()
211 if ((c & locale::all) == 0 || strcmp(name1, name1) == 0) in _Stl_loc_combine_names()
213 else if ((c & locale::all) == locale::all) in _Stl_loc_combine_names()
224 locale::category c) { in _Stl_loc_combine_names()
225 if ((c & locale::all) == 0 || (strcmp(name, ctype_name) == 0 && in _Stl_loc_combine_names()
232 else if ((c & locale::all) == locale::all && strcmp(ctype_name, time_name) == 0 && in _Stl_loc_combine_names()
246 locale::locale(const locale& L, const char* name, locale::category c) in locale() function in locale
272 if (c & locale::ctype) in locale()
274 if (c & locale::numeric) in locale()
276 if (c & locale::time) in locale()
278 if (c & locale::collate) in locale()
280 if (c & locale::monetary) in locale()
282 if (c & locale::messages) in locale()
295 locale::locale(const locale& L1, const locale& L2, category c) in locale() function in locale
361 locale::~locale() _STLP_NOTHROW { in ~locale()
368 const locale& locale::operator=(const locale& L) _STLP_NOTHROW { in operator =()
377 locale::facet* locale::_M_get_facet(const locale::id& n) const { in _M_get_facet()
381 locale::facet* locale::_M_use_facet(const locale::id& n) const { in _M_use_facet()
382 locale::facet* f = (n._M_index < _M_impl->size() ? _M_impl->facets_vec[n._M_index] : 0); in _M_use_facet()
388 string locale::name() const { in name()
393 bool locale::operator==(const locale& L) const { in operator ==()
398 bool locale::operator!=(const locale& L) const { in operator !=()
404 const locale& _STLP_CALL locale::classic() { in classic()
409 locale _STLP_CALL locale::global(const locale& L) {
411 _Locale_impl* _STLP_CALL locale::global(const locale& L) {
413 locale old(_Stl_get_global_locale()->_M_impl);
434 const locale::category locale::none;
435 const locale::category locale::collate;
436 const locale::category locale::ctype;
437 const locale::category locale::monetary;
438 const locale::category locale::numeric;
439 const locale::category locale::time;
440 const locale::category locale::messages;
441 const locale::category locale::all;