Lines Matching refs:BASE_EXPORT

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,
118 BASE_EXPORT bool CopyFile(const FilePath& from_path, const FilePath& to_path);
129 BASE_EXPORT bool CopyDirectory(const FilePath& from_path,
135 BASE_EXPORT bool CopyDirectoryExcl(const FilePath& from_path,
141 BASE_EXPORT bool PathExists(const FilePath& path);
144 BASE_EXPORT bool PathIsWritable(const FilePath& path);
147 BASE_EXPORT bool DirectoryExists(const FilePath& path);
151 BASE_EXPORT bool ContentsEqual(const FilePath& filename1,
156 BASE_EXPORT bool TextContentsEqual(const FilePath& filename1,
166 BASE_EXPORT bool ReadFileToString(const FilePath& path, std::string* contents);
177 BASE_EXPORT bool ReadFileToStringWithMaxSize(const FilePath& path,
186 BASE_EXPORT bool ReadFromFD(int fd, char* buffer, size_t bytes);
191 BASE_EXPORT int CreateAndOpenFdForTemporaryFileInDir(const FilePath& dir,
200 BASE_EXPORT bool CreateSymbolicLink(const FilePath& target,
205 BASE_EXPORT bool ReadSymbolicLink(const FilePath& symlink, FilePath* target);
228 BASE_EXPORT bool GetPosixFilePermissions(const FilePath& path, int* mode);
231 BASE_EXPORT bool SetPosixFilePermissions(const FilePath& path, int mode);
235 BASE_EXPORT bool ExecutableExistsInPath(Environment* env,
244 BASE_EXPORT bool IsPathExecutable(const FilePath& path);
250 BASE_EXPORT bool IsDirectoryEmpty(const FilePath& dir_path);
258 BASE_EXPORT bool GetTempDir(FilePath* path);
266 BASE_EXPORT FilePath GetHomeDir();
271 BASE_EXPORT bool CreateTemporaryFile(FilePath* path);
274 BASE_EXPORT bool CreateTemporaryFileInDir(const FilePath& dir,
280 BASE_EXPORT FILE* CreateAndOpenTemporaryFile(FilePath* path);
283 BASE_EXPORT FILE* CreateAndOpenTemporaryFileInDir(const FilePath& dir,
290 BASE_EXPORT bool CreateNewTempDirectory(const FilePath::StringType& prefix,
296 BASE_EXPORT bool CreateTemporaryDirInDir(const FilePath& base_dir,
305 BASE_EXPORT bool CreateDirectoryAndGetError(const FilePath& full_path,
309 BASE_EXPORT bool CreateDirectory(const FilePath& full_path);
312 BASE_EXPORT bool GetFileSize(const FilePath& file_path, int64_t* file_size);
320 BASE_EXPORT bool NormalizeFilePath(const FilePath& path, FilePath* real_path);
327 BASE_EXPORT bool DevicePathToDriveLetterPath(const FilePath& device_path,
334 BASE_EXPORT bool NormalizeToNativeFilePath(const FilePath& path,
339 BASE_EXPORT bool IsLink(const FilePath& file_path);
342 BASE_EXPORT bool GetFileInfo(const FilePath& file_path, File::Info* info);
345 BASE_EXPORT bool TouchFile(const FilePath& path,
352 BASE_EXPORT FILE* OpenFile(const FilePath& filename, const char* mode);
355 BASE_EXPORT bool CloseFile(FILE* file);
359 BASE_EXPORT FILE* FileToFILE(File file, const char* mode);
363 BASE_EXPORT bool TruncateFile(FILE* file);
367 BASE_EXPORT int ReadFile(const FilePath& filename, char* data, int max_size);
371 BASE_EXPORT int WriteFile(const FilePath& filename, const char* data,
377 BASE_EXPORT bool WriteFileDescriptor(const int fd, const char* data, int size);
382 BASE_EXPORT bool AppendToFile(const FilePath& filename,
387 BASE_EXPORT bool GetCurrentDirectory(FilePath* path);
390 BASE_EXPORT bool SetCurrentDirectory(const FilePath& path);
396 BASE_EXPORT int GetUniquePathNumber(const FilePath& path,
402 BASE_EXPORT bool SetNonBlocking(int fd);
409 BASE_EXPORT bool CreateLocalNonBlockingPipe(int fds[2]);
414 BASE_EXPORT bool SetCloseOnExec(int fd);
427 BASE_EXPORT bool VerifyPathControlledByUser(const base::FilePath& base,
441 BASE_EXPORT bool VerifyPathControlledByAdmin(const base::FilePath& path);
446 BASE_EXPORT int GetMaximumPathComponentLength(const base::FilePath& path);
465 BASE_EXPORT bool GetFileSystemType(const FilePath& path, FileSystemType* type);
474 BASE_EXPORT bool GetShmemTempDir(bool executable, FilePath* path);
483 BASE_EXPORT bool MoveUnsafe(const FilePath& from_path,
491 BASE_EXPORT bool CopyAndDeleteDirectory(const FilePath& from_path,