Searched refs:DStream (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/lib/zstd/decompress/ |
D | zstd_decompress_block.c | 745 BIT_DStream_t DStream; member 1206 U32 const extraBits = ofBits - MIN(ofBits, 32 - seqState->DStream.bitsConsumed); 1207 … offset = ofBase + (BIT_readBitsFast(&seqState->DStream, ofBits - extraBits) << extraBits); 1208 BIT_reloadDStream(&seqState->DStream); 1209 if (extraBits) offset += BIT_readBitsFast(&seqState->DStream, extraBits); 1212 …offset = ofBase + BIT_readBitsFast(&seqState->DStream, ofBits/*>0*/); /* <= (ZSTD_WINDOWLOG_MAX… 1213 if (MEM_32bits()) BIT_reloadDStream(&seqState->DStream); 1225 offset = ofBase + ll0 + BIT_readBitsFast(&seqState->DStream, 1); 1240 seq.matchLength += BIT_readBitsFast(&seqState->DStream, mlBits/*>0*/); 1243 BIT_reloadDStream(&seqState->DStream); [all …]
|
D | huf_decompress.c | 1135 HUF_decodeSymbolX2(void* op, BIT_DStream_t* DStream, const HUF_DEltX2* dt, const U32 dtLog) in HUF_decodeSymbolX2() argument 1137 size_t const val = BIT_lookBitsFast(DStream, dtLog); /* note : dtLog >= 1 */ in HUF_decodeSymbolX2() 1139 BIT_skipBits(DStream, dt[val].nbBits); in HUF_decodeSymbolX2() 1144 HUF_decodeLastSymbolX2(void* op, BIT_DStream_t* DStream, const HUF_DEltX2* dt, const U32 dtLog) in HUF_decodeLastSymbolX2() argument 1146 size_t const val = BIT_lookBitsFast(DStream, dtLog); /* note : dtLog >= 1 */ in HUF_decodeLastSymbolX2() 1149 BIT_skipBits(DStream, dt[val].nbBits); in HUF_decodeLastSymbolX2() 1151 if (DStream->bitsConsumed < (sizeof(DStream->bitContainer)*8)) { in HUF_decodeLastSymbolX2() 1152 BIT_skipBits(DStream, dt[val].nbBits); in HUF_decodeLastSymbolX2() 1153 if (DStream->bitsConsumed > (sizeof(DStream->bitContainer)*8)) in HUF_decodeLastSymbolX2() 1155 DStream->bitsConsumed = (sizeof(DStream->bitContainer)*8); in HUF_decodeLastSymbolX2()
|
/linux-6.12.1/lib/zstd/common/ |
D | bitstream.h | 440 MEM_STATIC unsigned BIT_endOfDStream(const BIT_DStream_t* DStream) in BIT_endOfDStream() argument 442 …return ((DStream->ptr == DStream->start) && (DStream->bitsConsumed == sizeof(DStream->bitContainer… in BIT_endOfDStream()
|