Searched refs:__loc_ (Results 1 - 3 of 3) sorted by relevance

/openbsd-current/gnu/llvm/libcxx/include/__format/
H A Dformat_context.h100 if (!__loc_)
101 __loc_ = _VSTD::locale{};
102 return *__loc_;
122 optional<_VSTD::locale> __loc_; variable
135 __loc_(_VSTD::move(__loc)) {}
177 __loc_([](void* __c) { return static_cast<_Context*>(__c)->locale(); }),
202 _LIBCPP_HIDE_FROM_ABI _VSTD::locale locale() { return __loc_(__ctx_); }
211 std::locale (*__loc_)(void* __ctx); member in class:basic_format_context::std
/openbsd-current/gnu/llvm/libcxx/src/
H A Dios.cpp123 static_assert(sizeof(locale) == sizeof(__loc_), "");
124 locale& loc_storage = *reinterpret_cast<locale*>(&__loc_);
134 const locale& loc_storage = *reinterpret_cast<const locale*>(&__loc_);
236 locale& loc_storage = *reinterpret_cast<locale*>(&__loc_);
279 ::new(&__loc_) locale;
321 locale& lhs_loc = *reinterpret_cast<locale*>(&__loc_);
322 const locale& rhs_loc = *reinterpret_cast<const locale*>(&rhs.__loc_);
365 locale& rhs_loc = *reinterpret_cast<locale*>(&rhs.__loc_);
366 ::new(&__loc_) locale(rhs_loc);
397 locale& lhs_loc = *reinterpret_cast<locale*>(&__loc_);
[all...]
H A Dlocale.cpp59 __libcpp_unique_locale(const char* nm) : __loc_(newlocale(LC_ALL_MASK, nm, 0)) {}
62 if (__loc_)
63 freelocale(__loc_);
66 explicit operator bool() const { return __loc_; }
68 locale_t& get() { return __loc_; }
70 locale_t __loc_; member in struct:__libcpp_unique_locale
5193 : __loc_(newlocale(LC_ALL_MASK, nm, 0))
5195 if (__loc_ == 0)
5201 : __loc_(newlocale(LC_ALL_MASK, nm.c_str(), 0))
5203 if (__loc_
[all...]

Completed in 126 milliseconds