Lines Matching refs:fd_interface_
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()
510 return fd_interface_->WaitForData(mode, callback, error); in WaitForData()
520 int ret = fd_interface_->WaitForDataBlocking(in_mode, timeout, out_mode); in WaitForDataBlocking()
533 fd_interface_->CancelPendingAsyncOperations(); in CancelPendingAsyncOperations()