/external/openssl/crypto/rc4/ |
rc4speed.c | 109 #define HZ ((double)CLK_TCK) 116 double Time_F(int s); 138 double Time_F(int s) 140 double ret; 152 ret=((double)(tend.tms_utime-tstart.tms_utime))/HZ; 168 ret=((double)(tend.time-tstart.time))+((double)i)/1e3; 183 double a,b,c,d; 230 a=((double)COUNT(ca))/d; 244 c=((double)COUNT(cc)*BUFSIZE)/d [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/ |
e_log.h | 72 static const double 74 static double 87 double __ieee754_log(double x) 89 double __ieee754_log(x) 90 double x; 93 double hfsq,f,s,z,R,w,t1,t2,dk; 115 if(f==zero) {if(k==0) return zero; else {dk=(double)k; 119 if(k==0) return f-R; else {dk=(double)k; 123 dk = (double)k [all...] |
/external/webkit/Source/JavaScriptCore/runtime/ |
MathObject.cpp | 140 double arg0 = exec->argument(0).toNumber(exec); 141 double arg1 = exec->argument(1).toNumber(exec); 173 double result = -Inf; 175 double val = exec->argument(k).toNumber(exec); 189 double result = +Inf; 191 double val = exec->argument(k).toNumber(exec); 206 double arg = exec->argument(0).toNumber(exec); 207 double arg2 = exec->argument(1).toNumber(exec); 223 double arg = exec->argument(0).toNumber(exec); 224 double integer = ceil(arg) [all...] |
/external/webkit/Source/WebCore/history/ |
HistoryItem.h | 75 static PassRefPtr<HistoryItem> create(const String& urlString, const String& title, double lastVisited) 79 static PassRefPtr<HistoryItem> create(const String& urlString, const String& title, const String& alternateTitle, double lastVisited) 104 double lastVisitedTime() const; 178 void setLastVisitedTime(double); 179 void visited(const String& title, double time, VisitCountBehavior); 221 HistoryItem(const String& urlString, const String& title, double lastVisited); 222 HistoryItem(const String& urlString, const String& title, const String& alternateTitle, double lastVisited); 227 void padDailyCountsForNewVisit(double time); 229 void recordVisitAtTime(double, VisitCountBehavior = IncreaseVisitCount); 249 double m_lastVisitedTime [all...] |
/external/webkit/Source/WebCore/html/ |
HTMLInputElement.h | 58 double minimum() const; 61 double maximum() const; 62 // Sets the "allowed value step" defined in the HTML spec to the specified double pointer. 64 bool getAllowedValueStep(double*) const; 65 bool getAllowedValueStepWithDecimalPlaces(double*, unsigned*) const; 131 double valueAsDate() const; 132 void setValueAsDate(double, ExceptionCode&); 134 double valueAsNumber() const; 135 void setValueAsNumber(double, ExceptionCode&); 300 void applyStep(double count, ExceptionCode&) [all...] |
/external/webkit/Source/WebCore/inspector/ |
InspectorValues.h | 73 virtual bool asNumber(double* output) const; 110 static PassRefPtr<InspectorBasicValue> create(double value) 116 virtual bool asNumber(double* output) const; 126 explicit InspectorBasicValue(int value) : InspectorValue(TypeNumber), m_doubleValue((double)value) { } 127 explicit InspectorBasicValue(double value) : InspectorValue(TypeNumber), m_doubleValue(value) { } 131 double m_doubleValue; 177 void setNumber(const String& name, double); 225 void pushNumber(double); 256 inline void InspectorObject::setNumber(const String& name, double value) 289 inline void InspectorArray::pushNumber(double value [all...] |
/external/webkit/Source/WebCore/loader/ |
ProgressTracker.cpp | 45 static const double initialProgressValue = 0.1; 49 static const double finalProgressValue = 0.9; // 1.0 - initialProgressValue 84 double ProgressTracker::estimatedProgress() const 191 double increment, percentOfRemainingBytes; 204 percentOfRemainingBytes = (double)bytesReceived / (double)remainingBytes; 212 double maxProgressValue = useClampedMaxProgress ? 0.5 : finalProgressValue; 220 double now = currentTime(); 221 double notifiedProgressTimeDelta = now - m_lastNotifiedProgressTime; 224 double notificationProgressDelta = m_progressValue - m_lastNotifiedProgressValue [all...] |
/external/webkit/Source/WebCore/platform/ |
Timer.cpp | 107 double aFireTime = a.timer()->m_nextFireTime; 108 double bFireTime = b.timer()->m_nextFireTime; 179 void TimerBase::start(double nextFireInterval, double repeatInterval) 199 double TimerBase::nextFireInterval() const 202 double current = currentTime(); 266 double fireTime = m_nextFireTime; 267 m_nextFireTime = -numeric_limits<double>::infinity(); 282 void TimerBase::setNextFireTime(double newTime) 287 double oldTime = m_nextFireTime [all...] |
/external/webkit/Source/WebCore/platform/graphics/filters/ |
FEComponentTransfer.cpp | 108 double c = i / 255.0; 110 double v1 = tableValues[k]; 111 double v2 = tableValues[std::min((k + 1), (n - 1))]; 112 double val = 255.0 * (v1 + (c * (n - 1) - k) * (v2 - v1)); 127 double val = 255 * tableValues[k]; 136 double val = transferFunction.slope * i + 255 * transferFunction.intercept; 145 double exponent = transferFunction.exponent; // RCVT doesn't like passing a double and a float to pow, so promote this to double 146 double val = 255.0 * (transferFunction.amplitude * pow((i / 255.0), exponent) + transferFunction.offset) [all...] |
/external/webkit/Source/WebKit2/Shared/ |
WebEvent.h | 95 double timestamp() const { return m_timestamp; } 100 WebEvent(Type, Modifiers, double timestamp); 108 double m_timestamp; 123 WebMouseEvent(Type, Button, const WebCore::IntPoint& position, const WebCore::IntPoint& globalPosition, float deltaX, float deltaY, float deltaZ, int clickCount, Modifiers, double timestamp); 125 WebMouseEvent(Type, Button, const WebCore::IntPoint& position, const WebCore::IntPoint& globalPosition, float deltaX, float deltaY, float deltaZ, int clickCount, Modifiers, double timestamp, bool didActivateWebView); 178 WebWheelEvent(Type, const WebCore::IntPoint& position, const WebCore::IntPoint& globalPosition, const WebCore::FloatSize& delta, const WebCore::FloatSize& wheelTicks, Granularity, Modifiers, double timestamp); 180 WebWheelEvent(Type, const WebCore::IntPoint& position, const WebCore::IntPoint& globalPosition, const WebCore::FloatSize& delta, const WebCore::FloatSize& wheelTicks, Granularity, Phase phase, Phase momentumPhase,bool hasPreciseScrollingDeltas, Modifiers, double timestamp); 217 WebKeyboardEvent(Type, const String& text, const String& unmodifiedText, const String& keyIdentifier, int windowsVirtualKeyCode, int nativeVirtualKeyCode, int macCharCode, bool isAutoRepeat, bool isKeypad, bool isSystemKey, Modifiers, double timestamp); 252 WebGestureEvent(Type, const WebCore::IntPoint& position, const WebCore::IntPoint& globalPosition, Modifiers, double timestamp); 312 WebTouchEvent(Type, Vector<WebPlatformTouchPoint>, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, Modifiers, double timestamp) [all...] |
/frameworks/base/docs/html/sdk/api_diff/9/changes/ |
java.lang.Double.html | 10 java.lang.Double 74 Class java.lang.<A HREF="../../../../reference/java/lang/Double.html" target="_top"><font size="+2"><code>Double</code></font></A> 87 <A NAME="java.lang.Double.MAX_EXPONENT"></A> 88 <nobr><code>int</code> <A HREF="../../../../reference/java/lang/Double.html#MAX_EXPONENT" target="_top"><code>MAX_EXPONENT</code></A></nobr> 94 <A NAME="java.lang.Double.MIN_EXPONENT"></A> 95 <nobr><code>int</code> <A HREF="../../../../reference/java/lang/Double.html#MIN_EXPONENT" target="_top"><code>MIN_EXPONENT</code></A></nobr> 101 <A NAME="java.lang.Double.MIN_NORMAL"></A> 102 <nobr><code>double</code> <A HREF="../../../../reference/java/lang/Double.html#MIN_NORMAL" target="_top"><code>MIN_NORMAL</code></A></nobr [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
CalendarTest.java | 54 double hoursSinceEpoch = hoursSinceEpoch(calendar); 70 double hoursSinceEpoch = hoursSinceEpoch(calendar); 79 double hoursSinceEpoch = hoursSinceEpoch(calendar); 88 double hoursSinceEpoch = hoursSinceEpoch(calendar); 97 double hoursSinceEpoch = hoursSinceEpoch(calendar); 106 double hoursSinceEpoch = hoursSinceEpoch(calendar); 115 double hoursSinceEpoch = hoursSinceEpoch(calendar); 126 double hoursSinceEpoch = hoursSinceEpoch(calendar); 203 private static double hoursSinceEpoch(Calendar c) { 204 double ONE_HOUR = 3600d * 1000d [all...] |
/system/extras/tests/bionic/libc/common/ |
test_pthread_mutex.c | 73 static double 79 return (double)ts->tv_sec + ts->tv_nsec/1e9; 83 time_sleep(double delay) 280 double t0; 281 double waitDelay; 282 double spinDelay; 288 double t1; 301 double t1; 319 static void do_test_mutex_3(pthread_mutexattr_t *attr, double delay) 343 static void do_test_3(double delay [all...] |
test_pthread_rwlock.c | 72 static double 78 return (double)ts->tv_sec + ts->tv_nsec/1e9; 82 time_sleep(double delay) 251 double t0; 252 double waitDelay; 253 double spinDelay; 259 double t1; 278 double t1; 296 static void do_test_rwlock_rd3(pthread_rwlockattr_t *attr, double delay) 320 static void do_test_3(double delay [all...] |
/cts/tests/tests/location/src/android/location/cts/ |
LocationManagerTest.java | 373 final double latitude1 = 10; 374 final double longitude1 = 40; 375 final double latitude2 = 35; 376 final double longitude2 = 80; 447 double latitude1 = 60; 448 double longitude1 = 20; 449 double latitude2 = 40; 450 double longitude2 = 30; 513 double latitude1 = 20; 514 double longitude1 = 40 [all...] |
/libcore/json/src/main/java/org/json/ |
JSONArray.java | 29 * Values may not be {@link Double#isNaN() NaNs}, {@link Double#isInfinite() 126 * @param value a finite value. May not be {@link Double#isNaN() NaNs} or 127 * {@link Double#isInfinite() infinities}. 130 public JSONArray put(double value) throws JSONException { 159 * Integer, Long, Double, {@link JSONObject#NULL}, or {@code null}. May 160 * not be {@link Double#isNaN() NaNs} or {@link Double#isInfinite() 186 * @param value a finite value. May not be {@link Double#isNaN() NaNs} or 187 * {@link Double#isInfinite() infinities} [all...] |
/libcore/luni/src/test/java/libcore/java/util/prefs/ |
OldAbstractPreferencesTest.java | 109 pref.putDouble("DoubleValue", new Double(9.10938188e-31)); 137 pref.putDouble(keyArray[1], new Double(9.10938188e-31)); 233 pref.putDouble("DoubleValue", new Double(9.10938188e-31)); 299 pref.putDouble("DoubleValue", new Double(9.10938188e-31)); 365 pref.putDouble("DoubleValue", new Double(9.10938188e-31)); 429 pref.putDouble("DoubleValue", new Double(9.10938188e-31)); 457 pref.putDouble("DoubleValue", new Double(9.10938188e-31)); 460 assertEquals(new Double(9.10938188e-31), pref.getDouble("DoubleValue", new Double(2.14))); 463 pref.putDouble(null, new Double(0.1)) [all...] |
/cts/tools/dasm/test/ |
all_opcodes.d | 79 cmpl-double v11, v22, v33 80 cmpg-double v11, v22, v33 153 neg-double v1, v2 156 int-to-double v1, v2 159 long-to-double v1, v2 162 float-to-double v1, v2 163 double-to-int v1, v2 164 double-to-long v1, v2 165 double-to-float v1, v2 196 add-double v11, v22, v3 [all...] |
/dalvik/libdex/ |
DexOpcodes.cpp | 80 "cmpl-double", 81 "cmpg-double", 161 "neg-double", 164 "int-to-double", 167 "long-to-double", 170 "float-to-double", 171 "double-to-int", 172 "double-to-long", 173 "double-to-float", 204 "add-double", [all...] |
/external/opencv/cxcore/src/ |
cxarithm.cpp | 228 ICV_DEF_BIN_ARI_OP_2D( __op__, icv##name##_64f_C1R, double, double, CV_CAST_64F ) 236 ICV_DEF_UN_ARI_OP_2D( __op__, icv##name##_64f_C1R, double, double, CV_CAST_64F ) 403 const double* src1data = (const double*)(src1->data.ptr); 404 const double* src2data = (const double*)(src2->data.ptr); 405 double* dstdata = (double*)(dst->data.ptr) [all...] |
/external/opencv/ml/src/ |
mlnbayes.cpp | 200 double* sum_data = sum[cls]->data.db; 201 double* prod_data = productsum[cls]->data.db; 206 double val1 = train_vec[c1]; 217 double det = 1; 221 double* avg_data = avg[cls]->data.db; 222 double* sum1 = sum[cls]->data.db; 238 double* avg2_data = avg[cls]->data.db; 239 double* sum2 = sum[cls]->data.db; 240 double* prod_data = productsum[cls]->data.db + i*_var_count; 241 double* cov_data = cov->data.db + i*_var_count [all...] |
/external/webkit/Source/JavaScriptCore/wtf/ |
TypeTraits.h | 68 template<> struct IsFloatingPoint<double> { static const bool value = true; }; 69 template<> struct IsFloatingPoint<long double> { static const bool value = true; }; 93 static YesType floatCheck(long double); 223 template <> struct HasTrivialConstructor<double> : public true_type{ }; 224 template <> struct HasTrivialConstructor<const double> : public true_type{ }; 225 template <> struct HasTrivialConstructor<volatile double> : public true_type{ }; 226 template <> struct HasTrivialConstructor<const volatile double> : public true_type{ }; 228 template <> struct HasTrivialConstructor<long double> : public true_type{ }; 229 template <> struct HasTrivialConstructor<const long double> : public true_type{ }; 230 template <> struct HasTrivialConstructor<volatile long double> : public true_type{ } [all...] |
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
db_feature_detection.cpp | 406 pshufw mm6,mm6,4Eh /*8 Swap the two double-words using bitmask 01001110=4Eh*/ 409 pand mm6,mm7 /*11 Get low double-word only*/ 411 pxor mm6,mm5 /*13 Get high double-word only*/ 423 pshufw mm4,mm4,4Eh /*24 Swap the two double-words using bitmask 01001110=4Eh*/ 426 pand mm4,mm7 /*27 Get low double-word only*/ 428 pxor mm4,mm3 /*29 Get high double-word only*/ 445 pshufw mm6,mm6,4Eh /*40 Swap the two double-words using bitmask 01001110=4Eh*/ 449 pand mm6,mm7 /*43 Get low double-word only*/ 451 pxor mm6,mm5 /*45 Get high double-word only*/ 462 pshufw mm4,mm4,4Eh /*55 Swap the two double-words using bitmask 01001110=4Eh* [all...] |
/packages/apps/Mms/src/com/android/mms/dom/smil/ |
SmilPlayer.java | 71 return Double.compare(o1.getOffsetTime(), o2.getOffsetTime()); 89 ElementParallelTimeContainer par, double offset, double maxOffset) { 99 double beginOffset = begin.getResolvedOffset() + offset; 113 double endOffset = end.getResolvedOffset() + offset; 146 ElementSequentialTimeContainer seq, double offset, double maxOffset) { 148 double orgOffset = offset; 157 double beginOffset = begin.getResolvedOffset() + offset; 171 double endOffset = end.getResolvedOffset() + offset [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
ArraysTest.java | 56 static double[] doubleArray; 147 * @tests java.util.Arrays#binarySearch(double[], double) 150 // Test for method int java.util.Arrays.binarySearch(double [], double) 153 "Binary search on double[] answered incorrect position", 154 Arrays.binarySearch(doubleArray, (double) counter) == (double) counter); 156 -1, Arrays.binarySearch(doubleArray, (double) -1)); 159 Arrays.binarySearch(doubleArray, (double) arraySize) == -(arraySize + 1)) [all...] |