/external/cronet/buildtools/third_party/libc++/trunk/test/std/time/time.syn/ |
D | formatter.year_month_day.pass.cpp | 50 …std::chrono::year_month_day{std::chrono::year{1970}, std::chrono::month{1}, std::chrono::day{31}}); in test_no_chrono_specs() 53 …std::chrono::year_month_day{std::chrono::year{1970}, std::chrono::month{1}, std::chrono::day{31}}); in test_no_chrono_specs() 56 …std::chrono::year_month_day{std::chrono::year{1970}, std::chrono::month{1}, std::chrono::day{31}}); in test_no_chrono_specs() 61 …std::chrono::year_month_day{std::chrono::year{1970}, std::chrono::month{2}, std::chrono::day{31}}); in test_no_chrono_specs() 64 …std::chrono::year_month_day{std::chrono::year{1970}, std::chrono::month{2}, std::chrono::day{31}}); in test_no_chrono_specs() 67 …std::chrono::year_month_day{std::chrono::year{1970}, std::chrono::month{2}, std::chrono::day{31}}); in test_no_chrono_specs() 72 …std::chrono::year_month_day{std::chrono::year{1970}, std::chrono::month{0}, std::chrono::day{31}}); in test_no_chrono_specs() 75 …std::chrono::year_month_day{std::chrono::year{1970}, std::chrono::month{0}, std::chrono::day{31}}); in test_no_chrono_specs() 78 …std::chrono::year_month_day{std::chrono::year{1970}, std::chrono::month{0}, std::chrono::day{31}}); in test_no_chrono_specs() 83 …std::chrono::year_month_day{std::chrono::year{1970}, std::chrono::month{0}, std::chrono::day{32}}); in test_no_chrono_specs() [all …]
|
D | formatter.year_month_day_last.pass.cpp | 47 …std::chrono::year_month_day_last{std::chrono::year{1970}, std::chrono::month_day_last{std::chrono:… in test_no_chrono_specs() 50 …std::chrono::year_month_day_last{std::chrono::year{1970}, std::chrono::month_day_last{std::chrono:… in test_no_chrono_specs() 53 …std::chrono::year_month_day_last{std::chrono::year{1970}, std::chrono::month_day_last{std::chrono:… in test_no_chrono_specs() 58 …std::chrono::year_month_day_last{std::chrono::year{1970}, std::chrono::month_day_last{std::chrono:… in test_no_chrono_specs() 61 …std::chrono::year_month_day_last{std::chrono::year{1970}, std::chrono::month_day_last{std::chrono:… in test_no_chrono_specs() 64 …std::chrono::year_month_day_last{std::chrono::year{1970}, std::chrono::month_day_last{std::chrono:… in test_no_chrono_specs() 70 …std::chrono::year_month_day_last{std::chrono::year{-32768}, std::chrono::month_day_last{std::chron… in test_no_chrono_specs() 74 …std::chrono::year_month_day_last{std::chrono::year{-32768}, std::chrono::month_day_last{std::chron… in test_no_chrono_specs() 78 …std::chrono::year_month_day_last{std::chrono::year{-32768}, std::chrono::month_day_last{std::chron… in test_no_chrono_specs() 84 …std::chrono::year_month_day_last{std::chrono::year{-32768}, std::chrono::month_day_last{std::chron… in test_no_chrono_specs() [all …]
|
D | formatter.month_weekday.pass.cpp | 47 …std::chrono::month_weekday{std::chrono::month{1}, std::chrono::weekday_indexed{std::chrono::weekda… in test_no_chrono_specs() 50 …std::chrono::month_weekday{std::chrono::month{1}, std::chrono::weekday_indexed{std::chrono::weekda… in test_no_chrono_specs() 53 …std::chrono::month_weekday{std::chrono::month{1}, std::chrono::weekday_indexed{std::chrono::weekda… in test_no_chrono_specs() 58 …std::chrono::month_weekday{std::chrono::month{1}, std::chrono::weekday_indexed{std::chrono::weekda… in test_no_chrono_specs() 61 …std::chrono::month_weekday{std::chrono::month{1}, std::chrono::weekday_indexed{std::chrono::weekda… in test_no_chrono_specs() 64 …std::chrono::month_weekday{std::chrono::month{1}, std::chrono::weekday_indexed{std::chrono::weekda… in test_no_chrono_specs() 69 …std::chrono::month_weekday{std::chrono::month{1}, std::chrono::weekday_indexed{std::chrono::weekda… in test_no_chrono_specs() 72 …std::chrono::month_weekday{std::chrono::month{1}, std::chrono::weekday_indexed{std::chrono::weekda… in test_no_chrono_specs() 75 …std::chrono::month_weekday{std::chrono::month{1}, std::chrono::weekday_indexed{std::chrono::weekda… in test_no_chrono_specs() 80 …std::chrono::month_weekday{std::chrono::month{0}, std::chrono::weekday_indexed{std::chrono::weekda… in test_no_chrono_specs() [all …]
|
D | formatter.year_month_weekday.pass.cpp | 47 std::chrono::year_month_weekday{ in test_no_chrono_specs() 48 …std::chrono::year{1970}, std::chrono::month{1}, std::chrono::weekday_indexed{std::chrono::weekday{… in test_no_chrono_specs() 51 std::chrono::year_month_weekday{ in test_no_chrono_specs() 52 …std::chrono::year{1970}, std::chrono::month{1}, std::chrono::weekday_indexed{std::chrono::weekday{… in test_no_chrono_specs() 55 std::chrono::year_month_weekday{ in test_no_chrono_specs() 56 …std::chrono::year{1970}, std::chrono::month{1}, std::chrono::weekday_indexed{std::chrono::weekday{… in test_no_chrono_specs() 61 std::chrono::year_month_weekday{ in test_no_chrono_specs() 62 …std::chrono::year{1970}, std::chrono::month{1}, std::chrono::weekday_indexed{std::chrono::weekday{… in test_no_chrono_specs() 67 std::chrono::year_month_weekday{ in test_no_chrono_specs() 68 …std::chrono::year{1970}, std::chrono::month{1}, std::chrono::weekday_indexed{std::chrono::weekday{… in test_no_chrono_specs() [all …]
|
D | formatter.year_month_weekday_last.pass.cpp | 45 std::chrono::year_month_weekday_last{ in test_no_chrono_specs() 46 …std::chrono::year{1970}, std::chrono::month{1}, std::chrono::weekday_last{std::chrono::weekday{1}}… in test_no_chrono_specs() 49 std::chrono::year_month_weekday_last{ in test_no_chrono_specs() 50 …std::chrono::year{1970}, std::chrono::month{1}, std::chrono::weekday_last{std::chrono::weekday{1}}… in test_no_chrono_specs() 53 std::chrono::year_month_weekday_last{ in test_no_chrono_specs() 54 …std::chrono::year{1970}, std::chrono::month{1}, std::chrono::weekday_last{std::chrono::weekday{1}}… in test_no_chrono_specs() 59 std::chrono::year_month_weekday_last{ in test_no_chrono_specs() 60 …std::chrono::year{1970}, std::chrono::month{1}, std::chrono::weekday_last{std::chrono::weekday{8}}… in test_no_chrono_specs() 63 std::chrono::year_month_weekday_last{ in test_no_chrono_specs() 64 …std::chrono::year{1970}, std::chrono::month{0}, std::chrono::weekday_last{std::chrono::weekday{1}}… in test_no_chrono_specs() [all …]
|
D | formatter.month_day.pass.cpp | 48 …check(SV("Feb/31"), SV("{}"), std::chrono::month_day{std::chrono::month{2}, std::chrono::day{31}}); in test_no_chrono_specs() 49 …check(SV("*Feb/31*"), SV("{:*^8}"), std::chrono::month_day{std::chrono::month{2}, std::chrono::day… in test_no_chrono_specs() 50 …check(SV("*Feb/31"), SV("{:*>7}"), std::chrono::month_day{std::chrono::month{2}, std::chrono::day{… in test_no_chrono_specs() 53 …k(SV("0 is not a valid month/31"), SV("{}"), std::chrono::month_day{std::chrono::month{0}, std::ch… in test_no_chrono_specs() 56 std::chrono::month_day{std::chrono::month{0}, std::chrono::day{31}}); in test_no_chrono_specs() 59 …k(SV("Feb/32 is not a valid day"), SV("{}"), std::chrono::month_day{std::chrono::month{2}, std::ch… in test_no_chrono_specs() 62 std::chrono::month_day{std::chrono::month{2}, std::chrono::day{32}}); in test_no_chrono_specs() 65 std::chrono::month_day{std::chrono::month{2}, std::chrono::day{32}}); in test_no_chrono_specs() 70 std::chrono::month_day{std::chrono::month{0}, std::chrono::day{32}}); in test_no_chrono_specs() 73 std::chrono::month_day{std::chrono::month{0}, std::chrono::day{32}}); in test_no_chrono_specs() [all …]
|
D | formatter.month_day_last.pass.cpp | 45 check(SV("Jan/last"), SV("{}"), std::chrono::month_day_last{std::chrono::month{1}}); in test_no_chrono_specs() 46 check(SV("*Jan/last*"), SV("{:*^10}"), std::chrono::month_day_last{std::chrono::month{1}}); in test_no_chrono_specs() 47 check(SV("*Jan/last"), SV("{:*>9}"), std::chrono::month_day_last{std::chrono::month{1}}); in test_no_chrono_specs() 50 …check(SV("0 is not a valid month/last"), SV("{}"), std::chrono::month_day_last{std::chrono::month{… in test_no_chrono_specs() 51 …check(SV("*0 is not a valid month/last*"), SV("{:*^29}"), std::chrono::month_day_last{std::chrono:… in test_no_chrono_specs() 59 std::chrono::month_day_last{std::chrono::month{200}}); in test_valid_values() 62 std::chrono::month_day_last{std::chrono::month{13}}); in test_valid_values() 65 std::chrono::month_day_last{std::chrono::month{255}}); in test_valid_values() 69 std::chrono::month_day_last{std::chrono::month{0}}); in test_valid_values() 72 std::chrono::month_day_last{std::chrono::month{13}}); in test_valid_values() [all …]
|
D | formatter.weekday_index.pass.cpp | 49 check(SV("Sun[1]"), SV("{}"), std::chrono::weekday_indexed{std::chrono::weekday(0), 1}); in test_no_chrono_specs() 52 …check(SV("8 is not a valid weekday[1]"), SV("{}"), std::chrono::weekday_indexed{std::chrono::weekd… in test_no_chrono_specs() 53 …check(SV("255 is not a valid weekday[1]"), SV("{}"), std::chrono::weekday_indexed{std::chrono::wee… in test_no_chrono_specs() 56 …check(SV("Sun[0 is not a valid index]"), SV("{}"), std::chrono::weekday_indexed{std::chrono::weekd… in test_no_chrono_specs() 57 …check(SV("Sun[6 is not a valid index]"), SV("{}"), std::chrono::weekday_indexed{std::chrono::weekd… in test_no_chrono_specs() 58 …check(SV("Sun[255 is not a valid index]"), SV("{}"), std::chrono::weekday_indexed{std::chrono::wee… in test_no_chrono_specs() 63 std::chrono::weekday_indexed{std::chrono::weekday(8), 0}); in test_no_chrono_specs() 66 std::chrono::weekday_indexed{std::chrono::weekday(127), 6}); in test_no_chrono_specs() 69 std::chrono::weekday_indexed{std::chrono::weekday(255), 255}); in test_no_chrono_specs() 85 std::chrono::weekday_indexed{std::chrono::weekday(0), 0}); in test_valid_values() [all …]
|
D | formatter.weekday_last.pass.cpp | 49 check(SV("Sun[last]"), SV("{}"), std::chrono::weekday_last{std::chrono::weekday(0)}); in test_no_chrono_specs() 52 …check(SV("8 is not a valid weekday[last]"), SV("{}"), std::chrono::weekday_last{std::chrono::weekd… in test_no_chrono_specs() 68 std::chrono::weekday_last{std::chrono::weekday(0)}); in test_valid_values() 71 std::chrono::weekday_last{std::chrono::weekday(1)}); in test_valid_values() 74 std::chrono::weekday_last{std::chrono::weekday(2)}); in test_valid_values() 77 std::chrono::weekday_last{std::chrono::weekday(3)}); in test_valid_values() 80 std::chrono::weekday_last{std::chrono::weekday(4)}); in test_valid_values() 83 std::chrono::weekday_last{std::chrono::weekday(5)}); in test_valid_values() 86 std::chrono::weekday_last{std::chrono::weekday(6)}); in test_valid_values() 89 std::chrono::weekday_last{std::chrono::weekday(7)}); in test_valid_values() [all …]
|
D | formatter.month.pass.cpp | 45 check(SV("Jan"), SV("{}"), std::chrono::month{1}); in test_no_chrono_specs() 46 check(SV("*Jan*"), SV("{:*^5}"), std::chrono::month{1}); in test_no_chrono_specs() 47 check(SV("*Jan"), SV("{:*>4}"), std::chrono::month{1}); in test_no_chrono_specs() 50 check(SV("0 is not a valid month"), SV("{}"), std::chrono::month{0}); in test_no_chrono_specs() 51 check(SV("*0 is not a valid month*"), SV("{:*^24}"), std::chrono::month{0}); in test_no_chrono_specs() 57 …check_exception("formatting a month name from an invalid month number", SV("{:%b}"), std::chrono::… in test_valid_values() 58 …check_exception("formatting a month name from an invalid month number", SV("{:%b}"), std::chrono::… in test_valid_values() 59 …check_exception("formatting a month name from an invalid month number", SV("{:%b}"), std::chrono::… in test_valid_values() 61 …check_exception("formatting a month name from an invalid month number", SV("{:%h}"), std::chrono::… in test_valid_values() 62 …check_exception("formatting a month name from an invalid month number", SV("{:%h}"), std::chrono::… in test_valid_values() [all …]
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.nonmembers/ |
D | ostream.pass.cpp | 46 static std::basic_string<CharT> stream_c_locale(std::chrono::month_weekday_last mwdl) { in stream_c_locale() 53 static std::basic_string<CharT> stream_fr_FR_locale(std::chrono::month_weekday_last mwdl) { in stream_fr_FR_locale() 62 static std::basic_string<CharT> stream_ja_JP_locale(std::chrono::month_weekday_last mwdl) { in stream_ja_JP_locale() 72 assert(stream_c_locale<CharT>(std::chrono::month_weekday_last{ in test() 73 std::chrono::month{0}, std::chrono::weekday_last{std::chrono::weekday{0}}}) == in test() 75 assert(stream_c_locale<CharT>(std::chrono::month_weekday_last{ in test() 76 …std::chrono::month{1}, std::chrono::weekday_last{std::chrono::weekday{0}}}) == SV("Jan/Sun[last]")… in test() 77 assert(stream_c_locale<CharT>(std::chrono::month_weekday_last{ in test() 78 …std::chrono::month{2}, std::chrono::weekday_last{std::chrono::weekday{1}}}) == SV("Feb/Mon[last]")… in test() 79 assert(stream_c_locale<CharT>(std::chrono::month_weekday_last{ in test() [all …]
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/time/time.cal/time.cal.mwd/time.cal.mwd.nonmembers/ |
D | ostream.pass.cpp | 46 static std::basic_string<CharT> stream_c_locale(std::chrono::month_weekday mwd) { in stream_c_locale() 53 static std::basic_string<CharT> stream_fr_FR_locale(std::chrono::month_weekday mwd) { in stream_fr_FR_locale() 62 static std::basic_string<CharT> stream_ja_JP_locale(std::chrono::month_weekday mwd) { in stream_ja_JP_locale() 72 assert(stream_c_locale<CharT>(std::chrono::month_weekday{ in test() 73 std::chrono::month{0}, std::chrono::weekday_indexed{std::chrono::weekday{0}, 1}}) == in test() 75 assert(stream_c_locale<CharT>(std::chrono::month_weekday{ in test() 76 …std::chrono::month{1}, std::chrono::weekday_indexed{std::chrono::weekday{1}, 1}}) == SV("Jan/Mon[1… in test() 77 assert(stream_c_locale<CharT>(std::chrono::month_weekday{ in test() 78 …std::chrono::month{2}, std::chrono::weekday_indexed{std::chrono::weekday{2}, 2}}) == SV("Feb/Tue[2… in test() 79 assert(stream_c_locale<CharT>(std::chrono::month_weekday{ in test() [all …]
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.nonmembers/ |
D | ostream.pass.cpp | 46 static std::basic_string<CharT> stream_c_locale(std::chrono::year_month_day_last ymdl) { in stream_c_locale() 53 static std::basic_string<CharT> stream_fr_FR_locale(std::chrono::year_month_day_last ymdl) { in stream_fr_FR_locale() 62 static std::basic_string<CharT> stream_ja_JP_locale(std::chrono::year_month_day_last ymdl) { in stream_ja_JP_locale() 72 assert(stream_c_locale<CharT>(std::chrono::year_month_day_last{ in test() 73 std::chrono::year{0}, std::chrono::month_day_last{std::chrono::month{0}}}) == in test() 75 assert(stream_c_locale<CharT>(std::chrono::year_month_day_last{ in test() 76 std::chrono::year{-32'768}, std::chrono::month_day_last{std::chrono::month{1}}}) == in test() 78 assert(stream_c_locale<CharT>(std::chrono::year_month_day_last{ in test() 79 …std::chrono::year{-32'767}, std::chrono::month_day_last{std::chrono::month{2}}}) == SV("-32767/Feb… in test() 80 assert(stream_c_locale<CharT>(std::chrono::year_month_day_last{ in test() [all …]
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/time/time.cal/time.cal.ymwd/time.cal.ymwd.nonmembers/ |
D | ostream.pass.cpp | 44 static std::basic_string<CharT> stream_c_locale(std::chrono::year_month_weekday ymwd) { in stream_c_locale() 51 static std::basic_string<CharT> stream_fr_FR_locale(std::chrono::year_month_weekday ymwd) { in stream_fr_FR_locale() 60 static std::basic_string<CharT> stream_ja_JP_locale(std::chrono::year_month_weekday ymwd) { in stream_ja_JP_locale() 70 assert(stream_c_locale<CharT>(std::chrono::year_month_weekday{ in test() 71 std::chrono::year{-32'768}, in test() 72 std::chrono::month{1}, in test() 73 …std::chrono::weekday_indexed{std::chrono::weekday(0), 1}}) == SV("-32768 is not a valid year/Jan/S… in test() 74 assert(stream_c_locale<CharT>(std::chrono::year_month_weekday{ in test() 75 std::chrono::year{-32'767}, in test() 76 std::chrono::month{0}, in test() [all …]
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/time/time.cal/time.cal.ym/time.cal.ym.nonmembers/ |
D | ostream.pass.cpp | 46 static std::basic_string<CharT> stream_c_locale(std::chrono::year_month ym) { in stream_c_locale() 53 static std::basic_string<CharT> stream_fr_FR_locale(std::chrono::year_month ym) { in stream_fr_FR_locale() 62 static std::basic_string<CharT> stream_ja_JP_locale(std::chrono::year_month ym) { in stream_ja_JP_locale() 72 …assert(stream_c_locale<CharT>(std::chrono::year_month{std::chrono::year{-32'768}, std::chrono::mon… in test() 74 …assert(stream_c_locale<CharT>(std::chrono::year_month{std::chrono::year{-32'768}, std::chrono::mon… in test() 76 …assert(stream_c_locale<CharT>(std::chrono::year_month{std::chrono::year{-32'767}, std::chrono::mon… in test() 78 …assert(stream_c_locale<CharT>(std::chrono::year_month{std::chrono::year{0}, std::chrono::month{3}}… in test() 80 …assert(stream_c_locale<CharT>(std::chrono::year_month{std::chrono::year{1970}, std::chrono::month{… in test() 82 …assert(stream_c_locale<CharT>(std::chrono::year_month{std::chrono::year{32'767}, std::chrono::mont… in test() 84 …assert(stream_c_locale<CharT>(std::chrono::year_month{std::chrono::year{0}, std::chrono::month{6}}… in test() [all …]
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.nonmembers/ |
D | ostream.pass.cpp | 44 static std::basic_string<CharT> stream_c_locale(std::chrono::year_month_weekday_last ymwdl) { in stream_c_locale() 51 static std::basic_string<CharT> stream_fr_FR_locale(std::chrono::year_month_weekday_last ymwdl) { in stream_fr_FR_locale() 60 static std::basic_string<CharT> stream_ja_JP_locale(std::chrono::year_month_weekday_last ymwdl) { in stream_ja_JP_locale() 70 assert(stream_c_locale<CharT>(std::chrono::year_month_weekday_last{ in test() 71 …std::chrono::year{-32'768}, std::chrono::month{1}, std::chrono::weekday_last{std::chrono::weekday{… in test() 73 assert(stream_c_locale<CharT>(std::chrono::year_month_weekday_last{ in test() 74 …std::chrono::year{-32'767}, std::chrono::month{0}, std::chrono::weekday_last{std::chrono::weekday{… in test() 76 assert(stream_c_locale<CharT>(std::chrono::year_month_weekday_last{ in test() 77 …std::chrono::year{-32'767}, std::chrono::month{1}, std::chrono::weekday_last{std::chrono::weekday{… in test() 79 assert(stream_c_locale<CharT>(std::chrono::year_month_weekday_last{ in test() [all …]
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.month/time.cal.month.nonmembers/ |
D | literals.pass.cpp | 36 ASSERT_SAME_TYPE(const std::chrono::month, decltype(std::chrono::January)); in main() 37 ASSERT_SAME_TYPE(const std::chrono::month, decltype(std::chrono::February)); in main() 38 ASSERT_SAME_TYPE(const std::chrono::month, decltype(std::chrono::March)); in main() 39 ASSERT_SAME_TYPE(const std::chrono::month, decltype(std::chrono::April)); in main() 40 ASSERT_SAME_TYPE(const std::chrono::month, decltype(std::chrono::May)); in main() 41 ASSERT_SAME_TYPE(const std::chrono::month, decltype(std::chrono::June)); in main() 42 ASSERT_SAME_TYPE(const std::chrono::month, decltype(std::chrono::July)); in main() 43 ASSERT_SAME_TYPE(const std::chrono::month, decltype(std::chrono::August)); in main() 44 ASSERT_SAME_TYPE(const std::chrono::month, decltype(std::chrono::September)); in main() 45 ASSERT_SAME_TYPE(const std::chrono::month, decltype(std::chrono::October)); in main() [all …]
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/time/time.cal/time.cal.month/time.cal.month.nonmembers/ |
D | literals.pass.cpp | 35 ASSERT_SAME_TYPE(const std::chrono::month, decltype(std::chrono::January)); in main() 36 ASSERT_SAME_TYPE(const std::chrono::month, decltype(std::chrono::February)); in main() 37 ASSERT_SAME_TYPE(const std::chrono::month, decltype(std::chrono::March)); in main() 38 ASSERT_SAME_TYPE(const std::chrono::month, decltype(std::chrono::April)); in main() 39 ASSERT_SAME_TYPE(const std::chrono::month, decltype(std::chrono::May)); in main() 40 ASSERT_SAME_TYPE(const std::chrono::month, decltype(std::chrono::June)); in main() 41 ASSERT_SAME_TYPE(const std::chrono::month, decltype(std::chrono::July)); in main() 42 ASSERT_SAME_TYPE(const std::chrono::month, decltype(std::chrono::August)); in main() 43 ASSERT_SAME_TYPE(const std::chrono::month, decltype(std::chrono::September)); in main() 44 ASSERT_SAME_TYPE(const std::chrono::month, decltype(std::chrono::October)); in main() [all …]
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/time/time.cal/time.cal.mdlast/ |
D | ostream.pass.cpp | 46 static std::basic_string<CharT> stream_c_locale(std::chrono::month_day_last mdl) { in stream_c_locale() 53 static std::basic_string<CharT> stream_fr_FR_locale(std::chrono::month_day_last mdl) { in stream_fr_FR_locale() 62 static std::basic_string<CharT> stream_ja_JP_locale(std::chrono::month_day_last mdl) { in stream_ja_JP_locale() 72 assert(stream_c_locale<CharT>(std::chrono::month_day_last{std::chrono::month{0}}) == in test() 74 …assert(stream_c_locale<CharT>(std::chrono::month_day_last{std::chrono::month{1}}) == SV("Jan/last"… in test() 75 …assert(stream_c_locale<CharT>(std::chrono::month_day_last{std::chrono::month{2}}) == SV("Feb/last"… in test() 76 …assert(stream_c_locale<CharT>(std::chrono::month_day_last{std::chrono::month{3}}) == SV("Mar/last"… in test() 77 …assert(stream_c_locale<CharT>(std::chrono::month_day_last{std::chrono::month{4}}) == SV("Apr/last"… in test() 78 …assert(stream_c_locale<CharT>(std::chrono::month_day_last{std::chrono::month{5}}) == SV("May/last"… in test() 79 …assert(stream_c_locale<CharT>(std::chrono::month_day_last{std::chrono::month{6}}) == SV("Jun/last"… in test() [all …]
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/time/time.cal/time.cal.ymd/time.cal.ymd.nonmembers/ |
D | ostream.pass.cpp | 44 static std::basic_string<CharT> stream_c_locale(std::chrono::year_month_day ymd) { in stream_c_locale() 51 static std::basic_string<CharT> stream_fr_FR_locale(std::chrono::year_month_day ymd) { in stream_fr_FR_locale() 60 static std::basic_string<CharT> stream_ja_JP_locale(std::chrono::year_month_day ymd) { in stream_ja_JP_locale() 71 …std::chrono::year_month_day{std::chrono::year{-32'768}, std::chrono::month{1}, std::chrono::day{1}… in test() 74 …std::chrono::year_month_day{std::chrono::year{-32'767}, std::chrono::month{0}, std::chrono::day{1}… in test() 77 …std::chrono::year_month_day{std::chrono::year{-32'767}, std::chrono::month{1}, std::chrono::day{0}… in test() 79 assert(stream_c_locale<CharT>(std::chrono::year_month_day{ in test() 80 … std::chrono::year{1970}, std::chrono::month{1}, std::chrono::day{1}}) == SV("1970-01-01")); in test() 82 …std::chrono::year_month_day{std::chrono::year{1999}, std::chrono::month{2}, std::chrono::day{29}})… in test() 84 assert(stream_c_locale<CharT>(std::chrono::year_month_day{ in test() [all …]
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/time/time.clock/time.clock.system/ |
D | ostream.pass.cpp | 44 static std::basic_string<CharT> stream_c_locale(std::chrono::sys_time<Duration> time_point) { in stream_c_locale() 51 static std::basic_string<CharT> stream_fr_FR_locale(std::chrono::sys_time<Duration> time_point) { in stream_fr_FR_locale() 60 static std::basic_string<CharT> stream_ja_JP_locale(std::chrono::sys_time<Duration> time_point) { in stream_ja_JP_locale() 72 …assert(stream_c_locale<CharT>(std::chrono::sys_time<std::chrono::nanoseconds>{946'688'523'123'456'… in test_c() 74 …assert(stream_c_locale<CharT>(std::chrono::sys_time<std::chrono::microseconds>{946'688'523'123'456… in test_c() 77 …assert(stream_c_locale<CharT>(std::chrono::sys_time<std::chrono::milliseconds>{946'684'800'123ms})… in test_c() 79 …assert(stream_c_locale<CharT>(std::chrono::sys_seconds{1'234'567'890s}) == SV("2009-02-13 23:31:30… in test_c() 80 assert(stream_c_locale<CharT>(std::chrono::sys_time<std::chrono::minutes>{20'576'131min}) == in test_c() 82 …assert(stream_c_locale<CharT>(std::chrono::sys_time<std::chrono::hours>{342'935h}) == SV("2009-02-… in test_c() 83 …assert(stream_c_locale<CharT>(std::chrono::sys_days{std::chrono::days{14'288}}) == SV("2009-02-13 … in test_c() [all …]
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/time/time.cal/time.cal.wdidx/time.cal.wdidx.nonmembers/ |
D | ostream.pass.cpp | 40 static std::basic_string<CharT> stream_c_locale(std::chrono::weekday_indexed wdi) { in stream_c_locale() 47 static std::basic_string<CharT> stream_fr_FR_locale(std::chrono::weekday_indexed wdi) { in stream_fr_FR_locale() 56 static std::basic_string<CharT> stream_ja_JP_locale(std::chrono::weekday_indexed wdi) { in stream_ja_JP_locale() 66 …assert(stream_c_locale<CharT>(std::chrono::weekday_indexed{std::chrono::weekday(0), 1}) == SV("Sun… in test() 67 …assert(stream_c_locale<CharT>(std::chrono::weekday_indexed{std::chrono::weekday(1), 2}) == SV("Mon… in test() 68 …assert(stream_c_locale<CharT>(std::chrono::weekday_indexed{std::chrono::weekday(2), 3}) == SV("Tue… in test() 69 …assert(stream_c_locale<CharT>(std::chrono::weekday_indexed{std::chrono::weekday(3), 4}) == SV("Wed… in test() 70 …assert(stream_c_locale<CharT>(std::chrono::weekday_indexed{std::chrono::weekday(4), 5}) == SV("Thu… in test() 71 assert(stream_c_locale<CharT>(std::chrono::weekday_indexed{std::chrono::weekday(5), 0}) == in test() 73 assert(stream_c_locale<CharT>(std::chrono::weekday_indexed{std::chrono::weekday(6), 6}) == in test() [all …]
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.nonmembers/ |
D | literals.pass.cpp | 31 ASSERT_SAME_TYPE(const std::chrono::weekday, decltype(std::chrono::Sunday)); in main() 32 ASSERT_SAME_TYPE(const std::chrono::weekday, decltype(std::chrono::Monday)); in main() 33 ASSERT_SAME_TYPE(const std::chrono::weekday, decltype(std::chrono::Tuesday)); in main() 34 ASSERT_SAME_TYPE(const std::chrono::weekday, decltype(std::chrono::Wednesday)); in main() 35 ASSERT_SAME_TYPE(const std::chrono::weekday, decltype(std::chrono::Thursday)); in main() 36 ASSERT_SAME_TYPE(const std::chrono::weekday, decltype(std::chrono::Friday)); in main() 37 ASSERT_SAME_TYPE(const std::chrono::weekday, decltype(std::chrono::Saturday)); in main() 39 static_assert( std::chrono::Sunday == std::chrono::weekday(0), ""); in main() 40 static_assert( std::chrono::Monday == std::chrono::weekday(1), ""); in main() 41 static_assert( std::chrono::Tuesday == std::chrono::weekday(2), ""); in main() [all …]
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/time/time.cal/time.cal.wdlast/time.cal.wdlast.nonmembers/ |
D | ostream.pass.cpp | 40 static std::basic_string<CharT> stream_c_locale(std::chrono::weekday_last wdl) { in stream_c_locale() 47 static std::basic_string<CharT> stream_fr_FR_locale(std::chrono::weekday_last wdl) { in stream_fr_FR_locale() 56 static std::basic_string<CharT> stream_ja_JP_locale(std::chrono::weekday_last wdl) { in stream_ja_JP_locale() 66 …assert(stream_c_locale<CharT>(std::chrono::weekday_last{std::chrono::weekday{0}}) == SV("Sun[last]… in test() 67 …assert(stream_c_locale<CharT>(std::chrono::weekday_last{std::chrono::weekday{1}}) == SV("Mon[last]… in test() 68 …assert(stream_c_locale<CharT>(std::chrono::weekday_last{std::chrono::weekday{2}}) == SV("Tue[last]… in test() 69 …assert(stream_c_locale<CharT>(std::chrono::weekday_last{std::chrono::weekday{3}}) == SV("Wed[last]… in test() 70 …assert(stream_c_locale<CharT>(std::chrono::weekday_last{std::chrono::weekday{4}}) == SV("Thu[last]… in test() 71 …assert(stream_c_locale<CharT>(std::chrono::weekday_last{std::chrono::weekday{5}}) == SV("Fri[last]… in test() 72 …assert(stream_c_locale<CharT>(std::chrono::weekday_last{std::chrono::weekday{6}}) == SV("Sat[last]… in test() [all …]
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/time/time.cal/time.cal.weekday/time.cal.weekday.nonmembers/ |
D | literals.pass.cpp | 30 ASSERT_SAME_TYPE(const std::chrono::weekday, decltype(std::chrono::Sunday)); in main() 31 ASSERT_SAME_TYPE(const std::chrono::weekday, decltype(std::chrono::Monday)); in main() 32 ASSERT_SAME_TYPE(const std::chrono::weekday, decltype(std::chrono::Tuesday)); in main() 33 ASSERT_SAME_TYPE(const std::chrono::weekday, decltype(std::chrono::Wednesday)); in main() 34 ASSERT_SAME_TYPE(const std::chrono::weekday, decltype(std::chrono::Thursday)); in main() 35 ASSERT_SAME_TYPE(const std::chrono::weekday, decltype(std::chrono::Friday)); in main() 36 ASSERT_SAME_TYPE(const std::chrono::weekday, decltype(std::chrono::Saturday)); in main() 38 static_assert( std::chrono::Sunday == std::chrono::weekday(0), ""); in main() 39 static_assert( std::chrono::Monday == std::chrono::weekday(1), ""); in main() 40 static_assert( std::chrono::Tuesday == std::chrono::weekday(2), ""); in main() [all …]
|