Searched refs:iValue (Results 1 - 25 of 35) sorted by relevance

12

/external/parameter-framework/parameter/include/
H A DSelectionCriterionTypeInterface.h37 virtual bool addValuePair(int iValue, const std::string& strValue) = 0;
38 virtual bool getNumericalValue(const std::string& strValue, int& iValue) const = 0;
39 virtual bool getLiteralValue(int iValue, std::string& strValue) const = 0;
41 virtual std::string getFormattedState(int iValue) const = 0;
H A DParameterHandle.h76 bool setAsSignedInteger(int32_t iValue, std::string& strError);
77 bool getAsSignedInteger(int32_t& iValue, std::string& strError) const;
/external/parameter-framework/parameter/
H A DSelectionCriterionType.cpp52 bool CSelectionCriterionType::addValuePair(int iValue, const std::string& strValue) argument
55 if (_bInclusive && (!iValue || (iValue & (iValue - 1)))) {
57 log_warning("Rejecting value pair association: 0x%X - %s for Selection Criterion Type %s", iValue, strValue.c_str(), getName().c_str());
65 log_warning("Rejecting value pair association (literal already present): 0x%X - %s for Selection Criterion Type %s", iValue, strValue.c_str(), getName().c_str());
69 _numToLitMap[strValue] = iValue;
74 bool CSelectionCriterionType::getNumericalValue(const std::string& strValue, int& iValue) const
83 iValue = 0;
92 iValue |
112 getLiteralValue(int iValue, std::string& strValue) const argument
[all...]
H A DSelectionCriterionType.h45 virtual bool addValuePair(int iValue, const std::string& strValue);
52 * @param[out] iValue: criterion type value represented as an integer.
56 virtual bool getNumericalValue(const std::string& strValue, int& iValue) const;
57 virtual bool getLiteralValue(int iValue, std::string& strValue) const;
64 virtual std::string getFormattedState(int iValue) const;
83 * @param[out] iValue: criterion type value represented as an integer.
87 bool getAtomicNumericalValue(const std::string& strValue, int& iValue) const;
H A DLogarithmicParameterAdaptation.h55 virtual double toUserValue(int64_t iValue) const;
H A DLinearParameterAdaptation.cpp102 double CLinearParameterAdaptation::toUserValue(int64_t iValue) const
104 return base::toUserValue(iValue) * _dSlopeDenominator / _dSlopeNumerator;
H A DLogarithmicParameterAdaptation.cpp87 double CLogarithmicParameterAdaptation::toUserValue(int64_t iValue) const
89 return exp(base::toUserValue(iValue) * log(_dLogarithmBase));
H A DParameterAdaptation.cpp89 double CParameterAdaptation::toUserValue(int64_t iValue) const
91 return (double)(iValue - _iOffset);
H A DLinearParameterAdaptation.h44 virtual double toUserValue(int64_t iValue) const;
H A DParameterAdaptation.h49 virtual double toUserValue(int64_t iValue) const;
H A DEnumParameterType.cpp213 int32_t iValue = uiValue; local
216 signExtend(iValue);
218 strStream << iValue; local
225 int32_t iValue = uiValue; local
228 signExtend(iValue);
231 getLiteral(iValue, strValue);
252 int32_t iValue = uiValue; local
255 signExtend(iValue);
257 iUserValue = iValue;
H A DIntegerParameterType.cpp207 int32_t iValue = uiValue; local
210 signExtend(iValue);
212 strStream << iValue; local
269 int32_t iValue = uiValue; local
272 signExtend(iValue);
275 iUserValue = iValue;
336 int32_t iValue = uiValue; local
338 signExtend(iValue);
340 iValueToConvert = iValue;
H A DBaseParameter.cpp132 bool CBaseParameter::accessAsSignedInteger(int32_t& iValue, bool bSet, CParameterAccessContext& parameterAccessContext) const argument
134 (void)iValue;
H A DParameter.cpp114 bool CParameter::accessAsSignedInteger(int32_t& iValue, bool bSet, CParameterAccessContext& parameterAccessContext) const argument
116 return doAccess(iValue, bSet, parameterAccessContext);
H A DFixedPointParameterType.h148 * @param[in] iValue the integer which contains the Qn.m number which should be converted.
150 * @return the double which contains the double representation of iValue.
152 double binaryQnmToDouble(int32_t iValue) const;
H A DParameter.h59 virtual bool accessAsSignedInteger(int32_t& iValue, bool bSet, CParameterAccessContext& parameterAccessContext) const;
H A DBaseParameter.h61 virtual bool accessAsSignedInteger(int32_t& iValue, bool bSet, CParameterAccessContext& parameterAccessContext) const;
H A DParameterHandle.cpp235 bool CParameterHandle::setAsSignedInteger(int32_t iValue, string& strError) argument
254 return _pBaseParameter->accessAsSignedInteger(iValue, true, parameterAccessContext);
257 bool CParameterHandle::getAsSignedInteger(int32_t& iValue, string& strError) const argument
270 return _pBaseParameter->accessAsSignedInteger(iValue, false, parameterAccessContext);
H A DFixedPointParameterType.cpp356 double CFixedPointParameterType::binaryQnmToDouble(int32_t iValue) const
359 iValue >>= getSize() * 8 - getUtilSizeInBits();
360 return static_cast<double>(iValue) / (1UL << _uiFractional);
/external/apache-harmony/beans/src/test/support/java/org/apache/harmony/beans/tests/support/
H A DSerializableBean.java30 private Integer iValue = null; field in class:SerializableBean
48 return iValue;
51 public void setIValue(Integer iValue) { argument
52 this.iValue = iValue;
/external/parameter-framework/bindings/python/
H A Dpfw.i202 virtual bool addValuePair(int iValue, const std::string& strValue) = 0;
203 virtual bool getNumericalValue(const std::string& strValue, int& iValue) const = 0;
204 virtual bool getLiteralValue(int iValue, std::string& strValue) const = 0;
206 virtual std::string getFormattedState(int iValue) const = 0;
/external/pdfium/fpdfsdk/src/javascript/
H A DJS_Value.cpp23 CJS_Value::CJS_Value(v8::Isolate* isolate, const int &iValue):m_isolate(isolate) argument
25 operator =(iValue);
154 void CJS_Value::operator =(int iValue) argument
156 m_pValue = JS_NewNumber(m_isolate, iValue);
327 void CJS_PropValue::operator <<(int iValue) argument
330 CJS_Value::operator =(iValue);
333 void CJS_PropValue::operator >>(int & iValue) const
336 iValue = CJS_Value::ToInt();
/external/parameter-framework/xmlserializer/
H A DXmlElement.h77 * @param[in] iValue The attribute value
80 void setAttributeSignedInteger(const std::string& strAttributeName, int32_t iValue);
H A DXmlElement.cpp224 void CXmlElement::setAttributeSignedInteger(const string& strAttributeName, int32_t iValue) argument
227 strStream << iValue; local
/external/pdfium/fpdfsdk/include/javascript/
H A DJS_Value.h23 CJS_Value(v8::Isolate* isolate, const int &iValue);
53 void operator = (int iValue);

Completed in 381 milliseconds

12