Lines Matching refs:ip
508 const BYTE* ip = (const BYTE*)src;
512 COPY8(op, ip)
1284 const BYTE* ip = istart;
1294 bitStream = MEM_readLE32(ip);
1309 if (ip < iend-5) {
1310 ip+=2;
1311 bitStream = MEM_readLE32(ip) >> bitCount;
1325 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) {
1326 ip += bitCount>>3;
1328 bitStream = MEM_readLE32(ip) >> bitCount;
1355 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) {
1356 ip += bitCount>>3;
1359 bitCount -= (int)(8 * (iend - 4 - ip));
1360 ip = iend - 4;
1362 bitStream = MEM_readLE32(ip) >> (bitCount & 31);
1367 ip += (bitCount+7)>>3;
1368 if ((size_t)(ip-istart) > hbSize) return ERROR(srcSize_wrong);
1369 return ip-istart;
1506 const BYTE* ip = istart;
1519 ip += errorCode;
1526 return FSEv05_decompress_usingDTable (dst, maxDstSize, ip, cSrcSize, dt);
1797 const BYTE* ip = (const BYTE*) src;
1803 iSize = ip[0];
1818 ip += 1;
1820 huffWeight[n] = ip[n/2] >> 4;
1821 huffWeight[n+1] = ip[n/2] & 15;
1825 oSize = FSEv05_decompress(huffWeight, hwSize-1, ip+1, iSize); /* max (hwSize-1) values decoded, as last one is implied */
1980 const BYTE* ip = (const BYTE*) cSrc;
1986 ip += errorCode;
1989 return HUFv05_decompress1X2_usingDTable (dst, dstSize, ip, cSrcSize, DTable);
2089 const BYTE* ip = (const BYTE*) cSrc;
2095 ip += errorCode;
2098 return HUFv05_decompress4X2_usingDTable (dst, dstSize, ip, cSrcSize, DTable);
2363 const BYTE* ip = (const BYTE*) cSrc;
2368 ip += hSize;
2371 return HUFv05_decompress1X4_usingDTable (dst, dstSize, ip, cSrcSize, DTable);
2472 const BYTE* ip = (const BYTE*) cSrc;
2477 ip += hSize;
2480 return HUFv05_decompress4X4_usingDTable (dst, dstSize, ip, cSrcSize, DTable);
2996 const BYTE* ip = istart;
3007 *nbSeq = *ip++;
3010 if (ip >= iend) return ERROR(srcSize_wrong);
3011 *nbSeq = ((nbSeq[0]-128)<<8) + *ip++;
3014 if (ip >= iend) return ERROR(srcSize_wrong);
3015 LLtype = *ip >> 6;
3016 Offtype = (*ip >> 4) & 3;
3017 MLtype = (*ip >> 2) & 3;
3018 if (*ip & 2) {
3019 if (ip+3 > iend) return ERROR(srcSize_wrong);
3020 dumpsLength = ip[2];
3021 dumpsLength += ip[1] << 8;
3022 ip += 3;
3024 if (ip+2 > iend) return ERROR(srcSize_wrong);
3025 dumpsLength = ip[1];
3026 dumpsLength += (ip[0] & 1) << 8;
3027 ip += 2;
3029 *dumpsPtr = ip;
3030 ip += dumpsLength;
3034 if (ip > iend-3) return ERROR(srcSize_wrong); /* min : all 3 are "raw", hence no header, but at least xxLog bits per type */
3046 FSEv05_buildDTable_rle(DTableLL, *ip++);
3058 headerSize = FSEv05_readNCount(norm, &max, &LLlog, ip, iend-ip);
3061 ip += headerSize;
3069 if (ip > iend-2) return ERROR(srcSize_wrong); /* min : "raw", hence no header, but at least xxLog bits */
3070 FSEv05_buildDTable_rle(DTableOffb, *ip++ & MaxOff); /* if *ip > MaxOff, data is corrupted */
3082 headerSize = FSEv05_readNCount(norm, &max, &Offlog, ip, iend-ip);
3085 ip += headerSize;
3093 if (ip > iend-2) return ERROR(srcSize_wrong); /* min : "raw", hence no header, but at least xxLog bits */
3094 FSEv05_buildDTable_rle(DTableML, *ip++);
3106 headerSize = FSEv05_readNCount(norm, &max, &MLlog, ip, iend-ip);
3109 ip += headerSize;
3113 return ip-istart;
3295 const BYTE* ip = (const BYTE*)seqStart;
3296 const BYTE* const iend = ip + seqSize;
3315 ip, seqSize, dctx->flagStaticTables);
3317 ip += errorCode;
3329 errorCode = BITv05_initDStream(&(seqState.DStream), ip, iend-ip);
3376 const BYTE* ip = (const BYTE*)src;
3384 ip += litCSize;
3387 return ZSTDv05_decompressSequences(dctx, dst, dstCapacity, ip, srcSize);
3406 const BYTE* ip = (const BYTE*)src;
3407 const BYTE* iend = ip + srcSize;
3421 ip += frameHeaderSize; remainingSize -= frameHeaderSize;
3430 size_t cBlockSize = ZSTDv05_getcBlockSize(ip, iend-ip, &blockProperties);
3433 ip += ZSTDv05_blockHeaderSize;
3440 decodedSize = ZSTDv05_decompressBlock_internal(dctx, op, oend-op, ip, cBlockSize);
3443 decodedSize = ZSTDv05_copyRawBlock(op, oend-op, ip, cBlockSize);
3459 ip += cBlockSize;
3510 const BYTE* ip = (const BYTE*)src;
3517 ip += ZSTDv05_frameHeaderSize_min; remainingSize -= ZSTDv05_frameHeaderSize_min;
3522 size_t cBlockSize = ZSTDv05_getcBlockSize(ip, remainingSize, &blockProperties);
3525 ip += ZSTDv05_blockHeaderSize;
3531 ip += cBlockSize;
3535 return ip - (const BYTE*)src;
3851 const char* ip = istart;
3888 ip += headerSize;
3934 if ((size_t)(iend-ip) >= neededInSize) {
3938 ip, neededInSize);
3940 ip += neededInSize;
3946 if (ip==iend) { notDone = 0; break; } /* no more input */
3956 loadedSize = ZBUFFv05_limitCopy(zbc->inBuff + zbc->inPos, toLoad, ip, iend-ip);
3957 ip += loadedSize;
3992 *srcSizePtr = ip-istart;