Home
last modified time | relevance | path

Searched refs:strLiteral (Results 1 – 3 of 3) sorted by relevance

/external/parameter-framework/upstream/parameter/
DEnumParameterType.cpp195 bool CEnumParameterType::getLiteral(int32_t iNumerical, string &strLiteral) const in getLiteral()
206 strLiteral = pValuePair->getName(); in getLiteral()
215 bool CEnumParameterType::getNumerical(const string &strLiteral, int32_t &iNumerical) const in getNumerical() argument
224 if (pValuePair->getName() == strLiteral) { in getNumerical()
DEnumParameterType.h78 bool getLiteral(int32_t iNumerical, std::string &strLiteral) const;
79 bool getNumerical(const std::string &strLiteral, int &iNumerical) const;
/external/clang/tools/libclang/
DCIndex.cpp3604 std::string strLiteral(S->getString().str()); in evaluateExpr() local
3607 result->EvalData.stringVal = new char[strLiteral.size() + 1]; in evaluateExpr()
3608 strncpy((char *)result->EvalData.stringVal, strLiteral.c_str(), in evaluateExpr()
3609 strLiteral.size()); in evaluateExpr()
3610 result->EvalData.stringVal[strLiteral.size()] = '\0'; in evaluateExpr()
3630 std::string strLiteral(S->getString().str()); in evaluateExpr() local
3632 result->EvalData.stringVal = new char[strLiteral.size() + 1]; in evaluateExpr()
3633 strncpy((char *)result->EvalData.stringVal, strLiteral.c_str(), in evaluateExpr()
3634 strLiteral.size()); in evaluateExpr()
3635 result->EvalData.stringVal[strLiteral.size()] = '\0'; in evaluateExpr()