Lines Matching refs:offset
864 size_t offset; member
888 const BYTE *match = oLitEnd - sequence.offset; in ZSTD_execSequenceLast7()
908 if (sequence.offset > (size_t)(oLitEnd - base)) { in ZSTD_execSequenceLast7()
910 if (sequence.offset > (size_t)(oLitEnd - vBase)) in ZSTD_execSequenceLast7()
957 size_t offset; in ZSTD_decodeSequence() local
959 offset = 0; in ZSTD_decodeSequence()
961 …offset = OF_base[ofCode] + BIT_readBitsFast(&seqState->DStream, ofBits); /* <= (ZSTD_WINDOWLOG_MA… in ZSTD_decodeSequence()
967 offset += (llCode == 0); in ZSTD_decodeSequence()
968 if (offset) { in ZSTD_decodeSequence()
969 size_t temp = (offset == 3) ? seqState->prevOffset[0] - 1 : seqState->prevOffset[offset]; in ZSTD_decodeSequence()
971 if (offset != 1) in ZSTD_decodeSequence()
974 seqState->prevOffset[0] = offset = temp; in ZSTD_decodeSequence()
976 offset = seqState->prevOffset[0]; in ZSTD_decodeSequence()
981 seqState->prevOffset[0] = offset; in ZSTD_decodeSequence()
983 seq.offset = offset; in ZSTD_decodeSequence()
1015 const BYTE *match = oLitEnd - sequence.offset; in ZSTD_execSequence()
1034 if (sequence.offset > (size_t)(oLitEnd - base)) { in ZSTD_execSequence()
1036 if (sequence.offset > (size_t)(oLitEnd - vBase)) in ZSTD_execSequence()
1061 if (sequence.offset < 8) { in ZSTD_execSequence()
1065 int const sub2 = dec64table[sequence.offset]; in ZSTD_execSequence()
1070 match += dec32table[sequence.offset]; in ZSTD_execSequence()
1189 size_t offset; in ZSTD_decodeSequenceLong_generic() local
1191 offset = 0; in ZSTD_decodeSequenceLong_generic()
1195 …offset = OF_base[ofCode] + (BIT_readBitsFast(&seqState->DStream, ofBits - extraBits) << extraBits); in ZSTD_decodeSequenceLong_generic()
1199 offset += BIT_readBitsFast(&seqState->DStream, extraBits); in ZSTD_decodeSequenceLong_generic()
1201 …offset = OF_base[ofCode] + BIT_readBitsFast(&seqState->DStream, ofBits); /* <= (ZSTD_WINDOWLOG_MA… in ZSTD_decodeSequenceLong_generic()
1208 offset += (llCode == 0); in ZSTD_decodeSequenceLong_generic()
1209 if (offset) { in ZSTD_decodeSequenceLong_generic()
1210 size_t temp = (offset == 3) ? seqState->prevOffset[0] - 1 : seqState->prevOffset[offset]; in ZSTD_decodeSequenceLong_generic()
1212 if (offset != 1) in ZSTD_decodeSequenceLong_generic()
1215 seqState->prevOffset[0] = offset = temp; in ZSTD_decodeSequenceLong_generic()
1217 offset = seqState->prevOffset[0]; in ZSTD_decodeSequenceLong_generic()
1222 seqState->prevOffset[0] = offset; in ZSTD_decodeSequenceLong_generic()
1224 seq.offset = offset; in ZSTD_decodeSequenceLong_generic()
1237 seq.match = seqState->base + pos - seq.offset; /* single memory segment */ in ZSTD_decodeSequenceLong_generic()
1238 if (seq.offset > pos) in ZSTD_decodeSequenceLong_generic()
1290 if (sequence.offset > (size_t)(oLitEnd - base)) { in ZSTD_execSequenceLong()
1292 if (sequence.offset > (size_t)(oLitEnd - vBase)) in ZSTD_execSequenceLong()
1316 if (sequence.offset < 8) { in ZSTD_execSequenceLong()
1320 int const sub2 = dec64table[sequence.offset]; in ZSTD_execSequenceLong()
1325 match += dec32table[sequence.offset]; in ZSTD_execSequenceLong()