/external/libcxx/test/std/utilities/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.nonmembers/ |
D | comparisons.pass.cpp | 33 using month_weekday_last = std::chrono::month_weekday_last; in main() typedef 39 AssertComparisons2AreNoexcept<month_weekday_last>(); in main() 40 AssertComparisons2ReturnBool<month_weekday_last>(); in main() 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() [all …]
|
D | streaming.pass.cpp | 31 using month_weekday_last = std::chrono::month_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.operators/ |
D | month_weekday_last.pass.cpp | 46 using month_weekday_last = std::chrono::month_weekday_last; in main() typedef 54 ASSERT_SAME_TYPE(month_weekday_last, decltype(February/Tuesday[last])); 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() 70 month_weekday_last mwd1 = m/wdi; in main() 71 month_weekday_last mwd2 = wdi/m; in main() 83 ASSERT_SAME_TYPE(month_weekday_last, decltype(2/Tuesday[last])); in main() 85 ASSERT_SAME_TYPE(month_weekday_last, decltype(Tuesday[last]/2)); in main() 98 month_weekday_last mwd1 = i/wdi; in main() 99 month_weekday_last mwd2 = wdi/i; in main()
|
D | year_month_weekday_last.pass.cpp | 50 using month_weekday_last = std::chrono::month_weekday_last; in main() typedef 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() 119 constexpr month_weekday_last FebLastTues{February, weekday_last{Tuesday}}; in main() 142 year_month_weekday_last ymwdl1 = i/month_weekday_last{m, weekday_last{wd}}; in main() 143 year_month_weekday_last ymwdl2 = month_weekday_last{m, weekday_last{wd}}/i; in main()
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.members/ |
D | ok.pass.cpp | 28 using month_weekday_last = std::chrono::month_weekday_last; in main() typedef 34 ASSERT_NOEXCEPT( std::declval<const month_weekday_last>().ok()); in main() 35 ASSERT_SAME_TYPE(bool, decltype(std::declval<const month_weekday_last>().ok())); in main() 37 static_assert(!month_weekday_last{month{}, lastTuesday}.ok(), ""); // Bad month in main() 38 static_assert(!month_weekday_last{January, weekday_last{weekday{12}}}.ok(), ""); // Bad month in main() 39 static_assert( month_weekday_last{January, lastTuesday}.ok(), ""); // Both OK in main() 43 month_weekday_last mwdl{month{i}, lastTuesday}; in main() 49 month_weekday_last mwdl{January, weekday_last{weekday{i}}}; in main()
|
D | month.pass.cpp | 28 using month_weekday_last = std::chrono::month_weekday_last; in main() typedef 32 ASSERT_NOEXCEPT( std::declval<const month_weekday_last>().month()); in main() 33 ASSERT_SAME_TYPE(month, decltype(std::declval<const month_weekday_last>().month())); in main() 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()
|
D | weekday_last.pass.cpp | 28 using month_weekday_last = std::chrono::month_weekday_last; in main() typedef 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()
|
D | ctor.pass.cpp | 36 using month_weekday_last = std::chrono::month_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() 50 constexpr month_weekday_last mwdl2{January, weekday_last{weekday{16}}}; in main() 56 constexpr month_weekday_last mwdl3{January, weekday_last{weekday{4}}}; in main()
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.mwdlast/ |
D | types.pass.cpp | 23 using month_weekday_last = std::chrono::month_weekday_last; in main() typedef 25 static_assert(std::is_trivially_copyable_v<month_weekday_last>, ""); in main() 26 static_assert(std::is_standard_layout_v<month_weekday_last>, ""); in main()
|
/external/libcxx/include/ |
D | chrono | 421 // 25.8.12, class month_weekday_last // C++20 422 class month_weekday_last; 424 constexpr bool operator==(const month_weekday_last& x, const month_weekday_last& y) noexcept; 425 constexpr bool operator!=(const month_weekday_last& x, const month_weekday_last& y) noexcept; 565 constexpr month_weekday_last 567 constexpr month_weekday_last 569 constexpr month_weekday_last 571 constexpr month_weekday_last 608 operator/(const year& y, const month_weekday_last& mwdl) noexcept; 610 operator/(int y, const month_weekday_last& mwdl) noexcept; [all …]
|