Lines Matching refs:locale
35 locale* _Stl_get_classic_locale();
36 locale* _Stl_get_global_locale();
40 # define locale _STLP_NO_MEM_T_NAME(loc) macro
43 locale::facet::~facet() {} in ~facet()
47 bool locale::operator()(const string& __x, in operator ()()
52 bool locale::operator()(const wstring& __x, in operator ()()
58 void _STLP_CALL locale::_M_throw_on_null_name() in _M_throw_on_null_name()
61 void _STLP_CALL locale::_M_throw_on_combine_error(const string& name) { in _M_throw_on_combine_error()
69 void _STLP_CALL locale::_M_throw_on_creation_failure(int __err_code, in _M_throw_on_creation_failure()
103 static const locale::id& _Stl_loc_get_index(locale::id& id) { in _Stl_loc_get_index()
106 … static _STLP_VOLATILE __stl_atomic_t _S_index = __STATIC_CAST(__stl_atomic_t, locale::id::_S_max); in _Stl_loc_get_index()
111 size_t new_index = locale::id::_S_max++; in _Stl_loc_get_index()
119 locale::locale() _STLP_NOTHROW in locale() function in locale
124 locale::locale(const locale& L) _STLP_NOTHROW in locale() function in locale
128 void locale::_M_insert(facet* f, locale::id& n) { in _M_insert()
133 locale::locale( _Locale_impl* impl ) : in locale() function in locale
138 locale::locale(const char* name) in locale() function in locale
144 _M_impl = _get_Locale_impl( locale::classic()._M_impl ); in locale()
150 impl = new _Locale_impl(locale::id::_S_max, name); in locale()
194 locale::category c) { in _Stl_loc_combine_names_aux()
199 …L->name = string("LC_CTYPE=") + _Locale_extract_ctype_name((c & locale::ctype) ? ctype_name : name… in _Stl_loc_combine_names_aux()
200 …L->name += string("LC_TIME=") + _Locale_extract_time_name((c & locale::time) ? time_name : name, b… in _Stl_loc_combine_names_aux()
201 …L->name += string("LC_NUMERIC=") + _Locale_extract_numeric_name((c & locale::numeric) ? numeric_na… in _Stl_loc_combine_names_aux()
202 …L->name += string("LC_COLLATE=") + _Locale_extract_collate_name((c & locale::collate) ? collate_na… in _Stl_loc_combine_names_aux()
203 …L->name += string("LC_MONETARY=") + _Locale_extract_monetary_name((c & locale::monetary) ? monetar… in _Stl_loc_combine_names_aux()
204 …L->name += string("LC_MESSAGES=") + _Locale_extract_messages_name((c & locale::messages) ? message… in _Stl_loc_combine_names_aux()
211 locale::category c) { in _Stl_loc_combine_names()
212 if ((c & locale::all) == 0 || strcmp(name1, name1) == 0) in _Stl_loc_combine_names()
214 else if ((c & locale::all) == locale::all) in _Stl_loc_combine_names()
225 locale::category c) { in _Stl_loc_combine_names()
226 if ((c & locale::all) == 0 || (strcmp(name, ctype_name) == 0 && in _Stl_loc_combine_names()
233 else if ((c & locale::all) == locale::all && strcmp(ctype_name, time_name) == 0 && in _Stl_loc_combine_names()
247 locale::locale(const locale& L, const char* name, locale::category c) in locale() function in locale
273 if (c & locale::ctype) in locale()
275 if (c & locale::numeric) in locale()
277 if (c & locale::time) in locale()
279 if (c & locale::collate) in locale()
281 if (c & locale::monetary) in locale()
283 if (c & locale::messages) in locale()
296 locale::locale(const locale& L1, const locale& L2, category c) in locale() function in locale
362 locale::~locale() _STLP_NOTHROW { in ~locale()
369 const locale& locale::operator=(const locale& L) _STLP_NOTHROW { in operator =()
378 locale::facet* locale::_M_get_facet(const locale::id& n) const { in _M_get_facet()
382 locale::facet* locale::_M_use_facet(const locale::id& n) const { in _M_use_facet()
383 locale::facet* f = (n._M_index < _M_impl->size() ? _M_impl->facets_vec[n._M_index] : 0); in _M_use_facet()
389 string locale::name() const { in name()
394 bool locale::operator==(const locale& L) const { in operator ==()
399 bool locale::operator!=(const locale& L) const { in operator !=()
405 const locale& _STLP_CALL locale::classic() { in classic()
410 locale _STLP_CALL locale::global(const locale& L) {
412 _Locale_impl* _STLP_CALL locale::global(const locale& L) {
414 locale old(_Stl_get_global_locale()->_M_impl);
435 const locale::category locale::none;
436 const locale::category locale::collate;
437 const locale::category locale::ctype;
438 const locale::category locale::monetary;
439 const locale::category locale::numeric;
440 const locale::category locale::time;
441 const locale::category locale::messages;
442 const locale::category locale::all;