Lines Matching +refs:is +refs:facet

28     class time_point_get: public std::locale::facet
53 std::locale::facet(refs) in time_point_get()
101 iter_type get(iter_type i, iter_type e, std::ios_base& is, std::ios_base::iostate& err, in get() argument
104 if (std::has_facet<time_point_units<CharT> >(is.getloc())) in get()
106 … time_point_units<CharT> const &facet = std::use_facet<time_point_units<CharT> >(is.getloc()); in get() local
107 return get(facet, i, e, is, err, tp, pattern, pat_end); in get()
111 time_point_units_default<CharT> facet; in get() local
112 return get(facet, i, e, is, err, tp, pattern, pat_end); in get()
117 …iter_type get(time_point_units<CharT> const &facet, iter_type s, iter_type end, std::ios_base& ios, in get() argument
167 s = get_epoch<Clock> (facet, s, end, ios, err); in get()
181 else if (ct.is(std::ctype_base::space, *pattern)) in get()
183 … for (++pattern; pattern != pat_end && ct.is(std::ctype_base::space, *pattern); ++pattern) in get()
185 for (; s != end && ct.is(std::ctype_base::space, *s); ++s) in get()
216 iter_type get(iter_type i, iter_type e, std::ios_base& is, std::ios_base::iostate& err, in get() argument
219 if (std::has_facet<time_point_units<CharT> >(is.getloc())) in get()
221 … time_point_units<CharT> const &facet = std::use_facet<time_point_units<CharT> >(is.getloc()); in get() local
222 std::basic_string<CharT> str = facet.get_pattern(); in get()
223 return get(facet, i, e, is, err, tp, str.data(), str.data() + str.size()); in get()
227 time_point_units_default<CharT> facet; in get() local
228 std::basic_string<CharT> str = facet.get_pattern(); in get()
229 return get(facet, i, e, is, err, tp, str.data(), str.data() + str.size()); in get()
243 … iter_type get_duration(iter_type i, iter_type e, std::ios_base& is, std::ios_base::iostate& err, in get_duration() argument
246 if (std::has_facet<duration_get<CharT> >(is.getloc())) in get_duration()
248 duration_get<CharT> const &facet = std::use_facet<duration_get<CharT> >(is.getloc()); in get_duration() local
249 return get_duration(facet, i, e, is, err, d); in get_duration()
253 duration_get<CharT> facet; in get_duration() local
254 return get_duration(facet, i, e, is, err, d); in get_duration()
259 …iter_type get_duration(duration_get<CharT> const& facet, iter_type s, iter_type end, std::ios_base… in get_duration() argument
262 return facet.get(s, end, ios, err, d); in get_duration()
277 …iter_type get_epoch(iter_type i, iter_type e, std::ios_base& is, std::ios_base::iostate& err) const in get_epoch() argument
279 if (std::has_facet<time_point_units<CharT> >(is.getloc())) in get_epoch()
281 … time_point_units<CharT> const &facet = std::use_facet<time_point_units<CharT> >(is.getloc()); in get_epoch() local
282 return get_epoch<Clock>(facet, i, e, is, err); in get_epoch()
286 time_point_units_default<CharT> facet; in get_epoch() local
287 return get_epoch<Clock>(facet, i, e, is, err); in get_epoch()
292 …iter_type get_epoch(time_point_units<CharT> const &facet, iter_type i, iter_type e, std::ios_base&, in get_epoch() argument
295 const std::basic_string<CharT> epoch = facet.template get_epoch<Clock> (); in get_epoch()