/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.nonmembers/ |
D | comparisons.pass.cpp | 32 using year_month_weekday_last = std::chrono::year_month_weekday_last; in main() typedef 34 AssertComparisons2AreNoexcept<year_month_weekday_last>(); in main() 35 AssertComparisons2ReturnBool<year_month_weekday_last>(); in main() 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() [all …]
|
D | plus.pass.cpp | 32 constexpr bool testConstexprYears(std::chrono::year_month_weekday_last ym) in testConstexprYears() 41 constexpr bool testConstexprMonths(std::chrono::year_month_weekday_last ym) in testConstexprMonths() 57 using year_month_weekday_last = std::chrono::year_month_weekday_last; in main() typedef 65 ASSERT_NOEXCEPT(std::declval<year_month_weekday_last>() + std::declval<months>()); in main() 66 ASSERT_NOEXCEPT(std::declval<months>() + std::declval<year_month_weekday_last>()); in main() 68 …ASSERT_SAME_TYPE(year_month_weekday_last, decltype(std::declval<year_month_weekday_last>() + std::… in main() 69 …ASSERT_SAME_TYPE(year_month_weekday_last, decltype(std::declval<months>() + std::declval<year_mont… in main() 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() 76 year_month_weekday_last ym1 = ym + months{i}; in main() [all …]
|
D | minus.pass.cpp | 28 constexpr bool testConstexprYears(std::chrono::year_month_weekday_last ym) in testConstexprYears() 36 constexpr bool testConstexprMonths(std::chrono::year_month_weekday_last ym) in testConstexprMonths() 50 using year_month_weekday_last = std::chrono::year_month_weekday_last; in main() typedef 59 …ASSERT_NOEXCEPT( std::declval<year_month_weekday_last>() - std::… in main() 60 …ASSERT_SAME_TYPE(year_month_weekday_last, decltype(std::declval<year_month_weekday_last>() - std::… in main() 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() 67 year_month_weekday_last ym1 = ym - years{i}; in main() 77 …ASSERT_NOEXCEPT( std::declval<year_month_weekday_last>() - std::… in main() 78 …ASSERT_SAME_TYPE(year_month_weekday_last, decltype(std::declval<year_month_weekday_last>() - std::… in main() [all …]
|
D | streaming.pass.cpp | 31 using year_month_weekday_last = std::chrono::year_month_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 | 29 using year_month_weekday_last = std::chrono::year_month_weekday_last; in main() typedef 34 ASSERT_NOEXCEPT( std::declval<const year_month_weekday_last>().ok()); in main() 35 ASSERT_SAME_TYPE(bool, decltype(std::declval<const year_month_weekday_last>().ok())); in main() 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() [all …]
|
D | plus_minus_equal_month.pass.cpp | 42 using year_month_weekday_last = std::chrono::year_month_weekday_last; in main() typedef 45 ASSERT_NOEXCEPT(std::declval<year_month_weekday_last&>() += std::declval<months>()); in main() 46 ASSERT_NOEXCEPT(std::declval<year_month_weekday_last&>() -= std::declval<months>()); in main() 48 …ASSERT_SAME_TYPE(year_month_weekday_last&, decltype(std::declval<year_month_weekday_last&>() += st… in main() 49 …ASSERT_SAME_TYPE(year_month_weekday_last&, decltype(std::declval<year_month_weekday_last&>() -= st… in main() 52 …static_assert(testConstexpr<year_month_weekday_last, months>(year_month_weekday_last{year{1234}, m… in main() 57 year_month_weekday_last ymwd(y, month{i}, weekday_last{Tuesday}); in main()
|
D | plus_minus_equal_year.pass.cpp | 42 using year_month_weekday_last = std::chrono::year_month_weekday_last; in main() typedef 45 ASSERT_NOEXCEPT(std::declval<year_month_weekday_last&>() += std::declval<years>()); in main() 46 ASSERT_NOEXCEPT(std::declval<year_month_weekday_last&>() -= std::declval<years>()); in main() 48 …ASSERT_SAME_TYPE(year_month_weekday_last&, decltype(std::declval<year_month_weekday_last&>() += st… in main() 49 …ASSERT_SAME_TYPE(year_month_weekday_last&, decltype(std::declval<year_month_weekday_last&>() -= st… in main() 54 …static_assert(testConstexpr<year_month_weekday_last, years>(year_month_weekday_last{year{1}, Janua… in main() 58 year_month_weekday_last ymwd(year{i}, January, weekday_last{Tuesday}); in main()
|
D | op_sys_days.pass.cpp | 30 using year_month_weekday_last = std::chrono::year_month_weekday_last; in main() typedef 36 …NOEXCEPT( static_cast<sys_days>(std::declval<const year_month_weekday_last>())); in main() 37 …AME_TYPE(sys_days, decltype(static_cast<sys_days>(std::declval<const year_month_weekday_last>()))); in main() 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 | weekday.pass.cpp | 29 using year_month_weekday_last = std::chrono::year_month_weekday_last; in main() typedef 31 ASSERT_NOEXCEPT( std::declval<const year_month_weekday_last>().weekday()); in main() 32 ASSERT_SAME_TYPE(weekday, decltype(std::declval<const year_month_weekday_last>().weekday())); in main() 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()
|
D | year.pass.cpp | 29 using year_month_weekday_last = std::chrono::year_month_weekday_last; in main() typedef 31 ASSERT_NOEXCEPT( std::declval<const year_month_weekday_last>().year()); in main() 32 ASSERT_SAME_TYPE(year, decltype(std::declval<const year_month_weekday_last>().year())); in main() 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 | month.pass.cpp | 29 using year_month_weekday_last = std::chrono::year_month_weekday_last; in main() typedef 31 ASSERT_NOEXCEPT( std::declval<const year_month_weekday_last>().month()); in main() 32 ASSERT_SAME_TYPE(month, decltype(std::declval<const year_month_weekday_last>().month())); in main() 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 | ctor.pass.cpp | 38 using year_month_weekday_last = std::chrono::year_month_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()
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.operators/ |
D | year_month_weekday_last.pass.cpp | 51 using year_month_weekday_last = std::chrono::year_month_weekday_last; in main() typedef 60 ASSERT_SAME_TYPE(year_month_weekday_last, decltype(Feb2018/weekday_last{Tuesday})); in main() 73 year_month_weekday_last ymwdl = year_month{y,m}/weekday_last{wd}; in main() 85 ASSERT_SAME_TYPE(year_month_weekday_last, decltype(year{2018}/FebLastTues)); in main() 87 ASSERT_SAME_TYPE(year_month_weekday_last, decltype(FebLastTues/year{2018})); 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() 122 ASSERT_SAME_TYPE(year_month_weekday_last, decltype(2018/FebLastTues)); in main() 124 ASSERT_SAME_TYPE(year_month_weekday_last, decltype(FebLastTues/2018)); in main() 142 year_month_weekday_last ymwdl1 = i/month_weekday_last{m, weekday_last{wd}}; in main() [all …]
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymwdlast/ |
D | types.pass.cpp | 22 using year_month_weekday_last = std::chrono::year_month_weekday_last; in main() typedef 24 static_assert(std::is_trivially_copyable_v<year_month_weekday_last>, ""); in main() 25 static_assert(std::is_standard_layout_v<year_month_weekday_last>, ""); in main()
|
/external/libcxx/include/ |
D | chrono | 514 // 25.8.17, class year_month_weekday_last // C++20 515 class year_month_weekday_last; 517 constexpr bool operator==(const year_month_weekday_last& x, 518 const year_month_weekday_last& y) noexcept; 519 constexpr bool operator!=(const year_month_weekday_last& x, 520 const year_month_weekday_last& y) noexcept; 521 constexpr year_month_weekday_last 522 operator+(const year_month_weekday_last& ymwdl, const months& dm) noexcept; 523 constexpr year_month_weekday_last 524 operator+(const months& dm, const year_month_weekday_last& ymwdl) noexcept; [all …]
|