Home
last modified time | relevance | path

Searched refs:avail_out (Results 1 – 9 of 9) sorted by relevance

/system/core/fs_mgr/libsnapshot/
Dcow_decompress.cpp169 if (z_.avail_out == 0) { in DecompressInput()
174 z_.avail_out = output_buffer_remaining_; in DecompressInput()
178 auto avail_out = z_.avail_out; in DecompressInput() local
187 size_t returned = avail_out - z_.avail_out; in DecompressInput()
/system/update_engine/payload_consumer/
Dbzip_extent_writer.cc62 stream_.avail_out = output_buffer.size(); in Write()
67 if (stream_.avail_out == output_buffer.size()) in Write()
71 output_buffer.data(), output_buffer.size() - stream_.avail_out)); in Write()
/system/libziparchive/
Dzip_archive_stream_entry.cc161 z_stream_.avail_out = 0; in Init()
209 if (z_stream_.avail_out == 0) { in Read()
211 z_stream_.avail_out = static_cast<uint32_t>(out_.size()); in Read()
243 z_stream_.avail_in, z_stream_.next_out, z_stream_.avail_out); in Read()
247 if (z_stream_.avail_out == 0) { in Read()
254 if (z_stream_.avail_out != 0) { in Read()
256 out_.resize(out_.size() - z_stream_.avail_out); in Read()
Dzip_writer.cc342 z_stream_->avail_out = static_cast<uint32_t>(buffer_.size()); in PrepareDeflate()
389 CHECK(z_stream_->avail_out != 0); in CompressBytes()
402 if (z_stream_->avail_out == 0) { in CompressBytes()
414 z_stream_->avail_out = static_cast<uint32_t>(buffer_.size()); in CompressBytes()
424 CHECK(z_stream_->avail_out != 0); in FlushCompressedBytes()
430 CHECK(z_stream_->avail_out == 0); in FlushCompressedBytes()
440 z_stream_->avail_out = static_cast<uint32_t>(buffer_.size()); in FlushCompressedBytes()
Dzip_archive.cc1278 zstream.avail_out = kBufSize; in inflateImpl()
1335 zstream.avail_in, zstream.next_out, zstream.avail_out); in inflateImpl()
1340 if (zstream.avail_out == 0 || (zerr == Z_STREAM_END && zstream.avail_out != kBufSize)) { in inflateImpl()
1349 total_output += kBufSize - zstream.avail_out; in inflateImpl()
1351 zstream.avail_out = kBufSize; in inflateImpl()
/system/logging/logd/
DCompressionEngine.cpp48 strm.avail_out = out.size(); in Compress()
68 strm.avail_out = out.size(); in Decompress()
75 CHECK_EQ(strm.avail_out, 0U); in Decompress()
/system/extras/ANRdaemon/
DANRdaemon.cpp293 zs.avail_out = bufSize; in dump_trace()
310 if (zs.avail_out == 0) { in dump_trace()
315 zs.avail_out = bufSize; in dump_trace()
319 zs.avail_out = bufSize; in dump_trace()
328 if (zs.avail_out < bufSize) { in dump_trace()
329 size_t bytes = bufSize - zs.avail_out; in dump_trace()
/system/bt/btif/src/
Dbtif_debug_btsnoop.cc166 zs.avail_out = BLOCK_SIZE; in btsnoop_compress()
175 const size_t length = BLOCK_SIZE - zs.avail_out; in btsnoop_compress()
177 } while (zs.avail_out == 0); in btsnoop_compress()
/system/nfc/src/adaptation/
Ddebug_nfcsnoop.cc112 zs.avail_out = BLOCK_SIZE; in nfcsnoop_compress()
120 const size_t length = BLOCK_SIZE - zs.avail_out; in nfcsnoop_compress()
122 } while (zs.avail_out == 0); in nfcsnoop_compress()