Home
last modified time | relevance | path

Searched refs:dValue (Results 1 – 19 of 19) sorted by relevance

/external/parameter-framework/upstream/parameter/
DFixedPointParameterType.cpp332 bool CFixedPointParameterType::checkValueAgainstRange(double dValue) const in checkValueAgainstRange()
338 return (dValue <= dMax) && (dValue >= dMin); in checkValueAgainstRange()
342 int32_t CFixedPointParameterType::doubleToBinaryQnm(double dValue) const in doubleToBinaryQnm()
345 int32_t iData = static_cast<int32_t>(round(dValue * double(1UL << _uiFractional))); in doubleToBinaryQnm()
DFloatingPointParameterType.cpp259 bool CFloatingPointParameterType::checkValueAgainstRange(double dValue) const in checkValueAgainstRange()
263 if ((dValue < -std::numeric_limits<float>::max()) || in checkValueAgainstRange()
264 (dValue > std::numeric_limits<float>::max())) { in checkValueAgainstRange()
268 return checkValueAgainstRange(static_cast<float>(dValue)); in checkValueAgainstRange()
DParameterAdaptation.cpp76 int64_t CParameterAdaptation::fromUserValue(double dValue) const in fromUserValue()
78 return (int64_t)dValue + _iOffset; in fromUserValue()
DLinearParameterAdaptation.cpp82 int64_t CLinearParameterAdaptation::fromUserValue(double dValue) const in fromUserValue()
84 return base::fromUserValue(dValue * _dSlopeNumerator / _dSlopeDenominator); in fromUserValue()
DFixedPointParameterType.h135 bool checkValueAgainstRange(double dValue) const;
145 int32_t doubleToBinaryQnm(double dValue) const;
DParameter.cpp134 bool CParameter::access(double &dValue, bool bSet, in access() argument
137 return doAccess(dValue, bSet, parameterAccessContext); in access()
DLinearParameterAdaptation.h43 int64_t fromUserValue(double dValue) const override;
DLogarithmicParameterAdaptation.h56 int64_t fromUserValue(double dValue) const override;
DParameterAdaptation.h49 virtual int64_t fromUserValue(double dValue) const;
DFloatingPointParameterType.h86 bool checkValueAgainstRange(double dValue) const;
DParameter.h67 bool access(double &dValue, bool bSet,
DBaseParameter.h72 virtual bool access(double &dValue, bool bSet,
/external/pdfium/fxjs/
Dcjs_publicmethods.cpp87 ByteString CalculateString(double dValue, in CalculateString() argument
91 *bNegative = dValue < 0; in CalculateString()
93 dValue = -dValue; in CalculateString()
99 ss << std::fixed << std::setprecision(iDec) << dValue; in CalculateString()
891 double dValue = atof(strValue.c_str()); in AFNumber_Format() local
893 dValue += kDoubleCorrect; in AFNumber_Format()
898 strValue = CalculateString(dValue, iDec, &iDec2, &bNegative); in AFNumber_Format()
900 dValue = 0; in AFNumber_Format()
901 strValue = CalculateString(dValue, iDec, &iDec2, &bNegative); in AFNumber_Format()
1081 double dValue = atof(strValue.c_str()); in AFPercent_Format() local
[all …]
Dcfxjse_formcalc_context.cpp607 double dValue = dwFractional / 4294967296.0; in ByteStringToDouble() local
608 dValue = nIntegral + (nIntegral >= 0 ? dValue : -dValue); in ByteStringToDouble()
610 dValue *= FXSYS_pow(10, static_cast<float>(nExponent)); in ByteStringToDouble()
612 return dValue; in ByteStringToDouble()
632 double dValue = ValueToDouble(pThis, argOne.get()); in Abs() local
633 if (dValue < 0) in Abs()
634 dValue = -dValue; in Abs()
636 args.GetReturnValue()->SetDouble(dValue); in Abs()
831 double dValue = ValueToDouble(pThis, newPropertyValue.get()); in Max() local
832 dMaxValue = (uCount == 1) ? dValue : std::max(dMaxValue, dValue); in Max()
[all …]
/external/guava/guava/src/com/google/common/primitives/
DUnsignedLong.java215 double dValue = (double) (value & UNSIGNED_MASK); in doubleValue() local
217 dValue += 0x1.0p63; in doubleValue()
219 return dValue; in doubleValue()
/external/replicaisland/src/com/replica/replicaisland/
DSliderPreference.java98 int dValue = (int)ta.getInt(index, INITIAL_VALUE); in onGetDefaultValue() local
100 return (int)Utils.clamp(dValue, 0, MAX_SLIDER_VALUE); in onGetDefaultValue()
/external/pdfium/xfa/fxfa/parser/
Dcxfa_localevalue.cpp264 double dValue = dwFractional / 4294967296.0; in GetDoubleNum() local
265 dValue = nIntegral + (nIntegral >= 0 ? dValue : -dValue); in GetDoubleNum()
267 dValue *= FXSYS_pow(10, static_cast<float>(nExponent)); in GetDoubleNum()
269 return dValue; in GetDoubleNum()
/external/deqp/external/openglcts/modules/common/
DglcTextureFilterAnisotropicTests.cpp343 GLdouble dValue; in verifyGet() local
356 gl.getDoublev(GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, &dValue); in verifyGet()
/external/v8/benchmarks/
Dcrypto.js1670 dValue="8e9912f6d3645894e8d38cb58c0db81ff516cf4c7e5a14c7f1eddb1459d2cded4d8d293fc97aee6aefb861859c8…
1686 RSA.setPrivateEx(nValue, eValue, dValue, pValue, qValue, dmp1Value, dmq1Value, coeffValue);
1693 RSA.setPrivateEx(nValue, eValue, dValue, pValue, qValue, dmp1Value, dmq1Value, coeffValue);