Home
last modified time | relevance | path

Searched refs:getloc (Results 1 – 25 of 87) sorted by relevance

1234

/third_party/boost/boost/date_time/gregorian/
Dgregorian_io.hpp52 if (std::has_facet<custom_date_facet>(os.getloc())) in operator <<()
53 std::use_facet<custom_date_facet>(os.getloc()).put(output_itr, os, os.fill(), d); in operator <<()
63 std::locale l = std::locale(os.getloc(), f); in operator <<()
83 if(std::has_facet<date_input_facet_local>(is.getloc())) { in operator >>()
84 std::use_facet<date_input_facet_local>(is.getloc()).get(sit, str_end, is, d); in operator >>()
88 std::locale l = std::locale(is.getloc(), f); in operator >>()
119 if (std::has_facet<custom_date_facet>(os.getloc())) in operator <<()
120 std::use_facet<custom_date_facet>(os.getloc()).put(output_itr, os, os.fill(), dd); in operator <<()
123 std::locale l = std::locale(os.getloc(), f); in operator <<()
144 if(std::has_facet<date_input_facet_local>(is.getloc())) { in operator >>()
[all …]
Dgreg_facet.hpp73 std::locale locale = os.getloc(); in operator <<()
99 std::locale locale = os.getloc(); in operator <<()
276 if(!std::has_facet<facet_def>(is.getloc())) { in operator >>()
277 std::locale loc = is.getloc(); in operator >>()
285 const facet_def& f = std::use_facet<facet_def>(is.getloc()); in operator >>()
329 if(!std::has_facet<facet_def>(is.getloc())) { in operator >>()
330 std::locale loc = is.getloc(); in operator >>()
337 const facet_def& f = std::use_facet<facet_def>(is.getloc()); in operator >>()
/third_party/boost/boost/date_time/posix_time/
Dposix_time_io.hpp51 if (std::has_facet<custom_ptime_facet>(os.getloc())) in operator <<()
52 std::use_facet<custom_ptime_facet>(os.getloc()).put(oitr, os, os.fill(), p); in operator <<()
60 std::locale l = std::locale(os.getloc(), f); in operator <<()
79 if(std::has_facet<time_input_facet_local>(is.getloc())) { in operator >>()
80 std::use_facet<time_input_facet_local>(is.getloc()).get(sit, str_end, is, pt); in operator >>()
84 std::locale l = std::locale(is.getloc(), f); in operator >>()
117 if (std::has_facet<custom_ptime_facet>(os.getloc())) { in operator <<()
118 std::use_facet<custom_ptime_facet>(os.getloc()).put(oitr, os, os.fill(), p); in operator <<()
127 std::locale l = std::locale(os.getloc(), f); in operator <<()
146 if(std::has_facet<time_input_facet_local>(is.getloc())) { in operator >>()
[all …]
/third_party/boost/boost/date_time/local_time/
Dlocal_time_io.hpp44 if(std::has_facet<custom_time_facet>(os.getloc())) { in operator <<()
45 std::use_facet<custom_time_facet>(os.getloc()).put(oitr, in operator <<()
52 std::locale l = std::locale(os.getloc(), f); in operator <<()
79 if(std::has_facet<time_input_facet>(is.getloc())) { in operator >>()
80 … std::use_facet<time_input_facet>(is.getloc()).get_local_time(sit, str_end, is, pt, tz_str); in operator >>()
84 std::locale l = std::locale(is.getloc(), f); in operator >>()
129 if (std::has_facet<custom_facet>(os.getloc())) { in operator <<()
130 std::use_facet<custom_facet>(os.getloc()).put(oitr, os, os.fill(), p); in operator <<()
139 std::locale l = std::locale(os.getloc(), f); in operator <<()
159 if(std::has_facet<time_input_facet>(is.getloc())) { in operator >>()
[all …]
/third_party/boost/boost/chrono/io/
Dtime_point_put.hpp96 if (std::has_facet<time_point_units<CharT> >(ios.getloc())) in put()
99 std::use_facet<time_point_units<CharT> >(ios.getloc()); in put()
114 const std::ctype<char_type>& ct = std::use_facet<std::ctype<char_type> >(ios.getloc()); in put()
165 if (std::has_facet<time_point_units<CharT> >(ios.getloc())) in put()
168 std::use_facet<time_point_units<CharT> >(ios.getloc()); in put()
192 if (std::has_facet<duration_put<CharT> >(ios.getloc())) in put_duration()
194 duration_put<CharT> const &facet = std::use_facet<duration_put<CharT> >(ios.getloc()); in put_duration()
221 if (std::has_facet<time_point_units<CharT> >(os.getloc())) in put_epoch()
223 … time_point_units<CharT> const &facet = std::use_facet<time_point_units<CharT> >(os.getloc()); in put_epoch()
Dduration_put.hpp107 if (std::has_facet<duration_units<CharT> >(ios.getloc())) in put()
110 ios.getloc()); in put()
125 const std::ctype<char_type>& ct = std::use_facet<std::ctype<char_type> >(ios.getloc()); in put()
175 if (std::has_facet<duration_units<CharT> >(ios.getloc())) in put()
178 ios.getloc()); in put()
211 return std::use_facet<std::num_put<CharT, iter_type> >(ios.getloc()).put(s, ios, fill, in put_value()
246 if (std::has_facet<duration_units<CharT> >(ios.getloc())) in put_unit()
249 ios.getloc()); in put_unit()
268 … std::use_facet<std::num_put<CharT, iter_type> >(ios.getloc()).put(s, ios, fill, Period::num); in put_unit()
270 … std::use_facet<std::num_put<CharT, iter_type> >(ios.getloc()).put(s, ios, fill, Period::den); in put_unit()
[all …]
Dtime_point_get.hpp104 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()
125 const std::ctype<char_type>& ct = std::use_facet<std::ctype<char_type> >(ios.getloc()); in get()
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()
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()
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()
Dduration_get.hpp179 if (std::has_facet<duration_units<CharT> >(ios.getloc())) in get()
181 duration_units<CharT> const&facet = std::use_facet<duration_units<CharT> >(ios.getloc()); in get()
201 const std::ctype<char_type>& ct = std::use_facet<std::ctype<char_type> >(ios.getloc()); in get()
342 if (std::has_facet<duration_units<CharT> >(ios.getloc())) in get()
344 duration_units<CharT> const&facet = std::use_facet<duration_units<CharT> >(ios.getloc()); in get()
373 … return std::use_facet<std::num_get<CharT, iter_type> >(ios.getloc()).get(s, end, ios, err, r); in get_value()
386 … s = std::use_facet<std::num_get<CharT, iter_type> >(ios.getloc()).get(s, end, ios, err, r.real); in get_value()
395 … s = std::use_facet<std::num_get<CharT, iter_type> >(ios.getloc()).get(s, end, ios, err, r.user); in get_value()
404 … s = std::use_facet<std::num_get<CharT, iter_type> >(ios.getloc()).get(s, end, ios, err, r.system); in get_value()
426 if (std::has_facet<duration_units<CharT> >(is.getloc())) in get_unit()
[all …]
Dduration_io.hpp148 if (!std::has_facet<duration_put<CharT> >(os.getloc())) in operator <<()
155 …else if (std::use_facet<duration_put<CharT> >(os.getloc()) .put(os, os, os.fill(), dd, ostr.str().… in operator <<()
203 if (!std::has_facet<duration_put<CharT> >(os.getloc())) in operator <<()
210 … else if (std::use_facet<duration_put<CharT> >(os.getloc()) .put(os, os, os.fill(), d) .failed()) in operator <<()
261 if (!std::has_facet<duration_get<CharT> >(is.getloc())) in operator >>()
267 …std::use_facet<duration_get<CharT> >(is.getloc()) .get(is, std::istreambuf_iterator<CharT, Traits>… in operator >>()
Dtime_point_io.hpp278 const std::ctype<char_type>& ct = std::use_facet<std::ctype<char_type> >(iob.getloc()); in get()
402 const std::ctype<char_type>& ct = std::use_facet<std::ctype<char_type> >(iob.getloc()); in get()
662 if (!std::has_facet<time_point_put<CharT> >(os.getloc())) in operator <<()
671 … if (std::use_facet<time_point_put<CharT> >(os.getloc()) .put(os, os, os.fill(), tp).failed()) in operator <<()
717 if (!std::has_facet<time_point_get<CharT> >(is.getloc())) in operator >>()
723 …std::use_facet<time_point_get<CharT> >(is.getloc()).get(is, std::istreambuf_iterator<CharT, Traits… in operator >>()
936 std::locale loc = os.getloc(); in operator <<()
1120 std::locale loc = is.getloc(); in operator >>()
/third_party/boost/libs/io/test/
Dios_state_unit_test.cpp253 BOOST_TEST(std::locale() == ss.getloc()); in ios_locale_saver_unit_test()
254 BOOST_TEST(!std::has_facet<npc_type>(ss.getloc()) || in ios_locale_saver_unit_test()
256 std::use_facet<npc_type>(ss.getloc()))); in ios_locale_saver_unit_test()
259 BOOST_TEST(std::locale() == ss.getloc()); in ios_locale_saver_unit_test()
261 BOOST_TEST(std::locale::classic() == ss.getloc()); in ios_locale_saver_unit_test()
263 BOOST_TEST(std::locale() == ss.getloc()); in ios_locale_saver_unit_test()
264 BOOST_TEST(!std::has_facet<npc_type>(ss.getloc()) || in ios_locale_saver_unit_test()
266 std::use_facet<npc_type>(ss.getloc()))); in ios_locale_saver_unit_test()
269 BOOST_TEST(std::locale::classic() == ss.getloc()); in ios_locale_saver_unit_test()
270 BOOST_TEST(!std::has_facet<npc_type>(ss.getloc()) || in ios_locale_saver_unit_test()
[all …]
Dios_state_test.cpp143 std::locale out_locale = out.getloc(); in main()
149 BOOST_TEST(out_locale == out.getloc()); in main()
161 BOOST_TEST(out_locale == out.getloc()); in main()
/third_party/boost/boost/archive/
Dbasic_streambuf_locale_saver.hpp51 m_locale(s.getloc()) in basic_streambuf_locale_saver()
69 m_locale(s.getloc()) in basic_istream_locale_saver()
88 m_locale(s.getloc()) in basic_ostream_locale_saver()
/third_party/boost/boost/logic/
Dtribool_io.hpp182 if (BOOST_HAS_FACET(indeterminate_name<CharT>, out.getloc())) { in operator <<()
184 BOOST_USE_FACET(indeterminate_name<CharT>, out.getloc()); in operator <<()
260 BOOST_USE_FACET(std::numpunct<CharT>, in.getloc()); in operator >>()
266 if (BOOST_HAS_FACET(indeterminate_name<CharT>, in.getloc())) { in operator >>()
268 BOOST_USE_FACET(indeterminate_name<CharT>, in.getloc()).name(); in operator >>()
/third_party/boost/libs/log/test/run/
Dform_date_time.cpp113 … strm2.imbue(std::locale(strm2.getloc(), new facet(formats::default_date_time_format().c_str()))); in BOOST_AUTO_TEST_CASE_TEMPLATE()
122 strm2.imbue(std::locale(strm2.getloc(), new facet(formats::date_time_format().c_str()))); in BOOST_AUTO_TEST_CASE_TEMPLATE()
154 strm2.imbue(std::locale(strm2.getloc(), new facet(formats::default_date_format().c_str()))); in BOOST_AUTO_TEST_CASE_TEMPLATE()
163 strm2.imbue(std::locale(strm2.getloc(), new facet(formats::date_format().c_str()))); in BOOST_AUTO_TEST_CASE_TEMPLATE()
197 strm2.imbue(std::locale(strm2.getloc(), fac)); in BOOST_AUTO_TEST_CASE_TEMPLATE()
208 strm2.imbue(std::locale(strm2.getloc(), fac)); in BOOST_AUTO_TEST_CASE_TEMPLATE()
/third_party/boost/boost/regex/v4/
Dc_regex_traits.hpp88 locale_type getloc()const in getloc() function
133 locale_type getloc()const in getloc() function
182 locale_type getloc()const in getloc() function
/third_party/boost/boost/property_tree/
Dini_parser.hpp93 line = property_tree::detail::trim(line, stream.getloc()); in read_ini()
111 line.substr(1, end - 1), stream.getloc()); in read_ini()
129 line.substr(0, eqpos), stream.getloc()); in read_ini()
131 line.substr(eqpos + 1, Str::npos), stream.getloc()); in read_ini()
/third_party/boost/libs/date_time/example/tutorial/
Dio_tutorial.cpp30 ss.imbue(locale(ss.getloc(), input_facet)); in main()
73 ss.imbue(locale(ss.getloc(), date_output)); in main()
74 ss.imbue(locale(ss.getloc(), date_input)); in main()
/third_party/boost/boost/chrono/io_v1/
Dchrono_io.hpp175 std::locale loc = os.getloc(); in duration_short()
192 std::locale loc = os.getloc(); in duration_long()
207 std::locale loc = os.getloc(); in operator <<()
210 const Facet& f = std::use_facet<Facet>(os.getloc()); in operator <<()
270 std::locale loc = is.getloc(); in operator >>()
277 loc = is.getloc(); in operator >>()
/third_party/boost/boost/date_time/
Ddate_facet.hpp189 if (std::has_facet<num_put>(a_ios.getloc())) { in put()
190 …return std::use_facet<num_put>(a_ios.getloc()).put(next, a_ios, fill_char, dd.get_rep().as_number(… in put()
194 std::locale l = std::locale(a_ios.getloc(), f); in put()
342 return std::use_facet<std::time_put<CharT> >(a_ios.getloc()).put(next, a_ios, in do_put_tm()
615 if (std::has_facet<num_get>(a_ios.getloc())) { in get()
616 from = std::use_facet<num_get>(a_ios.getloc()).get(from, to, a_ios, err, val); in get()
620 std::locale l = std::locale(a_ios.getloc(), ng); in get()
Dtime_facet.hpp305 char_type sep = std::use_facet<std::numpunct<char_type> >(ios_arg.getloc()).decimal_point(); in put()
413 … char_type sep = std::use_facet<std::numpunct<char_type> >(ios_arg.getloc()).decimal_point(); in put()
498 char_type sep = std::use_facet<std::numpunct<char_type> >(ios_arg.getloc()).decimal_point(); in put()
522 … char_type sep = std::use_facet<std::numpunct<char_type> >(ios_arg.getloc()).decimal_point(); in put()
816 if(!std::has_facet<num_get>(ios_arg.getloc())) { in get()
818 std::locale loc = std::locale(ios_arg.getloc(), ng); in get()
989 if(!std::has_facet<num_get>(ios_arg.getloc())) { in get()
991 std::locale loc = std::locale(ios_arg.getloc(), ng); in get()
/third_party/boost/libs/locale/src/util/
Dnumeric.hpp168 std::locale loc = ios.getloc(); in format_currency()
224 …std::use_facet<std::time_put<char_type> >(ios.getloc()).put(tmp_out,tmp_out,fill,&tm,format.c_str(… in format_time()
228 formatting_size_traits<char_type>::size(str,ios.getloc()); in format_time()
368 std::locale loc = ios.getloc(); in parse_currency()
/third_party/boost/libs/locale/src/shared/
Dformat.cpp39 d->saved_locale = ios.getloc(); in format_parser()
167 d->saved_locale=ios_.getloc(); in set_one_flag()
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtx/
Dio.inl50 , locale_(a.getloc())
67 a.imbue(std::locale(a.getloc(), new format_punct<CTy>(get_facet<format_punct<CTy> >(a))));
99 if(!std::has_facet<FTy>(ios.getloc()))
100 ios.imbue(std::locale(ios.getloc(), new FTy));
102 return std::use_facet<FTy>(ios.getloc());
/third_party/boost/libs/iostreams/example/
Dfinite_state_filter.hpp100 const std::locale& getloc() const { return loc_; } in getloc() function in boost::iostreams::finite_state_machine
237 character_class::test(event, fsm.getloc()) ) in execute()

1234