Searched refs:newstr (Results 1 - 2 of 2) sorted by relevance
/foundation/ability/idl_tool/idl_tool_2/util/ |
H A D | string_helper.cpp | 98 std::string StringHelper::Replace(const std::string &value, const std::string &oldstr, const std::string &newstr)
in Replace() argument 103 result.replace(pos, oldstr.size(), newstr);
in Replace() 104 pos += newstr.size();
in Replace() 110 const std::string &value, size_t position, const std::string &substr, const std::string &newstr)
in Replace() 118 return prefix + Replace(suffix, substr, newstr);
in Replace() 109 Replace( const std::string &value, size_t position, const std::string &substr, const std::string &newstr) Replace() argument
|
H A D | string_helper.h | 39 static std::string Replace(const std::string &value, const std::string &oldstr, const std::string &newstr);
42 const std::string &value, size_t position, const std::string &substr, const std::string &newstr);
|
Completed in 1 milliseconds