Lines Matching refs:State
89 state_(State::kWritingZip), z_stream_(nullptr, DeleteZStream), in ZipWriter()
107 writer.state_ = State::kError; in ZipWriter()
119 writer.state_ = State::kError; in operator =()
124 state_ = State::kError; in HandleError()
198 if (state_ != State::kWritingZip) { in StartAlignedEntryWithTime()
263 state_ = State::kWritingEntry; in StartAlignedEntryWithTime()
268 if (state_ != State::kWritingZip || files_.empty()) { in DiscardLastEntry()
292 CHECK(state_ == State::kWritingZip); in PrepareDeflate()
319 if (state_ != State::kWritingEntry) { in WriteBytes()
341 CHECK(state_ == State::kWritingEntry); in StoreBytes()
352 CHECK(state_ == State::kWritingEntry); in CompressBytes()
386 CHECK(state_ == State::kWritingEntry); in FlushCompressedBytes()
423 if (state_ != State::kWritingEntry) { in FinishEntry()
469 state_ = State::kWritingZip; in FinishEntry()
474 if (state_ != State::kWritingZip) { in Finish()
530 state_ = State::kDone; in Finish()