Lines Matching refs:__loc_
54 __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()
4450 __time_get::~__time_get() { freelocale(__loc_); } in ~__time_get()
4470 size_t n = strftime_l(buf, countof(buf), f, &t, __loc_); in __analyze()
4601 strftime_l(buf, countof(buf), f, &t, __loc_); in __analyze()
4606 size_t j = __libcpp_mbsrtowcs_l(wbb, &bb, countof(wbuf), &mb, __loc_); in __analyze()
4727 strftime_l(buf, countof(buf), "%A", &t, __loc_); in init()
4729 strftime_l(buf, countof(buf), "%a", &t, __loc_); in init()
4735 strftime_l(buf, countof(buf), "%B", &t, __loc_); in init()
4737 strftime_l(buf, countof(buf), "%b", &t, __loc_); in init()
4742 strftime_l(buf, countof(buf), "%p", &t, __loc_); in init()
4745 strftime_l(buf, countof(buf), "%p", &t, __loc_); in init()
4764 strftime_l(buf, countof(buf), "%A", &t, __loc_); in init()
4767 size_t j = __libcpp_mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, __loc_); in init()
4772 strftime_l(buf, countof(buf), "%a", &t, __loc_); in init()
4775 j = __libcpp_mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, __loc_); in init()
4784 strftime_l(buf, countof(buf), "%B", &t, __loc_); in init()
4787 size_t j = __libcpp_mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, __loc_); in init()
4792 strftime_l(buf, countof(buf), "%b", &t, __loc_); in init()
4795 j = __libcpp_mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, __loc_); in init()
4803 strftime_l(buf, countof(buf), "%p", &t, __loc_); in init()
4806 size_t j = __libcpp_mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, __loc_); in init()
4812 strftime_l(buf, countof(buf), "%p", &t, __loc_); in init()
4815 j = __libcpp_mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, __loc_); in init()
5025 __time_put::__time_put(const char* nm) : __loc_(newlocale(LC_ALL_MASK, nm, 0)) { in __time_put()
5026 if (__loc_ == 0) in __time_put()
5030 __time_put::__time_put(const string& nm) : __loc_(newlocale(LC_ALL_MASK, nm.c_str(), 0)) { in __time_put()
5031 if (__loc_ == 0) in __time_put()
5036 if (__loc_ != _LIBCPP_GET_C_LOCALE) in ~__time_put()
5037 freelocale(__loc_); in ~__time_put()
5044 size_t n = strftime_l(__nb, countof(__nb, __ne), fmt, __tm, __loc_); in __do_put()
5055 size_t j = __libcpp_mbsrtowcs_l(__wb, &__nb, countof(__wb, __we), &mb, __loc_); in __do_put()