• Home
  • Raw
  • Download

Lines Matching refs:DStream

770 MEM_STATIC unsigned BIT_endOfDStream(const BIT_DStream_t* DStream)  in BIT_endOfDStream()  argument
772 …return ((DStream->ptr == DStream->start) && (DStream->bitsConsumed == sizeof(DStream->bitContainer… in BIT_endOfDStream()
2165 static U32 HUF_decodeSymbolX4(void* op, BIT_DStream_t* DStream, const HUF_DEltX4* dt, const U32 dtL… in HUF_decodeSymbolX4() argument
2167 const size_t val = BIT_lookBitsFast(DStream, dtLog); /* note : dtLog >= 1 */ in HUF_decodeSymbolX4()
2169 BIT_skipBits(DStream, dt[val].nbBits); in HUF_decodeSymbolX4()
2173 static U32 HUF_decodeLastSymbolX4(void* op, BIT_DStream_t* DStream, const HUF_DEltX4* dt, const U32… in HUF_decodeLastSymbolX4() argument
2175 const size_t val = BIT_lookBitsFast(DStream, dtLog); /* note : dtLog >= 1 */ in HUF_decodeLastSymbolX4()
2177 if (dt[val].length==1) BIT_skipBits(DStream, dt[val].nbBits); in HUF_decodeLastSymbolX4()
2180 if (DStream->bitsConsumed < (sizeof(DStream->bitContainer)*8)) in HUF_decodeLastSymbolX4()
2182 BIT_skipBits(DStream, dt[val].nbBits); in HUF_decodeLastSymbolX4()
2183 if (DStream->bitsConsumed > (sizeof(DStream->bitContainer)*8)) in HUF_decodeLastSymbolX4()
2184DStream->bitsConsumed = (sizeof(DStream->bitContainer)*8); /* ugly hack; works only because it's… in HUF_decodeLastSymbolX4()
2800 BIT_DStream_t DStream; member
2820 litLength = FSE_decodeSymbol(&(seqState->stateLL), &(seqState->DStream)); in ZSTD_decodeSequence()
2838 …offsetCode = FSE_decodeSymbol(&(seqState->stateOffb), &(seqState->DStream)); /* <= maxOff, by ta… in ZSTD_decodeSequence()
2839 if (MEM_32bits()) BIT_reloadDStream(&(seqState->DStream)); in ZSTD_decodeSequence()
2842 offset = offsetPrefix[offsetCode] + BIT_readBits(&(seqState->DStream), nbBits); in ZSTD_decodeSequence()
2843 if (MEM_32bits()) BIT_reloadDStream(&(seqState->DStream)); in ZSTD_decodeSequence()
2849 matchLength = FSE_decodeSymbol(&(seqState->stateML), &(seqState->DStream)); in ZSTD_decodeSequence()
2993 errorCode = BIT_initDStream(&(seqState.DStream), ip, iend-ip); in ZSTD_decompressSequences()
2995 FSE_initDState(&(seqState.stateLL), &(seqState.DStream), DTableLL); in ZSTD_decompressSequences()
2996 FSE_initDState(&(seqState.stateOffb), &(seqState.DStream), DTableOffb); in ZSTD_decompressSequences()
2997 FSE_initDState(&(seqState.stateML), &(seqState.DStream), DTableML); in ZSTD_decompressSequences()
2999 for ( ; (BIT_reloadDStream(&(seqState.DStream)) <= BIT_DStream_completed) && nbSeq ; ) in ZSTD_decompressSequences()
3010 …if ( !BIT_endOfDStream(&(seqState.DStream)) ) return ERROR(corruption_detected); /* DStream shou… in ZSTD_decompressSequences()