/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.nonmembers/ |
D | comparisons.pass.cpp | 39 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local 42 year_month_weekday{year{1234}, January, weekday_indexed{Tuesday, 1}}, in main() 43 year_month_weekday{year{1234}, January, weekday_indexed{Tuesday, 1}}, in main() 48 year_month_weekday{year{1234}, January, weekday_indexed{Tuesday, 1}}, in main() 49 year_month_weekday{year{1234}, January, weekday_indexed{Tuesday, 2}}, in main() 54 year_month_weekday{year{1234}, January, weekday_indexed{Tuesday, 1}}, in main() 55 year_month_weekday{year{1234}, February, weekday_indexed{Tuesday, 1}}, in main() 60 year_month_weekday{year{1234}, January, weekday_indexed{Tuesday, 1}}, in main() 61 year_month_weekday{year{1235}, January, weekday_indexed{Tuesday, 1}}, in main() 67 year_month_weekday{year{1234}, January, weekday_indexed{Tuesday, 1}}, in main() [all …]
|
D | minus.pass.cpp | 31 …::chrono::year{1234}, std::chrono::January, std::chrono::weekday_indexed{std::chrono::Tuesday, 1}}; in testConstexprYears() 36 && ym1.weekday() == std::chrono::Tuesday in testConstexprYears() 43 …:chrono::year{1234}, std::chrono::November, std::chrono::weekday_indexed{std::chrono::Tuesday, 1}}; in testConstexprMonths() 48 && ym1.weekday() == std::chrono::Tuesday in testConstexprMonths() 65 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local 73 year_month_weekday ym{year{1234}, November, weekday_indexed{Tuesday, 1}}; in main() 79 assert(ym1.weekday() == Tuesday); in main() 90 year_month_weekday ym{year{1234}, November, weekday_indexed{Tuesday, 2}}; in main() 96 assert(ym1.weekday() == Tuesday); in main()
|
/external/llvm-project/libcxx/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.nonmembers/ |
D | comparisons.pass.cpp | 38 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local 41 year_month_weekday{year{1234}, January, weekday_indexed{Tuesday, 1}}, in main() 42 year_month_weekday{year{1234}, January, weekday_indexed{Tuesday, 1}}, in main() 47 year_month_weekday{year{1234}, January, weekday_indexed{Tuesday, 1}}, in main() 48 year_month_weekday{year{1234}, January, weekday_indexed{Tuesday, 2}}, in main() 53 year_month_weekday{year{1234}, January, weekday_indexed{Tuesday, 1}}, in main() 54 year_month_weekday{year{1234}, February, weekday_indexed{Tuesday, 1}}, in main() 59 year_month_weekday{year{1234}, January, weekday_indexed{Tuesday, 1}}, in main() 60 year_month_weekday{year{1235}, January, weekday_indexed{Tuesday, 1}}, in main() 66 year_month_weekday{year{1234}, January, weekday_indexed{Tuesday, 1}}, in main() [all …]
|
D | minus.pass.cpp | 29 …::chrono::year{1234}, std::chrono::January, std::chrono::weekday_indexed{std::chrono::Tuesday, 1}}; in testConstexprYears() 34 && ym1.weekday() == std::chrono::Tuesday in testConstexprYears() 41 …:chrono::year{1234}, std::chrono::November, std::chrono::weekday_indexed{std::chrono::Tuesday, 1}}; in testConstexprMonths() 46 && ym1.weekday() == std::chrono::Tuesday in testConstexprMonths() 63 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local 71 year_month_weekday ym{year{1234}, November, weekday_indexed{Tuesday, 1}}; in main() 77 assert(ym1.weekday() == Tuesday); in main() 88 year_month_weekday ym{year{1234}, November, weekday_indexed{Tuesday, 2}}; in main() 94 assert(ym1.weekday() == Tuesday); in main()
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.nonmembers/ |
D | comparisons.pass.cpp | 39 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local 43 year_month_weekday_last{year{1234}, January, weekday_last{Tuesday}}, in main() 44 year_month_weekday_last{year{1234}, January, weekday_last{Tuesday}}, in main() 49 year_month_weekday_last{year{1234}, January, weekday_last{Tuesday}}, in main() 55 year_month_weekday_last{year{1234}, January, weekday_last{Tuesday}}, in main() 56 year_month_weekday_last{year{1234}, February, weekday_last{Tuesday}}, in main() 61 year_month_weekday_last{year{1234}, January, weekday_last{Tuesday}}, in main() 62 year_month_weekday_last{year{1235}, January, weekday_last{Tuesday}}, in main() 68 year_month_weekday_last{year{1234}, January, weekday_last{Tuesday}}, in main() 74 year_month_weekday_last{year{1234}, February, weekday_last{Tuesday}}, in main() [all …]
|
D | plus.pass.cpp | 61 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local 71 …_assert(testConstexprMonths(year_month_weekday_last{year{1}, January, weekday_last{Tuesday}}), ""); in main() 73 year_month_weekday_last ym{year{1234}, January, weekday_last{Tuesday}}; in main() 82 assert(ym1.weekday() == Tuesday); in main() 83 assert(ym2.weekday() == Tuesday); in main() 84 assert(ym1.weekday_last() == weekday_last{Tuesday}); in main() 85 assert(ym2.weekday_last() == weekday_last{Tuesday}); in main() 97 …_assert(testConstexprYears (year_month_weekday_last{year{1}, January, weekday_last{Tuesday}}), ""); in main() 99 year_month_weekday_last ym{year{1234}, std::chrono::January, weekday_last{Tuesday}}; in main() 108 assert(ym1.weekday() == Tuesday); in main() [all …]
|
D | minus.pass.cpp | 55 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local 62 …_assert(testConstexprYears(year_month_weekday_last{year{66}, October, weekday_last{Tuesday}}), ""); in main() 64 year_month_weekday_last ym{year{1234}, October, weekday_last{Tuesday}}; in main() 70 assert(ym1.weekday() == Tuesday); in main() 71 assert(ym1.weekday_last() == weekday_last{Tuesday}); in main() 80 …assert(testConstexprMonths(year_month_weekday_last{year{66}, October, weekday_last{Tuesday}}), ""); in main() 82 year_month_weekday_last ym{year{1234}, October, weekday_last{Tuesday}}; in main() 88 assert(ym1.weekday() == Tuesday); in main() 89 assert(ym1.weekday_last() == weekday_last{Tuesday}); in main()
|
/external/llvm-project/libcxx/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.nonmembers/ |
D | comparisons.pass.cpp | 38 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local 42 year_month_weekday_last{year{1234}, January, weekday_last{Tuesday}}, in main() 43 year_month_weekday_last{year{1234}, January, weekday_last{Tuesday}}, in main() 48 year_month_weekday_last{year{1234}, January, weekday_last{Tuesday}}, in main() 54 year_month_weekday_last{year{1234}, January, weekday_last{Tuesday}}, in main() 55 year_month_weekday_last{year{1234}, February, weekday_last{Tuesday}}, in main() 60 year_month_weekday_last{year{1234}, January, weekday_last{Tuesday}}, in main() 61 year_month_weekday_last{year{1235}, January, weekday_last{Tuesday}}, in main() 67 year_month_weekday_last{year{1234}, January, weekday_last{Tuesday}}, in main() 73 year_month_weekday_last{year{1234}, February, weekday_last{Tuesday}}, in main() [all …]
|
D | plus.pass.cpp | 60 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local 70 …_assert(testConstexprMonths(year_month_weekday_last{year{1}, January, weekday_last{Tuesday}}), ""); in main() 72 year_month_weekday_last ym{year{1234}, January, weekday_last{Tuesday}}; in main() 81 assert(ym1.weekday() == Tuesday); in main() 82 assert(ym2.weekday() == Tuesday); in main() 83 assert(ym1.weekday_last() == weekday_last{Tuesday}); in main() 84 assert(ym2.weekday_last() == weekday_last{Tuesday}); in main() 96 …_assert(testConstexprYears (year_month_weekday_last{year{1}, January, weekday_last{Tuesday}}), ""); in main() 98 year_month_weekday_last ym{year{1234}, std::chrono::January, weekday_last{Tuesday}}; in main() 107 assert(ym1.weekday() == Tuesday); in main() [all …]
|
D | minus.pass.cpp | 53 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local 60 …_assert(testConstexprYears(year_month_weekday_last{year{66}, October, weekday_last{Tuesday}}), ""); in main() 62 year_month_weekday_last ym{year{1234}, October, weekday_last{Tuesday}}; in main() 68 assert(ym1.weekday() == Tuesday); in main() 69 assert(ym1.weekday_last() == weekday_last{Tuesday}); in main() 78 …assert(testConstexprMonths(year_month_weekday_last{year{66}, October, weekday_last{Tuesday}}), ""); in main() 80 year_month_weekday_last ym{year{1234}, October, weekday_last{Tuesday}}; in main() 86 assert(ym1.weekday() == Tuesday); in main() 87 assert(ym1.weekday_last() == weekday_last{Tuesday}); in main()
|
/external/llvm-project/libcxx/test/std/utilities/time/time.cal/time.cal.operators/ |
D | month_weekday_last.pass.cpp | 47 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local 52 ASSERT_NOEXCEPT (February/Tuesday[last]); in main() 53 ASSERT_SAME_TYPE(month_weekday_last, decltype(February/Tuesday[last])); in main() 54 ASSERT_NOEXCEPT (Tuesday[last]/February); in main() 55 ASSERT_SAME_TYPE(month_weekday_last, decltype(Tuesday[last]/February)); in main() 59 constexpr month_weekday_last wdi = February/Tuesday[last]; in main() 61 static_assert(wdi.weekday_last() == Tuesday[last], ""); in main() 81 ASSERT_NOEXCEPT (2/Tuesday[2]); in main() 82 ASSERT_SAME_TYPE(month_weekday_last, decltype(2/Tuesday[last])); in main() 83 ASSERT_NOEXCEPT (Tuesday[2]/2); in main() [all …]
|
D | month_weekday.pass.cpp | 54 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local 58 ASSERT_NOEXCEPT (February/Tuesday[2]); in main() 59 ASSERT_SAME_TYPE(month_weekday, decltype(February/Tuesday[2])); in main() 60 ASSERT_NOEXCEPT (Tuesday[2]/February); in main() 61 ASSERT_SAME_TYPE(month_weekday, decltype(Tuesday[2]/February)); in main() 65 constexpr month_weekday wdi = February/Tuesday[3]; in main() 67 static_assert(wdi.weekday_indexed() == Tuesday[3], ""); in main() 88 ASSERT_NOEXCEPT (2/Tuesday[2]); in main() 89 ASSERT_SAME_TYPE(month_weekday, decltype(2/Tuesday[2])); in main() 90 ASSERT_NOEXCEPT (Tuesday[2]/2); in main() [all …]
|
D | year_month_weekday_last.pass.cpp | 52 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local 58 ASSERT_NOEXCEPT ( Feb2018/weekday_last{Tuesday}); in main() 59 ASSERT_SAME_TYPE(year_month_weekday_last, decltype(Feb2018/weekday_last{Tuesday})); in main() 61 static_assert((Feb2018/weekday_last{Tuesday}).year() == year{2018}, ""); in main() 62 static_assert((Feb2018/weekday_last{Tuesday}).month() == February, ""); in main() 63 static_assert((Feb2018/weekday_last{Tuesday}).weekday() == Tuesday, ""); in main() 81 constexpr month_weekday_last FebLastTues{February, weekday_last{Tuesday}}; in main() 91 static_assert((year{2018}/FebLastTues).weekday() == Tuesday, ""); in main() 94 static_assert((FebLastTues/year{2018}).weekday() == Tuesday, ""); in main() 118 constexpr month_weekday_last FebLastTues{February, weekday_last{Tuesday}}; in main() [all …]
|
D | year_month_weekday.pass.cpp | 51 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local 58 ASSERT_NOEXCEPT ( Feb2018/weekday_indexed{Tuesday, 2}); in main() 59 ASSERT_SAME_TYPE(year_month_weekday, decltype(Feb2018/weekday_indexed{Tuesday, 2})); in main() 61 static_assert((Feb2018/weekday_indexed{Tuesday, 2}).year() == year{2018}, "" ); in main() 62 static_assert((Feb2018/weekday_indexed{Tuesday, 2}).month() == February, "" ); in main() 63 static_assert((Feb2018/weekday_indexed{Tuesday, 2}).weekday() == Tuesday, "" ); in main() 81 constexpr month_weekday Feb1stTues{February, weekday_indexed{Tuesday, 1}}; in main() 89 static_assert((year{2018}/Feb1stTues).weekday() == Tuesday, "" ); in main() 114 constexpr month_weekday Feb1stTues{February, weekday_indexed{Tuesday, 1}}; in main() 122 static_assert((2018/Feb1stTues).weekday() == Tuesday, "" ); in main()
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.operators/ |
D | month_weekday_last.pass.cpp | 48 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local 53 ASSERT_NOEXCEPT (February/Tuesday[last]); in main() 54 ASSERT_SAME_TYPE(month_weekday_last, decltype(February/Tuesday[last])); in main() 55 ASSERT_NOEXCEPT (Tuesday[last]/February); in main() 56 ASSERT_SAME_TYPE(month_weekday_last, decltype(Tuesday[last]/February)); in main() 60 constexpr month_weekday_last wdi = February/Tuesday[last]; in main() 62 static_assert(wdi.weekday_last() == Tuesday[last], ""); in main() 82 ASSERT_NOEXCEPT (2/Tuesday[2]); in main() 83 ASSERT_SAME_TYPE(month_weekday_last, decltype(2/Tuesday[last])); in main() 84 ASSERT_NOEXCEPT (Tuesday[2]/2); in main() [all …]
|
D | month_weekday.pass.cpp | 55 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local 59 ASSERT_NOEXCEPT (February/Tuesday[2]); in main() 60 ASSERT_SAME_TYPE(month_weekday, decltype(February/Tuesday[2])); in main() 61 ASSERT_NOEXCEPT (Tuesday[2]/February); in main() 62 ASSERT_SAME_TYPE(month_weekday, decltype(Tuesday[2]/February)); in main() 66 constexpr month_weekday wdi = February/Tuesday[3]; in main() 68 static_assert(wdi.weekday_indexed() == Tuesday[3], ""); in main() 89 ASSERT_NOEXCEPT (2/Tuesday[2]); in main() 90 ASSERT_SAME_TYPE(month_weekday, decltype(2/Tuesday[2])); in main() 91 ASSERT_NOEXCEPT (Tuesday[2]/2); in main() [all …]
|
D | year_month_weekday_last.pass.cpp | 53 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local 59 ASSERT_NOEXCEPT ( Feb2018/weekday_last{Tuesday}); in main() 60 ASSERT_SAME_TYPE(year_month_weekday_last, decltype(Feb2018/weekday_last{Tuesday})); in main() 62 static_assert((Feb2018/weekday_last{Tuesday}).year() == year{2018}, ""); in main() 63 static_assert((Feb2018/weekday_last{Tuesday}).month() == February, ""); in main() 64 static_assert((Feb2018/weekday_last{Tuesday}).weekday() == Tuesday, ""); in main() 82 constexpr month_weekday_last FebLastTues{February, weekday_last{Tuesday}}; in main() 92 static_assert((year{2018}/FebLastTues).weekday() == Tuesday, ""); in main() 95 static_assert((FebLastTues/year{2018}).weekday() == Tuesday, ""); in main() 119 constexpr month_weekday_last FebLastTues{February, weekday_last{Tuesday}}; in main() [all …]
|
D | year_month_weekday.pass.cpp | 52 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local 59 ASSERT_NOEXCEPT ( Feb2018/weekday_indexed{Tuesday, 2}); in main() 60 ASSERT_SAME_TYPE(year_month_weekday, decltype(Feb2018/weekday_indexed{Tuesday, 2})); in main() 62 static_assert((Feb2018/weekday_indexed{Tuesday, 2}).year() == year{2018}, "" ); in main() 63 static_assert((Feb2018/weekday_indexed{Tuesday, 2}).month() == February, "" ); in main() 64 static_assert((Feb2018/weekday_indexed{Tuesday, 2}).weekday() == Tuesday, "" ); in main() 82 constexpr month_weekday Feb1stTues{February, weekday_indexed{Tuesday, 1}}; in main() 90 static_assert((year{2018}/Feb1stTues).weekday() == Tuesday, "" ); in main() 115 constexpr month_weekday Feb1stTues{February, weekday_indexed{Tuesday, 1}}; in main() 123 static_assert((2018/Feb1stTues).weekday() == Tuesday, "" ); in main()
|
/external/llvm-project/libcxx/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/ |
D | ok.pass.cpp | 34 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local 48 …static_assert(!year_month_weekday{year{-32768}, January, weekday_indexed{Tuesday, 1}}.ok(), ""); /… in main() 49 …static_assert(!year_month_weekday{year{2019}, month{}, weekday_indexed{Tuesday, 1}}.ok(), ""); /… in main() 52 …static_assert(!year_month_weekday{year{-32768}, month{}, weekday_indexed{Tuesday, 1}}.ok(), ""); /… in main() 56 …static_assert(!year_month_weekday{year{2019}, January, weekday_indexed{Tuesday, static_cast<unsi… in main() 59 …static_assert( year_month_weekday{year{2019}, January, weekday_indexed{Tuesday, 1}}.ok(), ""); /… in main() 60 …static_assert( year_month_weekday{year{2019}, January, weekday_indexed{Tuesday, 4}}.ok(), ""); /… in main() 63 …static_assert( year_month_weekday{year{2019}, January, weekday_indexed{Tuesday, 5}}.ok(), "");… in main() 72 year_month_weekday ym{year{2019}, January, weekday_indexed{Tuesday, i}}; in main() 73 assert((ym.ok() == weekday_indexed{Tuesday, i}.ok())); in main() [all …]
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/ |
D | ok.pass.cpp | 32 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local 41 …static_assert(!year_month_weekday{year{-32768}, January, weekday_indexed{Tuesday, 1}}.ok(), ""); /… in main() 42 …static_assert(!year_month_weekday{year{2019}, month{}, weekday_indexed{Tuesday, 1}}.ok(), ""); /… in main() 45 …static_assert(!year_month_weekday{year{-32768}, month{}, weekday_indexed{Tuesday, 1}}.ok(), ""); /… in main() 49 …static_assert( year_month_weekday{year{2019}, January, weekday_indexed{Tuesday, 1}}.ok(), ""); /… in main() 53 year_month_weekday ym{year{2019}, January, weekday_indexed{Tuesday, i}}; in main() 54 assert((ym.ok() == weekday_indexed{Tuesday, i}.ok())); in main() 65 year_month_weekday ym{year{2019}, month{i}, weekday_indexed{Tuesday, 1}}; in main() 72 year_month_weekday ym{year{i}, January, weekday_indexed{Tuesday, 1}}; in main()
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/ |
D | ok.pass.cpp | 32 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local 39 …static_assert(!year_month_weekday_last{year{-32768}, January, weekday_last{Tuesday}}.ok(), "");… in main() 40 …static_assert(!year_month_weekday_last{year{2019}, month{}, weekday_last{Tuesday}}.ok(), "");… in main() 43 …static_assert(!year_month_weekday_last{year{-32768}, month{}, weekday_last{Tuesday}}.ok(), "");… in main() 47 …static_assert( year_month_weekday_last{year{2019}, January, weekday_last{Tuesday}}.ok(), "");… in main() 51 year_month_weekday_last ym{year{2019}, January, weekday_last{Tuesday}}; in main() 52 assert((ym.ok() == weekday_last{Tuesday}.ok())); in main() 63 year_month_weekday_last ym{year{2019}, month{i}, weekday_last{Tuesday}}; in main() 70 year_month_weekday_last ym{year{i}, January, weekday_last{Tuesday}}; in main()
|
D | plus_minus_equal_month.pass.cpp | 51 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local 52 …h_weekday_last, months>(year_month_weekday_last{year{1234}, month{1}, weekday_last{Tuesday}}), ""); in main() 57 year_month_weekday_last ymwd(y, month{i}, weekday_last{Tuesday}); in main() 61 assert(ymwd.weekday() == Tuesday); in main() 65 assert(ymwd.weekday() == Tuesday); in main() 69 assert(ymwd.weekday() == Tuesday); in main() 73 assert(ymwd.weekday() == Tuesday); in main()
|
D | plus_minus_equal_year.pass.cpp | 51 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local 54 …_month_weekday_last, years>(year_month_weekday_last{year{1}, January, weekday_last{Tuesday}}), ""); in main() 58 year_month_weekday_last ymwd(year{i}, January, weekday_last{Tuesday}); in main() 62 assert(ymwd.weekday() == Tuesday); in main() 66 assert(ymwd.weekday() == Tuesday); in main() 70 assert(ymwd.weekday() == Tuesday); in main() 74 assert(ymwd.weekday() == Tuesday); in main()
|
/external/llvm-project/libcxx/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/ |
D | ok.pass.cpp | 31 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local 38 …static_assert(!year_month_weekday_last{year{-32768}, January, weekday_last{Tuesday}}.ok(), "");… in main() 39 …static_assert(!year_month_weekday_last{year{2019}, month{}, weekday_last{Tuesday}}.ok(), "");… in main() 42 …static_assert(!year_month_weekday_last{year{-32768}, month{}, weekday_last{Tuesday}}.ok(), "");… in main() 46 …static_assert( year_month_weekday_last{year{2019}, January, weekday_last{Tuesday}}.ok(), "");… in main() 50 year_month_weekday_last ym{year{2019}, January, weekday_last{Tuesday}}; in main() 51 assert((ym.ok() == weekday_last{Tuesday}.ok())); in main() 62 year_month_weekday_last ym{year{2019}, month{i}, weekday_last{Tuesday}}; in main() 69 year_month_weekday_last ym{year{i}, January, weekday_last{Tuesday}}; in main()
|
D | plus_minus_equal_year.pass.cpp | 50 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local 53 …_month_weekday_last, years>(year_month_weekday_last{year{1}, January, weekday_last{Tuesday}}), ""); in main() 57 year_month_weekday_last ymwd(year{i}, January, weekday_last{Tuesday}); in main() 61 assert(ymwd.weekday() == Tuesday); in main() 65 assert(ymwd.weekday() == Tuesday); in main() 69 assert(ymwd.weekday() == Tuesday); in main() 73 assert(ymwd.weekday() == Tuesday); in main()
|