Searched refs:fd_interface_ (Results 1 – 3 of 3) sorted by relevance
319 : fd_interface_(std::move(fd_interface)), in FileStream()321 switch (fd_interface_->GetFileMode() & S_IFMT) { in FileStream()344 return fd_interface_->IsOpen(); in IsOpen()364 return IsOpen() ? fd_interface_->GetSize() : 0; in GetSize()374 if (fd_interface_->Truncate(size) >= 0) in SetSizeBlocking()393 off64_t pos = fd_interface_->Seek(0, SEEK_CUR); in GetPosition()421 off64_t pos = fd_interface_->Seek(offset, raw_whence); in Seek()440 ssize_t read = fd_interface_->Read(buffer, size_to_read); in ReadNonBlocking()467 ssize_t written = fd_interface_->Write(buffer, size_to_write); in WriteNonBlocking()495 if (fd_interface_->Close() < 0) { in CloseBlocking()[all …]
161 std::unique_ptr<FileDescriptorInterface> fd_interface_; variable
162 return *static_cast<MockFileDescriptor*>(stream_->fd_interface_.get()); in fd_mock()