Lines Matching refs:BYTE

69     BYTE* const ostart = (BYTE*) dst;  in HUF_compressWeights()
70 BYTE* op = ostart; in HUF_compressWeights()
71 BYTE* const oend = ostart + dstSize; in HUF_compressWeights()
109 BYTE bitsToWeight[HUF_TABLELOG_MAX + 1]; /* precomputed conversion table */
110 BYTE huffWeight[HUF_SYMBOLVALUE_MAX];
117 BYTE* op = (BYTE*)dst; in HUF_writeCTable_wksp()
128 wksp->bitsToWeight[n] = (BYTE)(huffLog + 1 - n); in HUF_writeCTable_wksp()
135 op[0] = (BYTE)hSize; in HUF_writeCTable_wksp()
142 op[0] = (BYTE)(128 /*special case*/ + (maxSymbolValue-1)); in HUF_writeCTable_wksp()
145 op[(n/2)+1] = (BYTE)((wksp->huffWeight[n] << 4) + wksp->huffWeight[n+1]); in HUF_writeCTable_wksp()
162BYTE huffWeight[HUF_SYMBOLVALUE_MAX + 1]; /* init not required, even though some static analyzer… in HUF_readCTable()
186 CTable[n].nbBits = (BYTE)(tableLog + 1 - w) & -(w != 0); in HUF_readCTable()
220 BYTE byte;
221 BYTE nbBits;
261 huffNode[n].nbBits = (BYTE)maxNbBits; in HUF_setMaxHeight()
424 huffNode[pos].byte = (BYTE)n; in HUF_sort()
581 const BYTE* ip = (const BYTE*) src; in HUF_compress1X_usingCTable_internal_body()
582 BYTE* const ostart = (BYTE*)dst; in HUF_compress1X_usingCTable_internal_body()
583 BYTE* const oend = ostart + dstSize; in HUF_compress1X_usingCTable_internal_body()
584 BYTE* op = ostart; in HUF_compress1X_usingCTable_internal_body()
680 const BYTE* ip = (const BYTE*) src; in HUF_compress4X_usingCTable_internal()
681 const BYTE* const iend = ip + srcSize; in HUF_compress4X_usingCTable_internal()
682 BYTE* const ostart = (BYTE*) dst; in HUF_compress4X_usingCTable_internal()
683 BYTE* const oend = ostart + dstSize; in HUF_compress4X_usingCTable_internal()
684 BYTE* op = ostart; in HUF_compress4X_usingCTable_internal()
735 BYTE* const ostart, BYTE* op, BYTE* const oend, in HUF_compressCTable_internal()
773 BYTE* const ostart = (BYTE*)dst; in HUF_compress_internal()
774 BYTE* const oend = ostart + dstSize; in HUF_compress_internal()
775 BYTE* op = ostart; in HUF_compress_internal()
798 …{ CHECK_V_F(largest, HIST_count_wksp (table->count, &maxSymbolValue, (const BYTE*)src, srcSize, … in HUF_compress_internal()
799 … if (largest == srcSize) { *ostart = ((const BYTE*)src)[0]; return 1; } /* single symbol, rle */ in HUF_compress_internal()