HomeSort by: relevance | last modified time | path
    Searched defs:offBase (Results 1 - 5 of 5) sorted by relevancy

  /src/external/bsd/zstd/dist/lib/common/
zstd_internal.h 282 U32 offBase; /* offBase == Offset + ZSTD_REP_NUM, or repcode 1,2,3 */
  /src/external/bsd/zstd/dist/lib/compress/
zstd_opt.c 320 * @offBase : sumtype, representing an offset or a repcode, and using numeric representation of ZSTD_storeSeq()
324 ZSTD_getMatchPrice(U32 const offBase,
330 U32 const offCode = ZSTD_highbit32(offBase);
358 U32 offBase, U32 matchLength)
375 { U32 const offCode = ZSTD_highbit32(offBase);
744 DEBUGLOG(8, "found match of length %u at distance %u (offBase=%u)",
792 DEBUGLOG(8, "found dms match of length %u at distance %u (offBase=%u)",
1000 /* Note: ZSTD_match_t actually contains offBase and matchLength (before subtracting MINMATCH) */
1012 DEBUGLOG(6, "ZSTD_optLdm_maybeAddMatch(): Adding ldm candidate match (offBase: %u matchLength %u) at block position=%u",
1178 U32 const offBase = matches[matchNb].off
    [all...]
zstd_lazy.c 1582 size_t offBase = REPCODE1_TO_OFFBASE;
1610 matchLength = ml2, start = ip, offBase = offbaseFound;
1633 && (offBase) && ((offset_1>0) & (MEM_read32(ip) == MEM_read32(ip - offset_1)))) {
1636 int const gain1 = (int)(matchLength*3 - ZSTD_highbit32((U32)offBase) + 1);
1638 matchLength = mlRep, offBase = REPCODE1_TO_OFFBASE, start = ip;
1650 int const gain1 = (int)(matchLength*3 - ZSTD_highbit32((U32)offBase) + 1);
1652 matchLength = mlRep, offBase = REPCODE1_TO_OFFBASE, start = ip;
1658 int const gain1 = (int)(matchLength*4 - ZSTD_highbit32((U32)offBase) + 4);
1660 matchLength = ml2, offBase = ofbCandidate, start = ip;
1669 && (offBase) && ((offset_1>0) & (MEM_read32(ip) == MEM_read32(ip - offset_1))))
    [all...]
zstd_compress.c 2693 U32 const ofCode = ZSTD_highbit32(sequences[u].offBase);
3406 /* Determine the raw offset given the offBase, which may be a repcode. */
3407 if (OFFBASE_IS_REPCODE(inSeqs[i].offBase)) {
3408 const U32 repcode = OFFBASE_TO_REPCODE(inSeqs[i].offBase);
3422 rawOffset = OFFBASE_TO_OFFSET(inSeqs[i].offBase);
3428 inSeqs[i].offBase,
3970 * Returns the raw offset represented by the combination of offBase, ll0, and repcode history.
3971 * offBase must represent a repcode in the numeric representation of ZSTD_storeSeq().
3974 ZSTD_resolveRepcodeToRawOffset(const U32 rep[ZSTD_REP_NUM], const U32 offBase, const U32 ll0)
3976 U32 const adjustedRepCode = OFFBASE_TO_REPCODE(offBase) - 1 + ll0; /* [ 0 - 3 ] *
    [all...]
  /src/external/bsd/zstd/dist/tests/
decodecorpus.c 681 U32 offset, offBase, repIndex;
717 offBase = OFFSET_TO_OFFBASE(offset);
722 offBase = REPCODE_TO_OFFBASE(randomRepIndex + 1); /* expects values between 1 & 3 */
761 if (OFFBASE_IS_REPCODE(offBase)) { /* expects sumtype numeric representation of ZSTD_storeSeq() */
766 offBase, matchLen);
958 BIT_addBits(&blockStream, sequences[nbSeq-1].offBase, ofCodeTable[nbSeq-1]);
980 BIT_addBits(&blockStream, sequences[n].offBase, ofBits); /* 31 */

Completed in 36 milliseconds