Lines Matching refs:locale
20 #include <locale>
36 locale::facet * _STLP_CALL _get_facet(locale::facet *f)
43 void _STLP_CALL _release_facet(locale::facet *&f)
51 size_t locale::id::_S_max = 27;
76 facets_vec.reserve( locale::id::_S_max );
97 // Initialization of the locale system. This must be called before
105 // Release of the classic locale ressources. Has to be called after the last
106 // locale destruction and not only after the classic locale destruction as
120 void _Locale_impl::insert(_Locale_impl *from, const locale::id& n) {
126 locale::facet* _Locale_impl::insert(locale::facet *f, const locale::id& n) {
144 // <locale> content which is dependent on the name
149 * and inserts them into the locale. */
155 _Locale_impl* i2 = locale::classic()._M_impl;
163 locale::facet* ct = 0;
164 locale::facet* cvt = 0;
166 locale::facet* wct = 0;
167 locale::facet* wcvt = 0;
172 locale::_M_throw_on_creation_failure(__err_code, name, "ctype");
192 locale::_M_throw_on_creation_failure(__err_code, name, "ctype");
226 _Locale_impl* i2 = locale::classic()._M_impl;
228 // We first insert name independant facets taken from the classic locale instance:
247 locale::facet* punct = 0;
249 locale::facet* wpunct = 0;
255 locale::_M_throw_on_creation_failure(__err_code, name, "numpunct");
269 locale::_M_throw_on_creation_failure(__err_code, name, "numpunct");
293 _Locale_impl* i2 = locale::classic()._M_impl;
305 locale::facet *get = 0;
306 locale::facet *put = 0;
308 locale::facet *wget = 0;
309 locale::facet *wput = 0;
355 _Locale_impl* i2 = locale::classic()._M_impl;
362 locale::facet *col = 0;
364 locale::facet *wcol = 0;
410 _Locale_impl* i2 = locale::classic()._M_impl;
412 // We first insert name independant facets taken from the classic locale instance:
429 locale::facet *punct = 0;
430 locale::facet *ipunct = 0;
433 locale::facet* wpunct = 0;
434 locale::facet* wipunct = 0;
516 _Locale_impl* i2 = locale::classic()._M_impl;
523 locale::facet *msg = 0;
525 locale::facet *wmsg = 0;
590 // locale::id::_S_max = 27;
595 static locale *_Stl_classic_locale = 0;
596 static locale *_Stl_global_locale = 0;
598 locale* _Stl_get_classic_locale() {
603 locale* _Stl_get_global_locale() {
626 // The classic locale contains every facet that belongs to a category.
630 locale::facet* classic_facets[] = {
663 const size_t nb_classic_facets = sizeof(classic_facets) / sizeof(locale::facet *);
667 static locale _Locale_classic(classic);
670 static locale _Locale_global(classic);
675 // size_t locale::id::_S_max = 27; // made before
677 locale::id collate<char>::id = { 1 };
678 locale::id ctype<char>::id = { 2 };
679 locale::id codecvt<char, char, mbstate_t>::id = { 3 };
680 locale::id moneypunct<char, true>::id = { 4 };
681 locale::id moneypunct<char, false>::id = { 5 };
682 locale::id numpunct<char>::id = { 6 } ;
683 locale::id messages<char>::id = { 7 };
686 locale::id collate<wchar_t>::id = { 14 };
687 locale::id ctype<wchar_t>::id = { 15 };
688 locale::id codecvt<wchar_t, char, mbstate_t>::id = { 16 };
689 locale::id moneypunct<wchar_t, true>::id = { 17 } ;
690 locale::id moneypunct<wchar_t, false>::id = { 18 } ;
691 locale::id numpunct<wchar_t>::id = { 19 };
692 locale::id messages<wchar_t>::id = { 20 };
726 _STLP_DECLSPEC locale::id& _STLP_CALL _GetFacetId(const money_get<char, istreambuf_iterator<char, char_traits<char> > >*)
728 _STLP_DECLSPEC locale::id& _STLP_CALL _GetFacetId(const money_put<char, ostreambuf_iterator<char, char_traits<char> > >*)
731 _STLP_DECLSPEC locale::id& _STLP_CALL _GetFacetId(const money_get<wchar_t, istreambuf_iterator<wchar_t, char_traits<wchar_t> > >*)
733 _STLP_DECLSPEC locale::id& _STLP_CALL _GetFacetId(const money_put<wchar_t, ostreambuf_iterator<wchar_t, char_traits<wchar_t> > >*)
737 _STLP_DECLSPEC locale::id& _STLP_CALL _GetFacetId(const num_get<char, istreambuf_iterator<char, char_traits<char> > >*)
740 _STLP_DECLSPEC locale::id& _STLP_CALL _GetFacetId(const num_get<wchar_t, istreambuf_iterator<wchar_t, char_traits<wchar_t> > >*)
744 _STLP_DECLSPEC locale::id& _STLP_CALL _GetFacetId(const num_put<char, ostreambuf_iterator<char, char_traits<char> > >*)
747 _STLP_DECLSPEC locale::id& _STLP_CALL _GetFacetId(const num_put<wchar_t, ostreambuf_iterator<wchar_t, char_traits<wchar_t> > >*)
751 _STLP_DECLSPEC locale::id& _STLP_CALL _GetFacetId(const time_get<char, istreambuf_iterator<char, char_traits<char> > >*)
753 _STLP_DECLSPEC locale::id& _STLP_CALL _GetFacetId(const time_put<char, ostreambuf_iterator<char, char_traits<char> > >*)
756 _STLP_DECLSPEC locale::id& _STLP_CALL _GetFacetId(const time_get<wchar_t, istreambuf_iterator<wchar_t, char_traits<wchar_t> > >*)
758 _STLP_DECLSPEC locale::id& _STLP_CALL _GetFacetId(const time_put<wchar_t, ostreambuf_iterator<wchar_t, char_traits<wchar_t> > >*)