Searched refs:fd_ (Results 1 – 9 of 9) sorted by relevance
/art/libartbase/base/unix_file/ |
D | fd_file.cc | 154 fd_(fd), in FdFile() 182 if (fd_ != -1) { in Destroy() 184 PLOG(WARNING) << "Failed to close file with fd=" << fd_ << " path=" << file_path_; in Destroy() 191 fd_(other.fd_), in FdFile() 195 if (fd_ >= 0) { in FdFile() 196 android_fdsan_exchange_owner_tag(fd_, GetFdFileOwnerTag(&other), GetFdFileOwnerTag(this)); in FdFile() 200 other.fd_ = -1; in FdFile() 208 if (this->fd_ != other.fd_) { in operator =() 213 fd_ = other.fd_; in operator =() 218 if (fd_ >= 0) { in operator =() [all …]
|
D | fd_file.h | 158 int fd_ = -1; variable
|
/art/compiler/utils/ |
D | swap_space.cc | 63 : fd_(fd), in SwapSpace() 81 close(fd_); in ~SwapSpace() 150 int result = TEMP_FAILURE_RETRY(ftruncate64(fd_, size_ + next_part)); in NewFileChunk() 155 mmap(nullptr, next_part, PROT_READ | PROT_WRITE, MAP_SHARED, fd_, size_)); in NewFileChunk()
|
D | swap_space.h | 97 int fd_; variable
|
/art/dt_fd_forward/ |
D | dt_fd_forward.cc | 247 explicit ScopedEventFdLock(const android::base::unique_fd& fd) : fd_(fd), data_(0) { in ScopedEventFdLock() 248 TEMP_FAILURE_RETRY(read(fd_, &data_, sizeof(data_))); in ScopedEventFdLock() 252 TEMP_FAILURE_RETRY(write(fd_, &data_, sizeof(data_))); in ~ScopedEventFdLock() 256 const android::base::unique_fd& fd_; member in dt_fd_forward::ScopedEventFdLock
|
/art/adbconnection/ |
D | adbconnection.cc | 135 explicit ScopedEventFdLock(int fd) : fd_(fd), data_(0) { in ScopedEventFdLock() 136 TEMP_FAILURE_RETRY(read(fd_, &data_, sizeof(data_))); in ScopedEventFdLock() 140 TEMP_FAILURE_RETRY(write(fd_, &data_, sizeof(data_))); in ~ScopedEventFdLock() 144 int fd_; member in adbconnection::ScopedEventFdLock
|
/art/libprofile/profile/ |
D | profile_compilation_info.h | 792 : fd_(fd), mem_map_(std::move(mem_map)), mem_map_cur_(0) {} in ProfileSource() 794 bool IsMemMap() const { return fd_ == -1; } in IsMemMap() 796 int32_t fd_; // The fd is not owned by this class. variable
|
D | profile_compilation_info.cc | 1257 int bytes_read = TEMP_FAILURE_RETRY(read(fd_, buffer, byte_count));; in Read() 1275 : (testEOF(fd_) == 0); in HasConsumedAllData() 1283 if (fstat(fd_, &stat_buffer) != 0) { in HasEmptyContent()
|
/art/runtime/hprof/ |
D | hprof.cc | 439 fd_(fd), in Hprof() 763 if (fd_ >= 0) { in DumpToFile() 764 out_fd = DupCloexec(fd_); in DumpToFile() 766 ThrowRuntimeException("Couldn't dump heap; dup(%d) failed: %s", fd_, strerror(errno)); in DumpToFile() 877 int fd_; member in art::hprof::Hprof
|