Home | History | Annotate | Download | only in base

Lines Matching full:filepath

41 FilePath MakeAbsoluteFilePath(const FilePath& input) {
45 return FilePath();
46 return FilePath(file_path);
49 bool DeleteFile(const FilePath& path, bool recursive) {
104 bool DeleteFileAfterReboot(const FilePath& path) {
115 bool ReplaceFile(const FilePath& from_path,
116 const FilePath& to_path,
136 bool CopyDirectory(const FilePath& from_path, const FilePath& to_path,
153 FilePath real_to_path = to_path;
163 FilePath real_from_path = MakeAbsoluteFilePath(from_path);
185 FilePath current = from_path;
188 FilePath from_path_base = from_path;
198 FilePath target_path(to_path);
227 bool PathExists(const FilePath& path) {
232 bool PathIsWritable(const FilePath& path) {
245 bool DirectoryExists(const FilePath& path) {
253 bool GetTempDir(FilePath* path) {
260 // when everyone is using the appropriate FilePath APIs.
261 *path = FilePath(temp_path).StripTrailingSeparators();
265 FilePath GetHomeDir() {
270 return FilePath(result);
274 FilePath temp;
279 return FilePath(L"C:\\");
282 bool CreateTemporaryFile(FilePath* path) {
285 FilePath temp_file;
302 FILE* CreateAndOpenTemporaryFileInDir(const FilePath& dir, FilePath* path) {
313 bool CreateTemporaryFileInDir(const FilePath& dir, FilePath* temp_file) {
328 *temp_file = FilePath(temp_name);
332 FilePath::StringType long_temp_name_str;
334 *temp_file = FilePath(long_temp_name_str);
338 bool CreateTemporaryDirInDir(const FilePath& base_dir,
339 const FilePath::StringType& prefix,
340 FilePath* new_dir) {
343 FilePath path_to_create;
364 bool CreateNewTempDirectory(const FilePath::StringType& prefix,
365 FilePath* new_temp_path) {
368 FilePath system_temp_dir;
375 bool CreateDirectoryAndGetError(const FilePath& full_path,
401 FilePath parent_path(full_path.DirName());
436 bool NormalizeFilePath(const FilePath& path, FilePath* real_path) {
438 FilePath mapped_file;
448 bool DevicePathToDriveLetterPath(const FilePath& nt_device_path,
449 FilePath* out_drive_letter_path) {
473 FilePath device_path(device_path_as_string);
476 *out_drive_letter_path = FilePath(drive +
492 bool NormalizeToNativeFilePath(const FilePath& path, FilePath* nt_path) {
540 *nt_path = FilePath(mapped_file_path);
549 bool IsLink(const FilePath& file_path) {
553 bool GetFileInfo(const FilePath& file_path, File::Info* results) {
576 FILE* OpenFile(const FilePath& filename, const char* mode) {
596 int ReadFile(const FilePath& filename, char* data, int max_size) {
615 int WriteFile(const FilePath& filename, const char* data, int size) {
647 int AppendToFile(const FilePath& filename, const char* data, int size) {
680 bool GetCurrentDirectory(FilePath* dir) {
690 // when everyone is using the appropriate FilePath APIs.
692 *dir = FilePath(dir_str).StripTrailingSeparators();
697 bool SetCurrentDirectory(const FilePath& directory) {
703 int GetMaximumPathComponentLength(const FilePath& path) {
731 bool MoveUnsafe(const FilePath& from_path, const FilePath& to_path) {
765 bool CopyFileUnsafe(const FilePath& from_path, const FilePath& to_path) {
794 bool CopyAndDeleteDirectory(const FilePath& from_path,
795 const FilePath& to_path) {