Searched refs:avail_in_ (Results 1 – 9 of 9) sorted by relevance
/external/tensorflow/tensorflow/core/lib/io/snappy/ |
D | snappy_outputbuffer.cc | 62 avail_in_ = bytes_to_write; in Write() 66 DCHECK(avail_in_ == 0); // All input will be used up. in Write() 80 return input_buffer_capacity_ - avail_in_; in AvailableInputSpace() 106 const int32 unread_bytes = avail_in_; in AddToInputBuffer() 111 memmove(input_buffer_.get(), next_in_, avail_in_); in AddToInputBuffer() 114 memcpy(next_in_ + avail_in_, data.data(), bytes_to_write); in AddToInputBuffer() 115 avail_in_ += bytes_to_write; in AddToInputBuffer() 135 DCHECK(avail_in_ == 0); in DeflateBuffered() 155 if (avail_in_ == 0) { in Deflate() 159 if (!port::Snappy_Compress(next_in_, avail_in_, &output)) { in Deflate() [all …]
|
D | snappy_inputbuffer.cc | 57 avail_in_ = 0; in Reset() 82 if (avail_in_ < compressed_block_length) { in Inflate() 84 if (avail_in_ < compressed_block_length) { in Inflate() 117 avail_in_ -= compressed_block_length; in Inflate() 126 if (avail_in_ == 0) { in ReadCompressedBlockLength() 129 size_t readable = std::min(bytes_to_read, avail_in_); in ReadCompressedBlockLength() 138 avail_in_--; in ReadCompressedBlockLength() 151 if (avail_in_ > 0) { in ReadFromFile() 156 memmove(input_buffer_.get(), next_in_, avail_in_); in ReadFromFile() 159 bytes_to_read -= avail_in_; in ReadFromFile() [all …]
|
D | snappy_outputbuffer.h | 106 size_t avail_in_ = 0; variable
|
D | snappy_inputbuffer.h | 117 size_t avail_in_ = 0; variable
|
/external/pdfium/core/fxcodec/gif/ |
D | cfx_gifcontext_unittest.cpp | 27 EXPECT_EQ(0u, context.avail_in_); in TEST() 32 EXPECT_EQ(100u, context.avail_in_); in TEST() 38 EXPECT_EQ(0u, context.avail_in_); in TEST() 43 EXPECT_EQ(3u, context.avail_in_); in TEST() 48 EXPECT_EQ(100u, context.avail_in_); in TEST() 71 EXPECT_EQ(0u, context.avail_in_); in TEST() 80 EXPECT_EQ(10u, context.avail_in_); in TEST() 89 EXPECT_EQ(10u, context.avail_in_); in TEST() 97 EXPECT_EQ(10u, context.avail_in_); in TEST() 105 EXPECT_EQ(10u, context.avail_in_); in TEST()
|
D | cfx_lzwdecompressor.cpp | 39 avail_in_(0), in CFX_LZWDecompressor() 56 avail_in_ = src_size; in Decode() 70 while (i <= *des_size && (avail_in_ > 0 || bits_left_ >= code_size_cur_)) { in Decode() 74 if (avail_in_ > 0) { in Decode() 85 --avail_in_; in Decode() 134 if (avail_in_ != 0) in Decode()
|
D | cfx_gifcontext.cpp | 30 avail_in_(0), in CFX_GifContext() 98 if (avail_in_) { in GetFrame() 193 avail_in_ = 0; in LoadFrame() 338 avail_in_ = src_size; in SetInputBuffer() 345 if (avail_in_ > 0) in GetAvailInput() 348 return avail_in_; in GetAvailInput() 354 if (avail_in_ <= skip_size_) in ReadData() 360 if (avail_in_ - skip_size_ < data_size) in ReadData() 423 avail_in_ -= skip_size_; in SaveDecodingStatus()
|
D | cfx_lzwdecompressor.h | 60 uint32_t avail_in_; variable
|
D | cfx_gifcontext.h | 52 uint32_t avail_in_; variable
|