/external/llvm-project/libcxx/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/ |
D | op.sys_days.pass.cpp | 42 static_assert(year_month_day{sys_days{year{2017}/January/0}} == year{2016}/December/31); in RunTheExample() 43 static_assert(year_month_day{sys_days{year{2017}/January/31}} == year{2017}/January/31); in RunTheExample() 44 static_assert(year_month_day{sys_days{year{2017}/January/32}} == year{2017}/February/1); in RunTheExample() 52 using sys_days = std::chrono::sys_days; in main() typedef 56 ASSERT_NOEXCEPT(sys_days(std::declval<year_month_day>())); in main() 61 constexpr sys_days sd{ymd}; in main() 69 constexpr sys_days sd{ymd}; in main() 79 constexpr sys_days sd{ymd}; in main() 87 sys_days sd{ymd}; in main() 100 constexpr sys_days sd{ymd}; in main() [all …]
|
D | ctor.sys_days.pass.cpp | 35 using sys_days = std::chrono::sys_days; in main() typedef 39 ASSERT_NOEXCEPT(year_month_day{std::declval<sys_days>()}); in main() 42 constexpr sys_days sd{}; in main() 52 constexpr sys_days sd{days{10957+32}}; in main() 65 constexpr sys_days sd{days{-10957}}; in main() 75 sys_days sd{days{-(10957+34)}}; in main()
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/ |
D | op.sys_days.pass.cpp | 43 static_assert(year_month_day{sys_days{year{2017}/January/0}} == year{2016}/December/31); in RunTheExample() 44 static_assert(year_month_day{sys_days{year{2017}/January/31}} == year{2017}/January/31); in RunTheExample() 45 static_assert(year_month_day{sys_days{year{2017}/January/32}} == year{2017}/February/1); in RunTheExample() 53 using sys_days = std::chrono::sys_days; in main() typedef 57 ASSERT_NOEXCEPT(sys_days(std::declval<year_month_day>())); in main() 62 constexpr sys_days sd{ymd}; in main() 70 constexpr sys_days sd{ymd}; in main() 80 constexpr sys_days sd{ymd}; in main() 88 sys_days sd{ymd}; in main()
|
D | ctor.sys_days.pass.cpp | 36 using sys_days = std::chrono::sys_days; in main() typedef 40 ASSERT_NOEXCEPT(year_month_day{std::declval<sys_days>()}); in main() 43 constexpr sys_days sd{}; in main() 53 constexpr sys_days sd{days{10957+32}}; in main() 66 constexpr sys_days sd{days{-10957}}; in main() 76 sys_days sd{days{-(10957+34)}}; in main()
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/ |
D | op_sys_days.pass.cpp | 28 using sys_days = std::chrono::sys_days; in main() typedef 31 …ASSERT_NOEXCEPT( static_cast<sys_days>(std::declval<const year_month_day_last>(… in main() 32 …ASSERT_SAME_TYPE(sys_days, decltype(static_cast<sys_days>(std::declval<const year_month_day_last>(… in main() 36 constexpr sys_days sd{ymdl}; in main() 43 constexpr sys_days sd{ymdl}; in main() 50 constexpr sys_days sd{ymdl}; in main() 57 sys_days sd{ymdl}; in main()
|
/external/llvm-project/libcxx/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/ |
D | op_sys_days.pass.cpp | 27 using sys_days = std::chrono::sys_days; in main() typedef 30 …ASSERT_NOEXCEPT( static_cast<sys_days>(std::declval<const year_month_day_last>(… in main() 31 …ASSERT_SAME_TYPE(sys_days, decltype(static_cast<sys_days>(std::declval<const year_month_day_last>(… in main() 35 constexpr sys_days sd{ymdl}; in main() 42 constexpr sys_days sd{ymdl}; in main() 49 constexpr sys_days sd{ymdl}; in main() 56 sys_days sd{ymdl}; in main()
|
/external/llvm-project/libcxx/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/ |
D | ctor.sys_days.pass.cpp | 35 using sys_days = std::chrono::sys_days; in main() typedef 39 ASSERT_NOEXCEPT(year_month_weekday{std::declval<const sys_days>()}); in main() 42 constexpr sys_days sd{}; // 1-Jan-1970 was a Thursday in main() 51 …static_assert( ymwd == year_month_weekday{sys_days{ymwd}}, ""); // round… in main() 55 constexpr sys_days sd{days{10957+32}}; // 2-Feb-2000 was a Wednesday in main() 64 …static_assert( ymwd == year_month_weekday{sys_days{ymwd}}, ""); // round… in main() 69 constexpr sys_days sd{days{-10957}}; // 2-Jan-1940 was a Tuesday in main() 78 …static_assert( ymwd == year_month_weekday{sys_days{ymwd}}, ""); // round… in main() 82 sys_days sd{days{-(10957+34)}}; // 29-Nov-1939 was a Wednesday in main() 91 assert( ymwd == year_month_weekday{sys_days{ymwd}}); // round trip in main()
|
D | op.sys_days.pass.cpp | 33 using sys_days = std::chrono::sys_days; in main() typedef 37 ASSERT_NOEXCEPT(sys_days(std::declval<year_month_weekday>())); in main() 41 constexpr sys_days sd{ymwd}; in main() 49 constexpr sys_days sd{ymwd}; in main() 59 constexpr sys_days sd{ymwd}; in main() 67 sys_days sd{ymwd}; in main()
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/ |
D | ctor.sys_days.pass.cpp | 36 using sys_days = std::chrono::sys_days; in main() typedef 40 ASSERT_NOEXCEPT(year_month_weekday{std::declval<const sys_days>()}); in main() 43 constexpr sys_days sd{}; // 1-Jan-1970 was a Thursday in main() 52 …static_assert( ymwd == year_month_weekday{sys_days{ymwd}}, ""); // round… in main() 56 constexpr sys_days sd{days{10957+32}}; // 2-Feb-2000 was a Wednesday in main() 65 …static_assert( ymwd == year_month_weekday{sys_days{ymwd}}, ""); // round… in main() 70 constexpr sys_days sd{days{-10957}}; // 2-Jan-1940 was a Tuesday in main() 79 …static_assert( ymwd == year_month_weekday{sys_days{ymwd}}, ""); // round… in main() 83 sys_days sd{days{-(10957+34)}}; // 29-Nov-1939 was a Wednesday in main() 92 assert( ymwd == year_month_weekday{sys_days{ymwd}}); // round trip in main()
|
D | op.sys_days.pass.cpp | 34 using sys_days = std::chrono::sys_days; in main() typedef 38 ASSERT_NOEXCEPT(sys_days(std::declval<year_month_weekday>())); in main() 42 constexpr sys_days sd{ymwd}; in main() 50 constexpr sys_days sd{ymwd}; in main() 60 constexpr sys_days sd{ymwd}; in main() 68 sys_days sd{ymwd}; in main()
|
/external/llvm-project/libcxx/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/ |
D | op_sys_days.pass.cpp | 29 using sys_days = std::chrono::sys_days; in main() typedef 34 …ASSERT_NOEXCEPT( static_cast<sys_days>(std::declval<const year_month_weekday_la… in main() 35 …ASSERT_SAME_TYPE(sys_days, decltype(static_cast<sys_days>(std::declval<const year_month_weekday_la… in main() 42 constexpr sys_days sd{ymwdl}; in main() 49 constexpr sys_days sd{ymwdl}; in main() 56 constexpr sys_days sd{ymwdl}; in main() 63 sys_days sd{ymdl}; in main()
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/ |
D | op_sys_days.pass.cpp | 31 using sys_days = std::chrono::sys_days; in main() typedef 36 …ASSERT_NOEXCEPT( static_cast<sys_days>(std::declval<const year_month_weekday_la… in main() 37 …ASSERT_SAME_TYPE(sys_days, decltype(static_cast<sys_days>(std::declval<const year_month_weekday_la… in main() 44 constexpr sys_days sd{ymwdl}; in main() 51 constexpr sys_days sd{ymwdl}; in main() 58 constexpr sys_days sd{ymwdl}; in main() 65 sys_days sd{ymdl}; in main()
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/ |
D | ctor.sys_days.pass.cpp | 35 using sys_days = std::chrono::sys_days; in main() typedef 39 ASSERT_NOEXCEPT(weekday{std::declval<sys_days>()}); in main() 42 constexpr sys_days sd{}; // 1-Jan-1970 was a Thursday in main() 50 constexpr sys_days sd{days{10957+32}}; // 2-Feb-2000 was a Wednesday in main() 59 constexpr sys_days sd{days{-10957}}; // 2-Jan-1940 was a Tuesday in main() 67 sys_days sd{days{-(10957+34)}}; // 29-Nov-1939 was a Wednesday in main()
|
/external/llvm-project/libcxx/test/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/ |
D | ctor.sys_days.pass.cpp | 34 using sys_days = std::chrono::sys_days; in main() typedef 38 ASSERT_NOEXCEPT(weekday{std::declval<sys_days>()}); in main() 41 constexpr sys_days sd{}; // 1-Jan-1970 was a Thursday in main() 49 constexpr sys_days sd{days{10957+32}}; // 2-Feb-2000 was a Wednesday in main() 58 constexpr sys_days sd{days{-10957}}; // 2-Jan-1940 was a Tuesday in main() 66 sys_days sd{days{-(10957+34)}}; // 29-Nov-1939 was a Wednesday in main()
|
/external/libcxx/test/std/utilities/time/time.clock/time.clock.system/ |
D | sys.time.types.pass.cpp | 40 using sys_days = std::chrono::sys_days; in main() typedef 45 ASSERT_SAME_TYPE(std::chrono::sys_time<days>, sys_days); in main() 50 ASSERT_SAME_TYPE(std::chrono::time_point<system_clock, days>, sys_days); in main() 53 sys_days d0 = sys_days{year{1970}/January/1}; in main() 54 sys_days d1 = sys_days{year{2000}/January/1}; in main()
|
/external/llvm-project/libcxx/test/std/utilities/time/time.clock/time.clock.system/ |
D | sys.time.types.pass.cpp | 39 using sys_days = std::chrono::sys_days; in main() typedef 44 ASSERT_SAME_TYPE(std::chrono::sys_time<days>, sys_days); in main() 49 ASSERT_SAME_TYPE(std::chrono::time_point<system_clock, days>, sys_days); in main() 52 sys_days d0 = sys_days{year{1970}/January/1}; in main() 53 sys_days d1 = sys_days{year{2000}/January/1}; in main()
|
/external/llvm-project/libcxx/include/ |
D | chrono | 282 using sys_days = sys_time<days>; // C++20 1615 using sys_days = sys_time<days>; 1845 inline constexpr weekday(const sys_days& __sysd) noexcept 2283 inline constexpr year_month_day(const sys_days& __sysd) noexcept 2296 … inline constexpr operator sys_days() const noexcept { return sys_days{__to_days()}; } 2443 …inline constexpr operator sys_days() const noexcept { return sys_days{year()… 2553 constexpr year_month_weekday(const sys_days& __sysd) noexcept 2568 …inline constexpr operator sys_days() const noexcept { return sys_days{__to… 2576 chrono::weekday{static_cast<sys_days>(__y / __m / 1)} + 2589 const sys_days __sysd{__d}; [all …]
|
/external/libcxx/include/ |
D | chrono | 283 using sys_days = sys_time<days>; // C++20 1599 using sys_days = sys_time<days>; 1829 inline constexpr weekday(const sys_days& __sysd) noexcept 2265 inline constexpr year_month_day(const sys_days& __sysd) noexcept 2278 … inline constexpr operator sys_days() const noexcept { return sys_days{__to_days()}; } 2425 …inline constexpr operator sys_days() const noexcept { return sys_days{year()… 2535 constexpr year_month_weekday(const sys_days& __sysd) noexcept 2550 …inline constexpr operator sys_days() const noexcept { return sys_days{__to… 2566 const sys_days __sysd{__d}; 2576 const sys_days __sysd = sys_days(__y/__m/1); [all …]
|
/external/llvm-project/libcxx/docs/ |
D | Cxx2aStatusIssuesStatus.csv | 159 "`3206 <https://wg21.link/LWG3206>`__","``year_month_day``\ conversion to ``sys_days``\ uses not-…
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | StdSymbolMap.inc | 1386 SYMBOL(sys_days, std::chrono::, <chrono>)
|