• Home
  • Raw
  • Download

Lines Matching refs:litSize

2955     size_t litSize;  member
3298 { size_t litSize, litCSize, singleStream=0; in ZSTDv07_decodeLiteralsBlock() local
3307 litSize = ((istart[0] & 15) << 6) + (istart[1] >> 2); in ZSTDv07_decodeLiteralsBlock()
3313 litSize = ((istart[0] & 15) << 10) + (istart[1] << 2) + (istart[2] >> 6); in ZSTDv07_decodeLiteralsBlock()
3319 litSize = ((istart[0] & 15) << 14) + (istart[1] << 6) + (istart[2] >> 2); in ZSTDv07_decodeLiteralsBlock()
3323 if (litSize > ZSTDv07_BLOCKSIZE_ABSOLUTEMAX) return ERROR(corruption_detected); in ZSTDv07_decodeLiteralsBlock()
3327 … HUFv07_decompress1X2_DCtx(dctx->hufTable, dctx->litBuffer, litSize, istart+lhSize, litCSize) : in ZSTDv07_decodeLiteralsBlock()
3328 … HUFv07_decompress4X_hufOnly (dctx->hufTable, dctx->litBuffer, litSize, istart+lhSize, litCSize) )) in ZSTDv07_decodeLiteralsBlock()
3332 dctx->litSize = litSize; in ZSTDv07_decodeLiteralsBlock()
3334 memset(dctx->litBuffer + dctx->litSize, 0, WILDCOPY_OVERLENGTH); in ZSTDv07_decodeLiteralsBlock()
3338 { size_t litSize, litCSize; in ZSTDv07_decodeLiteralsBlock() local
3347 litSize = ((istart[0] & 15) << 6) + (istart[1] >> 2); in ZSTDv07_decodeLiteralsBlock()
3351 …{ size_t const errorCode = HUFv07_decompress1X4_usingDTable(dctx->litBuffer, litSize, istart+lhS… in ZSTDv07_decodeLiteralsBlock()
3355 dctx->litSize = litSize; in ZSTDv07_decodeLiteralsBlock()
3356 memset(dctx->litBuffer + dctx->litSize, 0, WILDCOPY_OVERLENGTH); in ZSTDv07_decodeLiteralsBlock()
3360 { size_t litSize; in ZSTDv07_decodeLiteralsBlock() local
3366 litSize = istart[0] & 31; in ZSTDv07_decodeLiteralsBlock()
3369 litSize = ((istart[0] & 15) << 8) + istart[1]; in ZSTDv07_decodeLiteralsBlock()
3372 litSize = ((istart[0] & 15) << 16) + (istart[1] << 8) + istart[2]; in ZSTDv07_decodeLiteralsBlock()
3376 …if (lhSize+litSize+WILDCOPY_OVERLENGTH > srcSize) { /* risk reading beyond src buffer with wildco… in ZSTDv07_decodeLiteralsBlock()
3377 if (litSize+lhSize > srcSize) return ERROR(corruption_detected); in ZSTDv07_decodeLiteralsBlock()
3378 memcpy(dctx->litBuffer, istart+lhSize, litSize); in ZSTDv07_decodeLiteralsBlock()
3380 dctx->litSize = litSize; in ZSTDv07_decodeLiteralsBlock()
3381 memset(dctx->litBuffer + dctx->litSize, 0, WILDCOPY_OVERLENGTH); in ZSTDv07_decodeLiteralsBlock()
3382 return lhSize+litSize; in ZSTDv07_decodeLiteralsBlock()
3386 dctx->litSize = litSize; in ZSTDv07_decodeLiteralsBlock()
3387 return lhSize+litSize; in ZSTDv07_decodeLiteralsBlock()
3390 { size_t litSize; in ZSTDv07_decodeLiteralsBlock() local
3396 litSize = istart[0] & 31; in ZSTDv07_decodeLiteralsBlock()
3399 litSize = ((istart[0] & 15) << 8) + istart[1]; in ZSTDv07_decodeLiteralsBlock()
3402 litSize = ((istart[0] & 15) << 16) + (istart[1] << 8) + istart[2]; in ZSTDv07_decodeLiteralsBlock()
3406 if (litSize > ZSTDv07_BLOCKSIZE_ABSOLUTEMAX) return ERROR(corruption_detected); in ZSTDv07_decodeLiteralsBlock()
3407 memset(dctx->litBuffer, istart[lhSize], litSize + WILDCOPY_OVERLENGTH); in ZSTDv07_decodeLiteralsBlock()
3409 dctx->litSize = litSize; in ZSTDv07_decodeLiteralsBlock()
3679 const BYTE* const litEnd = litPtr + dctx->litSize; in ZSTDv07_decompressSequences()