Lines Matching refs:BYTE
95 static void LZ4HC_init (LZ4HC_CCtx_internal* hc4, const BYTE* start) in LZ4HC_init()
113 LZ4_FORCE_INLINE void LZ4HC_Insert (LZ4HC_CCtx_internal* hc4, const BYTE* ip) in LZ4HC_Insert()
117 const BYTE* const base = hc4->base; in LZ4HC_Insert()
136 int LZ4HC_countBack(const BYTE* const ip, const BYTE* const match, in LZ4HC_countBack()
137 const BYTE* const iMin, const BYTE* const mMin) in LZ4HC_countBack()
153 LZ4HC_countPattern(const BYTE* ip, const BYTE* const iEnd, U32 const pattern32) in LZ4HC_countPattern()
155 const BYTE* const iStart = ip; in LZ4HC_countPattern()
167 while ((ip<iEnd) && (*ip == (BYTE)patternByte)) { in LZ4HC_countPattern()
173 BYTE const byte = (BYTE)(pattern >> bitOffset); in LZ4HC_countPattern()
186 LZ4HC_reverseCountPattern(const BYTE* ip, const BYTE* const iLow, U32 pattern) in LZ4HC_reverseCountPattern()
188 const BYTE* const iStart = ip; in LZ4HC_reverseCountPattern()
194 { const BYTE* bytePtr = (const BYTE*)(&pattern) + 3; /* works for any endianess */ in LZ4HC_reverseCountPattern()
208 const BYTE* const ip, in LZ4HC_InsertAndGetWiderMatch()
209 const BYTE* const iLowLimit, in LZ4HC_InsertAndGetWiderMatch()
210 const BYTE* const iHighLimit, in LZ4HC_InsertAndGetWiderMatch()
212 const BYTE** matchpos, in LZ4HC_InsertAndGetWiderMatch()
213 const BYTE** startpos, in LZ4HC_InsertAndGetWiderMatch()
223 const BYTE* const base = hc4->base; in LZ4HC_InsertAndGetWiderMatch()
225 const BYTE* const lowPrefixPtr = base + dictLimit; in LZ4HC_InsertAndGetWiderMatch()
228 const BYTE* const dictBase = hc4->dictBase; in LZ4HC_InsertAndGetWiderMatch()
252 const BYTE* const matchPtr = base + matchIndex; in LZ4HC_InsertAndGetWiderMatch()
267 const BYTE* const matchPtr = dictBase + matchIndex; in LZ4HC_InsertAndGetWiderMatch()
269 const BYTE* const dictStart = dictBase + hc4->lowLimit; in LZ4HC_InsertAndGetWiderMatch()
271 const BYTE* vLimit = ip + (dictLimit - matchIndex); in LZ4HC_InsertAndGetWiderMatch()
315 const BYTE* const matchPtr = base + matchCandidateIdx; in LZ4HC_InsertAndGetWiderMatch()
318 …const BYTE* const lowestMatchPtr = (lowPrefixPtr + MAX_DISTANCE >= ip) ? lowPrefixPtr : ip - MAX_D… in LZ4HC_InsertAndGetWiderMatch()
356 const BYTE* const matchPtr = dictCtx->base + dictMatchIndex; in LZ4HC_InsertAndGetWiderMatch()
361 const BYTE* vLimit = ip + (dictEndOffset - dictMatchIndex); in LZ4HC_InsertAndGetWiderMatch()
385 const BYTE* const ip, const BYTE* const iLimit, in LZ4HC_InsertAndFindBestMatch()
386 const BYTE** matchpos, in LZ4HC_InsertAndFindBestMatch()
391 const BYTE* uselessPtr = ip; in LZ4HC_InsertAndFindBestMatch()
410 const BYTE** ip, in LZ4HC_encodeSequence()
411 BYTE** op, in LZ4HC_encodeSequence()
412 const BYTE** anchor, in LZ4HC_encodeSequence()
414 const BYTE* const match, in LZ4HC_encodeSequence()
416 BYTE* oend) in LZ4HC_encodeSequence()
419 BYTE* const token = (*op)++; in LZ4HC_encodeSequence()
422 static const BYTE* start = NULL; in LZ4HC_encodeSequence()
445 *(*op)++ = (BYTE)len; in LZ4HC_encodeSequence()
447 *token = (BYTE)(length << ML_BITS); in LZ4HC_encodeSequence()
467 *(*op)++ = (BYTE)length; in LZ4HC_encodeSequence()
469 *token += (BYTE)(length); in LZ4HC_encodeSequence()
493 const BYTE* ip = (const BYTE*) source; in LZ4HC_compress_hashChain()
494 const BYTE* anchor = ip; in LZ4HC_compress_hashChain()
495 const BYTE* const iend = ip + inputSize; in LZ4HC_compress_hashChain()
496 const BYTE* const mflimit = iend - MFLIMIT; in LZ4HC_compress_hashChain()
497 const BYTE* const matchlimit = (iend - LASTLITERALS); in LZ4HC_compress_hashChain()
499 BYTE* optr = (BYTE*) dest; in LZ4HC_compress_hashChain()
500 BYTE* op = (BYTE*) dest; in LZ4HC_compress_hashChain()
501 BYTE* oend = op + maxOutputSize; in LZ4HC_compress_hashChain()
504 const BYTE* start0; in LZ4HC_compress_hashChain()
505 const BYTE* ref0; in LZ4HC_compress_hashChain()
506 const BYTE* ref = NULL; in LZ4HC_compress_hashChain()
507 const BYTE* start2 = NULL; in LZ4HC_compress_hashChain()
508 const BYTE* ref2 = NULL; in LZ4HC_compress_hashChain()
509 const BYTE* start3 = NULL; in LZ4HC_compress_hashChain()
510 const BYTE* ref3 = NULL; in LZ4HC_compress_hashChain()
675 *op++ = (BYTE) accumulator; in LZ4HC_compress_hashChain()
677 *op++ = (BYTE)(lastRunSize << ML_BITS); in LZ4HC_compress_hashChain()
761 static void LZ4HC_setExternalDict(LZ4HC_CCtx_internal* ctxPtr, const BYTE* newBlock);
794 LZ4HC_setExternalDict(ctx, (const BYTE *)src); in LZ4HC_compress_generic_dictCtx()
827 LZ4HC_init (ctx, (const BYTE*)src); in LZ4_compress_HC_extStateHC_fastReset()
862 LZ4HC_init(ctx, (const BYTE*) source); in LZ4_compress_HC_destSize()
892 LZ4_streamHCPtr->internal_donotuse.end = (const BYTE *)(ptrdiff_t)-1; in LZ4_resetStreamHC()
929 LZ4HC_init (ctxPtr, (const BYTE*)dictionary); in LZ4_loadDictHC()
930 ctxPtr->end = (const BYTE*)dictionary + dictSize; in LZ4_loadDictHC()
941 static void LZ4HC_setExternalDict(LZ4HC_CCtx_internal* ctxPtr, const BYTE* newBlock) in LZ4HC_setExternalDict()
964 if (ctxPtr->base == NULL) LZ4HC_init (ctxPtr, (const BYTE*) src); in LZ4_compressHC_continue_generic()
974 if ((const BYTE*)src != ctxPtr->end) LZ4HC_setExternalDict(ctxPtr, (const BYTE*)src); in LZ4_compressHC_continue_generic()
977 { const BYTE* sourceEnd = (const BYTE*) src + *srcSizePtr; in LZ4_compressHC_continue_generic()
978 const BYTE* const dictBegin = ctxPtr->dictBase + ctxPtr->lowLimit; in LZ4_compressHC_continue_generic()
979 const BYTE* const dictEnd = ctxPtr->dictBase + ctxPtr->dictLimit; in LZ4_compressHC_continue_generic()
980 if ((sourceEnd > dictBegin) && ((const BYTE*)src < dictEnd)) { in LZ4_compressHC_continue_generic()
1017 streamPtr->end = (const BYTE*)safeBuffer + dictSize; in LZ4_saveDictHC()
1052 LZ4HC_init(ctx, (const BYTE*)inputBuffer); in LZ4_resetStreamStateHC()
1061 LZ4HC_init (&hc4->internal_donotuse, (const BYTE*)inputBuffer); in LZ4_createHC()
1084 const BYTE *bufferStart = ctx->internal_donotuse.base + ctx->internal_donotuse.lowLimit; in LZ4_slideInputBufferHC()
1132 const BYTE* ip, const BYTE* const iHighLimit, in LZ4HC_FindLongerMatch()
1138 const BYTE* matchPtr = NULL; in LZ4HC_FindLongerMatch()
1168 const BYTE* ip = (const BYTE*) source; in LZ4HC_compress_optimal()
1169 const BYTE* anchor = ip; in LZ4HC_compress_optimal()
1170 const BYTE* const iend = ip + *srcSizePtr; in LZ4HC_compress_optimal()
1171 const BYTE* const mflimit = iend - MFLIMIT; in LZ4HC_compress_optimal()
1172 const BYTE* const matchlimit = iend - LASTLITERALS; in LZ4HC_compress_optimal()
1173 BYTE* op = (BYTE*) dst; in LZ4HC_compress_optimal()
1174 BYTE* opSaved = (BYTE*) dst; in LZ4HC_compress_optimal()
1175 BYTE* oend = op + dstCapacity; in LZ4HC_compress_optimal()
1196 const BYTE* const matchPos = ip - firstMatch.off; in LZ4HC_compress_optimal()
1241 const BYTE* const curPtr = ip + cur; in LZ4HC_compress_optimal()
1394 *op++ = (BYTE) accumulator; in LZ4HC_compress_optimal()
1396 *op++ = (BYTE)(lastRunSize << ML_BITS); in LZ4HC_compress_optimal()