/external/libcxx/test/std/utilities/time/time.cal/time.cal.day/time.cal.day.members/ |
D | plus_minus_equal.pass.cpp | 23 template <typename D, typename Ds> 27 if (static_cast<unsigned>(d1 += Ds{ 1}) != 2) return false; in testConstexpr() 28 if (static_cast<unsigned>(d1 += Ds{ 2}) != 4) return false; in testConstexpr() 29 if (static_cast<unsigned>(d1 += Ds{22}) != 26) return false; in testConstexpr() 30 if (static_cast<unsigned>(d1 -= Ds{ 1}) != 25) return false; in testConstexpr() 31 if (static_cast<unsigned>(d1 -= Ds{ 2}) != 23) return false; in testConstexpr() 32 if (static_cast<unsigned>(d1 -= Ds{22}) != 1) return false; in testConstexpr()
|
/external/llvm-project/libcxx/test/std/utilities/time/time.cal/time.cal.day/time.cal.day.members/ |
D | plus_minus_equal.pass.cpp | 22 template <typename D, typename Ds> 26 if (static_cast<unsigned>(d1 += Ds{ 1}) != 2) return false; in testConstexpr() 27 if (static_cast<unsigned>(d1 += Ds{ 2}) != 4) return false; in testConstexpr() 28 if (static_cast<unsigned>(d1 += Ds{22}) != 26) return false; in testConstexpr() 29 if (static_cast<unsigned>(d1 -= Ds{ 1}) != 25) return false; in testConstexpr() 30 if (static_cast<unsigned>(d1 -= Ds{ 2}) != 23) return false; in testConstexpr() 31 if (static_cast<unsigned>(d1 -= Ds{22}) != 1) return false; in testConstexpr()
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.members/ |
D | plus_minus_equal_month.pass.cpp | 23 template <typename D, typename Ds> 27 if (static_cast<unsigned>((d1 += Ds{ 1}).month()) != 2) return false; in testConstexpr() 28 if (static_cast<unsigned>((d1 += Ds{ 2}).month()) != 4) return false; in testConstexpr() 29 if (static_cast<unsigned>((d1 += Ds{12}).month()) != 4) return false; in testConstexpr() 30 if (static_cast<unsigned>((d1 -= Ds{ 1}).month()) != 3) return false; in testConstexpr() 31 if (static_cast<unsigned>((d1 -= Ds{ 2}).month()) != 1) return false; in testConstexpr() 32 if (static_cast<unsigned>((d1 -= Ds{12}).month()) != 1) return false; in testConstexpr()
|
D | plus_minus_equal_year.pass.cpp | 23 template <typename D, typename Ds> 27 if (static_cast<int>((d1 += Ds{ 1}).year()) != 2) return false; in testConstexpr() 28 if (static_cast<int>((d1 += Ds{ 2}).year()) != 4) return false; in testConstexpr() 29 if (static_cast<int>((d1 += Ds{12}).year()) != 16) return false; in testConstexpr() 30 if (static_cast<int>((d1 -= Ds{ 1}).year()) != 15) return false; in testConstexpr() 31 if (static_cast<int>((d1 -= Ds{ 2}).year()) != 13) return false; in testConstexpr() 32 if (static_cast<int>((d1 -= Ds{12}).year()) != 1) return false; in testConstexpr()
|
/external/llvm-project/libcxx/test/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.members/ |
D | plus_minus_equal_year.pass.cpp | 22 template <typename D, typename Ds> 26 if (static_cast<int>((d1 += Ds{ 1}).year()) != 2) return false; in testConstexpr() 27 if (static_cast<int>((d1 += Ds{ 2}).year()) != 4) return false; in testConstexpr() 28 if (static_cast<int>((d1 += Ds{12}).year()) != 16) return false; in testConstexpr() 29 if (static_cast<int>((d1 -= Ds{ 1}).year()) != 15) return false; in testConstexpr() 30 if (static_cast<int>((d1 -= Ds{ 2}).year()) != 13) return false; in testConstexpr() 31 if (static_cast<int>((d1 -= Ds{12}).year()) != 1) return false; in testConstexpr()
|
D | plus_minus_equal_month.pass.cpp | 22 template <typename D, typename Ds> 26 if (static_cast<unsigned>((d1 += Ds{ 1}).month()) != 2) return false; in testConstexpr() 27 if (static_cast<unsigned>((d1 += Ds{ 2}).month()) != 4) return false; in testConstexpr() 28 if (static_cast<unsigned>((d1 += Ds{12}).month()) != 4) return false; in testConstexpr() 29 if (static_cast<unsigned>((d1 -= Ds{ 1}).month()) != 3) return false; in testConstexpr() 30 if (static_cast<unsigned>((d1 -= Ds{ 2}).month()) != 1) return false; in testConstexpr() 31 if (static_cast<unsigned>((d1 -= Ds{12}).month()) != 1) return false; in testConstexpr()
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/ |
D | plus_minus_equal_year.pass.cpp | 23 template <typename D, typename Ds> 27 if (static_cast<int>((d1 += Ds{ 1}).year()) != 2) return false; in testConstexpr() 28 if (static_cast<int>((d1 += Ds{ 2}).year()) != 4) return false; in testConstexpr() 29 if (static_cast<int>((d1 += Ds{12}).year()) != 16) return false; in testConstexpr() 30 if (static_cast<int>((d1 -= Ds{ 1}).year()) != 15) return false; in testConstexpr() 31 if (static_cast<int>((d1 -= Ds{ 2}).year()) != 13) return false; in testConstexpr() 32 if (static_cast<int>((d1 -= Ds{12}).year()) != 1) return false; in testConstexpr()
|
D | plus_minus_equal_month.pass.cpp | 23 template <typename D, typename Ds> 27 if (static_cast<unsigned>((d1 += Ds{ 1}).month()) != 2) return false; in testConstexpr() 28 if (static_cast<unsigned>((d1 += Ds{ 2}).month()) != 4) return false; in testConstexpr() 29 if (static_cast<unsigned>((d1 += Ds{12}).month()) != 4) return false; in testConstexpr() 30 if (static_cast<unsigned>((d1 -= Ds{ 1}).month()) != 3) return false; in testConstexpr() 31 if (static_cast<unsigned>((d1 -= Ds{ 2}).month()) != 1) return false; in testConstexpr() 32 if (static_cast<unsigned>((d1 -= Ds{12}).month()) != 1) return false; in testConstexpr()
|
/external/llvm-project/libcxx/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/ |
D | plus_minus_equal_year.pass.cpp | 22 template <typename D, typename Ds> 26 if (static_cast<int>((d1 += Ds{ 1}).year()) != 2) return false; in testConstexpr() 27 if (static_cast<int>((d1 += Ds{ 2}).year()) != 4) return false; in testConstexpr() 28 if (static_cast<int>((d1 += Ds{12}).year()) != 16) return false; in testConstexpr() 29 if (static_cast<int>((d1 -= Ds{ 1}).year()) != 15) return false; in testConstexpr() 30 if (static_cast<int>((d1 -= Ds{ 2}).year()) != 13) return false; in testConstexpr() 31 if (static_cast<int>((d1 -= Ds{12}).year()) != 1) return false; in testConstexpr()
|
D | plus_minus_equal_month.pass.cpp | 22 template <typename D, typename Ds> 26 if (static_cast<unsigned>((d1 += Ds{ 1}).month()) != 2) return false; in testConstexpr() 27 if (static_cast<unsigned>((d1 += Ds{ 2}).month()) != 4) return false; in testConstexpr() 28 if (static_cast<unsigned>((d1 += Ds{12}).month()) != 4) return false; in testConstexpr() 29 if (static_cast<unsigned>((d1 -= Ds{ 1}).month()) != 3) return false; in testConstexpr() 30 if (static_cast<unsigned>((d1 -= Ds{ 2}).month()) != 1) return false; in testConstexpr() 31 if (static_cast<unsigned>((d1 -= Ds{12}).month()) != 1) return false; in testConstexpr()
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/ |
D | plus_minus_equal_year.pass.cpp | 23 template <typename D, typename Ds> 27 if (static_cast<int>((d1 += Ds{ 1}).year()) != 2) return false; in testConstexpr() 28 if (static_cast<int>((d1 += Ds{ 2}).year()) != 4) return false; in testConstexpr() 29 if (static_cast<int>((d1 += Ds{12}).year()) != 16) return false; in testConstexpr() 30 if (static_cast<int>((d1 -= Ds{ 1}).year()) != 15) return false; in testConstexpr() 31 if (static_cast<int>((d1 -= Ds{ 2}).year()) != 13) return false; in testConstexpr() 32 if (static_cast<int>((d1 -= Ds{12}).year()) != 1) return false; in testConstexpr()
|
D | plus_minus_equal_month.pass.cpp | 23 template <typename D, typename Ds> 27 if (static_cast<unsigned>((d1 += Ds{ 1}).month()) != 2) return false; in testConstexpr() 28 if (static_cast<unsigned>((d1 += Ds{ 2}).month()) != 4) return false; in testConstexpr() 29 if (static_cast<unsigned>((d1 += Ds{12}).month()) != 4) return false; in testConstexpr() 30 if (static_cast<unsigned>((d1 -= Ds{ 1}).month()) != 3) return false; in testConstexpr() 31 if (static_cast<unsigned>((d1 -= Ds{ 2}).month()) != 1) return false; in testConstexpr() 32 if (static_cast<unsigned>((d1 -= Ds{12}).month()) != 1) return false; in testConstexpr()
|
/external/llvm-project/libcxx/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/ |
D | plus_minus_equal_year.pass.cpp | 22 template <typename D, typename Ds> 26 if (static_cast<int>((d1 += Ds{ 1}).year()) != 2) return false; in testConstexpr() 27 if (static_cast<int>((d1 += Ds{ 2}).year()) != 4) return false; in testConstexpr() 28 if (static_cast<int>((d1 += Ds{12}).year()) != 16) return false; in testConstexpr() 29 if (static_cast<int>((d1 -= Ds{ 1}).year()) != 15) return false; in testConstexpr() 30 if (static_cast<int>((d1 -= Ds{ 2}).year()) != 13) return false; in testConstexpr() 31 if (static_cast<int>((d1 -= Ds{12}).year()) != 1) return false; in testConstexpr()
|
D | plus_minus_equal_month.pass.cpp | 22 template <typename D, typename Ds> 26 if (static_cast<unsigned>((d1 += Ds{ 1}).month()) != 2) return false; in testConstexpr() 27 if (static_cast<unsigned>((d1 += Ds{ 2}).month()) != 4) return false; in testConstexpr() 28 if (static_cast<unsigned>((d1 += Ds{12}).month()) != 4) return false; in testConstexpr() 29 if (static_cast<unsigned>((d1 -= Ds{ 1}).month()) != 3) return false; in testConstexpr() 30 if (static_cast<unsigned>((d1 -= Ds{ 2}).month()) != 1) return false; in testConstexpr() 31 if (static_cast<unsigned>((d1 -= Ds{12}).month()) != 1) return false; in testConstexpr()
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/ |
D | plus_minus_equal_month.pass.cpp | 23 template <typename D, typename Ds> 27 if (static_cast<unsigned>((d1 += Ds{ 1}).month()) != 2) return false; in testConstexpr() 28 if (static_cast<unsigned>((d1 += Ds{ 2}).month()) != 4) return false; in testConstexpr() 29 if (static_cast<unsigned>((d1 += Ds{12}).month()) != 4) return false; in testConstexpr() 30 if (static_cast<unsigned>((d1 -= Ds{ 1}).month()) != 3) return false; in testConstexpr() 31 if (static_cast<unsigned>((d1 -= Ds{ 2}).month()) != 1) return false; in testConstexpr() 32 if (static_cast<unsigned>((d1 -= Ds{12}).month()) != 1) return false; in testConstexpr()
|
D | plus_minus_equal_year.pass.cpp | 23 template <typename D, typename Ds> 27 if (static_cast<int>((d1 += Ds{ 1}).year()) != 2) return false; in testConstexpr() 28 if (static_cast<int>((d1 += Ds{ 2}).year()) != 4) return false; in testConstexpr() 29 if (static_cast<int>((d1 += Ds{12}).year()) != 16) return false; in testConstexpr() 30 if (static_cast<int>((d1 -= Ds{ 1}).year()) != 15) return false; in testConstexpr() 31 if (static_cast<int>((d1 -= Ds{ 2}).year()) != 13) return false; in testConstexpr() 32 if (static_cast<int>((d1 -= Ds{12}).year()) != 1) return false; in testConstexpr()
|
/external/llvm-project/libcxx/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/ |
D | plus_minus_equal_year.pass.cpp | 22 template <typename D, typename Ds> 26 if (static_cast<int>((d1 += Ds{ 1}).year()) != 2) return false; in testConstexpr() 27 if (static_cast<int>((d1 += Ds{ 2}).year()) != 4) return false; in testConstexpr() 28 if (static_cast<int>((d1 += Ds{12}).year()) != 16) return false; in testConstexpr() 29 if (static_cast<int>((d1 -= Ds{ 1}).year()) != 15) return false; in testConstexpr() 30 if (static_cast<int>((d1 -= Ds{ 2}).year()) != 13) return false; in testConstexpr() 31 if (static_cast<int>((d1 -= Ds{12}).year()) != 1) return false; in testConstexpr()
|
D | plus_minus_equal_month.pass.cpp | 22 template <typename D, typename Ds> 26 if (static_cast<unsigned>((d1 += Ds{ 1}).month()) != 2) return false; in testConstexpr() 27 if (static_cast<unsigned>((d1 += Ds{ 2}).month()) != 4) return false; in testConstexpr() 28 if (static_cast<unsigned>((d1 += Ds{12}).month()) != 4) return false; in testConstexpr() 29 if (static_cast<unsigned>((d1 -= Ds{ 1}).month()) != 3) return false; in testConstexpr() 30 if (static_cast<unsigned>((d1 -= Ds{ 2}).month()) != 1) return false; in testConstexpr() 31 if (static_cast<unsigned>((d1 -= Ds{12}).month()) != 1) return false; in testConstexpr()
|
/external/llvm-project/libcxx/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/ |
D | plus_minus_equal_year.pass.cpp | 22 template <typename D, typename Ds> 26 if (static_cast<int>((d1 += Ds{ 1}).year()) != 2) return false; in testConstexpr() 27 if (static_cast<int>((d1 += Ds{ 2}).year()) != 4) return false; in testConstexpr() 28 if (static_cast<int>((d1 += Ds{12}).year()) != 16) return false; in testConstexpr() 29 if (static_cast<int>((d1 -= Ds{ 1}).year()) != 15) return false; in testConstexpr() 30 if (static_cast<int>((d1 -= Ds{ 2}).year()) != 13) return false; in testConstexpr() 31 if (static_cast<int>((d1 -= Ds{12}).year()) != 1) return false; in testConstexpr()
|
D | plus_minus_equal_month.pass.cpp | 22 template <typename D, typename Ds> 26 if (static_cast<unsigned>((d1 += Ds{ 1}).month()) != 2) return false; in testConstexpr() 27 if (static_cast<unsigned>((d1 += Ds{ 2}).month()) != 4) return false; in testConstexpr() 28 if (static_cast<unsigned>((d1 += Ds{12}).month()) != 4) return false; in testConstexpr() 29 if (static_cast<unsigned>((d1 -= Ds{ 1}).month()) != 3) return false; in testConstexpr() 30 if (static_cast<unsigned>((d1 -= Ds{ 2}).month()) != 1) return false; in testConstexpr() 31 if (static_cast<unsigned>((d1 -= Ds{12}).month()) != 1) return false; in testConstexpr()
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/ |
D | plus_minus_equal_month.pass.cpp | 23 template <typename D, typename Ds> 27 if (static_cast<unsigned>((d1 += Ds{ 1}).month()) != 2) return false; in testConstexpr() 28 if (static_cast<unsigned>((d1 += Ds{ 2}).month()) != 4) return false; in testConstexpr() 29 if (static_cast<unsigned>((d1 += Ds{12}).month()) != 4) return false; in testConstexpr() 30 if (static_cast<unsigned>((d1 -= Ds{ 1}).month()) != 3) return false; in testConstexpr() 31 if (static_cast<unsigned>((d1 -= Ds{ 2}).month()) != 1) return false; in testConstexpr() 32 if (static_cast<unsigned>((d1 -= Ds{12}).month()) != 1) return false; in testConstexpr()
|
D | plus_minus_equal_year.pass.cpp | 23 template <typename D, typename Ds> 27 if (static_cast<int>((d1 += Ds{ 1}).year()) != 2) return false; in testConstexpr() 28 if (static_cast<int>((d1 += Ds{ 2}).year()) != 4) return false; in testConstexpr() 29 if (static_cast<int>((d1 += Ds{12}).year()) != 16) return false; in testConstexpr() 30 if (static_cast<int>((d1 -= Ds{ 1}).year()) != 15) return false; in testConstexpr() 31 if (static_cast<int>((d1 -= Ds{ 2}).year()) != 13) return false; in testConstexpr() 32 if (static_cast<int>((d1 -= Ds{12}).year()) != 1) return false; in testConstexpr()
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.nonmembers/ |
D | minus.pass.cpp | 33 template <typename WD, typename Ds> 38 Ds offset{3}; in testConstexpr() 44 if (WD{0} - WD{1} != Ds{6}) return false; in testConstexpr()
|
/external/llvm-project/libcxx/test/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.nonmembers/ |
D | minus.pass.cpp | 32 template <typename WD, typename Ds> 37 Ds offset{3}; in testConstexpr() 43 if (WD{0} - WD{1} != Ds{6}) return false; in testConstexpr()
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.day/time.cal.day.nonmembers/ |
D | minus.pass.cpp | 27 template <typename D, typename Ds> 31 Ds offset{6}; in testConstexpr()
|