/external/libcxx/test/std/utilities/time/time.cal/time.cal.operators/ |
D | year_month_day_last.pass.cpp | 47 using month_day_last = std::chrono::month_day_last; in main() typedef 75 ASSERT_NOEXCEPT ( year{2018}/month_day_last{February}); in main() 76 ASSERT_SAME_TYPE(year_month_day_last, decltype(year{2018}/month_day_last{February})); in main() 77 ASSERT_NOEXCEPT ( month_day_last{February}/year{2018}); in main() 78 ASSERT_SAME_TYPE(year_month_day_last, decltype(month_day_last{February}/year{2018})); in main() 80 static_assert((year{2018}/month_day_last{February}).month() == February, ""); in main() 81 static_assert((year{2018}/month_day_last{February}).year() == year{2018}, ""); in main() 82 static_assert((month_day_last{February}/year{2018}).month() == February, ""); in main() 83 static_assert((month_day_last{February}/year{2018}).year() == year{2018}, ""); in main() 90 year_month_day_last ymdl1 = y/month_day_last{m}; in main() [all …]
|
D | month_day_last.pass.cpp | 53 using month_day_last = std::chrono::month_day_last; in main() typedef 58 ASSERT_SAME_TYPE(month_day_last, decltype(last/February)); in main() 59 ASSERT_SAME_TYPE(month_day_last, decltype(February/last)); in main() 69 ASSERT_SAME_TYPE(month_day_last, decltype(last/February)); in main() 71 ASSERT_SAME_TYPE(month_day_last, decltype(February/last)); in main() 79 month_day_last mdl1 = last/m; in main() 80 month_day_last mdl2 = m/last; in main() 89 ASSERT_SAME_TYPE(month_day_last, decltype(last/2)); in main() 91 ASSERT_SAME_TYPE(month_day_last, decltype(2/last)); in main() 99 month_day_last mdl1 = last/i; in main() [all …]
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/ |
D | day.pass.cpp | 28 using month_day_last = std::chrono::month_day_last; in main() typedef 35 static_assert( year_month_day_last{year{2020}, month_day_last{month{ 1}}}.day() == day{31}, ""); in main() 36 static_assert( year_month_day_last{year{2020}, month_day_last{month{ 2}}}.day() == day{29}, ""); in main() 37 static_assert( year_month_day_last{year{2020}, month_day_last{month{ 3}}}.day() == day{31}, ""); in main() 38 static_assert( year_month_day_last{year{2020}, month_day_last{month{ 4}}}.day() == day{30}, ""); in main() 39 static_assert( year_month_day_last{year{2020}, month_day_last{month{ 5}}}.day() == day{31}, ""); in main() 40 static_assert( year_month_day_last{year{2020}, month_day_last{month{ 6}}}.day() == day{30}, ""); in main() 41 static_assert( year_month_day_last{year{2020}, month_day_last{month{ 7}}}.day() == day{31}, ""); in main() 42 static_assert( year_month_day_last{year{2020}, month_day_last{month{ 8}}}.day() == day{31}, ""); in main() 43 static_assert( year_month_day_last{year{2020}, month_day_last{month{ 9}}}.day() == day{30}, ""); in main() [all …]
|
D | ctor.pass.cpp | 35 using month_day_last = std::chrono::month_day_last; in main() typedef 38 ASSERT_NOEXCEPT(year_month_day_last{year{1}, month_day_last{month{1}}}); in main() 42 constexpr year_month_day_last ymdl0{year{}, month_day_last{month{}}}; in main() 45 static_assert( ymdl0.month_day_last() == month_day_last{month{}}, ""); in main() 48 constexpr year_month_day_last ymdl1{year{2019}, month_day_last{January}}; in main() 51 static_assert( ymdl1.month_day_last() == month_day_last{January}, ""); in main()
|
D | month_day_last.pass.cpp | 27 using month_day_last = std::chrono::month_day_last; in main() typedef 30 …ERT_NOEXCEPT( std::declval<const year_month_day_last>().month_day_last()); in main() 31 …ASSERT_SAME_TYPE(month_day_last, decltype(std::declval<const year_month_day_last>().month_day_last… in main() 35 year_month_day_last ymdl(year{1234}, month_day_last{month{i}}); in main() 36 assert( static_cast<unsigned>(ymdl.month_day_last().month()) == i); in main()
|
D | ok.pass.cpp | 27 using month_day_last = std::chrono::month_day_last; in main() typedef 35 static_assert(!year_month_day_last{year{-32768}, month_day_last{month{}}}.ok(), ""); // both bad in main() 36 static_assert(!year_month_day_last{year{-32768}, month_day_last{January}}.ok(), ""); // Bad year in main() 37 … static_assert(!year_month_day_last{year{2019}, month_day_last{month{}}}.ok(), ""); // Bad month in main() 38 static_assert( year_month_day_last{year{2019}, month_day_last{January}}.ok(), ""); // All OK in main() 42 year_month_day_last ym{year{2019}, month_day_last{month{i}}}; in main() 49 year_month_day_last ym{year{i}, month_day_last{January}}; in main()
|
D | plus_minus_equal_year.pass.cpp | 40 using month_day_last = std::chrono::month_day_last; in main() typedef 50 …stConstexpr<year_month_day_last, years>(year_month_day_last{year{1}, month_day_last{month{1}}}), "… in main() 54 month_day_last mdl{month{2}}; in main() 57 assert(ymdl.month_day_last() == mdl); in main() 59 assert(ymdl.month_day_last() == mdl); in main() 61 assert(ymdl.month_day_last() == mdl); in main() 63 assert(ymdl.month_day_last() == mdl); in main()
|
/external/llvm-project/libcxx/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/ |
D | day.pass.cpp | 27 using month_day_last = std::chrono::month_day_last; in main() typedef 34 static_assert( year_month_day_last{year{2020}, month_day_last{month{ 1}}}.day() == day{31}, ""); in main() 35 static_assert( year_month_day_last{year{2020}, month_day_last{month{ 2}}}.day() == day{29}, ""); in main() 36 static_assert( year_month_day_last{year{2020}, month_day_last{month{ 3}}}.day() == day{31}, ""); in main() 37 static_assert( year_month_day_last{year{2020}, month_day_last{month{ 4}}}.day() == day{30}, ""); in main() 38 static_assert( year_month_day_last{year{2020}, month_day_last{month{ 5}}}.day() == day{31}, ""); in main() 39 static_assert( year_month_day_last{year{2020}, month_day_last{month{ 6}}}.day() == day{30}, ""); in main() 40 static_assert( year_month_day_last{year{2020}, month_day_last{month{ 7}}}.day() == day{31}, ""); in main() 41 static_assert( year_month_day_last{year{2020}, month_day_last{month{ 8}}}.day() == day{31}, ""); in main() 42 static_assert( year_month_day_last{year{2020}, month_day_last{month{ 9}}}.day() == day{30}, ""); in main() [all …]
|
D | ctor.pass.cpp | 34 using month_day_last = std::chrono::month_day_last; in main() typedef 37 ASSERT_NOEXCEPT(year_month_day_last{year{1}, month_day_last{month{1}}}); in main() 41 constexpr year_month_day_last ymdl0{year{}, month_day_last{month{}}}; in main() 44 static_assert( ymdl0.month_day_last() == month_day_last{month{}}, ""); in main() 47 constexpr year_month_day_last ymdl1{year{2019}, month_day_last{January}}; in main() 50 static_assert( ymdl1.month_day_last() == month_day_last{January}, ""); in main()
|
D | month_day_last.pass.cpp | 26 using month_day_last = std::chrono::month_day_last; in main() typedef 29 …ERT_NOEXCEPT( std::declval<const year_month_day_last>().month_day_last()); in main() 30 …ASSERT_SAME_TYPE(month_day_last, decltype(std::declval<const year_month_day_last>().month_day_last… in main() 34 year_month_day_last ymdl(year{1234}, month_day_last{month{i}}); in main() 35 assert( static_cast<unsigned>(ymdl.month_day_last().month()) == i); in main()
|
D | ok.pass.cpp | 26 using month_day_last = std::chrono::month_day_last; in main() typedef 34 static_assert(!year_month_day_last{year{-32768}, month_day_last{month{}}}.ok(), ""); // both bad in main() 35 static_assert(!year_month_day_last{year{-32768}, month_day_last{January}}.ok(), ""); // Bad year in main() 36 … static_assert(!year_month_day_last{year{2019}, month_day_last{month{}}}.ok(), ""); // Bad month in main() 37 static_assert( year_month_day_last{year{2019}, month_day_last{January}}.ok(), ""); // All OK in main() 41 year_month_day_last ym{year{2019}, month_day_last{month{i}}}; in main() 48 year_month_day_last ym{year{i}, month_day_last{January}}; in main()
|
D | plus_minus_equal_year.pass.cpp | 39 using month_day_last = std::chrono::month_day_last; in main() typedef 49 …stConstexpr<year_month_day_last, years>(year_month_day_last{year{1}, month_day_last{month{1}}}), "… in main() 53 month_day_last mdl{month{2}}; in main() 56 assert(ymdl.month_day_last() == mdl); in main() 58 assert(ymdl.month_day_last() == mdl); in main() 60 assert(ymdl.month_day_last() == mdl); in main() 62 assert(ymdl.month_day_last() == mdl); in main()
|
D | op_sys_days.pass.cpp | 25 using month_day_last = std::chrono::month_day_last; in main() typedef 34 constexpr year_month_day_last ymdl{year{1970}, month_day_last{std::chrono::January}}; in main() 41 constexpr year_month_day_last ymdl{year{2000}, month_day_last{std::chrono::January}}; in main() 48 constexpr year_month_day_last ymdl{year{1940}, month_day_last{std::chrono::January}}; in main() 55 year_month_day_last ymdl{year{1939}, month_day_last{std::chrono::November}}; in main()
|
D | op_local_days.pass.cpp | 25 using month_day_last = std::chrono::month_day_last; in main() typedef 34 constexpr year_month_day_last ymdl{year{1970}, month_day_last{std::chrono::January}}; in main() 41 constexpr year_month_day_last ymdl{year{2000}, month_day_last{std::chrono::January}}; in main() 48 constexpr year_month_day_last ymdl{year{1940}, month_day_last{std::chrono::January}}; in main() 55 year_month_day_last ymdl{year{1939}, month_day_last{std::chrono::November}}; in main()
|
/external/llvm-project/libcxx/test/std/utilities/time/time.cal/time.cal.operators/ |
D | year_month_day_last.pass.cpp | 47 using month_day_last = std::chrono::month_day_last; in main() typedef 75 ASSERT_NOEXCEPT ( year{2018}/month_day_last{February}); in main() 76 ASSERT_SAME_TYPE(year_month_day_last, decltype(year{2018}/month_day_last{February})); in main() 77 ASSERT_NOEXCEPT ( month_day_last{February}/year{2018}); in main() 78 ASSERT_SAME_TYPE(year_month_day_last, decltype(month_day_last{February}/year{2018})); in main() 80 static_assert((year{2018}/month_day_last{February}).month() == February, ""); in main() 81 static_assert((year{2018}/month_day_last{February}).year() == year{2018}, ""); in main() 82 static_assert((month_day_last{February}/year{2018}).month() == February, ""); in main() 83 static_assert((month_day_last{February}/year{2018}).year() == year{2018}, ""); in main() 90 year_month_day_last ymdl1 = y/month_day_last{m}; in main() [all …]
|
D | month_day_last.pass.cpp | 52 using month_day_last = std::chrono::month_day_last; in main() typedef 57 ASSERT_SAME_TYPE(month_day_last, decltype(last/February)); in main() 58 ASSERT_SAME_TYPE(month_day_last, decltype(February/last)); in main() 68 ASSERT_SAME_TYPE(month_day_last, decltype(last/February)); in main() 70 ASSERT_SAME_TYPE(month_day_last, decltype(February/last)); in main() 78 month_day_last mdl1 = last/m; in main() 79 month_day_last mdl2 = m/last; in main() 88 ASSERT_SAME_TYPE(month_day_last, decltype(last/2)); in main() 90 ASSERT_SAME_TYPE(month_day_last, decltype(2/last)); in main() 98 month_day_last mdl1 = last/i; in main() [all …]
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.nonmembers/ |
D | comparisons.pass.cpp | 34 using month_day_last = std::chrono::month_day_last; in main() typedef 44 year_month_day_last{year{1234}, month_day_last{January}}, in main() 45 year_month_day_last{year{1234}, month_day_last{January}}, in main() 50 year_month_day_last{year{1234}, month_day_last{January}}, in main() 51 year_month_day_last{year{1234}, month_day_last{February}}, in main() 56 year_month_day_last{year{1234}, month_day_last{January}}, in main() 57 year_month_day_last{year{1235}, month_day_last{January}}, in main() 62 year_month_day_last{year{1234}, month_day_last{January}}, in main() 63 year_month_day_last{year{1234}, month_day_last{February}}, in main() 68 year_month_day_last{year{1234}, month_day_last{February}}, in main() [all …]
|
/external/llvm-project/libcxx/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.nonmembers/ |
D | comparisons.pass.cpp | 33 using month_day_last = std::chrono::month_day_last; in main() typedef 43 year_month_day_last{year{1234}, month_day_last{January}}, in main() 44 year_month_day_last{year{1234}, month_day_last{January}}, in main() 49 year_month_day_last{year{1234}, month_day_last{January}}, in main() 50 year_month_day_last{year{1234}, month_day_last{February}}, in main() 55 year_month_day_last{year{1234}, month_day_last{January}}, in main() 56 year_month_day_last{year{1235}, month_day_last{January}}, in main() 61 year_month_day_last{year{1234}, month_day_last{January}}, in main() 62 year_month_day_last{year{1234}, month_day_last{February}}, in main() 67 year_month_day_last{year{1234}, month_day_last{February}}, in main() [all …]
|
/external/llvm-project/libcxx/test/std/utilities/time/time.cal/time.cal.mdlast/ |
D | ok.pass.cpp | 25 using month_day_last = std::chrono::month_day_last; in main() typedef 27 ASSERT_NOEXCEPT( std::declval<const month_day_last>().ok()); in main() 28 ASSERT_SAME_TYPE(bool, decltype(std::declval<const month_day_last>().ok())); in main() 30 static_assert(!month_day_last{month{}}.ok(), ""); in main() 31 static_assert( month_day_last{std::chrono::May}.ok(), ""); in main() 35 month_day_last mdl{month{i}}; in main() 42 month_day_last mdl{month{i}}; in main()
|
D | comparisons.pass.cpp | 30 using month_day_last = std::chrono::month_day_last; in main() typedef 32 AssertComparisons6AreNoexcept<month_day_last>(); in main() 33 AssertComparisons6ReturnBool<month_day_last>(); in main() 35 static_assert( testComparisons6Values<month_day_last>(month{1}, month{1}), ""); in main() 36 static_assert( testComparisons6Values<month_day_last>(month{1}, month{2}), ""); in main() 41 assert((testComparisons6Values<month_day_last>(month{i}, month{j}))); in main()
|
D | month.pass.cpp | 25 using month_day_last = std::chrono::month_day_last; in main() typedef 27 ASSERT_NOEXCEPT( std::declval<const month_day_last>().month()); in main() 28 ASSERT_SAME_TYPE(month, decltype(std::declval<const month_day_last>().month())); in main() 30 static_assert( month_day_last{month{}}.month() == month{}, ""); in main() 34 month_day_last mdl(month{i}); in main()
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.mdlast/ |
D | ok.pass.cpp | 26 using month_day_last = std::chrono::month_day_last; in main() typedef 28 ASSERT_NOEXCEPT( std::declval<const month_day_last>().ok()); in main() 29 ASSERT_SAME_TYPE(bool, decltype(std::declval<const month_day_last>().ok())); in main() 31 static_assert(!month_day_last{month{}}.ok(), ""); in main() 32 static_assert( month_day_last{std::chrono::May}.ok(), ""); in main() 36 month_day_last mdl{month{i}}; in main() 43 month_day_last mdl{month{i}}; in main()
|
D | comparisons.pass.cpp | 31 using month_day_last = std::chrono::month_day_last; in main() typedef 33 AssertComparisons6AreNoexcept<month_day_last>(); in main() 34 AssertComparisons6ReturnBool<month_day_last>(); in main() 36 static_assert( testComparisons6Values<month_day_last>(month{1}, month{1}), ""); in main() 37 static_assert( testComparisons6Values<month_day_last>(month{1}, month{2}), ""); in main() 42 assert((testComparisons6Values<month_day_last>(month{i}, month{j}))); in main()
|
D | month.pass.cpp | 26 using month_day_last = std::chrono::month_day_last; in main() typedef 28 ASSERT_NOEXCEPT( std::declval<const month_day_last>().month()); in main() 29 ASSERT_SAME_TYPE(month, decltype(std::declval<const month_day_last>().month())); in main() 31 static_assert( month_day_last{month{}}.month() == month{}, ""); in main() 35 month_day_last mdl(month{i}); in main()
|
/external/llvm-project/libcxx/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/ |
D | op_local_days.pass.cpp | 25 using month_day_last = std::chrono::month_day_last; in main() typedef 34 constexpr year_month_day_last ymdl{year{1970}, month_day_last{std::chrono::January}}; in main() 41 constexpr year_month_day_last ymdl{year{2000}, month_day_last{std::chrono::January}}; in main() 48 constexpr year_month_day_last ymdl{year{1940}, month_day_last{std::chrono::January}}; in main() 55 year_month_day_last ymdl{year{1939}, month_day_last{std::chrono::November}}; in main()
|