/external/libcxx/test/std/utilities/time/time.cal/time.cal.md/time.cal.md.members/ |
D | ok.pass.cpp | 29 using month_day = std::chrono::month_day; in main() typedef 31 ASSERT_NOEXCEPT( std::declval<const month_day>().ok()); in main() 32 ASSERT_SAME_TYPE(bool, decltype(std::declval<const month_day>().ok())); in main() 34 static_assert(!month_day{}.ok(), ""); in main() 35 static_assert( month_day{std::chrono::May, day{2}}.ok(), ""); in main() 37 assert(!(month_day(std::chrono::April, day{0}).ok())); in main() 39 assert( (month_day{std::chrono::March, day{1}}.ok())); in main() 43 assert(!(month_day{month{i}, day{ 0}}.ok())); in main() 44 assert( (month_day{month{i}, day{ 1}}.ok())); in main() 45 assert( (month_day{month{i}, day{10}}.ok())); in main() [all …]
|
D | day.pass.cpp | 26 using month_day = std::chrono::month_day; in main() typedef 28 ASSERT_NOEXCEPT( std::declval<const month_day>().day()); in main() 29 ASSERT_SAME_TYPE(day, decltype(std::declval<const month_day>().day())); in main() 31 static_assert( month_day{}.day() == day{}, ""); in main() 35 month_day md(std::chrono::March, day{i}); in main()
|
D | month.pass.cpp | 27 using month_day = std::chrono::month_day; in main() typedef 29 ASSERT_NOEXCEPT( std::declval<const month_day>().month()); in main() 30 ASSERT_SAME_TYPE(month, decltype(std::declval<const month_day>().month())); in main() 32 static_assert( month_day{}.month() == month{}, ""); in main() 36 month_day md(month{i}, day{1}); in main()
|
D | ctor.pass.cpp | 33 using month_day = std::chrono::month_day; in main() typedef 35 ASSERT_NOEXCEPT(month_day{}); in main() 36 ASSERT_NOEXCEPT(month_day{month{1}, day{1}}); in main() 38 constexpr month_day md0{}; in main() 43 constexpr month_day md1{std::chrono::January, day{4}}; in main()
|
/external/llvm-project/libcxx/test/std/utilities/time/time.cal/time.cal.md/time.cal.md.members/ |
D | ok.pass.cpp | 28 using month_day = std::chrono::month_day; in main() typedef 30 ASSERT_NOEXCEPT( std::declval<const month_day>().ok()); in main() 31 ASSERT_SAME_TYPE(bool, decltype(std::declval<const month_day>().ok())); in main() 33 static_assert(!month_day{}.ok(), ""); in main() 34 static_assert( month_day{std::chrono::May, day{2}}.ok(), ""); in main() 36 assert(!(month_day(std::chrono::April, day{0}).ok())); in main() 38 assert( (month_day{std::chrono::March, day{1}}.ok())); in main() 42 assert(!(month_day{month{i}, day{ 0}}.ok())); in main() 43 assert( (month_day{month{i}, day{ 1}}.ok())); in main() 44 assert( (month_day{month{i}, day{10}}.ok())); in main() [all …]
|
D | day.pass.cpp | 25 using month_day = std::chrono::month_day; in main() typedef 27 ASSERT_NOEXCEPT( std::declval<const month_day>().day()); in main() 28 ASSERT_SAME_TYPE(day, decltype(std::declval<const month_day>().day())); in main() 30 static_assert( month_day{}.day() == day{}, ""); in main() 34 month_day md(std::chrono::March, day{i}); in main()
|
D | month.pass.cpp | 26 using month_day = std::chrono::month_day; in main() typedef 28 ASSERT_NOEXCEPT( std::declval<const month_day>().month()); in main() 29 ASSERT_SAME_TYPE(month, decltype(std::declval<const month_day>().month())); in main() 31 static_assert( month_day{}.month() == month{}, ""); in main() 35 month_day md(month{i}, day{1}); in main()
|
D | ctor.pass.cpp | 32 using month_day = std::chrono::month_day; in main() typedef 34 ASSERT_NOEXCEPT(month_day{}); in main() 35 ASSERT_NOEXCEPT(month_day{month{1}, day{1}}); in main() 37 constexpr month_day md0{}; in main() 42 constexpr month_day md1{std::chrono::January, day{4}}; in main()
|
/external/llvm-project/libcxx/test/std/utilities/time/time.cal/time.cal.md/time.cal.md.nonmembers/ |
D | comparisons.pass.cpp | 33 using month_day = std::chrono::month_day; in main() typedef 35 AssertComparisons6AreNoexcept<month_day>(); in main() 36 AssertComparisons6ReturnBool<month_day>(); in main() 39 month_day{std::chrono::January, day{1}}, in main() 40 month_day{std::chrono::January, day{1}}, in main() 44 month_day{std::chrono::January, day{1}}, in main() 45 month_day{std::chrono::January, day{2}}, in main() 49 month_day{std::chrono::January, day{1}}, in main() 50 month_day{std::chrono::February, day{1}}, in main() 57 month_day{month{i}, day{1}}, in main() [all …]
|
D | streaming.pass.cpp | 36 using month_day = std::chrono::month_day; in main() typedef 39 std::cout << month_day{month{1}, day{1}}; in main()
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.md/time.cal.md.nonmembers/ |
D | comparisons.pass.cpp | 34 using month_day = std::chrono::month_day; in main() typedef 36 AssertComparisons6AreNoexcept<month_day>(); in main() 37 AssertComparisons6ReturnBool<month_day>(); in main() 40 month_day{std::chrono::January, day{1}}, in main() 41 month_day{std::chrono::January, day{1}}, in main() 45 month_day{std::chrono::January, day{1}}, in main() 46 month_day{std::chrono::January, day{2}}, in main() 50 month_day{std::chrono::January, day{1}}, in main() 51 month_day{std::chrono::February, day{1}}, in main() 58 month_day{month{i}, day{1}}, in main() [all …]
|
D | streaming.pass.cpp | 37 using month_day = std::chrono::month_day; in main() typedef 40 std::cout << month_day{month{1}, day{1}}; in main()
|
/external/llvm-project/libcxx/test/std/utilities/time/time.cal/time.cal.operators/ |
D | year_month_day.pass.cpp | 51 using month_day = std::chrono::month_day; in main() typedef 129 ASSERT_NOEXCEPT ( year{2018}/month_day{February, day{2}}); in main() 130 ASSERT_SAME_TYPE(year_month_day, decltype(year{2018}/month_day{February, day{2}})); in main() 131 ASSERT_NOEXCEPT ( month_day{February, day{2}}/year{2018}); in main() 132 ASSERT_SAME_TYPE(year_month_day, decltype(month_day{February, day{2}}/year{2018})); in main() 134 static_assert((year{2018}/month_day{February, day{2}}).month() == February, "" ); in main() 135 static_assert((year{2018}/month_day{February, day{2}}).day() == day{2}, "" ); in main() 136 static_assert((month_day{February, day{2}}/year{2018}).month() == February, "" ); in main() 137 static_assert((month_day{February, day{2}}/year{2018}).day() == day{2}, "" ); in main() 146 month_day md(m, d); in main() [all …]
|
D | month_day.pass.cpp | 43 using month_day = std::chrono::month_day; in main() typedef 51 ASSERT_SAME_TYPE(month_day, decltype(February/day{1})); in main() 53 ASSERT_SAME_TYPE(month_day, decltype(day{1}/February)); in main() 60 month_day md1 = m/d; in main() 61 month_day md2 = d/m; in main() 73 ASSERT_SAME_TYPE(month_day, decltype(February/2)); in main() 80 month_day md1 = m/j; in main() 89 ASSERT_SAME_TYPE(month_day, decltype(day{2}/2)); in main() 91 ASSERT_SAME_TYPE(month_day, decltype(2/day{2})); in main() 98 month_day md1 = d/i; in main() [all …]
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.operators/ |
D | year_month_day.pass.cpp | 52 using month_day = std::chrono::month_day; in main() typedef 130 ASSERT_NOEXCEPT ( year{2018}/month_day{February, day{2}}); in main() 131 ASSERT_SAME_TYPE(year_month_day, decltype(year{2018}/month_day{February, day{2}})); in main() 132 ASSERT_NOEXCEPT ( month_day{February, day{2}}/year{2018}); in main() 133 ASSERT_SAME_TYPE(year_month_day, decltype(month_day{February, day{2}}/year{2018})); in main() 135 static_assert((year{2018}/month_day{February, day{2}}).month() == February, "" ); in main() 136 static_assert((year{2018}/month_day{February, day{2}}).day() == day{2}, "" ); in main() 137 static_assert((month_day{February, day{2}}/year{2018}).month() == February, "" ); in main() 138 static_assert((month_day{February, day{2}}/year{2018}).day() == day{2}, "" ); in main() 147 month_day md(m, d); in main() [all …]
|
D | month_day.pass.cpp | 44 using month_day = std::chrono::month_day; in main() typedef 52 ASSERT_SAME_TYPE(month_day, decltype(February/day{1})); in main() 54 ASSERT_SAME_TYPE(month_day, decltype(day{1}/February)); in main() 61 month_day md1 = m/d; in main() 62 month_day md2 = d/m; in main() 74 ASSERT_SAME_TYPE(month_day, decltype(February/2)); in main() 81 month_day md1 = m/j; in main() 90 ASSERT_SAME_TYPE(month_day, decltype(day{2}/2)); in main() 92 ASSERT_SAME_TYPE(month_day, decltype(2/day{2})); in main() 99 month_day md1 = d/i; in main() [all …]
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.md/ |
D | types.pass.cpp | 22 using month_day = std::chrono::month_day; in main() typedef 24 static_assert(std::is_trivially_copyable_v<month_day>, ""); in main() 25 static_assert(std::is_standard_layout_v<month_day>, ""); in main()
|
/external/llvm-project/libcxx/test/std/utilities/time/time.cal/time.cal.md/ |
D | types.pass.cpp | 21 using month_day = std::chrono::month_day; in main() typedef 23 static_assert(std::is_trivially_copyable_v<month_day>, ""); in main() 24 static_assert(std::is_standard_layout_v<month_day>, ""); in main()
|
/external/libcxx/include/ |
D | chrono | 394 // 25.8.9, class month_day // C++20 395 class month_day; 397 constexpr bool operator==(const month_day& x, const month_day& y) noexcept; 398 constexpr bool operator!=(const month_day& x, const month_day& y) noexcept; 399 constexpr bool operator< (const month_day& x, const month_day& y) noexcept; 400 constexpr bool operator> (const month_day& x, const month_day& y) noexcept; 401 constexpr bool operator<=(const month_day& x, const month_day& y) noexcept; 402 constexpr bool operator>=(const month_day& x, const month_day& y) noexcept; 539 constexpr month_day 541 constexpr month_day [all …]
|
/external/llvm-project/libcxx/include/ |
D | chrono | 393 // 25.8.9, class month_day // C++20 394 class month_day; 396 constexpr bool operator==(const month_day& x, const month_day& y) noexcept; 397 constexpr bool operator!=(const month_day& x, const month_day& y) noexcept; 398 constexpr bool operator< (const month_day& x, const month_day& y) noexcept; 399 constexpr bool operator> (const month_day& x, const month_day& y) noexcept; 400 constexpr bool operator<=(const month_day& x, const month_day& y) noexcept; 401 constexpr bool operator>=(const month_day& x, const month_day& y) noexcept; 538 constexpr month_day 540 constexpr month_day [all …]
|
/external/python/cpython3/Lib/zoneinfo/ |
D | _zoneinfo.py | 605 month_day = (self.d - (first_day + 1)) % 7 + 1 609 month_day += (self.w - 1) * 7 614 if month_day > days_in_month: 615 month_day -= 7 617 ordinal = self._ymd2ord(year, self.m, month_day)
|
/external/python/cpython3/Modules/ |
D | _zoneinfo.c | 1178 int8_t month_day = ((int8_t)(self->day) - (first_day + 1)) % 7; in calendarrule_year_to_timestamp() local 1179 if (month_day < 0) { in calendarrule_year_to_timestamp() 1180 month_day += 7; in calendarrule_year_to_timestamp() 1182 month_day += 1; in calendarrule_year_to_timestamp() 1186 month_day += ((int8_t)(self->week) - 1) * 7; in calendarrule_year_to_timestamp() 1191 if (month_day > days_in_month) { in calendarrule_year_to_timestamp() 1192 month_day -= 7; in calendarrule_year_to_timestamp() 1195 int64_t ordinal = ymd_to_ord(year, self->month, month_day) - EPOCHORDINAL; in calendarrule_year_to_timestamp()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | StdSymbolMap.inc | 1377 SYMBOL(month_day, std::chrono::, <chrono>)
|