Lines Matching refs:ip
1172 const BYTE* ip = istart;
1182 bitStream = MEM_readLE32(ip);
1200 if (ip < iend-5)
1202 ip+=2;
1203 bitStream = MEM_readLE32(ip) >> bitCount;
1221 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4))
1223 ip += bitCount>>3;
1225 bitStream = MEM_readLE32(ip) >> bitCount;
1257 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4))
1259 ip += bitCount>>3;
1264 bitCount -= (int)(8 * (iend - 4 - ip));
1265 ip = iend - 4;
1267 bitStream = MEM_readLE32(ip) >> (bitCount & 31);
1274 ip += (bitCount+7)>>3;
1275 if ((size_t)(ip-istart) > hbSize) return ERROR(srcSize_wrong);
1276 return ip-istart;
1412 const BYTE* ip = istart;
1425 ip += errorCode;
1432 return FSE_decompress_usingDTable (dst, maxDstSize, ip, cSrcSize, dt);
1537 const BYTE* ip = (const BYTE*) src;
1543 iSize = ip[0];
1561 ip += 1;
1564 huffWeight[n] = ip[n/2] >> 4;
1565 huffWeight[n+1] = ip[n/2] & 15;
1572 oSize = FSE_decompress(huffWeight, hwSize-1, ip+1, iSize); /* max (hwSize-1) values decoded, as last one is implied */
1619 const BYTE* ip = (const BYTE*) src;
1620 size_t iSize = ip[0];
1806 const BYTE* ip = (const BYTE*) cSrc;
1812 ip += errorCode;
1815 return HUF_decompress4X2_usingDTable (dst, dstSize, ip, cSrcSize, DTable);
1926 const BYTE* ip = (const BYTE*) src;
1927 size_t iSize = ip[0];
2168 const BYTE* ip = (const BYTE*) cSrc;
2173 ip += hSize;
2176 return HUF_decompress4X4_usingDTable (dst, dstSize, ip, cSrcSize, DTable);
2262 const BYTE* ip = (const BYTE*) src;
2263 size_t iSize = ip[0];
2525 const BYTE* ip = (const BYTE*) cSrc;
2530 ip += hSize;
2533 return HUF_decompress4X6_usingDTable (dst, dstSize, ip, cSrcSize, DTable);
2741 const BYTE* ip = (const BYTE*)src;
2744 do COPY8(op, ip) while (op < oend);
2836 const BYTE* ip = (const BYTE*)src;
2839 const size_t litCSize = (MEM_readLE32(ip+2) & 0xFFFFFF) >> 5; /* no buffer issue : srcSize >= MIN_CBLOCK_SIZE */
2844 if (HUF_isError(HUF_decompress(dst, litSize, ip+5, litCSize))) return ERROR(corruption_detected);
2909 const BYTE* ip = istart;
2919 *nbSeq = MEM_readLE16(ip); ip+=2;
2920 LLtype = *ip >> 6;
2921 Offtype = (*ip >> 4) & 3;
2922 MLtype = (*ip >> 2) & 3;
2923 if (*ip & 2)
2925 dumpsLength = ip[2];
2926 dumpsLength += ip[1] << 8;
2927 ip += 3;
2931 dumpsLength = ip[1];
2932 dumpsLength += (ip[0] & 1) << 8;
2933 ip += 2;
2935 *dumpsPtr = ip;
2936 ip += dumpsLength;
2940 if (ip > iend-3) return ERROR(srcSize_wrong); /* min : all 3 are "raw", hence no header, but at least xxLog bits per type */
2952 FSE_buildDTable_rle(DTableLL, *ip++); break;
2958 headerSize = FSE_readNCount(norm, &max, &LLlog, ip, iend-ip);
2961 ip += headerSize;
2969 if (ip > iend-2) return ERROR(srcSize_wrong); /* min : "raw", hence no header, but at least xxLog bits */
2970 FSE_buildDTable_rle(DTableOffb, *ip++ & MaxOff); /* if *ip > MaxOff, data is corrupted */
2977 headerSize = FSE_readNCount(norm, &max, &Offlog, ip, iend-ip);
2980 ip += headerSize;
2988 if (ip > iend-2) return ERROR(srcSize_wrong); /* min : "raw", hence no header, but at least xxLog bits */
2989 FSE_buildDTable_rle(DTableML, *ip++); break;
2995 headerSize = FSE_readNCount(norm, &max, &MLlog, ip, iend-ip);
2998 ip += headerSize;
3002 return ip-istart;
3162 const BYTE* ip = (const BYTE*)seqStart;
3163 const BYTE* const iend = ip + seqSize;
3180 ip, iend-ip);
3182 ip += errorCode;
3193 errorCode = BIT_initDStream(&(seqState.DStream), ip, iend-ip);
3233 const BYTE* ip = (const BYTE*)src;
3238 ip += litCSize;
3241 return ZSTD_decompressSequences(ctx, dst, maxDstSize, ip, srcSize);
3247 const BYTE* ip = (const BYTE*)src;
3248 const BYTE* iend = ip + srcSize;
3260 ip += ZSTD_frameHeaderSize; remainingSize -= ZSTD_frameHeaderSize;
3266 size_t cBlockSize = ZSTD_getcBlockSize(ip, iend-ip, &blockProperties);
3269 ip += ZSTD_blockHeaderSize;
3276 decodedSize = ZSTD_decompressBlock(ctx, op, oend-op, ip, cBlockSize);
3279 decodedSize = ZSTD_copyUncompressedBlock(op, oend-op, ip, cBlockSize);
3295 ip += cBlockSize;
3312 const BYTE* ip = (const BYTE*)src;
3321 ip += ZSTD_frameHeaderSize; remainingSize -= ZSTD_frameHeaderSize;
3326 size_t cBlockSize = ZSTD_getcBlockSize(ip, remainingSize, &blockProperties);
3329 ip += ZSTD_blockHeaderSize;
3335 ip += cBlockSize;
3339 return ip - (const BYTE*)src;