Home
last modified time | relevance | path

Searched refs:z_stream_ (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/core/lib/io/
Dzlib_outputbuffer.cc36 z_stream_(new z_stream) {} in ZlibOutputBuffer()
39 if (z_stream_) { in ~ZlibOutputBuffer()
52 memset(z_stream_.get(), 0, sizeof(z_stream)); in Init()
53 z_stream_->zalloc = Z_NULL; in Init()
54 z_stream_->zfree = Z_NULL; in Init()
55 z_stream_->opaque = Z_NULL; in Init()
57 deflateInit2(z_stream_.get(), zlib_options_.compression_level, in Init()
61 z_stream_.reset(nullptr); in Init()
64 z_stream_->next_in = z_stream_input_.get(); in Init()
65 z_stream_->next_out = z_stream_output_.get(); in Init()
[all …]
Dzlib_outputbuffer.h122 std::unique_ptr<z_stream> z_stream_; variable
/external/perfetto/src/trace_processor/importers/gzip/
Dgzip_utils.cc44 GzipDecompressor::GzipDecompressor() : z_stream_(new z_stream()) { in GzipDecompressor()
45 z_stream_->zalloc = Z_NULL; in GzipDecompressor()
46 z_stream_->zfree = Z_NULL; in GzipDecompressor()
47 z_stream_->opaque = Z_NULL; in GzipDecompressor()
48 inflateInit2(z_stream_.get(), 32 + 15); in GzipDecompressor()
57 inflateEnd(z_stream_.get()); in ~GzipDecompressor()
63 inflateReset(z_stream_.get()); in Reset()
72 z_stream_->next_in = const_cast<uint8_t*>(data); in SetInput()
73 z_stream_->avail_in = static_cast<uInt>(size); in SetInput()
83 if (z_stream_->avail_in == 0) in Decompress()
[all …]
Dgzip_utils.h66 std::unique_ptr<z_stream_s> z_stream_;