Home
last modified time | relevance | path

Searched refs:FdFile (Results 1 – 9 of 9) sorted by relevance

/art/libartbase/base/unix_file/
Dfd_file.h35 class FdFile : public RandomAccessFile {
37 FdFile() = default;
40 FdFile(int fd, bool check_usage);
41 FdFile(int fd, const std::string& path, bool check_usage);
42 FdFile(int fd, const std::string& path, bool check_usage, bool read_only_mode);
44 FdFile(const std::string& path, int flags, bool check_usage) in FdFile() function
45 : FdFile(path, flags, 0640, check_usage) {} in FdFile()
46 FdFile(const std::string& path, int flags, mode_t mode, bool check_usage);
49 FdFile(FdFile&& other) noexcept;
52 FdFile& operator=(FdFile&& other) noexcept;
[all …]
Dfd_file.cc139 static uint64_t GetFdFileOwnerTag(FdFile* fd_file) { in GetFdFileOwnerTag()
145 FdFile::FdFile(int fd, bool check_usage) in FdFile() function in unix_file::FdFile
146 : FdFile(fd, std::string(), check_usage) {} in FdFile()
148 FdFile::FdFile(int fd, const std::string& path, bool check_usage) in FdFile() function in unix_file::FdFile
149 : FdFile(fd, path, check_usage, false) {} in FdFile()
151 FdFile::FdFile(int fd, const std::string& path, bool check_usage, in FdFile() function in unix_file::FdFile
164 FdFile::FdFile(const std::string& path, int flags, mode_t mode, in FdFile() function in unix_file::FdFile
172 void FdFile::Destroy() { in Destroy()
189 FdFile::FdFile(FdFile&& other) noexcept in FdFile() function in unix_file::FdFile
203 FdFile& FdFile::operator=(FdFile&& other) noexcept { in operator =()
[all …]
Dfd_file_test.cc31 return new FdFile(fd, false); in MakeTestFile()
48 FdFile file; in TEST_F()
56 FdFile file(good_path, O_CREAT | O_WRONLY, true); in TEST_F()
65 FdFile file2(good_path, O_RDONLY, true); in TEST_F()
77 FdFile file(tmp.GetFilename(), O_RDONLY, false); in TEST_F()
93 FdFile file(tmp.GetFilename(), O_RDWR, false); in TEST_F()
122 FdFile file(tmp.GetFilename(), O_RDWR, false); in TEST_F()
149 FdFile src(src_tmp.GetFilename(), O_RDWR, false); in TEST_F()
159 FdFile dest(src_tmp.GetFilename(), O_RDWR, false); in TEST_F()
178 FdFile file(tmp.GetFilename(), O_RDWR, false); in TEST_F()
[all …]
/art/libartbase/base/
Dscoped_flock.h37 class LockedFile : public unix_file::FdFile {
66 explicit LockedFile(FdFile&& other) : FdFile(std::move(other)) { in LockedFile()
72 : FdFile(fd, path, check_usage, read_only_mode) { in LockedFile()
Dos.h23 class FdFile; variable
28 typedef ::unix_file::FdFile File;
/art/runtime/
Dtrace.h38 class FdFile; variable
144 static void Start(std::unique_ptr<unix_file::FdFile>&& file,
/art/dexlayout/
Ddexlayout_test.cc546 return unix_file::FdFile(file_path, 0, false).Unlink(); in UnlinkFile()
/art/profman/
Dprofman.cc716 unix_file::FdFile out_fd(dump_output_to_fd_, /*check_usage=*/ false); in DumpProfileInfo()
847 unix_file::FdFile out_fd(dump_output_to_fd_, /*check_usage=*/ false); in DumpClassesAndMethods()
/art/runtime/jit/
Djit.cc1372 unix_file::FdFile profile(profile_file.c_str(), O_RDONLY, true); in CompileMethodsFromBootProfile()
1422 unix_file::FdFile profile(profile_file.c_str(), O_RDONLY, true); in CompileMethodsFromProfile()