Searched refs:new_extension (Results 1 – 2 of 2) sorted by relevance
99 std::string ReplaceFileExtension(const std::string& filename, const std::string& new_extension);
381 std::string ReplaceFileExtension(const std::string& filename, const std::string& new_extension) { in ReplaceFileExtension() argument384 return filename + "." + new_extension; in ReplaceFileExtension()386 return filename.substr(0, last_ext + 1) + new_extension; in ReplaceFileExtension()