Lines Matching defs:ip

188 	const BYTE *ip = (const BYTE *) source;
191 const BYTE * const lowRefLimit = ip - dictPtr->dictSize;
196 const BYTE * const iend = ip + inputSize;
240 LZ4_putPosition(ip, dictPtr->hashTable, tableType, base);
241 ip++;
242 forwardH = LZ4_hashPosition(ip, tableType);
251 const BYTE *forwardIp = ip;
258 ip = forwardIp;
281 LZ4_putPositionOnHash(ip, h, dictPtr->hashTable,
288 : (match + MAX_DISTANCE < ip))
290 != LZ4_read32(ip)));
294 while (((ip > anchor) & (match + refDelta > lowLimit))
295 && (unlikely(ip[-1] == match[refDelta - 1]))) {
296 ip--;
302 unsigned const int litLength = (unsigned int)(ip - anchor);
331 LZ4_writeLE16(op, (U16)(ip - match));
343 limit = ip + (dictEnd - match);
348 matchCode = LZ4_count(ip + MINMATCH,
351 ip += MINMATCH + matchCode;
353 if (ip == limit) {
354 unsigned const int more = LZ4_count(ip,
359 ip += more;
362 matchCode = LZ4_count(ip + MINMATCH,
364 ip += MINMATCH + matchCode;
391 anchor = ip;
394 if (ip > mflimit)
398 LZ4_putPosition(ip - 2, dictPtr->hashTable, tableType, base);
401 match = LZ4_getPosition(ip, dictPtr->hashTable,
414 LZ4_putPosition(ip, dictPtr->hashTable, tableType, base);
417 && (match + MAX_DISTANCE >= ip)
418 && (LZ4_read32(match + refDelta) == LZ4_read32(ip))) {
425 forwardH = LZ4_hashPosition(++ip, tableType);
530 const BYTE *ip = (const BYTE *) src;
533 const BYTE *anchor = ip;
534 const BYTE * const iend = ip + *srcSizePtr;
564 LZ4_putPosition(ip, ctx->hashTable, tableType, base);
565 ip++; forwardH = LZ4_hashPosition(ip, tableType);
574 const BYTE *forwardIp = ip;
581 ip = forwardIp;
592 LZ4_putPositionOnHash(ip, h,
598 : (match + MAX_DISTANCE < ip))
599 || (LZ4_read32(match) != LZ4_read32(ip)));
603 while ((ip > anchor)
605 && (unlikely(ip[-1] == match[-1]))) {
606 ip--;
612 unsigned int litLength = (unsigned int)(ip - anchor);
637 LZ4_writeLE16(op, (U16)(ip - match)); op += 2;
641 size_t matchLength = LZ4_count(ip + MINMATCH,
648 ip += MINMATCH + matchLength;
662 anchor = ip;
665 if (ip > mflimit)
671 LZ4_putPosition(ip - 2, ctx->hashTable, tableType, base);
674 match = LZ4_getPosition(ip, ctx->hashTable, tableType, base);
675 LZ4_putPosition(ip, ctx->hashTable, tableType, base);
677 if ((match + MAX_DISTANCE >= ip)
678 && (LZ4_read32(match) == LZ4_read32(ip))) {
684 forwardH = LZ4_hashPosition(++ip, tableType);
699 ip = anchor + lastRunSize;
716 *srcSizePtr = (int) (((const char *)ip) - src);