Home | History | Annotate | Download | only in src

Lines Matching refs:extension

103 // Returns a copy of the FilePath with the case-insensitive extension removed.
105 // FilePath("dir/file"). If a case-insensitive extension is not
107 FilePath FilePath::RemoveExtension(const char* extension) const {
108 String dot_extension(String::Format(".%s", extension));
141 // extension = "xml", returns "dir/test.xml". If number is greater
147 const char* extension) {
150 String::Format("%s.%s", base_name.c_str(), extension) :
151 String::Format("%s_%d.%s", base_name.c_str(), number, extension));
243 // will be directory/base_name.extension or
244 // directory/base_name_<number>.extension if directory/base_name.extension
252 const char* extension) {
256 full_pathname.Set(MakeFileName(directory, base_name, number++, extension));