Home
last modified time | relevance | path

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

/openbmc/entity-manager/src/
H A Dutils.cpp225 std::string* strPtr = keyPair.value().get_ptr<std::string*>(); in templateCharReplace() local
226 if (strPtr == nullptr) in templateCharReplace()
231 boost::replace_all(*strPtr, std::string(templateChar) + "index", in templateCharReplace()
235 boost::replace_all(*strPtr, *replaceStr, std::to_string(index)); in templateCharReplace()
242 boost::ifind_first(*strPtr, templateName); in templateCharReplace()
248 size_t start = find.begin() - strPtr->begin(); in templateCharReplace()
251 if ((start == 0U) && find.end() == strPtr->end()) in templateCharReplace()
261 if (nextItemIdx > strPtr->size() || in templateCharReplace()
263 strPtr->at(nextItemIdx)) == mathChars.end()) in templateCharReplace()
266 boost::ireplace_all(*strPtr, templateName, val); in templateCharReplace()
[all …]