Home
last modified time | relevance | path

Searched refs:avail_out_ (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/core/lib/io/snappy/
Dsnappy_inputstream.cc34 avail_out_(0) {} in SnappyInputStream()
58 DCHECK_EQ(avail_out_, 0); in ReadNBytes()
112 DCHECK_EQ(avail_out_, 0); in Inflate()
126 avail_out_ += uncompressed_length; in Inflate()
133 size_t can_read_bytes = std::min(bytes_to_read, avail_out_); in ReadBytesFromCache()
137 avail_out_ -= can_read_bytes; in ReadBytesFromCache()
147 avail_out_ = 0; in Reset()
Dsnappy_outputbuffer.cc31 avail_out_(output_buffer_bytes) {} in SnappyOutputBuffer()
34 size_t bytes_to_write = output_buffer_capacity_ - avail_out_; in ~SnappyOutputBuffer()
157 size_t bytes_to_copy = std::min(length, avail_out_); in AddToOutputBuffer()
161 avail_out_ -= bytes_to_copy; in AddToOutputBuffer()
163 if (avail_out_ == 0) { in AddToOutputBuffer()
178 size_t bytes_to_write = output_buffer_capacity_ - avail_out_; in FlushOutputBufferToFile()
184 avail_out_ = output_buffer_capacity_; in FlushOutputBufferToFile()
Dsnappy_inputbuffer.cc46 DCHECK_EQ(avail_out_, 0); in ReadNBytes()
64 avail_out_ = 0; in Reset()
72 size_t can_read_bytes = std::min(bytes_to_read, avail_out_); in ReadBytesFromCache()
76 avail_out_ -= can_read_bytes; in ReadBytesFromCache()
111 DCHECK_EQ(avail_out_, 0); in Inflate()
124 avail_out_ += uncompressed_length; in Inflate()
Dsnappy_inputbuffer.h120 size_t avail_out_ = 0; variable
Dsnappy_inputstream.h81 size_t avail_out_; variable
Dsnappy_outputbuffer.h148 size_t avail_out_; variable