HomeSort by relevance Sort by last modified time
    Searched refs:FdFile (Results 1 - 8 of 8) sorted by null

  /art/runtime/
os.h 21 class FdFile;
26 typedef ::unix_file::FdFile File;
  /art/runtime/base/unix_file/
fd_file.h 33 class FdFile : public RandomAccessFile {
35 FdFile();
36 // Creates an FdFile using the given file descriptor. Takes ownership of the
38 explicit FdFile(int fd, bool checkUsage);
39 explicit FdFile(int fd, const std::string& path, bool checkUsage);
41 // Destroys an FdFile, closing the file descriptor if Close hasn't already
46 virtual ~FdFile();
114 DISALLOW_COPY_AND_ASSIGN(FdFile);
117 std::ostream& operator<<(std::ostream& os, const FdFile::GuardState& kind);
fd_file.cc 28 FdFile::FdFile() : guard_state_(GuardState::kClosed), fd_(-1), auto_close_(true) {
31 FdFile::FdFile(int fd, bool check_usage)
36 FdFile::FdFile(int fd, const std::string& path, bool check_usage)
42 FdFile::~FdFile() {
59 void FdFile::moveTo(GuardState target, GuardState warn_threshold, const char* warning) {
70 void FdFile::moveUp(GuardState target, const char* warning)
    [all...]
fd_file_test.cc 27 return new FdFile(fileno(tmpfile()), false);
44 FdFile file;
52 FdFile file;
71 FdFile file;
random_access_file_utils_test.cc 40 FdFile src(-1, false);
47 FdFile dst(-1, false);
mapped_file.h 31 class MappedFile : public FdFile {
44 MappedFile() : FdFile(), file_size_(-1), mapped_file_(NULL), map_mode_(kMapReadOnly) {
48 explicit MappedFile(int fd, bool check_usage) : FdFile(fd, check_usage), file_size_(-1),
mapped_file.cc 38 return FdFile::Close();
125 return FdFile::Read(buf, byte_count, offset);
131 return FdFile::SetLength(new_length);
138 return FdFile::GetLength();
144 int rc = IsMapped() ? TEMP_FAILURE_RETRY(msync(mapped_file_, file_size_, 0)) : FdFile::Flush();
163 return FdFile::Write(buf, byte_count, offset);
mapped_file_test.cc 38 FdFile dst(fd, false);
141 FdFile new_file(TEMP_FAILURE_RETRY(open(new_path.c_str(), O_RDONLY)), false);

Completed in 458 milliseconds