Lines Matching defs:IsOpen
33 if (IsOpen()) {
39 bool IsOpen() const override { return fd_ >= 0; }
353 bool FileStream::IsOpen() const {
354 return fd_interface_->IsOpen();
358 return IsOpen() && stream_utils::IsReadAccessMode(access_mode_);
362 return IsOpen() && stream_utils::IsWriteAccessMode(access_mode_);
366 return IsOpen() && seekable_;
370 return IsOpen() && can_get_size_;
374 return IsOpen() ? fd_interface_->GetSize() : 0;
378 if (!IsOpen())
412 if (!IsOpen())
447 if (!IsOpen())
474 if (!IsOpen())
494 if (!IsOpen())
502 if (!IsOpen())
517 if (!IsOpen())
527 if (!IsOpen())
542 if (IsOpen()) {