Home
last modified time | relevance | path

Searched refs:decodedSize (Results 1 – 18 of 18) sorted by relevance

/external/zstd/lib/legacy/
Dzstd_legacy.h358 size_t decodedSize = output->size - output->pos; in ZSTD_decompressLegacyStream() local
359 … size_t const hintSize = ZBUFFv04_decompressContinue(dctx, dst, &decodedSize, src, &readSize); in ZSTD_decompressLegacyStream()
360 output->pos += decodedSize; in ZSTD_decompressLegacyStream()
372 size_t decodedSize = output->size - output->pos; in ZSTD_decompressLegacyStream() local
373 … size_t const hintSize = ZBUFFv05_decompressContinue(dctx, dst, &decodedSize, src, &readSize); in ZSTD_decompressLegacyStream()
374 output->pos += decodedSize; in ZSTD_decompressLegacyStream()
386 size_t decodedSize = output->size - output->pos; in ZSTD_decompressLegacyStream() local
387 … size_t const hintSize = ZBUFFv06_decompressContinue(dctx, dst, &decodedSize, src, &readSize); in ZSTD_decompressLegacyStream()
388 output->pos += decodedSize; in ZSTD_decompressLegacyStream()
400 size_t decodedSize = output->size - output->pos; in ZSTD_decompressLegacyStream() local
[all …]
Dzstd_v04.c3098 size_t decodedSize=0; in ZSTD_decompress_usingDict() local
3109 decodedSize = ZSTD_decompressBlock_internal(ctx, op, oend-op, ip, cBlockSize); in ZSTD_decompress_usingDict()
3112 decodedSize = ZSTD_copyRawBlock(op, oend-op, ip, cBlockSize); in ZSTD_decompress_usingDict()
3126 if (ZSTD_isError(decodedSize)) return decodedSize; in ZSTD_decompress_usingDict()
3127 op += decodedSize; in ZSTD_decompress_usingDict()
3514 size_t decodedSize = ZSTD_decompressContinue(zbc->zc, in ZBUFF_decompressContinue() local
3517 if (ZSTD_isError(decodedSize)) return decodedSize; in ZBUFF_decompressContinue()
3519 if (!decodedSize) break; /* this was just a header */ in ZBUFF_decompressContinue()
3520 zbc->outEnd = zbc->outStart + decodedSize; in ZBUFF_decompressContinue()
3539 size_t decodedSize = ZSTD_decompressContinue(zbc->zc, in ZBUFF_decompressContinue() local
[all …]
Dzstd_v07.c3816 size_t decodedSize; in ZSTDv07_decompressFrame() local
3828 decodedSize = ZSTDv07_decompressBlock_internal(dctx, op, oend-op, ip, cBlockSize); in ZSTDv07_decompressFrame()
3831 decodedSize = ZSTDv07_copyRawBlock(op, oend-op, ip, cBlockSize); in ZSTDv07_decompressFrame()
3834 decodedSize = ZSTDv07_generateNxBytes(op, oend-op, *ip, blockProperties.origSize); in ZSTDv07_decompressFrame()
3839 decodedSize = 0; in ZSTDv07_decompressFrame()
3846 if (ZSTDv07_isError(decodedSize)) return decodedSize; in ZSTDv07_decompressFrame()
3847 if (dctx->fParams.checksumFlag) XXH64_update(&dctx->xxhState, op, decodedSize); in ZSTDv07_decompressFrame()
3848 op += decodedSize; in ZSTDv07_decompressFrame()
4469 size_t const decodedSize = ZSTDv07_decompressContinue(zbd->zd, in ZBUFFv07_decompressContinue() local
4472 if (ZSTDv07_isError(decodedSize)) return decodedSize; in ZBUFFv07_decompressContinue()
[all …]
Dzstd_v05.c3443 size_t decodedSize=0; in ZSTDv05_decompress_continueDCtx() local
3454 decodedSize = ZSTDv05_decompressBlock_internal(dctx, op, oend-op, ip, cBlockSize); in ZSTDv05_decompress_continueDCtx()
3457 decodedSize = ZSTDv05_copyRawBlock(op, oend-op, ip, cBlockSize); in ZSTDv05_decompress_continueDCtx()
3471 if (ZSTDv05_isError(decodedSize)) return decodedSize; in ZSTDv05_decompress_continueDCtx()
3472 op += decodedSize; in ZSTDv05_decompress_continueDCtx()
3975 size_t decodedSize = ZSTDv05_decompressContinue(zbc->zc, in ZBUFFv05_decompressContinue() local
3978 if (ZSTDv05_isError(decodedSize)) return decodedSize; in ZBUFFv05_decompressContinue()
3980 if (!decodedSize) break; /* this was just a header */ in ZBUFFv05_decompressContinue()
3981 zbc->outEnd = zbc->outStart + decodedSize; in ZBUFFv05_decompressContinue()
4000 size_t decodedSize = ZSTDv05_decompressContinue(zbc->zc, in ZBUFFv05_decompressContinue() local
[all …]
Dzstd_v06.c3579 size_t decodedSize=0; in ZSTDv06_decompressFrame() local
3590 decodedSize = ZSTDv06_decompressBlock_internal(dctx, op, oend-op, ip, cBlockSize); in ZSTDv06_decompressFrame()
3593 decodedSize = ZSTDv06_copyRawBlock(op, oend-op, ip, cBlockSize); in ZSTDv06_decompressFrame()
3607 if (ZSTDv06_isError(decodedSize)) return decodedSize; in ZSTDv06_decompressFrame()
3608 op += decodedSize; in ZSTDv06_decompressFrame()
4083 size_t const decodedSize = ZSTDv06_decompressContinue(zbd->zd, in ZBUFFv06_decompressContinue() local
4086 if (ZSTDv06_isError(decodedSize)) return decodedSize; in ZBUFFv06_decompressContinue()
4088 if (!decodedSize) break; /* this was just a header */ in ZBUFFv06_decompressContinue()
4089 zbd->outEnd = zbd->outStart + decodedSize; in ZBUFFv06_decompressContinue()
4108 { size_t const decodedSize = ZSTDv06_decompressContinue(zbd->zd, in ZBUFFv06_decompressContinue() local
[all …]
Dzstd_v03.c2924 size_t decodedSize=0; in ZSTD_decompressDCtx() local
2935 decodedSize = ZSTD_decompressBlock(ctx, op, oend-op, ip, cBlockSize); in ZSTD_decompressDCtx()
2938 decodedSize = ZSTD_copyUncompressedBlock(op, oend-op, ip, cBlockSize); in ZSTD_decompressDCtx()
2952 if (ZSTD_isError(decodedSize)) return decodedSize; in ZSTD_decompressDCtx()
2953 op += decodedSize; in ZSTD_decompressDCtx()
Dzstd_v02.c3283 size_t decodedSize=0; in ZSTD_decompressDCtx() local
3294 decodedSize = ZSTD_decompressBlock(ctx, op, oend-op, ip, cBlockSize); in ZSTD_decompressDCtx()
3297 decodedSize = ZSTD_copyUncompressedBlock(op, oend-op, ip, cBlockSize); in ZSTD_decompressDCtx()
3311 if (ZSTD_isError(decodedSize)) return decodedSize; in ZSTD_decompressDCtx()
3312 op += decodedSize; in ZSTD_decompressDCtx()
/external/lz4/tests/
Dframetest.c457 { size_t const decodedSize = (size_t)(op - ostart); in basicTests() local
458 U64 const crcDest = XXH64(decodedBuffer, decodedSize, 1); in basicTests()
460 DISPLAYLEVEL(3, "Regenerated %u bytes \n", (U32)decodedSize); in basicTests()
508 size_t decodedSize = COMPRESSIBLE_NOISE_LENGTH; in basicTests() local
511 CHECK( LZ4F_decompress(dctx, decodedBuffer, &decodedSize, compressedBuffer, &iSize, NULL) ); in basicTests()
512 if (decodedSize != testSize) goto _output_error; in basicTests()
514 { U64 const crcDest = XXH64(decodedBuffer, decodedSize, 1); in basicTests()
518 DISPLAYLEVEL(3, "Regenerated %u bytes \n", (U32)decodedSize); in basicTests()
627 size_t decodedSize = srcSize; in basicTests() local
631 decodedBuffer, &decodedSize, in basicTests()
[all …]
Dfullbench.c727 …int const decodedSize = decompressionFunction(chunkP[chunkNb].compressedBuffer, chunkP[chunkNb].or… in fullSpeedBench() local
729 if (chunkP[chunkNb].origSize != decodedSize) { in fullSpeedBench()
731 dName, decodedSize, chunkP[chunkNb].origSize); in fullSpeedBench()
/external/zstd/lib/decompress/
Dzstd_decompress.c906 size_t decodedSize; in ZSTD_decompressFrame() local
918decodedSize = ZSTD_decompressBlock_internal(dctx, op, (size_t)(oend-op), ip, cBlockSize, /* frame … in ZSTD_decompressFrame()
921 decodedSize = ZSTD_copyRawBlock(op, (size_t)(oend-op), ip, cBlockSize); in ZSTD_decompressFrame()
924 decodedSize = ZSTD_setRleBlock(op, (size_t)(oend-op), *ip, blockProperties.origSize); in ZSTD_decompressFrame()
931 if (ZSTD_isError(decodedSize)) return decodedSize; in ZSTD_decompressFrame()
933 XXH64_update(&dctx->xxhState, op, decodedSize); in ZSTD_decompressFrame()
934 if (decodedSize != 0) in ZSTD_decompressFrame()
935 op += decodedSize; in ZSTD_decompressFrame()
985 size_t decodedSize; in ZSTD_decompressMultiFrame() local
991 decodedSize = ZSTD_decompressLegacy(dst, dstCapacity, src, frameSize, dict, dictSize); in ZSTD_decompressMultiFrame()
[all …]
Dzstd_decompress_internal.h140 U64 decodedSize; member
/external/lz4/lib/
Dlz4frame.c1837 int decodedSize; in LZ4F_decompress() local
1844 decodedSize = LZ4_decompress_safe_usingDict( in LZ4F_decompress()
1848 RETURN_ERROR_IF(decodedSize < 0, decompressionFailed); in LZ4F_decompress()
1850 XXH32_update(&(dctx->xxh), dstPtr, (size_t)decodedSize); in LZ4F_decompress()
1852 dctx->frameRemainingSize -= (size_t)decodedSize; in LZ4F_decompress()
1856 LZ4F_updateDict(dctx, dstPtr, (size_t)decodedSize, dstStart, 0); in LZ4F_decompress()
1859 dstPtr += decodedSize; in LZ4F_decompress()
1883 int decodedSize; in LZ4F_decompress() local
1889 decodedSize = LZ4_decompress_safe_usingDict( in LZ4F_decompress()
1893 RETURN_ERROR_IF(decodedSize < 0, decompressionFailed); in LZ4F_decompress()
[all …]
/external/zstd/programs/
Dbenchzstd.c340 { size_t const decodedSize = (size_t)totalDSize64; in BMK_benchMemAdvancedNoAlloc() local
341 assert((U64)decodedSize == totalDSize64); /* check overflow */ in BMK_benchMemAdvancedNoAlloc()
343 *resultBufferPtr = malloc(decodedSize); in BMK_benchMemAdvancedNoAlloc()
347 if (totalDSize64 > decodedSize) { /* size_t overflow */ in BMK_benchMemAdvancedNoAlloc()
352 srcSize = decodedSize; in BMK_benchMemAdvancedNoAlloc()
/external/zstd/tests/
Dfullbench.c416 size_t const decodedSize = ZSTD_decompressContinue(g_zdc, op, remainingCapacity, ip, iSize); in local_ZSTD_decompressContinue() local
418 regeneratedSize += decodedSize; in local_ZSTD_decompressContinue()
419 op += decodedSize; in local_ZSTD_decompressContinue()
420 remainingCapacity -= decodedSize; in local_ZSTD_decompressContinue()
/external/lz4/programs/
Dlz4io.c1289 unsigned long long const decodedSize = in LZ4IO_decompressSrcFile() local
1291 if (decodedSize == ENDOFSTREAM) break; in LZ4IO_decompressSrcFile()
1292 if (decodedSize == DECODING_ERROR) { result=1; break; } in LZ4IO_decompressSrcFile()
1293 filesize += decodedSize; in LZ4IO_decompressSrcFile()
/external/dng_sdk/source/
Ddng_lossless_jpeg.cpp2588 uint32 decodedSize = imageWidth * in DecodeLosslessJPEG() local
2593 if (decodedSize < minDecodedSize || in DecodeLosslessJPEG()
2594 decodedSize > maxDecodedSize) in DecodeLosslessJPEG()
Ddng_read_image.cpp1861 uint32 decodedSize = SafeUint32Mult(tileArea.W (), in ReadLosslessJPEG() local
1871 decodedSize, in ReadLosslessJPEG()
1872 decodedSize, in ReadLosslessJPEG()
/external/libbpf/.github/actions/build-selftests/
Dvmlinux.h58759 U64 decodedSize; member