Lines Matching refs:BYTE
97 static void LZ4HC_init (LZ4HC_CCtx_internal* hc4, const BYTE* start) in LZ4HC_init()
111 FORCE_INLINE void LZ4HC_Insert (LZ4HC_CCtx_internal* hc4, const BYTE* ip) in LZ4HC_Insert()
115 const BYTE* const base = hc4->base; in LZ4HC_Insert()
133 const BYTE* ip, const BYTE* const iLimit, in LZ4HC_InsertAndFindBestMatch()
134 const BYTE** matchpos, in LZ4HC_InsertAndFindBestMatch()
139 const BYTE* const base = hc4->base; in LZ4HC_InsertAndFindBestMatch()
140 const BYTE* const dictBase = hc4->dictBase; in LZ4HC_InsertAndFindBestMatch()
154 const BYTE* const match = base + matchIndex; in LZ4HC_InsertAndFindBestMatch()
162 const BYTE* const match = dictBase + matchIndex; in LZ4HC_InsertAndFindBestMatch()
165 const BYTE* vLimit = ip + (dictLimit - matchIndex); in LZ4HC_InsertAndFindBestMatch()
182 const BYTE* const ip, in LZ4HC_InsertAndGetWiderMatch()
183 const BYTE* const iLowLimit, in LZ4HC_InsertAndGetWiderMatch()
184 const BYTE* const iHighLimit, in LZ4HC_InsertAndGetWiderMatch()
186 const BYTE** matchpos, in LZ4HC_InsertAndGetWiderMatch()
187 const BYTE** startpos, in LZ4HC_InsertAndGetWiderMatch()
192 const BYTE* const base = hc4->base; in LZ4HC_InsertAndGetWiderMatch()
194 const BYTE* const lowPrefixPtr = base + dictLimit; in LZ4HC_InsertAndGetWiderMatch()
196 const BYTE* const dictBase = hc4->dictBase; in LZ4HC_InsertAndGetWiderMatch()
209 const BYTE* matchPtr = base + matchIndex; in LZ4HC_InsertAndGetWiderMatch()
230 const BYTE* const matchPtr = dictBase + matchIndex; in LZ4HC_InsertAndGetWiderMatch()
234 const BYTE* vLimit = ip + (dictLimit - matchIndex); in LZ4HC_InsertAndGetWiderMatch()
259 const BYTE** ip, in LZ4HC_encodeSequence()
260 BYTE** op, in LZ4HC_encodeSequence()
261 const BYTE** anchor, in LZ4HC_encodeSequence()
263 const BYTE* const match, in LZ4HC_encodeSequence()
265 BYTE* oend) in LZ4HC_encodeSequence()
268 BYTE* token; in LZ4HC_encodeSequence()
278 …_BITS); len = length-RUN_MASK; for(; len > 254 ; len-=255) *(*op)++ = 255; *(*op)++ = (BYTE)len; } in LZ4HC_encodeSequence()
279 else *token = (BYTE)(length<<ML_BITS); in LZ4HC_encodeSequence()
296 *(*op)++ = (BYTE)length; in LZ4HC_encodeSequence()
298 *token += (BYTE)(length); in LZ4HC_encodeSequence()
320 const BYTE* ip = (const BYTE*) source; in LZ4HC_compress_hashChain()
321 const BYTE* anchor = ip; in LZ4HC_compress_hashChain()
322 const BYTE* const iend = ip + inputSize; in LZ4HC_compress_hashChain()
323 const BYTE* const mflimit = iend - MFLIMIT; in LZ4HC_compress_hashChain()
324 const BYTE* const matchlimit = (iend - LASTLITERALS); in LZ4HC_compress_hashChain()
326 BYTE* op = (BYTE*) dest; in LZ4HC_compress_hashChain()
327 BYTE* const oend = op + maxOutputSize; in LZ4HC_compress_hashChain()
330 const BYTE* ref = NULL; in LZ4HC_compress_hashChain()
331 const BYTE* start2 = NULL; in LZ4HC_compress_hashChain()
332 const BYTE* ref2 = NULL; in LZ4HC_compress_hashChain()
333 const BYTE* start3 = NULL; in LZ4HC_compress_hashChain()
334 const BYTE* ref3 = NULL; in LZ4HC_compress_hashChain()
335 const BYTE* start0; in LZ4HC_compress_hashChain()
336 const BYTE* ref0; in LZ4HC_compress_hashChain()
479 …ITS); lastRun-=RUN_MASK; for(; lastRun > 254 ; lastRun-=255) *op++ = 255; *op++ = (BYTE) lastRun; } in LZ4HC_compress_hashChain()
480 else *op++ = (BYTE)(lastRun<<ML_BITS); in LZ4HC_compress_hashChain()
527 LZ4HC_init (ctx, (const BYTE*)src); in LZ4_compress_HC_extStateHC()
575 LZ4HC_init (ctxPtr, (const BYTE*)dictionary); in LZ4_loadDictHC()
576 ctxPtr->end = (const BYTE*)dictionary + dictSize; in LZ4_loadDictHC()
587 static void LZ4HC_setExternalDict(LZ4HC_CCtx_internal* ctxPtr, const BYTE* newBlock) in LZ4HC_setExternalDict()
609 if (ctxPtr->base == NULL) LZ4HC_init (ctxPtr, (const BYTE*) source); in LZ4_compressHC_continue_generic()
619 if ((const BYTE*)source != ctxPtr->end) LZ4HC_setExternalDict(ctxPtr, (const BYTE*)source); in LZ4_compressHC_continue_generic()
622 { const BYTE* sourceEnd = (const BYTE*) source + inputSize; in LZ4_compressHC_continue_generic()
623 const BYTE* const dictBegin = ctxPtr->dictBase + ctxPtr->lowLimit; in LZ4_compressHC_continue_generic()
624 const BYTE* const dictEnd = ctxPtr->dictBase + ctxPtr->dictLimit; in LZ4_compressHC_continue_generic()
625 if ((sourceEnd > dictBegin) && ((const BYTE*)source < dictEnd)) { in LZ4_compressHC_continue_generic()
655 streamPtr->end = (const BYTE*)safeBuffer + dictSize; in LZ4_saveDictHC()
689 LZ4HC_init(ctx, (const BYTE*)inputBuffer); in LZ4_resetStreamStateHC()
690 ctx->inputBuffer = (BYTE*)inputBuffer; in LZ4_resetStreamStateHC()
698 LZ4HC_init (&hc4->internal_donotuse, (const BYTE*)inputBuffer); in LZ4_createHC()
699 hc4->internal_donotuse.inputBuffer = (BYTE*)inputBuffer; in LZ4_createHC()