Home | History | Annotate | Download | only in src

Lines Matching defs:file

68 // noted, a file path can contain either kind of path separators, or a mixture
113 // Example: FilePath("dir/file.exe").RemoveExtension("EXE") returns
114 // FilePath("dir/file"). If a case-insensitive extension is not
141 // Example: FilePath("path/to/file").RemoveDirectoryName() returns
142 // FilePath("file"). If there is no directory part ("just_a_file"), it returns
143 // the FilePath unmodified. If there is no file part ("just_a_dir/") it
152 // Example: FilePath("path/to/file").RemoveFileName() returns "path/to/".
155 // not have a file, like "just/a/dir/", it returns the FilePath unmodified.
178 String file;
180 file = String::Format("%s.%s", base_name.c_str(), extension);
182 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension);
184 return ConcatPaths(directory, FilePath(file));
198 // Returns true if pathname describes something findable in the file-system,
199 // either a file, directory, or whatever.
212 // Returns true if pathname describes a directory in the file-system
269 // Returns a pathname for a file that does not currently exist. The pathname
290 // This does NOT check that a directory (or file) actually exists.