/external/libcxx/test/std/utilities/ratio/ratio.ratio/ |
H A D | ratio1.fail.cpp | 10 // test ratio: The template argument D shall not be zero 12 #include <ratio> 17 const std::intmax_t t1 = std::ratio<1, 0>::num;
|
H A D | ratio2.fail.cpp | 10 // test ratio: the absolute values of the template arguments N and D 13 #include <ratio> 18 const std::intmax_t t1 = std::ratio<0x8000000000000000ULL, 1>::num;
|
H A D | ratio3.fail.cpp | 10 // test ratio: the absolute values of the template arguments N and D 13 #include <ratio> 18 const std::intmax_t t1 = std::ratio<1, 0x8000000000000000ULL>::num;
|
/external/libcxx/test/std/utilities/ratio/ratio.arithmetic/ |
H A D | ratio_add.fail.cpp | 12 #include <ratio> 16 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; 17 typedef std::ratio<1, 1> R2;
|
H A D | ratio_divide.fail.cpp | 12 #include <ratio> 16 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; 17 typedef std::ratio<1, 2> R2;
|
H A D | ratio_multiply.fail.cpp | 12 #include <ratio> 16 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; 17 typedef std::ratio<2, 1> R2;
|
H A D | ratio_subtract.fail.cpp | 12 #include <ratio> 16 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1; 17 typedef std::ratio<1, 1> R2;
|
H A D | ratio_divide.pass.cpp | 12 #include <ratio> 17 typedef std::ratio<1, 1> R1; 18 typedef std::ratio<1, 1> R2; 23 typedef std::ratio<1, 2> R1; 24 typedef std::ratio<1, 1> R2; 29 typedef std::ratio<-1, 2> R1; 30 typedef std::ratio<1, 1> R2; 35 typedef std::ratio<1, -2> R1; 36 typedef std::ratio<1, 1> R2; 41 typedef std::ratio< [all...] |
H A D | ratio_multiply.pass.cpp | 12 #include <ratio> 17 typedef std::ratio<1, 1> R1; 18 typedef std::ratio<1, 1> R2; 23 typedef std::ratio<1, 2> R1; 24 typedef std::ratio<1, 1> R2; 29 typedef std::ratio<-1, 2> R1; 30 typedef std::ratio<1, 1> R2; 35 typedef std::ratio<1, -2> R1; 36 typedef std::ratio<1, 1> R2; 41 typedef std::ratio< [all...] |
H A D | ratio_add.pass.cpp | 12 #include <ratio> 17 typedef std::ratio<1, 1> R1; 18 typedef std::ratio<1, 1> R2; 23 typedef std::ratio<1, 2> R1; 24 typedef std::ratio<1, 1> R2; 29 typedef std::ratio<-1, 2> R1; 30 typedef std::ratio<1, 1> R2; 35 typedef std::ratio<1, -2> R1; 36 typedef std::ratio<1, 1> R2; 41 typedef std::ratio< [all...] |
H A D | ratio_subtract.pass.cpp | 12 #include <ratio> 17 typedef std::ratio<1, 1> R1; 18 typedef std::ratio<1, 1> R2; 23 typedef std::ratio<1, 2> R1; 24 typedef std::ratio<1, 1> R2; 29 typedef std::ratio<-1, 2> R1; 30 typedef std::ratio<1, 1> R2; 35 typedef std::ratio<1, -2> R1; 36 typedef std::ratio<1, 1> R2; 41 typedef std::ratio< [all...] |
/external/libcxx/test/std/utilities/ratio/ratio.comparison/ |
H A D | ratio_equal.pass.cpp | 12 #include <ratio> 28 typedef std::ratio<1, 1> R1; 29 typedef std::ratio<1, 1> R2; 33 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; 34 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R2; 38 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1; 39 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R2; 43 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R1; 44 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R2; 48 typedef std::ratio< [all...] |
H A D | ratio_greater.pass.cpp | 12 #include <ratio> 28 typedef std::ratio<1, 1> R1; 29 typedef std::ratio<1, 1> R2; 33 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; 34 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R2; 38 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1; 39 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R2; 43 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R1; 44 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R2; 48 typedef std::ratio< [all...] |
H A D | ratio_greater_equal.pass.cpp | 12 #include <ratio> 28 typedef std::ratio<1, 1> R1; 29 typedef std::ratio<1, 1> R2; 33 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; 34 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R2; 38 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1; 39 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R2; 43 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R1; 44 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R2; 48 typedef std::ratio< [all...] |
H A D | ratio_less_equal.pass.cpp | 12 #include <ratio> 28 typedef std::ratio<1, 1> R1; 29 typedef std::ratio<1, 1> R2; 33 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; 34 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R2; 38 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1; 39 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R2; 43 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R1; 44 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R2; 48 typedef std::ratio< [all...] |
H A D | ratio_not_equal.pass.cpp | 12 #include <ratio> 28 typedef std::ratio<1, 1> R1; 29 typedef std::ratio<1, 1> R2; 33 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; 34 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R2; 38 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1; 39 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R2; 43 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R1; 44 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R2; 48 typedef std::ratio< [all...] |
H A D | ratio_less.pass.cpp | 12 #include <ratio> 28 typedef std::ratio<1, 1> R1; 29 typedef std::ratio<1, 1> R2; 33 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; 34 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R2; 38 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1; 39 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R2; 43 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R1; 44 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R2; 48 typedef std::ratio< [all...] |
/external/libcxx/test/libcxx/utilities/ratio/ |
H A D | version.pass.cpp | 10 // <ratio> 12 #include <ratio>
|
/external/libcxx/test/std/utilities/time/time.duration/ |
H A D | positive_num.fail.cpp | 20 typedef std::chrono::duration<int, std::ratio<5, -1> > D;
|
H A D | types.pass.cpp | 24 typedef std::chrono::duration<long, std::ratio<3, 2> > D; 26 static_assert((std::is_same<D::period, std::ratio<3, 2> >::value), "");
|
/external/libcxx/test/std/utilities/time/time.traits/time.traits.specializations/ |
H A D | duration.pass.cpp | 30 test<std::chrono::duration<int, std::ratio<1, 100> >, 31 std::chrono::duration<long, std::ratio<1, 1000> >, 32 std::chrono::duration<long, std::ratio<1, 1000> > >(); 33 test<std::chrono::duration<long, std::ratio<1, 100> >, 34 std::chrono::duration<int, std::ratio<1, 1000> >, 35 std::chrono::duration<long, std::ratio<1, 1000> > >(); 36 test<std::chrono::duration<char, std::ratio<1, 30> >, 37 std::chrono::duration<short, std::ratio<1, 1000> >, 38 std::chrono::duration<int, std::ratio<1, 3000> > >(); 39 test<std::chrono::duration<double, std::ratio<2 [all...] |
H A D | time_point.pass.cpp | 34 test<std::chrono::duration<int, std::ratio<1, 100> >, 35 std::chrono::duration<long, std::ratio<1, 1000> >, 36 std::chrono::duration<long, std::ratio<1, 1000> > >(); 37 test<std::chrono::duration<long, std::ratio<1, 100> >, 38 std::chrono::duration<int, std::ratio<1, 1000> >, 39 std::chrono::duration<long, std::ratio<1, 1000> > >(); 40 test<std::chrono::duration<char, std::ratio<1, 30> >, 41 std::chrono::duration<short, std::ratio<1, 1000> >, 42 std::chrono::duration<int, std::ratio<1, 3000> > >(); 43 test<std::chrono::duration<double, std::ratio<2 [all...] |
/external/libcxx/test/std/utilities/time/time.duration/time.duration.nonmember/ |
H A D | op_divide_duration.pass.cpp | 37 std::chrono::duration<int, std::ratio<2, 3> > s1(30); 38 std::chrono::duration<int, std::ratio<3, 5> > s2(5); 42 std::chrono::duration<int, std::ratio<2, 3> > s1(30); 43 std::chrono::duration<double, std::ratio<3, 5> > s2(5); 58 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(30); 59 constexpr std::chrono::duration<int, std::ratio<3, 5> > s2(5); 63 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(30); 64 constexpr std::chrono::duration<double, std::ratio<3, 5> > s2(5);
|
/external/autotest/frontend/client/src/autotest/common/ |
H A D | AbstractStatusSummary.java | 30 public boolean matches(double ratio) { argument 31 return ratio * 100 >= minPercent; 47 double ratio = (double) getPassed() / getComplete(); 49 if (mapping.matches(ratio)) 52 throw new RuntimeException("No color map match for ratio " + ratio);
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/extensions/compactnotation/ |
H A D | Row.java | 21 private double ratio; field in class:Row 39 return ratio; 42 public void setRatio(double ratio) { argument 43 this.ratio = ratio;
|