Searched refs:fd_ (Results 1 – 5 of 5) 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() 33 fd_(fd), auto_close_(true) { in FdFile() 38 fd_(fd), file_path_(path), auto_close_(true) { in FdFile() 52 if (auto_close_ && fd_ != -1) { in ~FdFile() 91 CHECK_EQ(fd_, -1) << path; in Open() 92 fd_ = TEMP_FAILURE_RETRY(open(path.c_str(), flags, mode)); in Open() 93 if (fd_ == -1) { in Open() 110 int result = close(fd_); in Close() 122 fd_ = -1; in Close() 130 int rc = TEMP_FAILURE_RETRY(fdatasync(fd_)); in Flush() [all …]
|
D | fd_file.h | 111 int fd_;
|
/art/compiler/utils/ |
D | swap_space.cc | 67 : fd_(fd), in SwapSpace() 77 close(fd_); in ~SwapSpace() 136 int result = TEMP_FAILURE_RETRY(ftruncate64(fd_, size_ + next_part)); in NewFileChunk() 141 mmap(nullptr, next_part, PROT_READ | PROT_WRITE, MAP_SHARED, fd_, size_)); in NewFileChunk()
|
D | swap_space.h | 73 int fd_; variable
|
/art/runtime/hprof/ |
D | hprof.cc | 413 fd_(fd), in Hprof() 650 if (fd_ >= 0) { in DumpToFile() 651 out_fd = dup(fd_); in DumpToFile() 653 ThrowRuntimeException("Couldn't dump heap; dup(%d) failed: %s", fd_, strerror(errno)); in DumpToFile() 731 int fd_; member in art::hprof::Hprof
|