Home
last modified time | relevance | path

Searched refs:__loc_ (Results 1 – 6 of 6) sorted by relevance

/openbsd/src/gnu/llvm/libcxx/src/
Dios.cpp123 static_assert(sizeof(locale) == sizeof(__loc_), ""); in imbue()
124 locale& loc_storage = *reinterpret_cast<locale*>(&__loc_); in imbue()
134 const locale& loc_storage = *reinterpret_cast<const locale*>(&__loc_); in getloc()
236 locale& loc_storage = *reinterpret_cast<locale*>(&__loc_); in ~ios_base()
279 ::new(&__loc_) locale; in init()
321 locale& lhs_loc = *reinterpret_cast<locale*>(&__loc_); in copyfmt()
322 const locale& rhs_loc = *reinterpret_cast<const locale*>(&rhs.__loc_); in copyfmt()
365 locale& rhs_loc = *reinterpret_cast<locale*>(&rhs.__loc_); in move()
366 ::new(&__loc_) locale(rhs_loc); in move()
397 locale& lhs_loc = *reinterpret_cast<locale*>(&__loc_); in swap()
[all …]
Dlocale.cpp59 __libcpp_unique_locale(const char* nm) : __loc_(newlocale(LC_ALL_MASK, nm, 0)) {} in __libcpp_unique_locale()
62 if (__loc_) in ~__libcpp_unique_locale()
63 freelocale(__loc_); in ~__libcpp_unique_locale()
66 explicit operator bool() const { return __loc_; } in operator bool()
68 locale_t& get() { return __loc_; } in get()
70 locale_t __loc_; member
5193 : __loc_(newlocale(LC_ALL_MASK, nm, 0)) in __time_get()
5195 if (__loc_ == 0) in __time_get()
5201 : __loc_(newlocale(LC_ALL_MASK, nm.c_str(), 0)) in __time_get()
5203 if (__loc_ == 0) in __time_get()
[all …]
/openbsd/src/gnu/llvm/libcxx/include/
Dstreambuf146 locale __r = __loc_;
147 __loc_ = __loc;
152 locale getloc() const { return __loc_; }
298 locale __loc_;
325 : __loc_(__sb.__loc_),
339 __loc_ = __sb.__loc_;
353 _VSTD::swap(__loc_, __sb.__loc_);
Dios387 void* __loc_;
Dregex1050 locale __loc_;
1088 locale_type getloc()const {return __loc_;}
1160 __ct_ = &std::use_facet<ctype<char_type> >(__loc_);
1161 __col_ = &std::use_facet<collate<char_type> >(__loc_);
1168 locale __r = __loc_;
1169 __loc_ = __l;
Dlocale2343 locale_t __loc_;
2437 locale_t __loc_;
2439 _LIBCPP_INLINE_VISIBILITY __time_put() : __loc_(_LIBCPP_GET_C_LOCALE) {}