Searched refs:new_extension (Results 1 – 2 of 2) sorted by relevance
81 std::string ReplaceFileExtension(const std::string& filename, const std::string& new_extension);
303 std::string ReplaceFileExtension(const std::string& filename, const std::string& new_extension) { in ReplaceFileExtension() argument306 return filename + "." + new_extension; in ReplaceFileExtension()308 return filename.substr(0, last_ext + 1) + new_extension; in ReplaceFileExtension()