/external/libcxx/test/std/utilities/ratio/ratio.comparison/ |
D | ratio_less.pass.cpp | 28 typedef std::ratio<1, 1> R1; in main() 29 typedef std::ratio<1, 1> R2; in main() 33 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; in main() 34 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R2; in main() 38 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1; in main() 39 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R2; in main() 43 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R1; in main() 44 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R2; in main() 48 typedef std::ratio<1, 1> R1; in main() 49 typedef std::ratio<1, -1> R2; in main() [all …]
|
D | ratio_greater.pass.cpp | 28 typedef std::ratio<1, 1> R1; in main() 29 typedef std::ratio<1, 1> R2; in main() 33 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; in main() 34 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R2; in main() 38 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1; in main() 39 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R2; in main() 43 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R1; in main() 44 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R2; in main() 48 typedef std::ratio<1, 1> R1; in main() 49 typedef std::ratio<1, -1> R2; in main() [all …]
|
D | ratio_not_equal.pass.cpp | 28 typedef std::ratio<1, 1> R1; in main() 29 typedef std::ratio<1, 1> R2; in main() 33 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; in main() 34 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R2; in main() 38 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1; in main() 39 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R2; in main() 43 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R1; in main() 44 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R2; in main() 48 typedef std::ratio<1, 1> R1; in main() 49 typedef std::ratio<1, -1> R2; in main() [all …]
|
D | ratio_equal.pass.cpp | 28 typedef std::ratio<1, 1> R1; in main() 29 typedef std::ratio<1, 1> R2; in main() 33 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; in main() 34 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R2; in main() 38 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1; in main() 39 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R2; in main() 43 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R1; in main() 44 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R2; in main() 48 typedef std::ratio<1, 1> R1; in main() 49 typedef std::ratio<1, -1> R2; in main() [all …]
|
D | ratio_greater_equal.pass.cpp | 28 typedef std::ratio<1, 1> R1; in main() 29 typedef std::ratio<1, 1> R2; in main() 33 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; in main() 34 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R2; in main() 38 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1; in main() 39 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R2; in main() 43 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R1; in main() 44 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R2; in main() 48 typedef std::ratio<1, 1> R1; in main() 49 typedef std::ratio<1, -1> R2; in main() [all …]
|
D | ratio_less_equal.pass.cpp | 28 typedef std::ratio<1, 1> R1; in main() 29 typedef std::ratio<1, 1> R2; in main() 33 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; in main() 34 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R2; in main() 38 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1; in main() 39 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R2; in main() 43 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R1; in main() 44 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R2; in main() 48 typedef std::ratio<1, 1> R1; in main() 49 typedef std::ratio<1, -1> R2; in main() [all …]
|
/external/libcxx/test/std/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_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_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 …]
|
/external/libcxx/test/std/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 …]
|
/external/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 …]
|
/external/libcxx/test/std/utilities/time/time.duration/time.duration.nonmember/ |
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_+.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_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()
|
/external/libcxx/test/std/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 …]
|
/external/autotest/client/common_lib/perf_expectations/ |
D | expectation_checker.py | 107 ratio = 1 - divide(trace_perf_value, improve) 108 return 'improve', ratio 110 ratio = divide(trace_perf_value, regress) - 1 111 return 'regress', ratio 115 ratio = divide(trace_perf_value, improve) - 1 116 return 'improve', ratio 118 ratio = 1 - divide(trace_perf_value, regress) 119 return 'regress', ratio 140 key, ratio = self.compare_one_trace(trace, perf_results[trace]) 141 ret_val[key].append((trace, ratio))
|
/external/libcxx/test/std/experimental/utilities/ratio/header.ratio.synop/ |
D | ratio_greater_v.pass.cpp | 24 typedef std::ratio<1, 2> R1; in main() 25 typedef std::ratio<1, 1> R2; in main() 38 typedef std::ratio<1, 1> R1; in main() 39 typedef std::ratio<1, 1> R2; in main() 48 typedef std::ratio<2, 1> R1; in main() 49 typedef std::ratio<1, 1> R2; in main()
|
D | ratio_greater_equal_v.pass.cpp | 24 typedef std::ratio<1, 2> R1; in main() 25 typedef std::ratio<1, 1> R2; in main() 40 typedef std::ratio<1, 1> R1; in main() 41 typedef std::ratio<1, 1> R2; in main() 51 typedef std::ratio<2, 1> R1; in main() 52 typedef std::ratio<1, 1> R2; in main()
|
D | ratio_less_equal_v.pass.cpp | 24 typedef std::ratio<1, 2> R1; in main() 25 typedef std::ratio<1, 1> R2; in main() 38 typedef std::ratio<1, 1> R1; in main() 39 typedef std::ratio<1, 1> R2; in main() 48 typedef std::ratio<2, 1> R1; in main() 49 typedef std::ratio<1, 1> R2; in main()
|
D | ratio_less_v.pass.cpp | 24 typedef std::ratio<1, 2> R1; in main() 25 typedef std::ratio<1, 1> R2; in main() 38 typedef std::ratio<1, 1> R1; in main() 39 typedef std::ratio<1, 1> R2; in main() 48 typedef std::ratio<2, 1> R1; in main() 49 typedef std::ratio<1, 1> R2; in main()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/ |
D | AdaptiveStepsizeIntegrator.java | 232 double ratio; in initializeStep() local 236 ratio = y0[j] / scale[j]; in initializeStep() 237 yOnScale2 += ratio * ratio; in initializeStep() 238 ratio = yDot0[j] / scale[j]; in initializeStep() 239 yDotOnScale2 += ratio * ratio; in initializeStep() 257 ratio = (yDot1[j] - yDot0[j]) / scale[j]; in initializeStep() 258 yDDotOnScale += ratio * ratio; in initializeStep()
|
/external/eigen/unsupported/Eigen/src/LevenbergMarquardt/ |
D | LMonestep.h | 26 RealScalar ratio; in minimizeOneStep() local 124 ratio = 0.; in minimizeOneStep() 126 ratio = actred / prered; in minimizeOneStep() 129 if (ratio <= Scalar(.25)) { in minimizeOneStep() 139 } else if (!(m_par != 0. && ratio < RealScalar(.75))) { in minimizeOneStep() 145 if (ratio >= RealScalar(1e-4)) { in minimizeOneStep() 156 …if (abs(actred) <= m_ftol && prered <= m_ftol && Scalar(.5) * ratio <= 1. && m_delta <= m_xtol * x… in minimizeOneStep() 161 if (abs(actred) <= m_ftol && prered <= m_ftol && Scalar(.5) * ratio <= 1.) in minimizeOneStep() 178 …NumTraits<Scalar>::epsilon() && prered <= NumTraits<Scalar>::epsilon() && Scalar(.5) * ratio <= 1.) in minimizeOneStep() 194 } while (ratio < Scalar(1e-4)); in minimizeOneStep()
|