Home
last modified time | relevance | path

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

/external/parameter-framework/upstream/parameter/
DEnumParameterType.cpp223 bool CEnumParameterType::getLiteral(int32_t iNumerical, string &strLiteral) const in getLiteral()
234 strLiteral = pValuePair->getName(); in getLiteral()
243 bool CEnumParameterType::getNumerical(const string &strLiteral, int32_t &iNumerical) const in getNumerical() argument
252 if (pValuePair->getName() == strLiteral) { in getNumerical()
DEnumParameterType.h79 bool getLiteral(int32_t iNumerical, std::string &strLiteral) const;
80 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()
/external/llvm-project/clang/tools/libclang/
DCIndex.cpp3996 std::string strLiteral(S->getString().str()); in evaluateExpr() local
3999 result->EvalData.stringVal = new char[strLiteral.size() + 1]; in evaluateExpr()
4000 strncpy((char *)result->EvalData.stringVal, strLiteral.c_str(), in evaluateExpr()
4001 strLiteral.size()); in evaluateExpr()
4002 result->EvalData.stringVal[strLiteral.size()] = '\0'; in evaluateExpr()
4022 std::string strLiteral(S->getString().str()); in evaluateExpr() local
4024 result->EvalData.stringVal = new char[strLiteral.size() + 1]; in evaluateExpr()
4025 strncpy((char *)result->EvalData.stringVal, strLiteral.c_str(), in evaluateExpr()
4026 strLiteral.size()); in evaluateExpr()
4027 result->EvalData.stringVal[strLiteral.size()] = '\0'; in evaluateExpr()