Lines Matching refs:BYTE
92 const BYTE *p,
96 const BYTE *srcBase)
101 const BYTE **hashTable = (const BYTE **)tableBase;
124 const BYTE *p,
127 const BYTE *srcBase)
134 static const BYTE *LZ4_getPositionOnHash(
138 const BYTE *srcBase)
141 const BYTE **hashTable = (const BYTE **) tableBase;
160 static FORCE_INLINE const BYTE *LZ4_getPosition(
161 const BYTE *p,
164 const BYTE *srcBase)
188 const BYTE *ip = (const BYTE *) source;
189 const BYTE *base;
190 const BYTE *lowLimit;
191 const BYTE * const lowRefLimit = ip - dictPtr->dictSize;
192 const BYTE * const dictionary = dictPtr->dictionary;
193 const BYTE * const dictEnd = dictionary + dictPtr->dictSize;
194 const size_t dictDelta = dictEnd - (const BYTE *)source;
195 const BYTE *anchor = (const BYTE *) source;
196 const BYTE * const iend = ip + inputSize;
197 const BYTE * const mflimit = iend - MFLIMIT;
198 const BYTE * const matchlimit = iend - LASTLITERALS;
200 BYTE *op = (BYTE *) dest;
201 BYTE * const olimit = op + maxOutputSize;
215 base = (const BYTE *)source;
216 lowLimit = (const BYTE *)source;
219 base = (const BYTE *)source - dictPtr->currentOffset;
220 lowLimit = (const BYTE *)source - dictPtr->dictSize;
223 base = (const BYTE *)source - dictPtr->currentOffset;
224 lowLimit = (const BYTE *)source;
246 const BYTE *match;
247 BYTE *token;
251 const BYTE *forwardIp = ip;
270 if (match < (const BYTE *)source) {
275 lowLimit = (const BYTE *)source;
320 *op++ = (BYTE)len;
322 *token = (BYTE)(litLength << ML_BITS);
340 const BYTE *limit;
355 (const BYTE *)source,
386 *op++ = (BYTE)(matchCode % 255);
388 *token += (BYTE)(matchCode);
405 if (match < (const BYTE *)source) {
410 lowLimit = (const BYTE *)source;
435 ((op - (BYTE *)dest) + lastRun + 1 +
444 *op++ = (BYTE) accumulator;
446 *op++ = (BYTE)(lastRun << ML_BITS);
530 const BYTE *ip = (const BYTE *) src;
531 const BYTE *base = (const BYTE *) src;
532 const BYTE *lowLimit = (const BYTE *) src;
533 const BYTE *anchor = ip;
534 const BYTE * const iend = ip + *srcSizePtr;
535 const BYTE * const mflimit = iend - MFLIMIT;
536 const BYTE * const matchlimit = iend - LASTLITERALS;
538 BYTE *op = (BYTE *) dst;
539 BYTE * const oend = op + targetDstSize;
540 BYTE * const oMaxLit = op + targetDstSize - 2 /* offset */
542 BYTE * const oMaxMatch = op + targetDstSize
544 BYTE * const oMaxSeq = oMaxLit - 1 /* token */;
569 const BYTE *match;
570 BYTE *token;
574 const BYTE *forwardIp = ip;
626 *op++ = (BYTE)len;
628 *token = (BYTE)(litLength << ML_BITS);
657 *op++ = (BYTE)matchLength;
659 *token += (BYTE)(matchLength);
707 *op++ = (BYTE) accumulator;
709 *op++ = (BYTE)(lastRunSize<<ML_BITS);
779 const BYTE *p = (const BYTE *)dictionary;
780 const BYTE * const dictEnd = p + dictSize;
781 const BYTE *base;
813 const BYTE *src)
820 const BYTE *dictEnd = LZ4_dict->dictionary + LZ4_dict->dictSize;
839 const BYTE * const previousDictEnd = dict->dictionary + dict->dictSize;
850 dict->dictionary = (const BYTE *)safeBuffer;
861 const BYTE * const dictEnd = streamPtr->dictionary
864 const BYTE *smallest = (const BYTE *) source;
881 const BYTE *sourceEnd = (const BYTE *) source + inputSize;
895 if (dictEnd == (const BYTE *)source) {
931 streamPtr->dictionary = (const BYTE *)source;