Searched refs:inflateLen (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/base/update/updater/services/package/pkg_algorithm/ |
H A D | pkg_algo_deflate.cpp | 163 size_t inflateLen = 0; in UnpackCalculate() local 181 inflateLen = outBuffer.length - zstream.avail_out; in UnpackCalculate() 182 ret = outStream->Write(outBuffer, inflateLen, unpackContext.destOffset); in UnpackCalculate() 187 unpackContext.destOffset += inflateLen; in UnpackCalculate() 191 algorithm->Calculate(crcResult, outBuffer, inflateLen); in UnpackCalculate()
|
/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/extractortool/src/ |
H A D | zip_file.cpp | 799 size_t inflateLen = 0; in UnzipWithInflated() local 814 inflateLen = UNZIP_BUF_OUT_LEN - zstream.avail_out; in UnzipWithInflated() 815 if (inflateLen > 0) { in UnzipWithInflated() 816 dest.write((const char *)bufOut, inflateLen); in UnzipWithInflated() 942 size_t inflateLen = 0; in UnzipWithInflatedFromMMap() local 963 inflateLen = UNZIP_BUF_OUT_LEN - zstream.avail_out; in UnzipWithInflatedFromMMap() 964 if (!CopyInflateOut(zstream, inflateLen, &dstDataPtr, bufOut, errorTimes)) { in UnzipWithInflatedFromMMap() 981 bool ZipFile::CopyInflateOut(z_stream &zstream, size_t inflateLen, uint8_t** dstDataPtr, in CopyInflateOut() argument 984 if (inflateLen > 0) { in CopyInflateOut() 985 if (memcpy_s(*dstDataPtr, inflateLen, bufOut, inflateLen) != EOK) { in CopyInflateOut() [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/ |
H A D | zip_file.cpp | 510 size_t inflateLen = UNZIP_BUF_OUT_LEN - zstream.avail_out; in UnzipWithInflated() local 511 if (inflateLen > 0) { in UnzipWithInflated() 512 dest.write(reinterpret_cast<const char*>(bufOut), inflateLen); in UnzipWithInflated()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | zip_file.cpp | 522 size_t inflateLen = UNZIP_BUF_OUT_LEN - zstream.avail_out; in UnzipWithInflated() local 523 if (inflateLen > 0) { in UnzipWithInflated() 524 dest.write(reinterpret_cast<const char *>(bufOut), inflateLen); in UnzipWithInflated()
|
/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/extractortool/include/ |
H A D | zip_file.h | 329 bool CopyInflateOut(z_stream &zstream, size_t inflateLen, uint8_t** dstDataPtr,
|