/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/ratio/ratio.comparison/ |
D | ratio_less.pass.cpp | 17 typedef std::ratio<1, 1> R1; in main() 18 typedef std::ratio<1, 1> R2; in main() 22 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; in main() 23 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R2; in main() 27 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1; in main() 28 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R2; in main() 32 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R1; in main() 33 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R2; in main() 37 typedef std::ratio<1, 1> R1; in main() 38 typedef std::ratio<1, -1> R2; in main() [all …]
|
D | ratio_greater_equal.pass.cpp | 17 typedef std::ratio<1, 1> R1; in main() 18 typedef std::ratio<1, 1> R2; in main() 22 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; in main() 23 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R2; in main() 27 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1; in main() 28 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R2; in main() 32 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R1; in main() 33 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R2; in main() 37 typedef std::ratio<1, 1> R1; in main() 38 typedef std::ratio<1, -1> R2; in main() [all …]
|
D | ratio_greater.pass.cpp | 17 typedef std::ratio<1, 1> R1; in main() 18 typedef std::ratio<1, 1> R2; in main() 22 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; in main() 23 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R2; in main() 27 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1; in main() 28 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R2; in main() 32 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R1; in main() 33 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R2; in main() 37 typedef std::ratio<1, 1> R1; in main() 38 typedef std::ratio<1, -1> R2; in main() [all …]
|
D | ratio_not_equal.pass.cpp | 17 typedef std::ratio<1, 1> R1; in main() 18 typedef std::ratio<1, 1> R2; in main() 22 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; in main() 23 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R2; in main() 27 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1; in main() 28 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R2; in main() 32 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R1; in main() 33 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R2; in main() 37 typedef std::ratio<1, 1> R1; in main() 38 typedef std::ratio<1, -1> R2; in main() [all …]
|
D | ratio_equal.pass.cpp | 17 typedef std::ratio<1, 1> R1; in main() 18 typedef std::ratio<1, 1> R2; in main() 22 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; in main() 23 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R2; in main() 27 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1; in main() 28 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R2; in main() 32 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R1; in main() 33 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R2; in main() 37 typedef std::ratio<1, 1> R1; in main() 38 typedef std::ratio<1, -1> R2; in main() [all …]
|
D | ratio_less_equal.pass.cpp | 17 typedef std::ratio<1, 1> R1; in main() 18 typedef std::ratio<1, 1> R2; in main() 22 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; in main() 23 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R2; in main() 27 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1; in main() 28 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R2; in main() 32 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R1; in main() 33 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R2; in main() 37 typedef std::ratio<1, 1> R1; in main() 38 typedef std::ratio<1, -1> R2; in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/ratio/ratio.arithmetic/ |
D | ratio_add.pass.cpp | 17 typedef std::ratio<1, 1> R1; in main() 18 typedef std::ratio<1, 1> R2; in main() 23 typedef std::ratio<1, 2> R1; in main() 24 typedef std::ratio<1, 1> R2; in main() 29 typedef std::ratio<-1, 2> R1; in main() 30 typedef std::ratio<1, 1> R2; in main() 35 typedef std::ratio<1, -2> R1; in main() 36 typedef std::ratio<1, 1> R2; in main() 41 typedef std::ratio<1, 2> R1; in main() 42 typedef std::ratio<-1, 1> R2; in main() [all …]
|
D | ratio_subtract.pass.cpp | 17 typedef std::ratio<1, 1> R1; in main() 18 typedef std::ratio<1, 1> R2; in main() 23 typedef std::ratio<1, 2> R1; in main() 24 typedef std::ratio<1, 1> R2; in main() 29 typedef std::ratio<-1, 2> R1; in main() 30 typedef std::ratio<1, 1> R2; in main() 35 typedef std::ratio<1, -2> R1; in main() 36 typedef std::ratio<1, 1> R2; in main() 41 typedef std::ratio<1, 2> R1; in main() 42 typedef std::ratio<-1, 1> R2; in main() [all …]
|
D | ratio_multiply.pass.cpp | 17 typedef std::ratio<1, 1> R1; in main() 18 typedef std::ratio<1, 1> R2; in main() 23 typedef std::ratio<1, 2> R1; in main() 24 typedef std::ratio<1, 1> R2; in main() 29 typedef std::ratio<-1, 2> R1; in main() 30 typedef std::ratio<1, 1> R2; in main() 35 typedef std::ratio<1, -2> R1; in main() 36 typedef std::ratio<1, 1> R2; in main() 41 typedef std::ratio<1, 2> R1; in main() 42 typedef std::ratio<-1, 1> R2; in main() [all …]
|
D | ratio_divide.pass.cpp | 17 typedef std::ratio<1, 1> R1; in main() 18 typedef std::ratio<1, 1> R2; in main() 23 typedef std::ratio<1, 2> R1; in main() 24 typedef std::ratio<1, 1> R2; in main() 29 typedef std::ratio<-1, 2> R1; in main() 30 typedef std::ratio<1, 1> R2; in main() 35 typedef std::ratio<1, -2> R1; in main() 36 typedef std::ratio<1, 1> R2; in main() 41 typedef std::ratio<1, 2> R1; in main() 42 typedef std::ratio<-1, 1> R2; in main() [all …]
|
D | ratio_subtract.fail.cpp | 16 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1; in main() 17 typedef std::ratio<1, 1> R2; in main()
|
D | ratio_multiply.fail.cpp | 16 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; in main() 17 typedef std::ratio<2, 1> R2; in main()
|
D | ratio_divide.fail.cpp | 16 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; in main() 17 typedef std::ratio<1, 2> R2; in main()
|
D | ratio_add.fail.cpp | 16 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; in main() 17 typedef std::ratio<1, 1> R2; in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.traits/time.traits.specializations/ |
D | duration.pass.cpp | 30 test<std::chrono::duration<int, std::ratio<1, 100> >, in main() 31 std::chrono::duration<long, std::ratio<1, 1000> >, in main() 32 std::chrono::duration<long, std::ratio<1, 1000> > >(); in main() 33 test<std::chrono::duration<long, std::ratio<1, 100> >, in main() 34 std::chrono::duration<int, std::ratio<1, 1000> >, in main() 35 std::chrono::duration<long, std::ratio<1, 1000> > >(); in main() 36 test<std::chrono::duration<char, std::ratio<1, 30> >, in main() 37 std::chrono::duration<short, std::ratio<1, 1000> >, in main() 38 std::chrono::duration<int, std::ratio<1, 3000> > >(); in main() 39 test<std::chrono::duration<double, std::ratio<21, 1> >, in main() [all …]
|
D | time_point.pass.cpp | 34 test<std::chrono::duration<int, std::ratio<1, 100> >, in main() 35 std::chrono::duration<long, std::ratio<1, 1000> >, in main() 36 std::chrono::duration<long, std::ratio<1, 1000> > >(); in main() 37 test<std::chrono::duration<long, std::ratio<1, 100> >, in main() 38 std::chrono::duration<int, std::ratio<1, 1000> >, in main() 39 std::chrono::duration<long, std::ratio<1, 1000> > >(); in main() 40 test<std::chrono::duration<char, std::ratio<1, 30> >, in main() 41 std::chrono::duration<short, std::ratio<1, 1000> >, in main() 42 std::chrono::duration<int, std::ratio<1, 3000> > >(); in main() 43 test<std::chrono::duration<double, std::ratio<21, 1> >, in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.nonmember/ |
D | op_+.pass.cpp | 36 std::chrono::duration<int, std::ratio<2, 3> > s1(3); in main() 37 std::chrono::duration<int, std::ratio<3, 5> > s2(5); in main() 38 std::chrono::duration<int, std::ratio<1, 15> > r = s1 + s2; in main() 42 std::chrono::duration<int, std::ratio<2, 3> > s1(3); in main() 43 std::chrono::duration<double, std::ratio<3, 5> > s2(5); in main() 44 std::chrono::duration<double, std::ratio<1, 15> > r = s1 + s2; in main() 61 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(3); in main() 62 constexpr std::chrono::duration<int, std::ratio<3, 5> > s2(5); in main() 63 constexpr std::chrono::duration<int, std::ratio<1, 15> > r = s1 + s2; in main() 67 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(3); in main() [all …]
|
D | op_-.pass.cpp | 37 std::chrono::duration<int, std::ratio<2, 3> > s1(3); in main() 38 std::chrono::duration<int, std::ratio<3, 5> > s2(5); in main() 39 std::chrono::duration<int, std::ratio<1, 15> > r = s1 - s2; in main() 43 std::chrono::duration<int, std::ratio<2, 3> > s1(3); in main() 44 std::chrono::duration<double, std::ratio<3, 5> > s2(5); in main() 45 std::chrono::duration<double, std::ratio<1, 15> > r = s1 - s2; in main() 62 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(3); in main() 63 constexpr std::chrono::duration<int, std::ratio<3, 5> > s2(5); in main() 64 constexpr std::chrono::duration<int, std::ratio<1, 15> > r = s1 - s2; in main() 68 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(3); in main() [all …]
|
D | op_divide_duration.pass.cpp | 35 std::chrono::duration<int, std::ratio<2, 3> > s1(30); in main() 36 std::chrono::duration<int, std::ratio<3, 5> > s2(5); in main() 40 std::chrono::duration<int, std::ratio<2, 3> > s1(30); in main() 41 std::chrono::duration<double, std::ratio<3, 5> > s2(5); in main() 56 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(30); in main() 57 constexpr std::chrono::duration<int, std::ratio<3, 5> > s2(5); in main() 61 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(30); in main() 62 constexpr std::chrono::duration<double, std::ratio<3, 5> > s2(5); in main()
|
D | op_mod_duration.pass.cpp | 37 std::chrono::duration<int, std::ratio<3, 5> > s1(6); in main() 38 std::chrono::duration<int, std::ratio<2, 3> > s2(3); in main() 39 std::chrono::duration<int, std::ratio<1, 15> > r = s1 % s2; in main() 56 constexpr std::chrono::duration<int, std::ratio<3, 5> > s1(6); in main() 57 constexpr std::chrono::duration<int, std::ratio<2, 3> > s2(3); in main() 58 constexpr std::chrono::duration<int, std::ratio<1, 15> > r = s1 % s2; in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ |
D | ratio | 2 //===---------------------------- ratio -----------------------------------===// 15 ratio synopsis 21 class ratio 26 typedef ratio<num, den> type; 29 // ratio arithmetic 35 // ratio comparison 44 typedef ratio<1, 1000000000000000000000000> yocto; // not supported 45 typedef ratio<1, 1000000000000000000000> zepto; // not supported 46 typedef ratio<1, 1000000000000000000> atto; 47 typedef ratio<1, 1000000000000000> femto; [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.comparisons/ |
D | op_equal.pass.cpp | 54 std::chrono::duration<int, std::ratio<2, 3> > s1(9); in main() 55 std::chrono::duration<int, std::ratio<3, 5> > s2(10); in main() 60 std::chrono::duration<int, std::ratio<2, 3> > s1(10); in main() 61 std::chrono::duration<int, std::ratio<3, 5> > s2(9); in main() 66 std::chrono::duration<int, std::ratio<2, 3> > s1(9); in main() 67 std::chrono::duration<double, std::ratio<3, 5> > s2(10); in main() 97 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(9); in main() 98 constexpr std::chrono::duration<int, std::ratio<3, 5> > s2(10); in main() 103 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(10); in main() 104 constexpr std::chrono::duration<int, std::ratio<3, 5> > s2(9); in main() [all …]
|
D | op_less.pass.cpp | 72 std::chrono::duration<int, std::ratio<2, 3> > s1(9); in main() 73 std::chrono::duration<int, std::ratio<3, 5> > s2(10); in main() 80 std::chrono::duration<int, std::ratio<2, 3> > s1(10); in main() 81 std::chrono::duration<int, std::ratio<3, 5> > s2(9); in main() 88 std::chrono::duration<int, std::ratio<2, 3> > s1(9); in main() 89 std::chrono::duration<double, std::ratio<3, 5> > s2(10); in main() 129 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(9); in main() 130 constexpr std::chrono::duration<int, std::ratio<3, 5> > s2(10); in main() 137 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(10); in main() 138 constexpr std::chrono::duration<int, std::ratio<3, 5> > s2(9); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.cons/ |
D | rep.pass.cpp | 37 test<std::chrono::duration<int, std::ratio<3, 2> > >(5); in main() 38 test<std::chrono::duration<Rep, std::ratio<3, 2> > >(Rep(3)); in main() 39 test<std::chrono::duration<double, std::ratio<2, 3> > >(5.5); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.cast/ |
D | time_point_cast.pass.cpp | 65 std::chrono::duration<double, std::ratio<3600> >(7265./3600)); in main() 66 test(std::chrono::duration<int, std::ratio<2, 3> >(9), in main() 67 std::chrono::duration<int, std::ratio<3, 5> >(10)); in main() 76 typedef std::chrono::duration<int, std::ratio<3, 5>> T1; in main() 77 test_constexpr<std::chrono::duration<int, std::ratio<2, 3>>, 9, T1, 10> (); in main()
|