Searched refs:strLiteral (Results 1 – 3 of 3) sorted by relevance
195 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() argument224 if (pValuePair->getName() == strLiteral) { in getNumerical()
78 bool getLiteral(int32_t iNumerical, std::string &strLiteral) const;79 bool getNumerical(const std::string &strLiteral, int &iNumerical) const;
3604 std::string strLiteral(S->getString().str()); in evaluateExpr() local3607 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() local3632 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()