Searched refs:oldStr (Results 1 – 3 of 3) sorted by relevance
/developtools/profiler/device/base/include/ |
D | logging.h | 120 inline void StringReplace(std::string& str, const std::string& oldStr, const std::string& newStr) in StringReplace() argument 123 while ((pos = str.find(oldStr, pos)) != std::string::npos) { in StringReplace() 124 str.replace(pos, oldStr.length(), newStr); in StringReplace()
|
/developtools/global_resource_tool/src/ |
D | resource_util.cpp | 262 void ResourceUtil::StringReplace(string &sourceStr, const string &oldStr, const string &newStr) in StringReplace() argument 265 string::size_type oldSize = oldStr.size(); in StringReplace() 267 while ((pos = sourceStr.find(oldStr, pos)) != string::npos) { in StringReplace()
|
/developtools/global_resource_tool/include/ |
D | resource_util.h | 43 …static void StringReplace(std::string &sourceStr, const std::string &oldStr, const std::string &ne…
|