Home
last modified time | relevance | path

Searched refs:zstream (Results 1 - 2 of 2) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/extractortool/src/
H A Dzip_file.cpp457 bool ZipFile::InitZStream(z_stream &zstream) const in InitZStream()
460 if (memset_s(&zstream, sizeof(z_stream), 0, sizeof(z_stream))) { in InitZStream()
463 int32_t zlibErr = inflateInit2(&zstream, -MAX_WBITS); in InitZStream()
478 zstream.next_out = bufOut; in InitZStream()
479 zstream.next_in = bufIn; in InitZStream()
480 zstream.avail_out = UNZIP_BUF_OUT_LEN; in InitZStream()
484 bool ZipFile::ReadZStream(const BytePtr &buffer, z_stream &zstream, uint32_t &remainCompressedSize, in ReadZStream() argument
487 if (zstream.avail_in == 0) { in ReadZStream()
495 zstream.avail_in = remainBytes; in ReadZStream()
496 zstream in ReadZStream()
503 z_stream zstream; UnzipWithInflated() local
611 ReadZStreamFromMMap(const BytePtr &buffer, void* &dataPtr, z_stream &zstream, uint32_t &remainCompressedSize) const ReadZStreamFromMMap() argument
669 z_stream zstream; UnzipWithInflatedFromMMap() local
[all...]
H A Dzip_file.h303 * @param zstream Indicates the obtained z_stream object.
306 bool InitZStream(z_stream &zstream) const;
310 * @param zstream Indicates the obtained z_stream object.
314 bool ReadZStream(const BytePtr &buffer, z_stream &zstream, uint32_t &remainCompressedSize, size_t &startPos) const;
320 z_stream &zstream, uint32_t &remainCompressedSize) const;

Completed in 2 milliseconds