Searched refs:fd_ (Results 1 – 5 of 5) sorted by relevance
/art/runtime/base/unix_file/ |
D | fd_file.cc | 39 : guard_state_(GuardState::kClosed), fd_(-1), auto_close_(true), read_only_mode_(false) { in FdFile() 44 fd_(fd), auto_close_(true), read_only_mode_(false) { in FdFile() 53 fd_(fd), file_path_(path), auto_close_(true), read_only_mode_(read_only_mode) { in FdFile() 57 : fd_(-1), auto_close_(true) { in FdFile() 74 if (auto_close_ && fd_ != -1) { in Destroy() 76 PLOG(WARNING) << "Failed to close file with fd=" << fd_ << " path=" << file_path_; in Destroy() 86 if (this->fd_ != other.fd_) { in operator =() 91 fd_ = other.fd_; in operator =() 136 CHECK_EQ(fd_, -1) << path; in Open() 138 fd_ = TEMP_FAILURE_RETRY(open(path.c_str(), flags, mode)); in Open() [all …]
|
D | fd_file.h | 51 fd_(other.fd_), in FdFile() 64 int tmp_fd = fd_; in Release() 65 fd_ = -1; in Release() 72 if (fd_ != -1 && fd_ != fd) { in Reset() 75 fd_ = fd; in Reset() 177 int fd_; variable
|
/art/compiler/utils/ |
D | swap_space.cc | 62 : fd_(fd), in SwapSpace() 80 close(fd_); in ~SwapSpace() 164 int result = TEMP_FAILURE_RETRY(ftruncate64(fd_, size_ + next_part)); in NewFileChunk() 169 mmap(nullptr, next_part, PROT_READ | PROT_WRITE, MAP_SHARED, fd_, size_)); in NewFileChunk()
|
D | swap_space.h | 96 int fd_; variable
|
/art/runtime/hprof/ |
D | hprof.cc | 440 fd_(fd), in Hprof() 761 if (fd_ >= 0) { in DumpToFile() 762 out_fd = dup(fd_); in DumpToFile() 764 ThrowRuntimeException("Couldn't dump heap; dup(%d) failed: %s", fd_, strerror(errno)); in DumpToFile() 883 int fd_; member in art::hprof::Hprof
|