Home
last modified time | relevance | path

Searched refs:sys_days (Results 1 – 20 of 20) sorted by relevance

/external/llvm-project/libcxx/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/
Dop.sys_days.pass.cpp42 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 …]
Dctor.sys_days.pass.cpp35 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/
Dop.sys_days.pass.cpp43 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()
Dctor.sys_days.pass.cpp36 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/
Dop_sys_days.pass.cpp28 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/
Dop_sys_days.pass.cpp27 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/
Dctor.sys_days.pass.cpp35 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()
Dop.sys_days.pass.cpp33 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/
Dctor.sys_days.pass.cpp36 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()
Dop.sys_days.pass.cpp34 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/
Dop_sys_days.pass.cpp29 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/
Dop_sys_days.pass.cpp31 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/
Dctor.sys_days.pass.cpp35 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/
Dctor.sys_days.pass.cpp34 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/
Dsys.time.types.pass.cpp40 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/
Dsys.time.types.pass.cpp39 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/
Dchrono282 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/
Dchrono283 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/
DCxx2aStatusIssuesStatus.csv159 "`3206 <https://wg21.link/LWG3206>`__","``year_month_day``\ conversion to ``sys_days``\ uses not-…
/external/llvm-project/clang-tools-extra/clangd/
DStdSymbolMap.inc1386 SYMBOL(sys_days, std::chrono::, <chrono>)