Lines Matching defs:locale

34 #include <locale>
48 typedef char fake_locale_Impl[sizeof(locale::_Impl)]
49 __attribute__ ((aligned(__alignof__(locale::_Impl))));
52 typedef char fake_locale[sizeof(locale)]
53 __attribute__ ((aligned(__alignof__(locale))));
64 typedef char fake_facet_vec[sizeof(locale::facet*)]
65 __attribute__ ((aligned(__alignof__(locale::facet*))));
68 typedef char fake_cache_vec[sizeof(locale::facet*)]
69 __attribute__ ((aligned(__alignof__(locale::facet*))));
180 // Storage for "C" locale caches.
212 locale::locale() throw() : _M_impl(0)
220 locale
221 locale::global(const locale& __other)
236 // subsition of __other locale, one added by return-by-value. Net
237 // difference: zero. When the returned locale object's destrutor
240 return locale(__old);
243 const locale&
244 locale::classic()
247 return reinterpret_cast<const locale&>(c_locale);
251 locale::_S_initialize_once()
257 new (&c_locale) locale(_S_classic);
261 locale::_S_initialize()
271 // Definitions for static const data members of locale::_Impl
272 const locale::id* const
273 locale::_Impl::_S_id_ctype[] =
284 const locale::id* const
285 locale::_Impl::_S_id_numeric[] =
298 const locale::id* const
299 locale::_Impl::_S_id_collate[] =
308 const locale::id* const
309 locale::_Impl::_S_id_time[] =
322 const locale::id* const
323 locale::_Impl::_S_id_monetary[] =
338 const locale::id* const
339 locale::_Impl::_S_id_messages[] =
348 const locale::id* const* const
349 locale::_Impl::_S_facet_categories[] =
351 // Order must match the decl order in class locale.
352 locale::_Impl::_S_id_ctype,
353 locale::_Impl::_S_id_numeric,
354 locale::_Impl::_S_id_collate,
355 locale::_Impl::_S_id_time,
356 locale::_Impl::_S_id_monetary,
357 locale::_Impl::_S_id_messages,
362 locale::_Impl::
375 std::memcpy(_M_names[0], locale::facet::_S_get_c_name(), 2);
380 // != data in the underlying locale model for __timepunct,
383 // NB: Set locale::facets(ref) count to one so that each individual
384 // facet is not destroyed when the locale (and thus locale::_Impl) is
446 // This locale is safe to pre-cache, after all the facets have