/external/webkit/Source/WebCore/page/ |
DOMTimer.cpp | 43 static const double oneMillisecond = 0.001; 44 double DOMTimer::s_minDefaultTimerInterval = 0.010; // 10 milliseconds 75 double intervalMilliseconds = intervalClampedToMinimum(interval, context->minimumTimerInterval()); 127 double minimumInterval = context->minimumTimerInterval(); 170 void DOMTimer::adjustMinimumTimerInterval(double oldMinimumTimerInterval) 175 double newMinimumInterval = scriptExecutionContext()->minimumTimerInterval(); 176 double newClampedInterval = intervalClampedToMinimum(m_originalInterval, newMinimumInterval); 183 double previousClampedInterval = intervalClampedToMinimum(m_originalInterval, oldMinimumTimerInterval); 187 double DOMTimer::intervalClampedToMinimum(int timeout, double minimumTimerInterval) cons [all...] |
/external/webkit/Source/WebCore/platform/graphics/ |
Color.h | 71 RGBA32 makeRGBAFromHSLA(double h, double s, double l, double a); 118 void getRGBA(double& r, double& g, double& b, double& a) const; 119 void getHSL(double& h, double& s, double& l) const [all...] |
/external/webkit/Source/WebKit/qt/WebCoreSupport/ |
DumpRenderTreeSupportQt.h | 98 static bool pauseAnimation(QWebFrame*, const QString& name, double time, const QString& elementId); 99 static bool pauseTransitionOfProperty(QWebFrame*, const QString& name, double time, const QString& elementId); 100 static bool pauseSVGAnimation(QWebFrame*, const QString& animationId, double time, const QString& elementId); 144 static void setMockDeviceOrientation(bool canProvideAlpha, double alpha, bool canProvideBeta, double beta, bool canProvideGamma, double gamma); 148 static void setMockGeolocationPosition(QWebPage*, double latitude, double longitude, double accuracy); 198 static double defaultMinimumTimerInterval(); // Not really tied to WebVie [all...] |
/frameworks/base/location/tests/locationtests/src/android/location/ |
LocationTest.java | 33 double result; 36 message = "degreesToDoubleTest: Double should be -80.075, actual value is " + 44 double result; 47 message = "minutesToDoubleTest: Double should be -80.085, actual value is " + 55 double result; 58 message = "secondsToDoubleTest: Double should be -80.0675, actual value is " + 66 double result; 69 message = "secondsToDouble2Test: Double should be -80.0675, actual value is " + 74 // Testing the Convert(Double, Int) 95 double input = -80.085 [all...] |
/libcore/json/src/test/java/org/json/ |
JSONObjectTest.java | 92 assertEquals(Double.NaN, object.optDouble("foo")); 183 object.putOpt("foo", Double.NaN); 188 object.putOpt("foo", Double.NEGATIVE_INFINITY); 193 object.putOpt("foo", Double.POSITIVE_INFINITY); 261 object.put("foo", Double.MIN_VALUE); 263 object.put("baz", Double.MAX_VALUE); 276 assertEquals(Double.MIN_VALUE, object.get("foo")); 278 assertEquals(Double.MAX_VALUE, object.get("baz")); 280 assertEquals(Double.MIN_VALUE, object.getDouble("foo")); 282 assertEquals(Double.MAX_VALUE, object.getDouble("baz")) [all...] |
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
trsMatrix.cpp | 24 void mult33d(double a[3][3], double b[3][3], double c[3][3]) 41 int normProjMat33d(double m[3][3]) 43 double m22; 66 double det33d(const double m[3][3]) 68 double result; 79 void inv33d(const double m[3][3], double out[3][3] [all...] |
/cts/tools/vm-tests/src/dot/junit/opcodes/double_to_int/ |
Test_double_to_int.java | 71 * @title Argument = Double.MAX_VALUE 75 assertEquals(Integer.MAX_VALUE, t.run(Double.MAX_VALUE)); 79 * @title Argument = Double.MIN_VALUE 83 assertEquals(0, t.run(Double.MIN_VALUE)); 91 assertEquals(0, t.run(Double.NaN)); 99 assertEquals(Integer.MAX_VALUE, t.run(Double.POSITIVE_INFINITY)); 107 assertEquals(Integer.MIN_VALUE, t.run(Double.NEGATIVE_INFINITY));
|
/cts/tools/vm-tests/src/dot/junit/opcodes/double_to_long/ |
Test_double_to_long.java | 62 * @title Argument = Double.MAX_VALUE 66 assertEquals(Long.MAX_VALUE, t.run(Double.MAX_VALUE)); 70 * @title Argument = Double.MIN_VALUE 74 assertEquals(0, t.run(Double.MIN_VALUE)); 90 assertEquals(0l, t.run(Double.NaN)); 98 assertEquals(Long.MAX_VALUE, t.run(Double.POSITIVE_INFINITY)); 106 assertEquals(Long.MIN_VALUE, t.run(Double.NEGATIVE_INFINITY));
|
/cts/tools/vm-tests/src/dot/junit/opcodes/float_to_double/ |
Test_float_to_double.java | 51 * so this conversion of int to double makes no sense but shall not crash the VM. 67 double r = 0x1.fffffeP+127d; 76 double r = 0x0.000002P-126d; 93 assertTrue(Double.isNaN(t.run(Float.NaN))); 101 assertTrue(Double.isInfinite(t.run(Float.POSITIVE_INFINITY))); 109 assertTrue(Double.isInfinite(t.run(Float.NEGATIVE_INFINITY))); 116 * @title type of argument - double
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/double_to_int/ |
Test_double_to_int.java | 59 * @title Argument = Double.MAX_VALUE 63 assertEquals(Integer.MAX_VALUE, t.run(Double.MAX_VALUE)); 67 * @title Argument = Double.MIN_VALUE 71 assertEquals(0, t.run(Double.MIN_VALUE)); 79 assertEquals(0, t.run(Double.NaN)); 87 assertEquals(Integer.MAX_VALUE, t.run(Double.POSITIVE_INFINITY)); 95 assertEquals(Integer.MIN_VALUE, t.run(Double.NEGATIVE_INFINITY));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/double_to_long/ |
Test_double_to_long.java | 50 * @title Argument = Double.MAX_VALUE 54 assertEquals(Long.MAX_VALUE, t.run(Double.MAX_VALUE)); 58 * @title Argument = Double.MIN_VALUE 62 assertEquals(0, t.run(Double.MIN_VALUE)); 78 assertEquals(0l, t.run(Double.NaN)); 86 assertEquals(Long.MAX_VALUE, t.run(Double.POSITIVE_INFINITY)); 94 assertEquals(Long.MIN_VALUE, t.run(Double.NEGATIVE_INFINITY));
|
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
InputController.java | 44 double voltagemv = temperatureFromArduino * 4.9; 52 double kVoltageAtZeroCmv = 400; 53 double kTemperatureCoefficientmvperC = 19.5; 54 double ambientTemperatureC = ((double) voltagemv - kVoltageAtZeroCmv) 56 double temperatureF = (9.0 / 5.0) * ambientTemperatureC + 32.0; 63 .format((100.0 * (double) lightValueFromArduino / 1024.0)));
|
/external/apache-harmony/math/src/test/java/org/apache/harmony/tests/java/math/ |
BigDecimalConvertTest.java | 34 * Double value of a negative BigDecimal 39 double result = -1.2380964839238476E53; 44 * Double value of a positive BigDecimal 49 double result = 1.2380964839238476E53; 54 * Double value of a large positive BigDecimal 59 double result = Double.POSITIVE_INFINITY; 64 * Double value of a large negative BigDecimal 69 double result = Double.NEGATIVE_INFINITY [all...] |
/external/chromium/base/third_party/dmg_fp/ |
gcc_warnings.patch | 30 -extern "C" double strtod(const char *s00, char **se); 31 -extern "C" char *dtoa(double d, int mode, int ndigits, 32 +double strtod(const char *s00, char **se); 33 +char *dtoa(double d, int mode, int ndigits, 87 @@ -46,14 +46,14 @@ g_fmt(register char *b, double x) 104 @@ -79,10 +79,10 @@ g_fmt(register char *b, double x) 117 @@ -93,7 +93,9 @@ g_fmt(register char *b, double x)
|
/external/chromium/chrome/browser/ui/views/ |
detachable_toolbar_view.cc | 41 double animation_state, double horizontal_padding, 42 double vertical_padding, SkRect* rect, 43 double* roundness, views::View* view) { 50 *roundness = static_cast<double>(kNewtabBarRoundness) * animation_state; 67 const SkRect& rect, double roundness) { 79 const SkRect& rect, double roundness) {
|
detachable_toolbar_view.h | 30 virtual double GetAnimationValue() const = 0; 48 static void CalculateContentArea(double animation_state, 49 double horizontal_padding, 50 double vertical_padding, 52 double* roundness, 65 double roundness); 70 double roundness);
|
/external/fdlibm/ |
e_cosh.c | 38 static const double one = 1.0, half=0.5, huge = 1.0e300; 40 static double one = 1.0, half=0.5, huge = 1.0e300; 44 double __ieee754_cosh(double x) 46 double __ieee754_cosh(x) 47 double x; 50 double t,w;
|
e_sinh.c | 35 static const double one = 1.0, shuge = 1.0e307; 37 static double one = 1.0, shuge = 1.0e307; 41 double __ieee754_sinh(double x) 43 double __ieee754_sinh(x) 44 double x; 47 double t,w,h;
|
s_cbrt.c | 29 static const double 31 static double 40 double ieee_cbrt(double x) 42 double ieee_cbrt(x) 43 double x; 47 double r,s,t=0.0,w;
|
s_rint.c | 27 static const double 29 static double 37 double ieee_rint(double x) 39 double ieee_rint(x) 40 double x; 45 double w,t;
|
s_tanh.c | 41 static const double one=1.0, two=2.0, tiny = 1.0e-300; 43 static double one=1.0, two=2.0, tiny = 1.0e-300; 47 double ieee_tanh(double x) 49 double ieee_tanh(x) 50 double x; 53 double t,z;
|
/external/llvm/test/CodeGen/ARM/ |
fmacs.ll | 23 define double @t2(double %acc, double %a, double %b) { 34 %0 = fmul double %a, %b 35 %1 = fadd double %acc, %0 36 ret double %1
|
/external/llvm/test/CodeGen/Thumb/ |
select.ll | 70 define double @f7(double %a, double %b) { 71 %tmp = fcmp olt double %a, 1.234e+00 72 %tmp1 = select i1 %tmp, double -1.000e+00, double %b 73 ret double %tmp1
|
/external/llvm/test/Transforms/LoopIdiom/ |
debug-line.ll | 6 define void @foo(double* nocapture %a) nounwind ssp { 8 tail call void @llvm.dbg.value(metadata !{double* %a}, i64 0, metadata !5), !dbg !8 14 %arrayidx = getelementptr double* %a, i64 %indvar 16 store double 0.000000e+00, double* %arrayidx, align 8, !dbg !15 32 !0 = metadata !{i32 589870, i32 0, metadata !1, metadata !"foo", metadata !"foo", metadata !"", metadata !1, i32 2, metadata !3, i1 false, i1 true, i32 0, i32 0, i32 0, i32 256, i1 false, void (double*)* @foo} ; [ DW_TAG_subprogram ] 39 !7 = metadata !{i32 589860, metadata !2, metadata !"double", null, i32 0, i64 64, i64 64, i64 0, i32 0, i32 4} ; [ DW_TAG_base_type ]
|
/external/webkit/Source/JavaScriptCore/wtf/ |
RandomNumber.cpp | 54 double randomNumber() 58 return static_cast<double>(bits) / (static_cast<double>(std::numeric_limits<uint32_t>::max()) + 1.0); 84 return static_cast<double>(bits) / (static_cast<double>(std::numeric_limits<uint32_t>::max()) + 1.0); 98 return static_cast<double>(fullRandom)/static_cast<double>(1LL << 53);
|