Lines Matching refs:mappedData
380 PkgManager::StreamPtr stream, void *mappedData, std::vector<uint8_t> &digest) in CheckDataIntegrityLz4() argument
384 Hpackage::PkgBuffer buffer(static_cast<uint8_t*>(mappedData) + addrOffset, fileSize); in CheckDataIntegrityLz4()
390 …SHA256_Update(&sha256Ctx, static_cast<const uint8_t*>(mappedData), lz4Info.fileInfo.packedSize + 4… in CheckDataIntegrityLz4()
440 void* mappedData = mmap(nullptr, fileSize, PROT_READ, MAP_SHARED, fd, 0); in TestDecompressLz4() local
441 if (mappedData == MAP_FAILED) { in TestDecompressLz4()
446 int ret = CheckDataIntegrityLz4(lz4Info, fileSize, outStream.get(), mappedData, digest); in TestDecompressLz4()
447 munmap(mappedData, fileSize); in TestDecompressLz4()
453 size_t &fileSize, void *mappedData) in TestDecompressGzipInitFile() argument
466 auto buffer = reinterpret_cast<uint8_t*>(mappedData); in TestDecompressGzipInitFile()
467 auto header = reinterpret_cast<GZipHeader*>(mappedData); in TestDecompressGzipInitFile()
490 PkgManager::StreamPtr stream, void *mappedData, std::vector<uint8_t> &digest) in CheckDataIntegrityGzip() argument
494 TestDecompressGzipInitFile(zipInfo, offset, fileSize, mappedData); in CheckDataIntegrityGzip()
496 Hpackage::PkgBuffer data(reinterpret_cast<uint8_t*>(mappedData) + offset, fileSize); in CheckDataIntegrityGzip()
502 …SHA256_Update(&sha256Ctx, reinterpret_cast<const uint8_t*>(mappedData) + offset, zipInfo.fileInfo.… in CheckDataIntegrityGzip()
550 void* mappedData = mmap(nullptr, fileSize, PROT_READ, MAP_SHARED, fd, 0); in TestDecompressGzip() local
551 if (mappedData == MAP_FAILED) { in TestDecompressGzip()
556 int ret = CheckDataIntegrityGzip(zipInfo, fileSize, outStream.get(), mappedData, digest); in TestDecompressGzip()
557 munmap(mappedData, fileSize); in TestDecompressGzip()