Searched refs:ratio (Results 1 - 25 of 241) sorted by relevance

12345678910

/external/libcxx/test/std/utilities/ratio/ratio.ratio/
H A Dratio1.fail.cpp10 // 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 Dratio2.fail.cpp10 // 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 Dratio3.fail.cpp10 // 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 Dratio_add.fail.cpp12 #include <ratio>
16 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1;
17 typedef std::ratio<1, 1> R2;
H A Dratio_divide.fail.cpp12 #include <ratio>
16 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1;
17 typedef std::ratio<1, 2> R2;
H A Dratio_multiply.fail.cpp12 #include <ratio>
16 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1;
17 typedef std::ratio<2, 1> R2;
H A Dratio_subtract.fail.cpp12 #include <ratio>
16 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1;
17 typedef std::ratio<1, 1> R2;
H A Dratio_divide.pass.cpp12 #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 Dratio_multiply.pass.cpp12 #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 Dratio_add.pass.cpp12 #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 Dratio_subtract.pass.cpp12 #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 Dratio_equal.pass.cpp12 #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 Dratio_greater.pass.cpp12 #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 Dratio_greater_equal.pass.cpp12 #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 Dratio_less_equal.pass.cpp12 #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 Dratio_not_equal.pass.cpp12 #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 Dratio_less.pass.cpp12 #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 Dversion.pass.cpp10 // <ratio>
12 #include <ratio>
/external/libcxx/test/std/utilities/time/time.duration/
H A Dpositive_num.fail.cpp20 typedef std::chrono::duration<int, std::ratio<5, -1> > D;
H A Dtypes.pass.cpp24 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 Dduration.pass.cpp30 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 Dtime_point.pass.cpp34 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 Dop_divide_duration.pass.cpp37 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 DAbstractStatusSummary.java30 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 DRow.java21 private double ratio; field in class:Row
39 return ratio;
42 public void setRatio(double ratio) { argument
43 this.ratio = ratio;

Completed in 1436 milliseconds

12345678910