Searched refs:MaxOff (Results 1 - 24 of 24) sorted by relevance

/freebsd-current/sys/contrib/openzfs/module/zstd/lib/decompress/
H A Dzstd_decompress_internal.h37 static const U32 OF_base[MaxOff+1] = {
43 static const U32 OF_bits[MaxOff+1] = {
H A Dzstd_decompress.c1085 { short offcodeNCount[MaxOff+1];
1086 unsigned offcodeMaxValue = MaxOff, offcodeLog;
1089 RETURN_ERROR_IF(offcodeMaxValue > MaxOff, dictionary_corrupted, "");
H A Dzstd_decompress_block.c529 OFtype, MaxOff, OffFSELog,
852 assert(ofBits <= MaxOff);
/freebsd-current/sys/contrib/zstd/lib/decompress/
H A Dzstd_decompress_internal.h23 #include "../common/zstd_internal.h" /* constants : MaxLL, MaxML, MaxOff, LLFSELog, etc. */
37 static UNUSED_ATTR const U32 OF_base[MaxOff+1] = {
43 static UNUSED_ATTR const U8 OF_bits[MaxOff+1] = {
H A Dzstd_decompress.c1363 { short offcodeNCount[MaxOff+1];
1364 unsigned offcodeMaxValue = MaxOff, offcodeLog;
1367 RETURN_ERROR_IF(offcodeMaxValue > MaxOff, dictionary_corrupted, "");
H A Dzstd_decompress_block.c705 OFtype, MaxOff, OffFSELog,
1204 assert(ofBits <= MaxOff);
/freebsd-current/sys/contrib/zstd/lib/common/
H A Dzstd_internal.h110 #define MaxOff 31 macro
111 #define MaxSeq MAX(MaxLL, MaxML) /* Assumption : MaxOff < MaxLL,MaxML */
119 #define ZSTD_MAX_FSE_HEADERS_SIZE (((MaxML + 1) * MLFSELog + (MaxLL + 1) * LLFSELog + (MaxOff + 1) * OffFSELog + 7) / 8)
/freebsd-current/sys/contrib/openzfs/module/zstd/lib/common/
H A Dzstd_internal.h181 #define MaxOff 31 macro
182 #define MaxSeq MAX(MaxLL, MaxML) /* Assumption : MaxOff < MaxLL,MaxML */
/freebsd-current/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_opt.c163 for (of=0; of<=MaxOff; of++) {
193 for (of=0; of<=MaxOff; of++)
196 optPtr->offCodeSum = MaxOff+1;
206 optPtr->offCodeSum = ZSTD_downscaleStat(optPtr->offCodeFreq, MaxOff, 0);
308 assert(offCode <= MaxOff);
1098 optPtr->offCodeSum = ZSTD_upscaleStat(optPtr->offCodeFreq, MaxOff, 0);
H A Dzstd_compress_superblock.c221 unsigned max = MaxOff;
648 cSeqSizeEstimate += ZSTD_estimateSubBlockSize_symbolType(fseMetadata->ofType, ofCodeTable, MaxOff,
H A Dzstd_compress.c1114 + ZSTD_cwksp_alloc_size((MaxOff+1) * sizeof(U32))
1391 ms->opt.offCodeFreq = (unsigned*)ZSTD_cwksp_reserve_aligned(ws, (MaxOff+1) * sizeof(unsigned));
2063 { unsigned max = MaxOff;
2934 offcodeNCount, MaxOff, offcodeLog,
2998 short offcodeNCount[MaxOff+1];
2999 unsigned offcodeMaxValue = MaxOff;
3013 U32 offcodeMax = MaxOff;
3019 FORWARD_IF_ERROR(ZSTD_checkDictNCount(offcodeNCount, offcodeMaxValue, MIN(offcodeMax, MaxOff)), "");
H A Dzstd_compress_internal.h72 FSE_CTable offcodeCTable[FSE_CTABLE_SIZE_U32(OffFSELog, MaxOff)];
105 unsigned* offCodeFreq; /* table of offCode statistics, of size (MaxOff+1) */
/freebsd-current/sys/contrib/zstd/lib/compress/
H A Dzstd_opt.c183 for (of=0; of<=MaxOff; of++) {
217 { unsigned const baseOFCfreqs[MaxOff+1] = {
224 optPtr->offCodeSum = sum_u32(baseOFCfreqs, MaxOff+1);
236 optPtr->offCodeSum = ZSTD_scaleStats(optPtr->offCodeFreq, MaxOff, 11);
349 assert(offCode <= MaxOff);
H A Dzstd_compress_superblock.c372 cSeqSizeEstimate += ZSTD_estimateSubBlockSize_symbolType(fseMetadata->ofType, ofCodeTable, MaxOff,
H A Dzstd_compress.c1437 + ZSTD_cwksp_aligned_alloc_size((MaxOff+1) * sizeof(U32))
1773 ms->opt.offCodeFreq = (unsigned*)ZSTD_cwksp_reserve_aligned(ws, (MaxOff+1) * sizeof(unsigned));
2503 { unsigned max = MaxOff;
3311 cSeqSizeEstimate += ZSTD_estimateBlockSize_symbolType(fseMetadata->ofType, ofCodeTable, nbSeq, MaxOff,
4317 short offcodeNCount[MaxOff+1];
4318 unsigned offcodeMaxValue = MaxOff;
4346 offcodeNCount, MaxOff, offcodeLog,
4388 U32 offcodeMax = MaxOff;
4394 bs->entropy.fse.offcode_repeatMode = ZSTD_dictNCountRepeat(offcodeNCount, offcodeMaxValue, MIN(offcodeMax, MaxOff));
H A Dzstd_compress_internal.h71 FSE_CTable offcodeCTable[FSE_CTABLE_SIZE_U32(OffFSELog, MaxOff)];
168 unsigned* offCodeFreq; /* table of offCode statistics, of size (MaxOff+1) */
/freebsd-current/sys/contrib/zstd/lib/legacy/
H A Dzstd_v03.c2366 #define MaxOff 31 macro
2601 S16 norm[MaxML+1]; /* assumption : MaxML >= MaxLL and MaxOff */
2627 FSE_buildDTable_rle(DTableOffb, *ip++ & MaxOff); /* if *ip > MaxOff, data is corrupted */
2633 { U32 max = MaxOff;
2707 static const size_t offsetPrefix[MaxOff+1] = { /* note : size_t faster than U32 */
H A Dzstd_v06.c499 #define MaxOff 28 macro
500 #define MaxSeq MAX(MaxLL, MaxML) /* Assumption : MaxOff < MaxLL,MaxML */
530 static const S16 OF_defaultNorm[MaxOff+1] = { 1, 1, 1, 1, 1, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1,
3256 { size_t const bhSize = ZSTDv06_buildSeqTable(DTableOffb, Offtype, MaxOff, OffFSELog, ip, iend-ip, OF_defaultNorm, OF_defaultNormLog, flagRepeatTable);
3308 static const U32 OF_base[MaxOff+1] = {
3816 { short offcodeNCount[MaxOff+1];
3817 U32 offcodeMaxValue=MaxOff, offcodeLog;
H A Dzstd_v05.c476 #define MaxOff ((1<<Offbits)- 1) macro
3044 S16 norm[MaxML+1]; /* assumption : MaxML >= MaxLL >= MaxOff */
3076 FSEv05_buildDTable_rle(DTableOffb, *ip++ & MaxOff); /* if *ip > MaxOff, data is corrupted */
3087 { unsigned max = MaxOff;
3170 static const U32 offsetPrefix[MaxOff+1] = {
3669 short offcodeNCount[MaxOff+1];
3670 unsigned offcodeMaxValue=MaxOff, offcodeLog;
H A Dzstd_v07.c2732 #define MaxOff 28 macro
2733 #define MaxSeq MAX(MaxLL, MaxML) /* Assumption : MaxOff < MaxLL,MaxML */
2763 static const S16 OF_defaultNorm[MaxOff+1] = { 1, 1, 1, 1, 1, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1,
3486 { size_t const ofhSize = ZSTDv07_buildSeqTable(DTableOffb, OFtype, MaxOff, OffFSELog, ip, iend-ip, OF_defaultNorm, OF_defaultNormLog, flagRepeatTable);
3538 static const U32 OF_base[MaxOff+1] = {
4103 { short offcodeNCount[MaxOff+1];
4104 U32 offcodeMaxValue=MaxOff, offcodeLog;
H A Dzstd_v01.c1331 #define MaxOff ((1<<Offbits)-1) macro
1612 S16 norm[MaxML+1]; /* assumption : MaxML >= MaxLL and MaxOff */
1643 { U32 max = MaxOff;
H A Dzstd_v04.c373 #define MaxOff ((1<<Offbits)- 1) macro
2727 S16 norm[MaxML+1]; /* assumption : MaxML >= MaxLL >= MaxOff */
2753 FSE_buildDTable_rle(DTableOffb, *ip++ & MaxOff); /* if *ip > MaxOff, data is corrupted */
2759 { U32 max = MaxOff;
2829 { static const U32 offsetPrefix[MaxOff+1] = {
H A Dzstd_v02.c2725 #define MaxOff 31 macro
2960 S16 norm[MaxML+1]; /* assumption : MaxML >= MaxLL and MaxOff */
2986 FSE_buildDTable_rle(DTableOffb, *ip++ & MaxOff); /* if *ip > MaxOff, data is corrupted */
2992 { U32 max = MaxOff;
3066 static const size_t offsetPrefix[MaxOff+1] = { /* note : size_t faster than U32 */
/freebsd-current/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.cpp5667 int64_t MinOff, MaxOff;
5669 MaxOff))
5689 MaxOff))
5700 assert(MinOff < MaxOff && "Unexpected Min/Max offsets");
5702 if (MinOff <= NewOffset && NewOffset <= MaxOff)
5705 NewOffset = NewOffset < 0 ? MinOff : MaxOff;

Completed in 526 milliseconds