Home | History | Annotate | Download | only in src

Lines Matching defs:dir

113 // Example: FilePath("dir/file.exe").RemoveExtension("EXE") returns
114 // FilePath("dir/file"). If a case-insensitive extension is not
155 // not have a file, like "just/a/dir/", it returns the FilePath unmodified.
159 String dir;
161 dir = String(c_str(), last_sep + 1 - c_str());
163 dir = kCurrentDirectoryString;
165 return FilePath(dir);
170 // Given directory = "dir", base_name = "test", number = 0,
171 // extension = "xml", returns "dir/test.xml". If number is greater
172 // than zero (e.g., 12), returns "dir/test_12.xml".
187 // Given directory = "dir", relative_path = "test.xml", returns "dir/test.xml".
193 const FilePath dir(directory.RemoveTrailingPathSeparator());
194 return FilePath(String::Format("%s%c%s", dir.c_str(), kPathSeparator,
274 // Examples: 'dir/foo_test.xml' or 'dir/foo_test_1.xml'.