Home
last modified time | relevance | path

Searched refs:oldStr (Results 1 - 3 of 3) sorted by relevance

/developtools/profiler/device/base/include/
H A Dlogging.h120 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/
H A Dresource_util.cpp271 void ResourceUtil::StringReplace(string &sourceStr, const string &oldStr, const string &newStr) in StringReplace() argument
274 string::size_type oldSize = oldStr.size(); in StringReplace()
276 while ((pos = sourceStr.find(oldStr, pos)) != string::npos) { in StringReplace()
/developtools/global_resource_tool/include/
H A Dresource_util.h40 * @param oldStr: The string to be replaced
43 static void StringReplace(std::string &sourceStr, const std::string &oldStr, const std::string &newStr);

Completed in 2 milliseconds