• Home
  • Raw
  • Download

Lines Matching refs:__loc_

51   __libcpp_unique_locale(const char* nm) : __loc_(newlocale(LC_ALL_MASK, nm, 0)) {}  in __libcpp_unique_locale()
54 if (__loc_) in ~__libcpp_unique_locale()
55 freelocale(__loc_); in ~__libcpp_unique_locale()
58 explicit operator bool() const { return __loc_; } in operator bool()
60 locale_t& get() { return __loc_; } in get()
62 locale_t __loc_; member
4762 : __loc_(newlocale(LC_ALL_MASK, nm, 0)) in __time_get()
4764 if (__loc_ == 0) in __time_get()
4770 : __loc_(newlocale(LC_ALL_MASK, nm.c_str(), 0)) in __time_get()
4772 if (__loc_ == 0) in __time_get()
4779 freelocale(__loc_); in ~__time_get()
4806 size_t n = strftime_l(buf, countof(buf), f, &t, __loc_); in __analyze()
4954 strftime_l(buf, countof(buf), f, &t, __loc_); in __analyze()
4959 size_t j = __libcpp_mbsrtowcs_l( wbb, &bb, countof(wbuf), &mb, __loc_); in __analyze()
5096 strftime_l(buf, countof(buf), "%A", &t, __loc_); in init()
5098 strftime_l(buf, countof(buf), "%a", &t, __loc_); in init()
5105 strftime_l(buf, countof(buf), "%B", &t, __loc_); in init()
5107 strftime_l(buf, countof(buf), "%b", &t, __loc_); in init()
5112 strftime_l(buf, countof(buf), "%p", &t, __loc_); in init()
5115 strftime_l(buf, countof(buf), "%p", &t, __loc_); in init()
5136 strftime_l(buf, countof(buf), "%A", &t, __loc_); in init()
5139 size_t j = __libcpp_mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, __loc_); in init()
5144 strftime_l(buf, countof(buf), "%a", &t, __loc_); in init()
5147 j = __libcpp_mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, __loc_); in init()
5157 strftime_l(buf, countof(buf), "%B", &t, __loc_); in init()
5160 size_t j = __libcpp_mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, __loc_); in init()
5165 strftime_l(buf, countof(buf), "%b", &t, __loc_); in init()
5168 j = __libcpp_mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, __loc_); in init()
5176 strftime_l(buf, countof(buf), "%p", &t, __loc_); in init()
5179 size_t j = __libcpp_mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, __loc_); in init()
5185 strftime_l(buf, countof(buf), "%p", &t, __loc_); in init()
5188 j = __libcpp_mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, __loc_); in init()
5418 : __loc_(newlocale(LC_ALL_MASK, nm, 0)) in __time_put()
5420 if (__loc_ == 0) in __time_put()
5426 : __loc_(newlocale(LC_ALL_MASK, nm.c_str(), 0)) in __time_put()
5428 if (__loc_ == 0) in __time_put()
5435 if (__loc_ != _LIBCPP_GET_C_LOCALE) in ~__time_put()
5436 freelocale(__loc_); in ~__time_put()
5446 size_t n = strftime_l(__nb, countof(__nb, __ne), fmt, __tm, __loc_); in __do_put()
5459 size_t j = __libcpp_mbsrtowcs_l(__wb, &__nb, countof(__wb, __we), &mb, __loc_); in __do_put()