• Home
  • Raw
  • Download

Lines Matching refs:litSize

2457     size_t litSize;  member
2498 …const size_t litSize = (MEM_readLE32(src) & 0x1FFFFF) >> 2; /* no buffer issue : srcSize >= MIN_… in ZSTD_decompressLiterals() local
2501 if (litSize > *maxDstSizePtr) return ERROR(corruption_detected); in ZSTD_decompressLiterals()
2504 … if (HUF_isError(HUF_decompress(dst, litSize, ip+5, litCSize))) return ERROR(corruption_detected); in ZSTD_decompressLiterals()
2506 *maxDstSizePtr = litSize; in ZSTD_decompressLiterals()
2527 size_t litSize = BLOCKSIZE; in ZSTD_decodeLiteralsBlock() local
2528 … const size_t readSize = ZSTD_decompressLiterals(dctx->litBuffer, &litSize, src, srcSize); in ZSTD_decodeLiteralsBlock()
2530 dctx->litSize = litSize; in ZSTD_decodeLiteralsBlock()
2531 memset(dctx->litBuffer + dctx->litSize, 0, 8); in ZSTD_decodeLiteralsBlock()
2536 …const size_t litSize = (MEM_readLE32(istart) & 0xFFFFFF) >> 2; /* no buffer issue : srcSize >= M… in ZSTD_decodeLiteralsBlock() local
2537 if (litSize > srcSize-11) /* risk of reading too far with wildcopy */ in ZSTD_decodeLiteralsBlock()
2539 if (litSize > BLOCKSIZE) return ERROR(corruption_detected); in ZSTD_decodeLiteralsBlock()
2540 if (litSize > srcSize-3) return ERROR(corruption_detected); in ZSTD_decodeLiteralsBlock()
2541 memcpy(dctx->litBuffer, istart, litSize); in ZSTD_decodeLiteralsBlock()
2543 dctx->litSize = litSize; in ZSTD_decodeLiteralsBlock()
2544 memset(dctx->litBuffer + dctx->litSize, 0, 8); in ZSTD_decodeLiteralsBlock()
2545 return litSize+3; in ZSTD_decodeLiteralsBlock()
2549 dctx->litSize = litSize; in ZSTD_decodeLiteralsBlock()
2550 return litSize+3; in ZSTD_decodeLiteralsBlock()
2554 …const size_t litSize = (MEM_readLE32(istart) & 0xFFFFFF) >> 2; /* no buffer issue : srcSize >= M… in ZSTD_decodeLiteralsBlock() local
2555 if (litSize > BLOCKSIZE) return ERROR(corruption_detected); in ZSTD_decodeLiteralsBlock()
2556 memset(dctx->litBuffer, istart[3], litSize + 8); in ZSTD_decodeLiteralsBlock()
2558 dctx->litSize = litSize; in ZSTD_decodeLiteralsBlock()
2830 const BYTE* const litEnd = litPtr + dctx->litSize; in ZSTD_decompressSequences()