Searched refs:old_suffix (Results 1 – 3 of 3) sorted by relevance
254 bool ReplaceSuffix(const string& old_suffix, in ReplaceSuffix() argument257 if (!EndsWith(*str, old_suffix)) return false; in ReplaceSuffix()258 str->replace(str->length() - old_suffix.length(), in ReplaceSuffix()259 old_suffix.length(), in ReplaceSuffix()
141 const char* old_suffix; in TEST() member153 EXPECT_TRUE(ReplaceSuffix(test_case.old_suffix, in TEST()
100 bool ReplaceSuffix(const std::string& old_suffix,