Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dstrutil.cc131 void StringReplace(const string& s, const string& oldsub, in StringReplace() argument
134 if (oldsub.empty()) { in StringReplace()
142 pos = s.find(oldsub, start_pos); in StringReplace()
148 start_pos = pos + oldsub.size(); // start searching again after the "old" in StringReplace()
162 string StringReplace(const string& s, const string& oldsub, in StringReplace() argument
165 StringReplace(s, oldsub, newsub, replace_all, &ret); in StringReplace()
Dstrutil.h204 LIBPROTOBUF_EXPORT string StringReplace(const string& s, const string& oldsub,