• Home
  • Raw
  • Download

Lines Matching refs:seqState

1694 static void ZSTD_decodeSequence(seq_t* seq, seqState_t* seqState)  in ZSTD_decodeSequence()  argument
1700 const BYTE* dumps = seqState->dumps; in ZSTD_decodeSequence()
1701 const BYTE* const de = seqState->dumpsEnd; in ZSTD_decodeSequence()
1704 litLength = FSE_decodeSymbol(&(seqState->stateLL), &(seqState->DStream)); in ZSTD_decodeSequence()
1705 prevOffset = litLength ? seq->offset : seqState->prevOffset; in ZSTD_decodeSequence()
1706 seqState->prevOffset = seq->offset; in ZSTD_decodeSequence()
1724 offsetCode = FSE_decodeSymbol(&(seqState->stateOffb), &(seqState->DStream)); in ZSTD_decodeSequence()
1725 if (ZSTD_32bits()) FSE_reloadDStream(&(seqState->DStream)); in ZSTD_decodeSequence()
1728 …offset = ((size_t)1 << (nbBits & ((sizeof(offset)*8)-1))) + FSE_readBits(&(seqState->DStream), nbB… in ZSTD_decodeSequence()
1729 if (ZSTD_32bits()) FSE_reloadDStream(&(seqState->DStream)); in ZSTD_decodeSequence()
1734 matchLength = FSE_decodeSymbol(&(seqState->stateML), &(seqState->DStream)); in ZSTD_decodeSequence()
1754 seqState->dumps = dumps; in ZSTD_decodeSequence()
1882 seqState_t seqState; in ZSTD_decompressSequences() local
1885 seqState.dumps = dumps; in ZSTD_decompressSequences()
1886 seqState.dumpsEnd = dumps + dumpsLength; in ZSTD_decompressSequences()
1887 seqState.prevOffset = 1; in ZSTD_decompressSequences()
1888 errorCode = FSE_initDStream(&(seqState.DStream), ip, iend-ip); in ZSTD_decompressSequences()
1890 FSE_initDState(&(seqState.stateLL), &(seqState.DStream), DTableLL); in ZSTD_decompressSequences()
1891 FSE_initDState(&(seqState.stateOffb), &(seqState.DStream), DTableOffb); in ZSTD_decompressSequences()
1892 FSE_initDState(&(seqState.stateML), &(seqState.DStream), DTableML); in ZSTD_decompressSequences()
1894 for ( ; (FSE_reloadDStream(&(seqState.DStream)) <= FSE_DStream_completed) && (nbSeq>0) ; ) in ZSTD_decompressSequences()
1898 ZSTD_decodeSequence(&sequence, &seqState); in ZSTD_decompressSequences()
1905 …if ( !FSE_endOfDStream(&(seqState.DStream)) ) return ERROR(corruption_detected); /* requested to… in ZSTD_decompressSequences()