Searched refs:oldsub (Results 1 – 2 of 2) sorted by relevance
/external/protobuf/src/google/protobuf/stubs/ |
D | strutil.cc | 104 void StringReplace(const string& s, const string& oldsub, in StringReplace() argument 107 if (oldsub.empty()) { in StringReplace() 115 pos = s.find(oldsub, start_pos); in StringReplace() 121 start_pos = pos + oldsub.size(); // start searching again after the "old" in StringReplace() 135 string StringReplace(const string& s, const string& oldsub, in StringReplace() argument 138 StringReplace(s, oldsub, newsub, replace_all, &ret); in StringReplace()
|
D | strutil.h | 166 LIBPROTOBUF_EXPORT string StringReplace(const string& s, const string& oldsub,
|