/external/iproute2/netem/ |
pareto.c | 21 double dvalue; local 26 dvalue = (double)i/(double)65536; 27 dvalue = 1.0/pow(dvalue, 1.0/a); 28 dvalue -= 1.5; 29 dvalue *= (4.0/3.0)*(double)TABLEFACTOR; 30 if (dvalue > 32767) 31 dvalue = 32767; 33 printf(" %d", (int)rint(dvalue));
|
paretonormal.c | 37 double dvalue; local 40 dvalue = (double)i/(double)65536; 41 dvalue = 1.0/pow(dvalue, 1.0/a); 42 dvalue -= 1.5; 43 dvalue *= (4.0/3.0)*(double)TABLEFACTOR; 44 if (dvalue > 32767) 45 dvalue = 32767; 46 return (int)rint(dvalue);
|
/prebuilts/misc/common/swig/include/2.0.11/perl5/ |
reference.i | 51 %typemap(in) double *REFERENCE (double dvalue), double &REFERENCE(double dvalue) 62 dvalue = SvNV(tempsv); 63 $1 = &dvalue; 66 %typemap(in) float *REFERENCE (float dvalue), float &REFERENCE(float dvalue) 76 dvalue = (float) SvNV(tempsv); 77 $1 = &dvalue; 80 %typemap(in) int *REFERENCE (int dvalue), int &REFERENCE (int dvalue) [all...] |
perlinit.swg | 65 sv_setnv(sv, (double) swig_constants[i].dvalue);
|
/external/opencv3/modules/core/src/opencl/ |
meanstddev.cl | 78 sqdstT dvalue = convertToSDT(value); 79 accSqSum = fma(dvalue, dvalue, accSqSum);
|
/external/parameter-framework/upstream/parameter/ |
FloatingPointParameterType.cpp | 243 // Cast is fine because dValue has been checked against the value range 259 bool CFloatingPointParameterType::checkValueAgainstRange(double dValue) const 261 // Check that dValue can safely be cast to a float 263 if ((dValue < -std::numeric_limits<float>::max()) || 264 (dValue > std::numeric_limits<float>::max())) { 268 return checkValueAgainstRange(static_cast<float>(dValue));
|
LinearParameterAdaptation.cpp | 82 int64_t CLinearParameterAdaptation::fromUserValue(double dValue) const 84 return base::fromUserValue(dValue * _dSlopeNumerator / _dSlopeDenominator);
|
ParameterAdaptation.cpp | 76 int64_t CParameterAdaptation::fromUserValue(double dValue) const 78 return (int64_t)dValue + _iOffset;
|
FixedPointParameterType.cpp | 332 bool CFixedPointParameterType::checkValueAgainstRange(double dValue) const 338 return (dValue <= dMax) && (dValue >= dMin); 342 int32_t CFixedPointParameterType::doubleToBinaryQnm(double dValue) const 345 int32_t iData = static_cast<int32_t>(round(dValue * double(1UL << _uiFractional)));
|
FloatingPointParameterType.h | 82 * @param[in] dValue the user interpreted value (as double) 85 bool checkValueAgainstRange(double dValue) const;
|
LinearParameterAdaptation.h | 43 virtual int64_t fromUserValue(double dValue) const;
|
ParameterAdaptation.h | 48 virtual int64_t fromUserValue(double dValue) const;
|
FixedPointParameterType.h | 134 bool checkValueAgainstRange(double dValue) const; 140 * @param[in] dValue the double which should be converted. 144 int32_t doubleToBinaryQnm(double dValue) const;
|
Parameter.cpp | 134 bool CParameter::access(double &dValue, bool bSet, 137 return doAccess(dValue, bSet, parameterAccessContext);
|
/external/pdfium/xfa/src/fxfa/src/parser/ |
xfa_utils_imp.cpp | 383 FX_DOUBLE dValue = (dwFractional / 4294967296.0);
384 dValue = nIntegral + (nIntegral >= 0 ? dValue : -dValue);
386 dValue *= FXSYS_pow(10, (FX_FLOAT)nExponent);
388 return dValue;
|
/external/replicaisland/src/com/replica/replicaisland/ |
SliderPreference.java | 98 int dValue = (int)ta.getInt(index, INITIAL_VALUE); 100 return (int)Utils.clamp(dValue, 0, MAX_SLIDER_VALUE);
|
/libcore/ojluni/src/main/java/sun/misc/ |
FormattedFloatingDecimal.java | [all...] |
/external/nanopb-c/tests/encode_unittests/ |
encode_unittests.c | 150 double dvalue; local 161 dvalue = 0.0; 162 TEST(WRITES(pb_enc_fixed64(&s, NULL, &dvalue), "\x00\x00\x00\x00\x00\x00\x00\x00")) 163 dvalue = 99.0; 164 TEST(WRITES(pb_enc_fixed64(&s, NULL, &dvalue), "\x00\x00\x00\x00\x00\xc0\x58\x40")) 165 dvalue = -12345678.0; 166 TEST(WRITES(pb_enc_fixed64(&s, NULL, &dvalue), "\x00\x00\x00\xc0\x29\x8c\x67\xc1"))
|
/external/webrtc/webrtc/libjingle/xmllite/ |
xmlelement_unittest.cc | 100 elt.SetAttr(QName("", "d"), "dvalue"); 101 EXPECT_EQ("<root a=\"avalue2\" b=\"bvalue2\" c=\"cvalue\" d=\"dvalue\"/>", 106 EXPECT_EQ("<root a=\"avalue2\" b=\"bvalue2\" c=\"cvalue\" d=\"dvalue\"/>", 110 EXPECT_EQ("<root a=\"avalue2\" c=\"cvalue\" d=\"dvalue\"/>", elt.Str()); 113 EXPECT_EQ("<root c=\"cvalue\" d=\"dvalue\"/>", elt.Str());
|
/art/test/569-checker-pattern-replacement/src/ |
Main.java | 426 /// CHECK-DAG: <<DValue:d\d+>> ParameterValue 430 /// CHECK-DAG: InvokeStaticOrDirect [<<Obj>>,<<DValue>>,<<OValue>>{{(,[ij]\d+)?}}] method_name:Base.<init> 437 /// CHECK-DAG: <<DValue:d\d+>> ParameterValue 440 /// CHECK-DAG: InstanceFieldSet [<<Obj>>,<<DValue>>] 455 /// CHECK-DAG: <<DValue:d\d+>> ParameterValue 459 /// CHECK-DAG: InvokeStaticOrDirect [<<Obj>>,<<IValue>>,<<DValue>>,<<OValue>>{{(,[ij]\d+)?}}] method_name:Base.<init> 467 /// CHECK-DAG: <<DValue:d\d+>> ParameterValue 471 /// CHECK-DAG: InstanceFieldSet [<<Obj>>,<<DValue>>] 488 /// CHECK-DAG: <<DValue:d\d+>> ParameterValue 492 /// CHECK-DAG: InvokeStaticOrDirect [<<Obj>>,<<IValue>>,<<DValue>>,<<OValue>>{{(,[ij]\d+)?}}] method_name:Base.<init [all...] |
/libcore/ojluni/src/main/java/java/lang/ |
FloatingDecimal.java | [all...] |
/external/guava/guava/src/com/google/common/primitives/ |
UnsignedLong.java | 215 double dValue = (double) (value & UNSIGNED_MASK); 217 dValue += 0x1.0p63; 219 return dValue;
|
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/demos/ |
FFConsoleDemo.cpp | 85 virtual void setValue(double dValue) { _dValue = dValue; } 103 virtual void setValue(double dValue) { } 120 virtual void setValue(double dValue) 122 _dValue = dValue; 151 double dValue = getValue() + _dDeltaValue; 152 if (dValue > _dMaxValue) 154 dValue = _dMaxValue; 158 else if (dValue < _dMinValue) 160 dValue = _dMinValue [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_span.h | 137 GLfloat attrStepX[FRAG_ATTRIB_MAX][4]; /**< dvalue/dx */ 138 GLfloat attrStepY[FRAG_ATTRIB_MAX][4]; /**< dvalue/dy */
|
/external/pdfium/fpdfsdk/src/javascript/ |
JS_Value.cpp | 47 CJS_Value::CJS_Value(CJS_Runtime* pRuntime, const double& dValue) 49 operator=(dValue); 162 void CJS_Value::operator=(double dValue) { 163 m_pValue = FXJS_NewNumber(m_pJSRuntime->GetIsolate(), dValue); 312 void CJS_PropValue::operator<<(double dValue) { 314 CJS_Value::operator=(dValue); 317 void CJS_PropValue::operator>>(double& dValue) const { 319 dValue = CJS_Value::ToDouble();
|