Lines Matching refs:BYTE
128 typedef struct { BYTE maxTableLog; BYTE tableType; BYTE tableLog; BYTE reserved; } DTableDesc;
139 static size_t HUF_initDStream(BYTE const* ip) {
140 BYTE const lastByte = ip[7];
147 BYTE const* ip[4];
148 BYTE* op[4];
151 BYTE const* ilimit;
152 BYTE* oend;
153 BYTE const* iend[4];
167 const BYTE* const ilimit = (const BYTE*)src + 6 + 8;
169 BYTE* const oend = (BYTE*)dst + dstSize;
188 const BYTE* const istart = (const BYTE*)src;
211 args->ip[3] = (BYTE const*)src + srcSize - sizeof(U64);
214 args->op[0] = (BYTE*)dst;
247 static size_t HUF_initRemainingDStream(BIT_DStream_t* bit, HUF_DecompressAsmArgs const* args, int stream, BYTE* segmentEnd)
277 typedef struct { BYTE nbBits; BYTE byte; } HUF_DEltX1; /* single-symbol decoding */
283 static U64 HUF_DEltX1_set4(BYTE symbol, BYTE nbBits) {
299 static U32 HUF_rescaleStats(BYTE* huffWeight, U32* rankVal, U32 nbSymbols, U32 tableLog, U32 targetTableLog)
308 huffWeight[s] += (BYTE)((huffWeight[s] == 0) ? 0 : scale);
328 BYTE symbols[HUF_SYMBOLVALUE_MAX + 1];
329 BYTE huffWeight[HUF_SYMBOLVALUE_MAX + 1];
364 dtd.tableLog = (BYTE)tableLog;
394 wksp->symbols[wksp->rankStart[w]++] = (BYTE)(n+u);
399 wksp->symbols[wksp->rankStart[w]++] = (BYTE)n;
417 BYTE const nbBits = (BYTE)(tableLog + 1 - w);
476 FORCE_INLINE_TEMPLATE BYTE
480 BYTE const c = dt[val].byte;
497 HUF_decodeStreamX1(BYTE* p, BIT_DStream_t* const bitDPtr, BYTE* const pEnd, const HUF_DEltX1* const dt, const U32 dtLog)
499 BYTE* const pStart = p;
531 BYTE* op = (BYTE*)dst;
532 BYTE* const oend = op + dstSize;
557 { const BYTE* const istart = (const BYTE*) cSrc;
558 BYTE* const ostart = (BYTE*) dst;
559 BYTE* const oend = ostart + dstSize;
560 BYTE* const olimit = oend - 3;
573 const BYTE* const istart1 = istart + 6; /* jumpTable */
574 const BYTE* const istart2 = istart1 + length1;
575 const BYTE* const istart3 = istart2 + length2;
576 const BYTE* const istart4 = istart3 + length3;
578 BYTE* const opStart2 = ostart + segmentSize;
579 BYTE* const opStart3 = opStart2 + segmentSize;
580 BYTE* const opStart4 = opStart3 + segmentSize;
581 BYTE* op1 = ostart;
582 BYTE* op2 = opStart2;
583 BYTE* op3 = opStart3;
584 BYTE* op4 = opStart4;
673 const BYTE* const iend = (const BYTE*)cSrc + 6;
674 BYTE* const oend = (BYTE*)dst + dstSize;
699 BYTE* segmentEnd = (BYTE*)dst;
763 const BYTE* ip = (const BYTE*) cSrc;
788 const BYTE* ip = (const BYTE*) cSrc;
815 typedef struct { U16 sequence; BYTE nbBits; BYTE length; } HUF_DEltX2; /* double-symbols decoding */
816 typedef struct { BYTE symbol; } sortedSymbol_t;
1037 BYTE weightList[HUF_SYMBOLVALUE_MAX + 1];
1098 wksp->sortedSymbol[r].symbol = (BYTE)s;
1127 dtd.tableLog = (BYTE)maxTableLog;
1173 HUF_decodeStreamX2(BYTE* p, BIT_DStream_t* bitDPtr, BYTE* const pEnd,
1176 BYTE* const pStart = p;
1229 { BYTE* const ostart = (BYTE*) dst;
1230 BYTE* const oend = ostart + dstSize;
1251 { const BYTE* const istart = (const BYTE*) cSrc;
1252 BYTE* const ostart = (BYTE*) dst;
1253 BYTE* const oend = ostart + dstSize;
1254 BYTE* const olimit = oend - (sizeof(size_t)-1);
1267 const BYTE* const istart1 = istart + 6; /* jumpTable */
1268 const BYTE* const istart2 = istart1 + length1;
1269 const BYTE* const istart3 = istart2 + length2;
1270 const BYTE* const istart4 = istart3 + length3;
1272 BYTE* const opStart2 = ostart + segmentSize;
1273 BYTE* const opStart3 = opStart2 + segmentSize;
1274 BYTE* const opStart4 = opStart3 + segmentSize;
1275 BYTE* op1 = ostart;
1276 BYTE* op2 = opStart2;
1277 BYTE* op3 = opStart3;
1278 BYTE* op4 = opStart4;
1387 const BYTE* const iend = (const BYTE*)cSrc + 6;
1388 BYTE* const oend = (BYTE*)dst + dstSize;
1411 BYTE* segmentEnd = (BYTE*)dst;
1469 const BYTE* ip = (const BYTE*) cSrc;
1495 const BYTE* ip = (const BYTE*) cSrc;
1648 if (cSrcSize == 1) { ZSTD_memset(dst, *(const BYTE*)cSrc, dstSize); return dstSize; } /* RLE */
1691 const BYTE* ip = (const BYTE*) cSrc;