Lines Matching refs:BYTE
101 typedef struct { BYTE maxTableLog; BYTE tableType; BYTE tableLog; BYTE reserved; } DTableDesc;
116 typedef struct { BYTE byte; BYTE nbBits; } HUF_DEltX1; /* single-symbol decoding */
122 static U64 HUF_DEltX1_set4(BYTE symbol, BYTE nbBits) { in HUF_DEltX1_set4()
137 BYTE symbols[HUF_SYMBOLVALUE_MAX + 1];
138 BYTE huffWeight[HUF_SYMBOLVALUE_MAX + 1];
169 dtd.tableLog = (BYTE)tableLog; in HUF_readDTableX1_wksp_bmi2()
199 wksp->symbols[wksp->rankStart[w]++] = (BYTE)(n+u); in HUF_readDTableX1_wksp_bmi2()
204 wksp->symbols[wksp->rankStart[w]++] = (BYTE)n; in HUF_readDTableX1_wksp_bmi2()
222 BYTE const nbBits = (BYTE)(tableLog + 1 - w); in HUF_readDTableX1_wksp_bmi2()
281 FORCE_INLINE_TEMPLATE BYTE
285 BYTE const c = dt[val].byte; in HUF_decodeSymbolX1()
302 HUF_decodeStreamX1(BYTE* p, BIT_DStream_t* const bitDPtr, BYTE* const pEnd, const HUF_DEltX1* const… in HUF_decodeStreamX1()
304 BYTE* const pStart = p; in HUF_decodeStreamX1()
332 BYTE* op = (BYTE*)dst; in HUF_decompress1X1_usingDTable_internal_body()
333 BYTE* const oend = op + dstSize; in HUF_decompress1X1_usingDTable_internal_body()
358 { const BYTE* const istart = (const BYTE*) cSrc; in HUF_decompress4X1_usingDTable_internal_body()
359 BYTE* const ostart = (BYTE*) dst; in HUF_decompress4X1_usingDTable_internal_body()
360 BYTE* const oend = ostart + dstSize; in HUF_decompress4X1_usingDTable_internal_body()
361 BYTE* const olimit = oend - 3; in HUF_decompress4X1_usingDTable_internal_body()
374 const BYTE* const istart1 = istart + 6; /* jumpTable */ in HUF_decompress4X1_usingDTable_internal_body()
375 const BYTE* const istart2 = istart1 + length1; in HUF_decompress4X1_usingDTable_internal_body()
376 const BYTE* const istart3 = istart2 + length2; in HUF_decompress4X1_usingDTable_internal_body()
377 const BYTE* const istart4 = istart3 + length3; in HUF_decompress4X1_usingDTable_internal_body()
379 BYTE* const opStart2 = ostart + segmentSize; in HUF_decompress4X1_usingDTable_internal_body()
380 BYTE* const opStart3 = opStart2 + segmentSize; in HUF_decompress4X1_usingDTable_internal_body()
381 BYTE* const opStart4 = opStart3 + segmentSize; in HUF_decompress4X1_usingDTable_internal_body()
382 BYTE* op1 = ostart; in HUF_decompress4X1_usingDTable_internal_body()
383 BYTE* op2 = opStart2; in HUF_decompress4X1_usingDTable_internal_body()
384 BYTE* op3 = opStart3; in HUF_decompress4X1_usingDTable_internal_body()
385 BYTE* op4 = opStart4; in HUF_decompress4X1_usingDTable_internal_body()
468 const BYTE* ip = (const BYTE*) cSrc; in HUF_decompress1X1_DCtx_wksp()
493 const BYTE* ip = (const BYTE*) cSrc; in HUF_decompress4X1_DCtx_wksp_bmi2()
520 typedef struct { U16 sequence; BYTE nbBits; BYTE length; } HUF_DEltX2; /* double-symbols decoding …
521 typedef struct { BYTE symbol; BYTE weight; } sortedSymbol_t;
545 DElt.nbBits = (BYTE)(consumed); in HUF_fillDTableX2Level2()
562 DElt.nbBits = (BYTE)(nbBits + consumed); in HUF_fillDTableX2Level2()
607 DElt.nbBits = (BYTE)(nbBits); in HUF_fillDTableX2()
622 BYTE weightList[HUF_SYMBOLVALUE_MAX + 1];
675 wksp->sortedSymbol[r].symbol = (BYTE)s; in HUF_readDTableX2_wksp()
676 wksp->sortedSymbol[r].weight = (BYTE)w; in HUF_readDTableX2_wksp()
706 dtd.tableLog = (BYTE)maxTableLog; in HUF_readDTableX2_wksp()
750 HUF_decodeStreamX2(BYTE* p, BIT_DStream_t* bitDPtr, BYTE* const pEnd, in HUF_decodeStreamX2()
753 BYTE* const pStart = p; in HUF_decodeStreamX2()
788 { BYTE* const ostart = (BYTE*) dst; in HUF_decompress1X2_usingDTable_internal_body()
789 BYTE* const oend = ostart + dstSize; in HUF_decompress1X2_usingDTable_internal_body()
811 { const BYTE* const istart = (const BYTE*) cSrc; in HUF_decompress4X2_usingDTable_internal_body()
812 BYTE* const ostart = (BYTE*) dst; in HUF_decompress4X2_usingDTable_internal_body()
813 BYTE* const oend = ostart + dstSize; in HUF_decompress4X2_usingDTable_internal_body()
814 BYTE* const olimit = oend - (sizeof(size_t)-1); in HUF_decompress4X2_usingDTable_internal_body()
827 const BYTE* const istart1 = istart + 6; /* jumpTable */ in HUF_decompress4X2_usingDTable_internal_body()
828 const BYTE* const istart2 = istart1 + length1; in HUF_decompress4X2_usingDTable_internal_body()
829 const BYTE* const istart3 = istart2 + length2; in HUF_decompress4X2_usingDTable_internal_body()
830 const BYTE* const istart4 = istart3 + length3; in HUF_decompress4X2_usingDTable_internal_body()
832 BYTE* const opStart2 = ostart + segmentSize; in HUF_decompress4X2_usingDTable_internal_body()
833 BYTE* const opStart3 = opStart2 + segmentSize; in HUF_decompress4X2_usingDTable_internal_body()
834 BYTE* const opStart4 = opStart3 + segmentSize; in HUF_decompress4X2_usingDTable_internal_body()
835 BYTE* op1 = ostart; in HUF_decompress4X2_usingDTable_internal_body()
836 BYTE* op2 = opStart2; in HUF_decompress4X2_usingDTable_internal_body()
837 BYTE* op3 = opStart3; in HUF_decompress4X2_usingDTable_internal_body()
838 BYTE* op4 = opStart4; in HUF_decompress4X2_usingDTable_internal_body()
935 const BYTE* ip = (const BYTE*) cSrc; in HUF_decompress1X2_DCtx_wksp()
961 const BYTE* ip = (const BYTE*) cSrc; in HUF_decompress4X2_DCtx_wksp_bmi2()
1114 … if (cSrcSize == 1) { ZSTD_memset(dst, *(const BYTE*)cSrc, dstSize); return dstSize; } /* RLE */ in HUF_decompress1X_DCtx_wksp()
1157 const BYTE* ip = (const BYTE*) cSrc; in HUF_decompress1X1_DCtx_wksp_bmi2()