/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()
|
D | streaming.pass.cpp | 35 using weekday_last = std::chrono::weekday_last; in main() typedef 37 std::cout << year_month_weekday_last{year{2018}, month{3}, weekday_last{weekday{4}}}; 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 …]
|
D | ctor.pass.cpp | 37 using weekday_last = std::chrono::weekday_last; in main() typedef 43 ASSERT_NOEXCEPT(year_month_weekday_last{year{1}, month{1}, weekday_last{Tuesday}}); in main() 45 constexpr year_month_weekday_last ym1{year{2019}, January, weekday_last{Tuesday}}; in main() 49 static_assert( ym1.weekday_last() == weekday_last{Tuesday}, ""); in main()
|
D | op_sys_days.pass.cpp | 34 using weekday_last = std::chrono::weekday_last; in main() typedef 43 constexpr year_month_weekday_last ymwdl{year{1970}, January, weekday_last{Tuesday}}; in main() 50 constexpr year_month_weekday_last ymwdl{year{2000}, January, weekday_last{Tuesday}}; in main() 57 constexpr year_month_weekday_last ymwdl{year{1940}, January, weekday_last{Tuesday}}; in main() 64 year_month_weekday_last ymdl{year{1939}, std::chrono::November, weekday_last{Tuesday}}; in main()
|
D | month.pass.cpp | 28 using weekday_last = std::chrono::weekday_last; in main() typedef 34 …static_assert( year_month_weekday_last{year{}, month{}, weekday_last{weekday{}}}.month() == month{… in main() 38 year_month_weekday_last ymd(year{1234}, month{i}, weekday_last{weekday{}}); in main()
|
D | year.pass.cpp | 28 using weekday_last = std::chrono::weekday_last; in main() typedef 34 …static_assert( year_month_weekday_last{year{}, month{}, weekday_last{weekday{}}}.year() == year{},… in main() 38 year_month_weekday_last ymwdl(year{i}, month{1}, weekday_last{weekday{}}); in main()
|
D | weekday.pass.cpp | 28 using weekday_last = std::chrono::weekday_last; in main() typedef 34 …static_assert( year_month_weekday_last{year{}, month{}, weekday_last{weekday{}}}.weekday() == week… in main() 38 year_month_weekday_last ymwdl(year{1}, month{1}, weekday_last{weekday{i}}); 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()
|
D | month.pass.cpp | 27 using weekday_last = std::chrono::weekday_last; in main() typedef 35 static_assert( month_weekday_last{month{}, weekday_last{Tuesday}}.month() == month{}, ""); in main() 39 month_weekday_last mdl(month{i}, weekday_last{Tuesday}); 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 …]
|
D | streaming.pass.cpp | 34 using weekday_last = std::chrono::weekday_last; in main() typedef 36 std::cout << month_weekday_last{month{1}, weekday_last{weekday{3}}}; in main()
|
/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()
|
D | streaming.pass.cpp | 30 using weekday_last = std::chrono::weekday_last; in main() typedef 33 std::cout << weekday_last{weekday{3}}; 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()
|
D | ctor.pass.cpp | 30 using weekday_last = std::chrono::weekday_last; in main() typedef 32 ASSERT_NOEXCEPT(weekday_last{weekday{}}); in main() 34 constexpr weekday_last wdl0{weekday{}}; in main() 38 constexpr weekday_last wdl1 {weekday{1}}; in main() 44 weekday_last wdl{weekday{i}}; in main()
|
D | weekday.pass.cpp | 26 using weekday_last = std::chrono::weekday_last; in main() typedef 28 ASSERT_NOEXCEPT( std::declval<const weekday_last>().weekday()); in main() 29 ASSERT_SAME_TYPE(weekday, decltype(std::declval<const weekday_last>().weekday())); in main() 32 assert(weekday_last{weekday{i}}.weekday() == weekday{i}); 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()
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.wdlast/ |
D | types.pass.cpp | 22 using weekday_last = std::chrono::weekday_last; in main() typedef 24 static_assert(std::is_trivially_copyable_v<weekday_last>, ""); in main() 25 static_assert(std::is_standard_layout_v<weekday_last>, ""); in main()
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/ |
D | operator[].pass.cpp | 28 using weekday_last = std::chrono::weekday_last; in main() typedef 37 ASSERT_SAME_TYPE(weekday_last, decltype(std::declval<weekday>()[std::chrono::last])); in main() 45 weekday_last wdl = wd[std::chrono::last]; in main()
|