Lines Matching defs:file
68 // noted, a file path can contain either kind of path separators, or a mixture
115 // Example: FilePath("dir/file.exe").RemoveExtension("EXE") returns
116 // FilePath("dir/file"). If a case-insensitive extension is not
143 // Example: FilePath("path/to/file").RemoveDirectoryName() returns
144 // FilePath("file"). If there is no directory part ("just_a_file"), it returns
145 // the FilePath unmodified. If there is no file part ("just_a_dir/") it
154 // Example: FilePath("path/to/file").RemoveFileName() returns "path/to/".
157 // not have a file, like "just/a/dir/", it returns the FilePath unmodified.
180 String file;
182 file = String::Format("%s.%s", base_name.c_str(), extension);
184 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension);
186 return ConcatPaths(directory, FilePath(file));
200 // Returns true if pathname describes something findable in the file-system,
201 // either a file, directory, or whatever.
214 // Returns true if pathname describes a directory in the file-system
271 // Returns a pathname for a file that does not currently exist. The pathname
292 // This does NOT check that a directory (or file) actually exists.