Lines Matching refs:fd_interface_
329 : fd_interface_(std::move(fd_interface)), in FileStream()
331 switch (fd_interface_->GetFileMode() & S_IFMT) { in FileStream()
354 return fd_interface_->IsOpen(); in IsOpen()
374 return IsOpen() ? fd_interface_->GetSize() : 0; in GetSize()
384 if (fd_interface_->Truncate(size) >= 0) in SetSizeBlocking()
403 off64_t pos = fd_interface_->Seek(0, SEEK_CUR); in GetPosition()
431 off64_t pos = fd_interface_->Seek(offset, raw_whence); in Seek()
450 ssize_t read = fd_interface_->Read(buffer, size_to_read); in ReadNonBlocking()
477 ssize_t written = fd_interface_->Write(buffer, size_to_write); in WriteNonBlocking()
505 if (fd_interface_->Close() < 0) { in CloseBlocking()
520 return fd_interface_->WaitForData(mode, callback, error); in WaitForData()
530 int ret = fd_interface_->WaitForDataBlocking(in_mode, timeout, out_mode); in WaitForDataBlocking()
543 fd_interface_->CancelPendingAsyncOperations(); in CancelPendingAsyncOperations()