Home | History | Annotate | Download | only in src

Lines Matching defs:file

100 // Example: FilePath("dir/file.exe").RemoveExtension("EXE") returns
101 // FilePath("dir/file"). If a case-insensitive extension is not
112 // Example: FilePath("path/to/file").RemoveDirectoryName() returns
113 // FilePath("file"). If there is no directory part ("just_a_file"), it returns
114 // the FilePath unmodified. If there is no file part ("just_a_dir/") it
123 // Example: FilePath("path/to/file").RemoveFileName() returns "path/to/".
126 // not have a file, like "just/a/dir/", it returns the FilePath unmodified.
149 String file;
151 file = String::Format("%s.%s", base_name.c_str(), extension);
153 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension);
155 return ConcatPaths(directory, FilePath(file));
169 // Returns true if pathname describes something findable in the file-system,
170 // either a file, directory, or whatever.
183 // Returns true if pathname describes a directory in the file-system
240 // Returns a pathname for a file that does not currently exist. The pathname
261 // This does NOT check that a directory (or file) actually exists.