Searched refs:newsub (Results 1 – 6 of 6) sorted by relevance
/external/tensorflow/tensorflow/core/platform/ |
D | str_util.cc | 139 string StringReplace(StringPiece s, StringPiece oldsub, StringPiece newsub, in StringReplace() argument 146 res.replace(pos, oldsub.size(), newsub.data(), newsub.size()); in StringReplace() 147 pos += newsub.size(); in StringReplace()
|
D | str_util.h | 101 string StringReplace(StringPiece s, StringPiece oldsub, StringPiece newsub,
|
/external/tensorflow/tensorflow/core/profiler/internal/ |
D | tfprof_utils.h | 42 const string& newsub);
|
D | tfprof_utils.cc | 71 const string& newsub) { in StringReplace() argument 73 RE2::GlobalReplace(&out, oldsub, newsub); in StringReplace()
|
/external/protobuf/src/google/protobuf/stubs/ |
D | strutil.cc | 149 const string& newsub, bool replace_all, in StringReplace() argument 164 res->append(newsub); in StringReplace() 180 const string& newsub, bool replace_all) { in StringReplace() argument 182 StringReplace(s, oldsub, newsub, replace_all, &ret); in StringReplace()
|
D | strutil.h | 208 const string& newsub, bool replace_all);
|