Searched refs:FdFile (Results 1 – 8 of 8) sorted by relevance
/art/runtime/base/unix_file/ |
D | fd_file.cc | 28 FdFile::FdFile() : guard_state_(GuardState::kClosed), fd_(-1), auto_close_(true) { in FdFile() function in unix_file::FdFile 31 FdFile::FdFile(int fd, bool check_usage) in FdFile() function in unix_file::FdFile 36 FdFile::FdFile(int fd, const std::string& path, bool check_usage) in FdFile() function in unix_file::FdFile 42 FdFile::~FdFile() { in ~FdFile() 59 void FdFile::moveTo(GuardState target, GuardState warn_threshold, const char* warning) { in moveTo() 70 void FdFile::moveUp(GuardState target, const char* warning) { in moveUp() 82 void FdFile::DisableAutoClose() { in DisableAutoClose() 86 bool FdFile::Open(const std::string& path, int flags) { in Open() 90 bool FdFile::Open(const std::string& path, int flags, mode_t mode) { in Open() 109 int FdFile::Close() { in Close() [all …]
|
D | fd_file.h | 33 class FdFile : public RandomAccessFile { 35 FdFile(); 38 explicit FdFile(int fd, bool checkUsage); 39 explicit FdFile(int fd, const std::string& path, bool checkUsage); 46 virtual ~FdFile(); 114 DISALLOW_COPY_AND_ASSIGN(FdFile); 117 std::ostream& operator<<(std::ostream& os, const FdFile::GuardState& kind);
|
D | mapped_file.cc | 38 return FdFile::Close(); in Close() 125 return FdFile::Read(buf, byte_count, offset); in Read() 131 return FdFile::SetLength(new_length); in SetLength() 138 return FdFile::GetLength(); in GetLength() 144 int rc = IsMapped() ? TEMP_FAILURE_RETRY(msync(mapped_file_, file_size_, 0)) : FdFile::Flush(); in Flush() 163 return FdFile::Write(buf, byte_count, offset); in Write()
|
D | fd_file_test.cc | 27 return new FdFile(fileno(tmpfile()), false); in MakeTestFile() 44 FdFile file; in TEST_F() 52 FdFile file; in TEST_F() 71 FdFile file; in TEST_F()
|
D | mapped_file.h | 31 class MappedFile : public FdFile { 44 MappedFile() : FdFile(), file_size_(-1), mapped_file_(NULL), map_mode_(kMapReadOnly) { in MappedFile() 48 explicit MappedFile(int fd, bool check_usage) : FdFile(fd, check_usage), file_size_(-1), in MappedFile()
|
D | random_access_file_utils_test.cc | 40 FdFile src(-1, false); in TEST_F() 47 FdFile dst(-1, false); in TEST_F()
|
D | mapped_file_test.cc | 38 FdFile dst(fd, false); in SetUp() 141 FdFile new_file(TEMP_FAILURE_RETRY(open(new_path.c_str(), O_RDONLY)), false); in TEST_F()
|
/art/runtime/ |
D | os.h | 21 class FdFile; variable 26 typedef ::unix_file::FdFile File;
|