Lines Matching full:byte
91 const BYTE *p, in LZ4_putPositionOnHash()
95 const BYTE *srcBase) in LZ4_putPositionOnHash()
100 const BYTE **hashTable = (const BYTE **)tableBase; in LZ4_putPositionOnHash()
123 const BYTE *p, in LZ4_putPosition()
126 const BYTE *srcBase) in LZ4_putPosition()
133 static const BYTE *LZ4_getPositionOnHash( in LZ4_getPositionOnHash()
137 const BYTE *srcBase) in LZ4_getPositionOnHash()
140 const BYTE **hashTable = (const BYTE **) tableBase; in LZ4_getPositionOnHash()
159 static FORCE_INLINE const BYTE *LZ4_getPosition( in LZ4_getPosition()
160 const BYTE *p, in LZ4_getPosition()
163 const BYTE *srcBase) in LZ4_getPosition()
187 const BYTE *ip = (const BYTE *) source; in LZ4_compress_generic()
188 const BYTE *base; in LZ4_compress_generic()
189 const BYTE *lowLimit; in LZ4_compress_generic()
190 const BYTE * const lowRefLimit = ip - dictPtr->dictSize; in LZ4_compress_generic()
191 const BYTE * const dictionary = dictPtr->dictionary; in LZ4_compress_generic()
192 const BYTE * const dictEnd = dictionary + dictPtr->dictSize; in LZ4_compress_generic()
193 const size_t dictDelta = dictEnd - (const BYTE *)source; in LZ4_compress_generic()
194 const BYTE *anchor = (const BYTE *) source; in LZ4_compress_generic()
195 const BYTE * const iend = ip + inputSize; in LZ4_compress_generic()
196 const BYTE * const mflimit = iend - MFLIMIT; in LZ4_compress_generic()
197 const BYTE * const matchlimit = iend - LASTLITERALS; in LZ4_compress_generic()
199 BYTE *op = (BYTE *) dest; in LZ4_compress_generic()
200 BYTE * const olimit = op + maxOutputSize; in LZ4_compress_generic()
214 base = (const BYTE *)source; in LZ4_compress_generic()
215 lowLimit = (const BYTE *)source; in LZ4_compress_generic()
218 base = (const BYTE *)source - dictPtr->currentOffset; in LZ4_compress_generic()
219 lowLimit = (const BYTE *)source - dictPtr->dictSize; in LZ4_compress_generic()
222 base = (const BYTE *)source - dictPtr->currentOffset; in LZ4_compress_generic()
223 lowLimit = (const BYTE *)source; in LZ4_compress_generic()
238 /* First Byte */ in LZ4_compress_generic()
245 const BYTE *match; in LZ4_compress_generic()
246 BYTE *token; in LZ4_compress_generic()
250 const BYTE *forwardIp = ip; in LZ4_compress_generic()
269 if (match < (const BYTE *)source) { in LZ4_compress_generic()
274 lowLimit = (const BYTE *)source; in LZ4_compress_generic()
319 *op++ = (BYTE)len; in LZ4_compress_generic()
321 *token = (BYTE)(litLength << ML_BITS); in LZ4_compress_generic()
339 const BYTE *limit; in LZ4_compress_generic()
354 (const BYTE *)source, in LZ4_compress_generic()
385 *op++ = (BYTE)(matchCode % 255); in LZ4_compress_generic()
387 *token += (BYTE)(matchCode); in LZ4_compress_generic()
404 if (match < (const BYTE *)source) { in LZ4_compress_generic()
409 lowLimit = (const BYTE *)source; in LZ4_compress_generic()
434 ((op - (BYTE *)dest) + lastRun + 1 + in LZ4_compress_generic()
443 *op++ = (BYTE) accumulator; in LZ4_compress_generic()
445 *op++ = (BYTE)(lastRun << ML_BITS); in LZ4_compress_generic()
529 const BYTE *ip = (const BYTE *) src; in LZ4_compress_destSize_generic()
530 const BYTE *base = (const BYTE *) src; in LZ4_compress_destSize_generic()
531 const BYTE *lowLimit = (const BYTE *) src; in LZ4_compress_destSize_generic()
532 const BYTE *anchor = ip; in LZ4_compress_destSize_generic()
533 const BYTE * const iend = ip + *srcSizePtr; in LZ4_compress_destSize_generic()
534 const BYTE * const mflimit = iend - MFLIMIT; in LZ4_compress_destSize_generic()
535 const BYTE * const matchlimit = iend - LASTLITERALS; in LZ4_compress_destSize_generic()
537 BYTE *op = (BYTE *) dst; in LZ4_compress_destSize_generic()
538 BYTE * const oend = op + targetDstSize; in LZ4_compress_destSize_generic()
539 BYTE * const oMaxLit = op + targetDstSize - 2 /* offset */ in LZ4_compress_destSize_generic()
541 BYTE * const oMaxMatch = op + targetDstSize in LZ4_compress_destSize_generic()
543 BYTE * const oMaxSeq = oMaxLit - 1 /* token */; in LZ4_compress_destSize_generic()
561 /* First Byte */ in LZ4_compress_destSize_generic()
568 const BYTE *match; in LZ4_compress_destSize_generic()
569 BYTE *token; in LZ4_compress_destSize_generic()
573 const BYTE *forwardIp = ip; in LZ4_compress_destSize_generic()
625 *op++ = (BYTE)len; in LZ4_compress_destSize_generic()
627 *token = (BYTE)(litLength << ML_BITS); in LZ4_compress_destSize_generic()
656 *op++ = (BYTE)matchLength; in LZ4_compress_destSize_generic()
658 *token += (BYTE)(matchLength); in LZ4_compress_destSize_generic()
706 *op++ = (BYTE) accumulator; in LZ4_compress_destSize_generic()
708 *op++ = (BYTE)(lastRunSize<<ML_BITS); in LZ4_compress_destSize_generic()
778 const BYTE *p = (const BYTE *)dictionary; in LZ4_loadDict()
779 const BYTE * const dictEnd = p + dictSize; in LZ4_loadDict()
780 const BYTE *base; in LZ4_loadDict()
812 const BYTE *src) in LZ4_renormDictT()
819 const BYTE *dictEnd = LZ4_dict->dictionary + LZ4_dict->dictSize; in LZ4_renormDictT()
838 const BYTE * const previousDictEnd = dict->dictionary + dict->dictSize; in LZ4_saveDict()
849 dict->dictionary = (const BYTE *)safeBuffer; in LZ4_saveDict()
860 const BYTE * const dictEnd = streamPtr->dictionary in LZ4_compress_fast_continue()
863 const BYTE *smallest = (const BYTE *) source; in LZ4_compress_fast_continue()
880 const BYTE *sourceEnd = (const BYTE *) source + inputSize; in LZ4_compress_fast_continue()
894 if (dictEnd == (const BYTE *)source) { in LZ4_compress_fast_continue()
930 streamPtr->dictionary = (const BYTE *)source; in LZ4_compress_fast_continue()