/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.nonmembers/ |
D | comparisons.pass.cpp | 31 using weekday_last = std::chrono::weekday_last; in main() typedef 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() 50 year_month_weekday_last{year{1234}, January, weekday_last{Wednesday}}, 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() [all …]
|
D | plus.pass.cpp | 56 using weekday_last = std::chrono::weekday_last; in main() typedef 71 …static_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() 84 assert(ym1.weekday_last() == weekday_last{Tuesday}); in main() 85 assert(ym2.weekday_last() == weekday_last{Tuesday}); in main() 97 …static_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() 110 assert(ym1.weekday_last() == weekday_last{Tuesday}); in main() 111 assert(ym2.weekday_last() == weekday_last{Tuesday}); in main()
|
D | minus.pass.cpp | 49 using weekday_last = std::chrono::weekday_last; in main() typedef 62 …static_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() 71 assert(ym1.weekday_last() == weekday_last{Tuesday}); in main() 80 …static_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() 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 | 30 using weekday_last = std::chrono::weekday_last; in main() typedef 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() 49 year_month_weekday_last{year{1234}, January, weekday_last{Wednesday}}, 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() [all …]
|
D | plus.pass.cpp | 55 using weekday_last = std::chrono::weekday_last; in main() typedef 70 …static_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() 83 assert(ym1.weekday_last() == weekday_last{Tuesday}); in main() 84 assert(ym2.weekday_last() == weekday_last{Tuesday}); in main() 96 …static_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() 109 assert(ym1.weekday_last() == weekday_last{Tuesday}); in main() 110 assert(ym2.weekday_last() == weekday_last{Tuesday}); in main()
|
D | minus.pass.cpp | 47 using weekday_last = std::chrono::weekday_last; in main() typedef 60 …static_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() 69 assert(ym1.weekday_last() == weekday_last{Tuesday}); in main() 78 …static_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() 87 assert(ym1.weekday_last() == weekday_last{Tuesday}); in main()
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/ |
D | ok.pass.cpp | 28 using weekday_last = std::chrono::weekday_last; in main() typedef 37 …static_assert(!year_month_weekday_last{year{-32768}, month{}, weekday_last{weekday{}}}.ok(), "");… in main() 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() 41 …static_assert(!year_month_weekday_last{year{2019}, January, weekday_last{weekday{7}}}.ok(), "");… in main() 43 …static_assert(!year_month_weekday_last{year{-32768}, month{}, weekday_last{Tuesday}}.ok(), "");… in main() 44 …static_assert(!year_month_weekday_last{year{2019}, month{}, weekday_last{weekday{7}}}.ok(), "");… in main() 45 …static_assert(!year_month_weekday_last{year{-32768}, January, weekday_last{weekday{7}}}.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() [all …]
|
/external/llvm-project/libcxx/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/ |
D | ok.pass.cpp | 27 using weekday_last = std::chrono::weekday_last; in main() typedef 36 …static_assert(!year_month_weekday_last{year{-32768}, month{}, weekday_last{weekday{}}}.ok(), "");… in main() 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() 40 …static_assert(!year_month_weekday_last{year{2019}, January, weekday_last{weekday{8}}}.ok(), "");… in main() 42 …static_assert(!year_month_weekday_last{year{-32768}, month{}, weekday_last{Tuesday}}.ok(), "");… in main() 43 …static_assert(!year_month_weekday_last{year{2019}, month{}, weekday_last{weekday{8}}}.ok(), "");… in main() 44 …static_assert(!year_month_weekday_last{year{-32768}, January, weekday_last{weekday{8}}}.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() [all …]
|
/external/llvm-project/libcxx/test/std/utilities/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.members/ |
D | ctor.pass.cpp | 34 using weekday_last = std::chrono::weekday_last; in main() typedef 40 ASSERT_NOEXCEPT(month_weekday_last{January, weekday_last{Tuesday}}); in main() 43 constexpr month_weekday_last mwdl1{month{}, weekday_last{Tuesday}}; in main() 45 static_assert( mwdl1.weekday_last() == weekday_last{Tuesday}, ""); in main() 49 constexpr month_weekday_last mwdl2{January, weekday_last{weekday{16}}}; in main() 51 static_assert( mwdl2.weekday_last() == weekday_last{weekday{16}}, ""); in main() 55 constexpr month_weekday_last mwdl3{January, weekday_last{weekday{4}}}; in main() 57 static_assert( mwdl3.weekday_last() == weekday_last{weekday{4}}, ""); in main()
|
D | weekday_last.pass.cpp | 26 using weekday_last = std::chrono::weekday_last; in main() typedef 31 constexpr weekday_last lastTuesday = weekday_last{Tuesday}; in main() 33 … ASSERT_NOEXCEPT( std::declval<const month_weekday_last>().weekday_last()); in main() 34 … ASSERT_SAME_TYPE(weekday_last, decltype(std::declval<const month_weekday_last>().weekday_last())); in main() 36 static_assert( month_weekday_last{month{}, lastTuesday}.weekday_last() == lastTuesday, ""); in main() 40 month_weekday_last mdl(January, weekday_last{weekday{i}}); in main() 41 assert( mdl.weekday_last().weekday().c_encoding() == (i == 7 ? 0 : i)); in main()
|
D | ok.pass.cpp | 26 using weekday_last = std::chrono::weekday_last; in main() typedef 31 constexpr weekday_last lastTuesday = weekday_last{Tuesday}; in main() 37 static_assert(!month_weekday_last{January, weekday_last{weekday{12}}}.ok(), ""); // Bad month in main() 48 month_weekday_last mwdl{January, weekday_last{weekday{i}}}; in main() 49 assert( mwdl.ok() == weekday_last{weekday{i}}.ok()); in main()
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.members/ |
D | ctor.pass.cpp | 35 using weekday_last = std::chrono::weekday_last; in main() typedef 41 ASSERT_NOEXCEPT(month_weekday_last{January, weekday_last{Tuesday}}); in main() 44 constexpr month_weekday_last mwdl1{month{}, weekday_last{Tuesday}}; in main() 46 static_assert( mwdl1.weekday_last() == weekday_last{Tuesday}, ""); in main() 50 constexpr month_weekday_last mwdl2{January, weekday_last{weekday{16}}}; in main() 52 static_assert( mwdl2.weekday_last() == weekday_last{weekday{16}}, ""); in main() 56 constexpr month_weekday_last mwdl3{January, weekday_last{weekday{4}}}; in main() 58 static_assert( mwdl3.weekday_last() == weekday_last{weekday{4}}, ""); in main()
|
D | weekday_last.pass.cpp | 27 using weekday_last = std::chrono::weekday_last; in main() typedef 32 constexpr weekday_last lastTuesday = weekday_last{Tuesday}; in main() 34 … ASSERT_NOEXCEPT( std::declval<const month_weekday_last>().weekday_last()); in main() 35 … ASSERT_SAME_TYPE(weekday_last, decltype(std::declval<const month_weekday_last>().weekday_last())); in main() 37 static_assert( month_weekday_last{month{}, lastTuesday}.weekday_last() == lastTuesday, ""); in main() 41 month_weekday_last mdl(January, weekday_last{weekday{i}}); in main() 42 assert( static_cast<unsigned>(mdl.weekday_last().weekday()) == i); in main()
|
D | ok.pass.cpp | 27 using weekday_last = std::chrono::weekday_last; in main() typedef 32 constexpr weekday_last lastTuesday = weekday_last{Tuesday}; in main() 38 static_assert(!month_weekday_last{January, weekday_last{weekday{12}}}.ok(), ""); // Bad month in main() 49 month_weekday_last mwdl{January, weekday_last{weekday{i}}}; in main() 50 assert( mwdl.ok() == weekday_last{weekday{i}}.ok()); in main()
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.nonmembers/ |
D | comparisons.pass.cpp | 31 using weekday_last = std::chrono::weekday_last; in main() typedef 43 month_weekday_last{std::chrono::January, weekday_last{Tuesday}}, in main() 44 month_weekday_last{std::chrono::January, weekday_last{Tuesday}}, in main() 48 month_weekday_last{std::chrono::January, weekday_last{Tuesday}}, in main() 49 month_weekday_last{std::chrono::January, weekday_last{Wednesday}}, in main() 56 month_weekday_last{month{i}, weekday_last{Tuesday}}, in main() 57 month_weekday_last{month{j}, weekday_last{Tuesday}}, in main() 64 month_weekday_last{January, weekday_last{weekday{i}}}, in main() 65 month_weekday_last{January, weekday_last{weekday{j}}}, in main() 70 month_weekday_last{month{1}, weekday_last{weekday{1}}}, in main() [all …]
|
/external/llvm-project/libcxx/test/std/utilities/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.nonmembers/ |
D | comparisons.pass.cpp | 30 using weekday_last = std::chrono::weekday_last; in main() typedef 42 month_weekday_last{std::chrono::January, weekday_last{Tuesday}}, in main() 43 month_weekday_last{std::chrono::January, weekday_last{Tuesday}}, in main() 47 month_weekday_last{std::chrono::January, weekday_last{Tuesday}}, in main() 48 month_weekday_last{std::chrono::January, weekday_last{Wednesday}}, in main() 55 month_weekday_last{month{i}, weekday_last{Tuesday}}, in main() 56 month_weekday_last{month{j}, weekday_last{Tuesday}}, in main() 63 month_weekday_last{January, weekday_last{weekday{i}}}, in main() 64 month_weekday_last{January, weekday_last{weekday{j}}}, in main() 69 month_weekday_last{month{1}, weekday_last{weekday{1}}}, in main() [all …]
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.wdlast/time.cal.wdlast.nonmembers/ |
D | comparisons.pass.cpp | 28 using weekday_last = std::chrono::weekday_last; in main() typedef 30 AssertComparisons2AreNoexcept<weekday_last>(); in main() 31 AssertComparisons2ReturnBool<weekday_last>(); in main() 33 static_assert(testComparisons2Values<weekday_last>(weekday{0}, weekday{0}), ""); in main() 34 static_assert(testComparisons2Values<weekday_last>(weekday{0}, weekday{1}), ""); in main() 37 static_assert(testComparisons2Values<weekday_last>(weekday{2}, weekday{2}), ""); in main() 38 static_assert(testComparisons2Values<weekday_last>(weekday{2}, weekday{3}), ""); in main() 42 assert(testComparisons2Values<weekday_last>(weekday{i}, weekday{j})); in main()
|
/external/llvm-project/libcxx/test/std/utilities/time/time.cal/time.cal.wdlast/time.cal.wdlast.nonmembers/ |
D | comparisons.pass.cpp | 27 using weekday_last = std::chrono::weekday_last; in main() typedef 29 AssertComparisons2AreNoexcept<weekday_last>(); in main() 30 AssertComparisons2ReturnBool<weekday_last>(); in main() 32 static_assert(testComparisons2Values<weekday_last>(weekday{0}, weekday{0}), ""); in main() 33 static_assert(testComparisons2Values<weekday_last>(weekday{0}, weekday{1}), ""); in main() 36 static_assert(testComparisons2Values<weekday_last>(weekday{2}, weekday{2}), ""); in main() 37 static_assert(testComparisons2Values<weekday_last>(weekday{2}, weekday{3}), ""); in main() 41 assert(testComparisons2Values<weekday_last>(weekday{i}, weekday{j})); in main()
|
/external/llvm-project/libcxx/test/std/utilities/time/time.cal/time.cal.wdlast/time.cal.wdlast.members/ |
D | ok.pass.cpp | 25 using weekday_last = std::chrono::weekday_last; in main() typedef 27 ASSERT_NOEXCEPT( std::declval<const weekday_last>().ok()); in main() 28 ASSERT_SAME_TYPE(bool, decltype(std::declval<const weekday_last>().ok())); in main() 30 static_assert( weekday_last{weekday{0}}.ok(), ""); in main() 31 static_assert( weekday_last{weekday{1}}.ok(), ""); in main() 32 static_assert(!weekday_last{weekday{8}}.ok(), ""); in main() 35 assert(weekday_last{weekday{i}}.ok() == weekday{i}.ok()); in main()
|
D | ctor.pass.cpp | 29 using weekday_last = std::chrono::weekday_last; in main() typedef 31 ASSERT_NOEXCEPT(weekday_last{weekday{}}); in main() 33 constexpr weekday_last wdl0{weekday{}}; in main() 37 constexpr weekday_last wdl1 {weekday{1}}; in main() 43 weekday_last wdl{weekday{i}}; in main()
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.wdlast/time.cal.wdlast.members/ |
D | ok.pass.cpp | 26 using weekday_last = std::chrono::weekday_last; in main() typedef 28 ASSERT_NOEXCEPT( std::declval<const weekday_last>().ok()); in main() 29 ASSERT_SAME_TYPE(bool, decltype(std::declval<const weekday_last>().ok())); in main() 31 static_assert( weekday_last{weekday{0}}.ok(), ""); in main() 32 static_assert( weekday_last{weekday{1}}.ok(), ""); in main() 33 static_assert(!weekday_last{weekday{7}}.ok(), ""); in main() 36 assert(weekday_last{weekday{i}}.ok() == weekday{i}.ok()); in main()
|
/external/llvm-project/libcxx/test/std/utilities/time/time.cal/time.cal.operators/ |
D | year_month_weekday_last.pass.cpp | 48 using weekday_last = std::chrono::weekday_last; in main() typedef 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() 72 year_month_weekday_last ymwdl = year_month{y,m}/weekday_last{wd}; in main() 81 constexpr month_weekday_last FebLastTues{February, weekday_last{Tuesday}}; in main() 104 year_month_weekday_last ymwdl1 = y/month_weekday_last{m, weekday_last{wd}}; in main() 105 year_month_weekday_last ymwdl2 = month_weekday_last{m, weekday_last{wd}}/y; in main() [all …]
|
D | month_weekday_last.pass.cpp | 44 using weekday_last = std::chrono::weekday_last; in main() typedef 61 static_assert(wdi.weekday_last() == Tuesday[last], ""); in main() 68 weekday_last wdi = weekday{j}[last]; in main() 72 assert(mwd1.weekday_last() == wdi); in main() 74 assert(mwd2.weekday_last() == wdi); in main() 96 weekday_last wdi = weekday{j}[last]; in main() 100 assert(mwd1.weekday_last() == wdi); in main() 102 assert(mwd2.weekday_last() == wdi); in main()
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.operators/ |
D | year_month_weekday_last.pass.cpp | 49 using weekday_last = std::chrono::weekday_last; in main() typedef 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() 73 year_month_weekday_last ymwdl = year_month{y,m}/weekday_last{wd}; in main() 82 constexpr month_weekday_last FebLastTues{February, weekday_last{Tuesday}}; in main() 105 year_month_weekday_last ymwdl1 = y/month_weekday_last{m, weekday_last{wd}}; in main() 106 year_month_weekday_last ymwdl2 = month_weekday_last{m, weekday_last{wd}}/y; in main() [all …]
|
D | month_weekday_last.pass.cpp | 45 using weekday_last = std::chrono::weekday_last; in main() typedef 62 static_assert(wdi.weekday_last() == Tuesday[last], ""); in main() 69 weekday_last wdi = weekday{j}[last]; in main() 73 assert(mwd1.weekday_last() == wdi); in main() 75 assert(mwd2.weekday_last() == wdi); in main() 97 weekday_last wdi = weekday{j}[last]; in main() 101 assert(mwd1.weekday_last() == wdi); in main() 103 assert(mwd2.weekday_last() == wdi); in main()
|