Lines Matching defs:locale
30 # include <locale>
59 optional<std::locale>&& __loc = nullopt) {
94 _LIBCPP_HIDE_FROM_ABI std::locale locale() {
96 __loc_ = std::locale{};
108 // The Standard doesn't specify how the locale is stored.
110 // std::locale locale();
111 // Returns: The locale passed to the formatting function if the latter
112 // takes one, and std::locale() otherwise.
113 // This is done by storing the locale of the constructor in this optional. If
114 // locale() is called and the optional has no value the value will be created.
115 // This allows the implementation to lazily create the locale.
117 optional<std::locale> __loc_;
121 _OtherOutIt, basic_format_args<basic_format_context<_OtherOutIt, _OtherCharT>>, optional<std::locale>&&);
125 _OutIt __out_it, basic_format_args<basic_format_context> __args, optional<std::locale>&& __loc)
148 // formatter uses a locale specific formatting or an formatting argument is
165 __loc_([](void* __c) { return static_cast<_Context*>(__c)->locale(); }),
190 _LIBCPP_HIDE_FROM_ABI std::locale locale() { return __loc_(__ctx_); }
199 std::locale (*__loc_)(void* __ctx);