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