Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/lib/io/snappy/
Dsnappy_inputbuffer.cc63 avail_in_ = 0; in Reset()
88 if (avail_in_ < compressed_block_length) { in Inflate()
90 if (avail_in_ < compressed_block_length) { in Inflate()
123 avail_in_ -= compressed_block_length; in Inflate()
132 if (avail_in_ == 0) { in ReadCompressedBlockLength()
135 size_t readable = std::min(bytes_to_read, avail_in_); in ReadCompressedBlockLength()
144 avail_in_--; in ReadCompressedBlockLength()
157 if (avail_in_ > 0) { in ReadFromFile()
162 memmove(input_buffer_.get(), next_in_, avail_in_); in ReadFromFile()
165 bytes_to_read -= avail_in_; in ReadFromFile()
[all …]
Dsnappy_outputbuffer.cc99 avail_in_ = bytes_to_write; in Write()
103 DCHECK_EQ(avail_in_, 0); // All input will be used up. in Write()
117 return input_buffer_capacity_ - avail_in_; in AvailableInputSpace()
143 const int32 unread_bytes = avail_in_; in AddToInputBuffer()
148 memmove(input_buffer_.get(), next_in_, avail_in_); in AddToInputBuffer()
151 memcpy(next_in_ + avail_in_, data.data(), bytes_to_write); in AddToInputBuffer()
152 avail_in_ += bytes_to_write; in AddToInputBuffer()
172 DCHECK_EQ(avail_in_, 0); in DeflateBuffered()
192 if (avail_in_ == 0) { in Deflate()
196 if (!port::Snappy_Compress(next_in_, avail_in_, &output)) { in Deflate()
[all …]
Dsnappy_inputbuffer.h117 size_t avail_in_ = 0; variable
Dsnappy_outputbuffer.h142 size_t avail_in_ = 0; variable
/external/pdfium/core/fxcodec/gif/
Dcfx_lzwdecompressor.cpp38 avail_in_(0), in CFX_LZWDecompressor()
55 avail_in_ = src_size; in Decode()
69 while (i <= *dest_size && (avail_in_ > 0 || bits_left_ >= code_size_cur_)) { in Decode()
73 if (avail_in_ > 0) { in Decode()
84 --avail_in_; in Decode()
133 if (avail_in_ != 0) in Decode()
Dcfx_lzwdecompressor.h58 uint32_t avail_in_; variable