Lines Matching refs:ip
268 ldmState_t* ldmState, const BYTE* ip, in ZSTD_ldm_fillHashTable() argument
274 BYTE const* const istart = ip; in ZSTD_ldm_fillHashTable()
282 while (ip < iend) { in ZSTD_ldm_fillHashTable()
287 hashed = ZSTD_ldm_gear_feed(&hashState, ip, iend - ip, splits, &numSplits); in ZSTD_ldm_fillHashTable()
290 if (ip + splits[n] >= istart + minMatchLength) { in ZSTD_ldm_fillHashTable()
291 BYTE const* const split = ip + splits[n] - minMatchLength; in ZSTD_ldm_fillHashTable()
302 ip += hashed; in ZSTD_ldm_fillHashTable()
344 BYTE const* ip = istart; in ZSTD_ldm_generateSequences_internal() local
357 ZSTD_ldm_gear_reset(&hashState, ip, minMatchLength); in ZSTD_ldm_generateSequences_internal()
358 ip += minMatchLength; in ZSTD_ldm_generateSequences_internal()
360 while (ip < ilimit) { in ZSTD_ldm_generateSequences_internal()
365 hashed = ZSTD_ldm_gear_feed(&hashState, ip, ilimit - ip, in ZSTD_ldm_generateSequences_internal()
369 BYTE const* const split = ip + splits[n] - minMatchLength; in ZSTD_ldm_generateSequences_internal()
479 if (anchor > ip + hashed) { in ZSTD_ldm_generateSequences_internal()
482 ip = anchor - hashed; in ZSTD_ldm_generateSequences_internal()
487 ip += hashed; in ZSTD_ldm_generateSequences_internal()
673 BYTE const* ip = istart; in ZSTD_ldm_blockCompress() local
688 while (rawSeqStore->pos < rawSeqStore->size && ip < iend) { in ZSTD_ldm_blockCompress()
691 (U32)(iend - ip), minMatch); in ZSTD_ldm_blockCompress()
697 assert(ip + sequence.litLength + sequence.matchLength <= iend); in ZSTD_ldm_blockCompress()
700 ZSTD_ldm_limitTableUpdate(ms, ip); in ZSTD_ldm_blockCompress()
701 ZSTD_ldm_fillFastTables(ms, ip); in ZSTD_ldm_blockCompress()
703 …DEBUGLOG(5, "pos %u : calling block compressor on segment of size %u", (unsigned)(ip-istart), sequ… in ZSTD_ldm_blockCompress()
706 blockCompressor(ms, seqStore, rep, ip, sequence.litLength); in ZSTD_ldm_blockCompress()
707 ip += sequence.litLength; in ZSTD_ldm_blockCompress()
713 ZSTD_storeSeq(seqStore, newLitLength, ip - newLitLength, iend, in ZSTD_ldm_blockCompress()
716 ip += sequence.matchLength; in ZSTD_ldm_blockCompress()
720 ZSTD_ldm_limitTableUpdate(ms, ip); in ZSTD_ldm_blockCompress()
721 ZSTD_ldm_fillFastTables(ms, ip); in ZSTD_ldm_blockCompress()
723 return blockCompressor(ms, seqStore, rep, ip, iend - ip); in ZSTD_ldm_blockCompress()