Searched refs:last_ext (Results 1 – 1 of 1) sorted by relevance
381 const size_t last_ext = filename.find_last_of("./"); in ReplaceFileExtension() local382 if (last_ext == std::string::npos || filename[last_ext] != '.') { in ReplaceFileExtension()385 return filename.substr(0, last_ext + 1) + new_extension; in ReplaceFileExtension()