Home | History | Annotate | Download | only in files

Lines Matching refs:BASE_EXPORT

19 #include "base/base_export.h"
49 BASE_EXPORT FilePath MakeAbsoluteFilePath(const FilePath& input);
56 BASE_EXPORT int64_t ComputeDirectorySize(const FilePath& root_path);
70 BASE_EXPORT bool DeleteFile(const FilePath& path, bool recursive);
78 BASE_EXPORT bool DeleteFileAfterReboot(const FilePath& path);
86 BASE_EXPORT bool Move(const FilePath& from_path, const FilePath& to_path);
94 BASE_EXPORT bool ReplaceFile(const FilePath& from_path,
103 BASE_EXPORT bool CopyFile(const FilePath& from_path, const FilePath& to_path);
115 BASE_EXPORT bool CopyDirectory(const FilePath& from_path,
121 BASE_EXPORT bool PathExists(const FilePath& path);
124 BASE_EXPORT bool PathIsWritable(const FilePath& path);
127 BASE_EXPORT bool DirectoryExists(const FilePath& path);
131 BASE_EXPORT bool ContentsEqual(const FilePath& filename1,
136 BASE_EXPORT bool TextContentsEqual(const FilePath& filename1,
146 BASE_EXPORT bool ReadFileToString(const FilePath& path, std::string* contents);
157 BASE_EXPORT bool ReadFileToString(const FilePath& path,
166 BASE_EXPORT bool ReadFromFD(int fd, char* buffer, size_t bytes);
170 BASE_EXPORT bool CreateSymbolicLink(const FilePath& target,
175 BASE_EXPORT bool ReadSymbolicLink(const FilePath& symlink, FilePath* target);
198 BASE_EXPORT bool GetPosixFilePermissions(const FilePath& path, int* mode);
201 BASE_EXPORT bool SetPosixFilePermissions(const FilePath& path, int mode);
206 BASE_EXPORT bool IsDirectoryEmpty(const FilePath& dir_path);
214 BASE_EXPORT bool GetTempDir(FilePath* path);
222 BASE_EXPORT FilePath GetHomeDir();
227 BASE_EXPORT bool CreateTemporaryFile(FilePath* path);
230 BASE_EXPORT bool CreateTemporaryFileInDir(const FilePath& dir,
236 BASE_EXPORT FILE* CreateAndOpenTemporaryFile(FilePath* path);
239 BASE_EXPORT FILE* CreateAndOpenTemporaryFileInDir(const FilePath& dir,
246 BASE_EXPORT bool CreateNewTempDirectory(const FilePath::StringType& prefix,
252 BASE_EXPORT bool CreateTemporaryDirInDir(const FilePath& base_dir,
261 BASE_EXPORT bool CreateDirectoryAndGetError(const FilePath& full_path,
265 BASE_EXPORT bool CreateDirectory(const FilePath& full_path);
268 BASE_EXPORT bool GetFileSize(const FilePath& file_path, int64_t* file_size);
276 BASE_EXPORT bool NormalizeFilePath(const FilePath& path, FilePath* real_path);
283 BASE_EXPORT bool DevicePathToDriveLetterPath(const FilePath& device_path,
290 BASE_EXPORT bool NormalizeToNativeFilePath(const FilePath& path,
295 BASE_EXPORT bool IsLink(const FilePath& file_path);
298 BASE_EXPORT bool GetFileInfo(const FilePath& file_path, File::Info* info);
301 BASE_EXPORT bool TouchFile(const FilePath& path,
306 BASE_EXPORT FILE* OpenFile(const FilePath& filename, const char* mode);
309 BASE_EXPORT bool CloseFile(FILE* file);
313 BASE_EXPORT FILE* FileToFILE(File file, const char* mode);
317 BASE_EXPORT bool TruncateFile(FILE* file);
321 BASE_EXPORT int ReadFile(const FilePath& filename, char* data, int max_size);
325 BASE_EXPORT int WriteFile(const FilePath& filename, const char* data,
331 BASE_EXPORT bool WriteFileDescriptor(const int fd, const char* data, int size);
336 BASE_EXPORT bool AppendToFile(const FilePath& filename,
341 BASE_EXPORT bool GetCurrentDirectory(FilePath* path);
344 BASE_EXPORT bool SetCurrentDirectory(const FilePath& path);
350 BASE_EXPORT int GetUniquePathNumber(const FilePath& path,
356 BASE_EXPORT bool SetNonBlocking(int fd);
370 BASE_EXPORT bool VerifyPathControlledByUser(const base::FilePath& base,
384 BASE_EXPORT bool VerifyPathControlledByAdmin(const base::FilePath& path);
389 BASE_EXPORT int GetMaximumPathComponentLength(const base::FilePath& path);
408 BASE_EXPORT bool GetFileSystemType(const FilePath& path, FileSystemType* type);
417 BASE_EXPORT bool GetShmemTempDir(bool executable, FilePath* path);
426 BASE_EXPORT bool MoveUnsafe(const FilePath& from_path,
434 BASE_EXPORT bool CopyAndDeleteDirectory(const FilePath& from_path,