Lines Matching refs:ip
444 const BYTE* ip = (const BYTE*)src;
448 COPY8(op, ip)
1212 const BYTE* ip = istart;
1222 bitStream = MEM_readLE32(ip);
1240 if (ip < iend-5)
1242 ip+=2;
1243 bitStream = MEM_readLE32(ip) >> bitCount;
1261 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4))
1263 ip += bitCount>>3;
1265 bitStream = MEM_readLE32(ip) >> bitCount;
1297 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4))
1299 ip += bitCount>>3;
1304 bitCount -= (int)(8 * (iend - 4 - ip));
1305 ip = iend - 4;
1307 bitStream = MEM_readLE32(ip) >> (bitCount & 31);
1314 ip += (bitCount+7)>>3;
1315 if ((size_t)(ip-istart) > hbSize) return ERROR(srcSize_wrong);
1316 return ip-istart;
1457 const BYTE* ip = istart;
1470 ip += errorCode;
1477 return FSE_decompress_usingDTable (dst, maxDstSize, ip, cSrcSize, dt);
1749 const BYTE* ip = (const BYTE*) src;
1755 iSize = ip[0];
1773 ip += 1;
1776 huffWeight[n] = ip[n/2] >> 4;
1777 huffWeight[n+1] = ip[n/2] & 15;
1784 oSize = FSE_decompress(huffWeight, hwSize-1, ip+1, iSize); /* max (hwSize-1) values decoded, as last one is implied */
2016 const BYTE* ip = (const BYTE*) cSrc;
2022 ip += errorCode;
2025 return HUF_decompress4X2_usingDTable (dst, dstSize, ip, cSrcSize, DTable);
2374 const BYTE* ip = (const BYTE*) cSrc;
2379 ip += hSize;
2382 return HUF_decompress4X4_usingDTable (dst, dstSize, ip, cSrcSize, DTable);
2667 const BYTE* ip = (const BYTE*)src;
2670 const size_t litCSize = (MEM_readLE32(ip+2) & 0xFFFFFF) >> 5; /* no buffer issue : srcSize >= MIN_CBLOCK_SIZE */
2675 if (HUF_isError(HUF_decompress(dst, litSize, ip+5, litCSize))) return ERROR(corruption_detected);
2740 const BYTE* ip = istart;
2750 *nbSeq = MEM_readLE16(ip); ip+=2;
2751 LLtype = *ip >> 6;
2752 Offtype = (*ip >> 4) & 3;
2753 MLtype = (*ip >> 2) & 3;
2754 if (*ip & 2)
2756 dumpsLength = ip[2];
2757 dumpsLength += ip[1] << 8;
2758 ip += 3;
2762 dumpsLength = ip[1];
2763 dumpsLength += (ip[0] & 1) << 8;
2764 ip += 2;
2766 *dumpsPtr = ip;
2767 ip += dumpsLength;
2771 if (ip > iend-3) return ERROR(srcSize_wrong); /* min : all 3 are "raw", hence no header, but at least xxLog bits per type */
2783 FSE_buildDTable_rle(DTableLL, *ip++); break;
2789 headerSize = FSE_readNCount(norm, &max, &LLlog, ip, iend-ip);
2792 ip += headerSize;
2800 if (ip > iend-2) return ERROR(srcSize_wrong); /* min : "raw", hence no header, but at least xxLog bits */
2801 FSE_buildDTable_rle(DTableOffb, *ip++ & MaxOff); /* if *ip > MaxOff, data is corrupted */
2808 headerSize = FSE_readNCount(norm, &max, &Offlog, ip, iend-ip);
2811 ip += headerSize;
2819 if (ip > iend-2) return ERROR(srcSize_wrong); /* min : "raw", hence no header, but at least xxLog bits */
2820 FSE_buildDTable_rle(DTableML, *ip++); break;
2826 headerSize = FSE_readNCount(norm, &max, &MLlog, ip, iend-ip);
2829 ip += headerSize;
2833 return ip-istart;
3005 const BYTE* ip = (const BYTE*)seqStart;
3006 const BYTE* const iend = ip + seqSize;
3025 ip, iend-ip);
3027 ip += errorCode;
3039 errorCode = BIT_initDStream(&(seqState.DStream), ip, iend-ip);
3089 const BYTE* ip = (const BYTE*)src;
3094 ip += litCSize;
3097 return ZSTD_decompressSequences(dctx, dst, maxDstSize, ip, srcSize);
3106 const BYTE* ip = (const BYTE*)src;
3107 const BYTE* iend = ip + srcSize;
3135 ip += frameHeaderSize; remainingSize -= frameHeaderSize;
3144 size_t cBlockSize = ZSTD_getcBlockSize(ip, iend-ip, &blockProperties);
3147 ip += ZSTD_blockHeaderSize;
3154 decodedSize = ZSTD_decompressBlock_internal(ctx, op, oend-op, ip, cBlockSize);
3157 decodedSize = ZSTD_copyRawBlock(op, oend-op, ip, cBlockSize);
3173 ip += cBlockSize;
3182 const BYTE* ip = (const BYTE*)src;
3189 ip += ZSTD_frameHeaderSize_min; remainingSize -= ZSTD_frameHeaderSize_min;
3194 size_t cBlockSize = ZSTD_getcBlockSize(ip, remainingSize, &blockProperties);
3197 ip += ZSTD_blockHeaderSize;
3203 ip += cBlockSize;
3207 return ip - (const BYTE*)src;
3445 const char* ip = istart;
3484 ip += headerSize;
3531 if ((size_t)(iend-ip) >= neededInSize)
3536 ip, neededInSize);
3538 ip += neededInSize;
3544 if (ip==iend) { notDone = 0; break; } /* no more input */
3554 loadedSize = ZBUFF_limitCopy(zbc->inBuff + zbc->inPos, toLoad, ip, iend-ip);
3555 ip += loadedSize;
3592 *srcSizePtr = ip-istart;