Home
last modified time | relevance | path

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

/external/zstd/lib/legacy/
Dzstd_v04.c355 static const size_t ZSTD_frameHeaderSize_min = 5; variable
2520 dctx->expected = ZSTD_frameHeaderSize_min; in ZSTD_resetDCtx()
2554 if (srcSize != ZSTD_frameHeaderSize_min) return ERROR(srcSize_wrong); in ZSTD_decodeFrameHeader_Part1()
2557 zc->headerSize = ZSTD_frameHeaderSize_min; in ZSTD_decodeFrameHeader_Part1()
2565 if (srcSize < ZSTD_frameHeaderSize_min) return ZSTD_frameHeaderSize_max; in ZSTD_getFrameParams()
3090 if (srcSize < ZSTD_frameHeaderSize_min+ZSTD_blockHeaderSize) return ERROR(srcSize_wrong); in ZSTD_decompress_usingDict()
3091 frameHeaderSize = ZSTD_decodeFrameHeader_Part1(ctx, src, ZSTD_frameHeaderSize_min); in ZSTD_decompress_usingDict()
3155 if (srcSize < ZSTD_frameHeaderSize_min) { in ZSTDv04_findFrameSizeInfoLegacy()
3163 ip += ZSTD_frameHeaderSize_min; remainingSize -= ZSTD_frameHeaderSize_min; in ZSTDv04_findFrameSizeInfoLegacy()
3211 if (srcSize != ZSTD_frameHeaderSize_min) return ERROR(srcSize_wrong); /* impossible */ in ZSTD_decompressContinue()
[all …]