Lines Matching refs:IsOpen
33 if (IsOpen()) { in ~FileDescriptor()
39 bool IsOpen() const override { return fd_ >= 0; } in IsOpen() function in brillo::FileDescriptor
353 bool FileStream::IsOpen() const { in IsOpen() function in brillo::FileStream
354 return fd_interface_->IsOpen(); in IsOpen()
358 return IsOpen() && stream_utils::IsReadAccessMode(access_mode_); in CanRead()
362 return IsOpen() && stream_utils::IsWriteAccessMode(access_mode_); in CanWrite()
366 return IsOpen() && seekable_; in CanSeek()
370 return IsOpen() && can_get_size_; in CanGetSize()
374 return IsOpen() ? fd_interface_->GetSize() : 0; in GetSize()
378 if (!IsOpen()) in SetSizeBlocking()
412 if (!IsOpen()) in Seek()
447 if (!IsOpen()) in ReadNonBlocking()
474 if (!IsOpen()) in WriteNonBlocking()
494 if (!IsOpen()) in FlushBlocking()
502 if (!IsOpen()) in CloseBlocking()
517 if (!IsOpen()) in WaitForData()
527 if (!IsOpen()) in WaitForDataBlocking()
542 if (IsOpen()) { in CancelPendingAsyncOperations()