Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/libcxx/include/__format/
H A Dformat_context.h94 if (!__loc_) in _LIBCPP_PREFERRED_NAME()
95 __loc_ = std::locale{}; in _LIBCPP_PREFERRED_NAME()
96 return *__loc_; in _LIBCPP_PREFERRED_NAME()
116 optional<std::locale> __loc_; in _LIBCPP_PREFERRED_NAME() local
125 : __out_it_(std::move(__out_it)), __args_(__args), __loc_(std::move(__loc)) {} in _LIBCPP_PREFERRED_NAME()
167 __loc_([](void* __c) { return static_cast<_Context*>(__c)->locale(); }), in basic_format_context()
197 _LIBCPP_HIDE_FROM_ABI std::locale locale() { return __loc_(__ctx_); } in locale()
206 std::locale (*__loc_)(void* __ctx); variable
/freebsd/contrib/llvm-project/libcxx/src/
H A Dios.cpp105 static_assert(sizeof(locale) == sizeof(__loc_), ""); in imbue()
106 locale& loc_storage = *reinterpret_cast<locale*>(&__loc_); in imbue()
114 const locale& loc_storage = *reinterpret_cast<const locale*>(&__loc_); in getloc()
200 if (!__loc_) in ~ios_base()
203 locale& loc_storage = *reinterpret_cast<locale*>(&__loc_); in ~ios_base()
242 ::new (&__loc_) locale; in init()
279 locale& lhs_loc = *reinterpret_cast<locale*>(&__loc_); in copyfmt()
280 const locale& rhs_loc = *reinterpret_cast<const locale*>(&rhs.__loc_); in copyfmt()
317 locale& rhs_loc = *reinterpret_cast<locale*>(&rhs.__loc_); in move()
318 ::new (&__loc_) locale(rhs_loc); in move()
[all …]
H A Dlocale.cpp54 __libcpp_unique_locale(const char* nm) : __loc_(newlocale(LC_ALL_MASK, nm, 0)) {} in __libcpp_unique_locale()
57 if (__loc_) in ~__libcpp_unique_locale()
58 freelocale(__loc_); in ~__libcpp_unique_locale()
61 explicit operator bool() const { return __loc_; } in operator bool()
63 locale_t& get() { return __loc_; } in get()
65 locale_t __loc_; member
4440 __time_get::__time_get(const char* nm) : __loc_(newlocale(LC_ALL_MASK, nm, 0)) { in __time_get()
4441 if (__loc_ == 0) in __time_get()
4445 __time_get::__time_get(const string& nm) : __loc_(newlocale(LC_ALL_MASK, nm.c_str(), 0)) { in __time_get()
4446 if (__loc_ == 0) in __time_get()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/
H A Dstreambuf148 locale __r = __loc_;
149 __loc_ = __loc;
153 inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 locale getloc() const { return __loc_; }
287 locale __loc_;
305 : __loc_(__sb.__loc_),
315 __loc_ = __sb.__loc_;
327 std::swap(__loc_, __sb.__loc_);
H A Dios360 _LIBCPP_HIDE_FROM_ABI ios_base() : __loc_(nullptr) {
392 void* __loc_;
H A Dregex1022 locale __loc_;
1050 _LIBCPP_HIDE_FROM_ABI locale_type getloc() const { return __loc_; }
1106 __ct_ = &std::use_facet<ctype<char_type> >(__loc_);
1107 __col_ = &std::use_facet<collate<char_type> >(__loc_);
1112 locale __r = __loc_;
1113 __loc_ = __l;
H A Dlocale2007 locale_t __loc_;
2102 locale_t __loc_;
2105 _LIBCPP_HIDE_FROM_ABI __time_put() : __loc_(_LIBCPP_GET_C_LOCALE) {}