HomeSort by relevance Sort by last modified time
    Searched defs:strValue (Results 1 - 25 of 64) sorted by null

1 2 3

  /external/parameter-framework/upstream/parameter/
MappingData.cpp 45 std::string strKey, strValue;
52 strValue = "";
60 strValue = strMappingElement.substr(iFistDelimiterOccurrence + 1);
63 if (!addValue(strKey, strValue)) {
65 error = "Unable to process Mapping element key = " + strKey + ", value = " + strValue +
92 bool CMappingData::addValue(const std::string &strkey, const std::string &strValue)
98 _keyToValueMap[strkey] = strValue;
BaseParameter.cpp 65 string strValue;
67 doGetValue(strValue, getOffset() - configurationAccessContext.getBaseOffset(),
71 xmlConfigurationSettingsElementContent.setTextContent(strValue);
147 bool CBaseParameter::access(string &strValue, bool bSet,
153 if (!doSetValue(strValue, getOffset() - parameterAccessContext.getBaseOffset(),
168 doGetValue(strValue, getOffset() - parameterAccessContext.getBaseOffset(),
185 bool CBaseParameter::accessValue(CPathNavigator &pathNavigator, string &strValue, bool bSet,
194 return access(strValue, bSet, parameterAccessContext);
FloatingPointParameterType.cpp 117 const string &strValue, uint32_t &uiValue,
121 if (utility::isHexadecimal(strValue) && !parameterAccessContext.valueSpaceIsRaw()) {
124 " when selected value space is real: " + strValue);
132 if (!convertTo(strValue, uiValue)) {
134 parameterAccessContext.setError("Value '" + strValue + "' is invalid");
143 parameterAccessContext.setError("Value " + strValue + " is not a finite number");
149 setOutOfRangeError(strValue, parameterAccessContext);
158 if (!convertTo(strValue, fValue)) {
160 parameterAccessContext.setError("Value " + strValue + " is invalid");
166 setOutOfRangeError(strValue, parameterAccessContext)
    [all...]
SelectionCriterionRule.cpp 83 string strValue;
85 if (!ruleParser.next(strValue, strError)) {
99 if (!_pSelectionCriterion->getCriterionType()->getNumericalValue(strValue, _iMatchValue)) {
101 strError = "Value error: \"" + strValue + "\" is not part of criterion \"" +
182 string strValue;
183 xmlElement.getAttribute("Value", strValue);
185 if (!_pSelectionCriterion->getCriterionType()->getNumericalValue(strValue, _iMatchValue)) {
187 xmlDomainImportContext.setError("Wrong Value attribute value " + strValue + " in " +
209 string strValue;
211 _pSelectionCriterion->getCriterionType()->getLiteralValue(_iMatchValue, strValue);
    [all...]
BitParameterType.cpp 122 bool CBitParameterType::toBlackboard(const string &strValue, uint64_t &uiValue,
126 uint64_t uiConvertedValue = strtoull(strValue.c_str(), NULL, 0);
133 strStream << "Value " << strValue << " standing out of admitted range [";
135 if (utility::isHexadecimal(strValue)) {
156 void CBitParameterType::fromBlackboard(string &strValue, const uint64_t &uiValue,
172 strValue = strStream.str();
IntegerParameterType.cpp 141 bool CIntegerParameterType::toBlackboard(const string &strValue, uint32_t &uiValue,
145 bool bValueProvidedAsHexa = utility::isHexadecimal(strValue);
150 if (!convertValueFromString(strValue, iData, parameterAccessContext)) {
164 if (!checkValueAgainstRange<int64_t>(strValue, iData, (int32_t)_uiMin, (int32_t)_uiMax,
171 if (!checkValueAgainstRange<uint64_t>(strValue, iData, _uiMin, _uiMax,
183 bool CIntegerParameterType::fromBlackboard(string &strValue, const uint32_t &value,
214 strValue = stream.str();
367 const string &strValue, int64_t &iData, CParameterAccessContext &parameterAccessContext) const
377 iData = strtoll(strValue.c_str(), &pcStrEnd, 0);
380 iData = strtoull(strValue.c_str(), &pcStrEnd, 0)
    [all...]
FixedPointParameterType.cpp 119 bool CFixedPointParameterType::toBlackboard(const string &strValue, uint32_t &uiValue,
122 bool bValueProvidedAsHexa = utility::isHexadecimal(strValue);
137 return convertFromHexadecimal(strValue, uiValue, parameterAccessContext);
139 return convertFromDecimal(strValue, uiValue, parameterAccessContext);
141 return convertFromQnm(strValue, uiValue, parameterAccessContext);
145 const string &strValue, CParameterAccessContext &parameterAccessContext) const
149 stream << "Value " << strValue << " standing out of admitted ";
168 if (utility::isHexadecimal(strValue)) {
190 bool CFixedPointParameterType::fromBlackboard(string &strValue, const uint32_t &value,
225 strValue = stream.str()
    [all...]
Element.cpp 105 string strValue = logValue(errorContext);
107 if (!strValue.empty()) {
109 output += " = " + strValue;
Subsystem.cpp 281 string strValue = formatMappingDataList(configurableElementPath);
287 strValue += ", " + subsystemObjectAmendedMapping;
290 return strValue;
  /external/parameter-framework/upstream/test/test-subsystem/
TESTSubsystemObject.cpp 108 std::string strValue = toString(pvValue, _scalarSize);
110 outputFile << strValue << std::endl;
116 info() << "TESTSUBSYSTEM: Writing '" << strValue << "' to file " << _strFilePath;
119 info() << "TESTSUBSYSTEM: Writing '" << strValue << "' to file " << _strFilePath
134 std::string strValue;
136 inputFile >> strValue;
142 info() << "TESTSUBSYSTEM: Reading '" << strValue << "' to file " << _strFilePath;
145 info() << "TESTSUBSYSTEM: Reading '" << strValue << "' to file " << _strFilePath
150 fromString(strValue, pvValue, _scalarSize);
  /external/pdfium/xfa/fde/css/
cfde_cssstylesheet.cpp 72 CFX_WideStringC strValue = pSyntax->GetCurrentString();
73 auto pSelector = CFDE_CSSSelector::FromString(strValue);
79 CFX_WideStringC strValue = pSyntax->GetCurrentString();
80 propertyTable = FDE_GetCSSPropertyByName(strValue);
82 wsName = CFX_WideString(strValue);
87 CFX_WideStringC strValue = pSyntax->GetCurrentString();
89 if (!strValue.IsEmpty()) {
91 decl->AddProperty(propertyTable, strValue);
93 decl->AddProperty(wsName, CFX_WideString(strValue));
cfde_cssstyleselector.cpp 154 CFX_WideStringC strValue = pSyntax->GetCurrentString();
155 table = FDE_GetCSSPropertyByName(strValue);
157 wsName = CFX_WideString(strValue);
160 CFX_WideStringC strValue = pSyntax->GetCurrentString();
161 if (!strValue.IsEmpty()) {
163 pDecl->AddProperty(table, strValue);
165 pDecl->AddProperty(wsName, CFX_WideString(strValue));
  /external/parameter-framework/upstream/test/test-platform/
TestPlatform.cpp 267 const std::string &strValue = remoteCommand.getArgument(state + 1);
270 if (!pCriterionType->addValuePair(int(state), strValue, strResult)) {
272 strResult = "Unable to add value: " + strValue + ": " + strResult;
295 const std::string &strValue = remoteCommand.getArgument(state + 1);
297 if (!pCriterionType->addValuePair(0x1 << state, strValue, strResult)) {
299 strResult = "Unable to add value: " + strValue + ": " + strResult;
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue150/
YamlLoadAsIssueTest.java 131 String strValue = toScalarString(node);
132 if (strValue != null && strValue.length() > 2) {
133 strValue = strValue.trim().substring(2);
135 w.setId(Integer.valueOf(strValue));
  /frameworks/base/drm/java/android/drm/
DrmUtils.java 159 String strValue = readMultipleBytes(constraintData, valueLength, index);
160 if (strValue.equals(" ")) {
161 strValue = "";
164 mMap.put(strKey, strValue);
  /system/nfc/halimpl/bcm2079x/adaptation/
config.cpp 181 string strValue;
217 strValue.erase();
279 strValue.push_back(c);
292 while (n-- > 0) strValue.push_back(((numValue >> (n * 8)) & 0xFF));
294 if (strValue.length() > 0)
295 pParam = new CNfcParam(token.c_str(), strValue);
299 strValue.erase();
305 strValue.push_back('\0');
307 pParam = new CNfcParam(token.c_str(), strValue);
310 strValue.push_back(c)
    [all...]
  /system/nfc/src/adaptation/
config.cpp 181 string strValue;
226 strValue.erase();
288 strValue.push_back(c);
301 while (n-- > 0) strValue.push_back(((numValue >> (n * 8)) & 0xFF));
303 if (strValue.length() > 0)
304 pParam = new CNfcParam(token.c_str(), strValue);
308 strValue.erase();
314 strValue.push_back('\0');
316 pParam = new CNfcParam(token.c_str(), strValue);
319 strValue.push_back(c)
    [all...]
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
XMPNodeUtils.java 326 String strValue = serializeNodeValue(value);
329 node.setValue(strValue);
333 node.setValue(Utils.normalizeLangValue(strValue));
394 String strValue;
397 strValue = null;
401 strValue = XMPUtils.convertFromBoolean(((Boolean) value).booleanValue());
405 strValue = XMPUtils.convertFromInteger(((Integer) value).intValue());
409 strValue = XMPUtils.convertFromLong(((Long) value).longValue());
413 strValue = XMPUtils.convertFromDouble(((Double) value).doubleValue());
417 strValue = XMPUtils.convertFromDate((XMPDateTime) value)
    [all...]
  /packages/apps/Nfc/nci/jni/extns/pn54x/src/utils/
phNxpConfig.cpp 208 string strValue;
252 strValue.erase ();
349 strValue.push_back (c);
377 strValue.push_back (((numValue >> (n * 8)) & 0xFF));
379 if (strValue.length() > 0)
380 pParam = new CNxpNfcParam (token.c_str (), strValue);
385 strValue.erase ();
392 strValue.push_back('\0');
394 pParam = new CNxpNfcParam(token.c_str(), strValue);
399 strValue.push_back(c)
    [all...]
  /system/nfc/halimpl/pn54x/utils/
phNxpConfig.cpp 252 string strValue;
279 strValue.erase();
349 strValue.push_back(c);
368 while (n-- > 0) strValue.push_back(((numValue >> (n * 8)) & 0xFF));
370 if (strValue.length() > 0)
371 pParam = new CNfcParam(token.c_str(), strValue);
375 strValue.erase();
381 strValue.push_back('\0');
383 pParam = new CNfcParam(token.c_str(), strValue);
386 strValue.push_back(c)
    [all...]
  /external/pdfium/fpdfsdk/javascript/
PublicMethods.cpp 769 CFX_ByteString strValue = StrTrim(CFX_ByteString::FromUnicode(Value));
770 if (strValue.IsEmpty())
790 strValue.Replace(",", ".");
791 double dValue = atof(strValue.c_str());
798 strValue = CalculateString(dValue, iDec, &iDec2, &bNegative);
799 if (strValue.IsEmpty()) {
801 strValue = CalculateString(dValue, iDec, &iDec2, &bNegative);
802 if (strValue.IsEmpty()) {
803 strValue = "0";
809 if (iDec2 < strValue.GetLength())
    [all...]
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
GraphReader.java 410 String strValue = null;
411 if ((strValue = attributes.getValue("stringValue")) != null) {
412 return strValue;
413 } else if ((strValue = attributes.getValue("booleanValue")) != null) {
414 return Boolean.parseBoolean(strValue);
415 } else if ((strValue = attributes.getValue("intValue")) != null) {
416 return Integer.parseInt(strValue);
417 } else if ((strValue = attributes.getValue("floatValue")) != null) {
418 return Float.parseFloat(strValue);
419 } else if ((strValue = attributes.getValue("floatsValue")) != null)
    [all...]
  /frameworks/layoutlib/bridge/src/android/content/res/
Resources_Delegate.java 771 String strValue = pluralsResourceValue.getValue(pluralRules.select(quantity));
772 if (strValue == null) {
773 strValue = pluralsResourceValue.getValue(PluralRules.KEYWORD_OTHER);
776 return strValue;
    [all...]
  /libcore/ojluni/src/main/java/java/text/
MessageFormat.java     [all...]
  /external/messageformat/java/com/ibm/icu/simple/
MessageFormat.java     [all...]

Completed in 2908 milliseconds

1 2 3