Home | History | Annotate | Download | only in base

Lines Matching refs:BASE_EXPORT

26 #include "base/base_export.h"
51 BASE_EXPORT FilePath MakeAbsoluteFilePath(const FilePath& input);
58 BASE_EXPORT int64 ComputeDirectorySize(const FilePath& root_path);
72 BASE_EXPORT bool DeleteFile(const FilePath& path, bool recursive);
80 BASE_EXPORT bool DeleteFileAfterReboot(const FilePath& path);
88 BASE_EXPORT bool Move(const FilePath& from_path, const FilePath& to_path);
96 BASE_EXPORT bool ReplaceFile(const FilePath& from_path,
102 BASE_EXPORT bool CopyFile(const FilePath& from_path, const FilePath& to_path);
111 BASE_EXPORT bool CopyDirectory(const FilePath& from_path,
117 BASE_EXPORT bool PathExists(const FilePath& path);
120 BASE_EXPORT bool PathIsWritable(const FilePath& path);
123 BASE_EXPORT bool DirectoryExists(const FilePath& path);
127 BASE_EXPORT bool ContentsEqual(const FilePath& filename1,
132 BASE_EXPORT bool TextContentsEqual(const FilePath& filename1,
146 BASE_EXPORT bool ReadFileToString(const base::FilePath& path,
153 BASE_EXPORT bool ReadFromFD(int fd, char* buffer, size_t bytes);
157 BASE_EXPORT bool CreateSymbolicLink(const base::FilePath& target,
162 BASE_EXPORT bool ReadSymbolicLink(const base::FilePath& symlink,
186 BASE_EXPORT bool GetPosixFilePermissions(const base::FilePath& path,
190 BASE_EXPORT bool SetPosixFilePermissions(const base::FilePath& path,
195 BASE_EXPORT bool IsDirectoryEmpty(const base::FilePath& dir_path);
200 BASE_EXPORT bool GetTempDir(base::FilePath* path);
203 BASE_EXPORT bool GetShmemTempDir(base::FilePath* path, bool executable);
207 BASE_EXPORT base::FilePath GetHomeDir();
212 BASE_EXPORT bool CreateTemporaryFile(base::FilePath* path);
215 BASE_EXPORT bool CreateTemporaryFileInDir(const base::FilePath& dir,
221 BASE_EXPORT FILE* CreateAndOpenTemporaryFile(base::FilePath* path);
225 BASE_EXPORT FILE* CreateAndOpenTemporaryShmemFile(base::FilePath* path,
228 BASE_EXPORT FILE* CreateAndOpenTemporaryFileInDir(const base::FilePath& dir,
235 BASE_EXPORT bool CreateNewTempDirectory(
242 BASE_EXPORT bool CreateTemporaryDirInDir(
252 BASE_EXPORT bool CreateDirectoryAndGetError(const base::FilePath& full_path,
256 BASE_EXPORT bool CreateDirectory(const base::FilePath& full_path);
259 BASE_EXPORT bool GetFileSize(const base::FilePath& file_path, int64* file_size);
267 BASE_EXPORT bool NormalizeFilePath(const base::FilePath& path,
275 BASE_EXPORT bool DevicePathToDriveLetterPath(const base::FilePath& device_path,
282 BASE_EXPORT bool NormalizeToNativeFilePath(const base::FilePath& path,
287 BASE_EXPORT bool IsLink(const base::FilePath& file_path);
290 BASE_EXPORT bool GetFileInfo(const base::FilePath& file_path,
294 BASE_EXPORT bool TouchFile(const base::FilePath& path,
299 BASE_EXPORT bool SetLastModifiedTime(const base::FilePath& path,
304 BASE_EXPORT bool GetInode(const base::FilePath& path, ino_t* inode);
308 BASE_EXPORT FILE* OpenFile(const base::FilePath& filename, const char* mode);
311 BASE_EXPORT bool CloseFile(FILE* file);
315 BASE_EXPORT bool TruncateFile(FILE* file);
319 BASE_EXPORT int ReadFile(const base::FilePath& filename, char* data, int size);
323 BASE_EXPORT int WriteFile(const base::FilePath& filename, const char* data,
327 BASE_EXPORT int WriteFileDescriptor(const int fd, const char* data, int size);
331 BASE_EXPORT int AppendToFile(const base::FilePath& filename,
335 BASE_EXPORT bool GetCurrentDirectory(base::FilePath* path);
338 BASE_EXPORT bool SetCurrentDirectory(const base::FilePath& path);
344 BASE_EXPORT int GetUniquePathNumber(const base::FilePath& path,
351 BASE_EXPORT base::FilePath MakeUniqueDirectory(const base::FilePath& path);
366 BASE_EXPORT bool VerifyPathControlledByUser(const base::FilePath& base,
380 BASE_EXPORT bool VerifyPathControlledByAdmin(const base::FilePath& path);
385 BASE_EXPORT int GetMaximumPathComponentLength(const base::FilePath& path);
431 BASE_EXPORT bool GetFileSystemType(const base::FilePath& path,
444 BASE_EXPORT bool MoveUnsafe(const FilePath& from_path,
449 BASE_EXPORT bool CopyFileUnsafe(const FilePath& from_path,
457 BASE_EXPORT bool CopyAndDeleteDirectory(const FilePath& from_path,