Home
last modified time | relevance | path

Searched refs:litlen (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_opt.c1124 { U32 const litlen = (U32)(ip - anchor); in ZSTD_compressBlock_opt_generic() local
1125 U32 const ll0 = !litlen; in ZSTD_compressBlock_opt_generic()
1145 opt[0].litlen = litlen; in ZSTD_compressBlock_opt_generic()
1151 opt[0].price = LL_PRICE(litlen); in ZSTD_compressBlock_opt_generic()
1162 lastStretch.litlen = 0; in ZSTD_compressBlock_opt_generic()
1179 opt[pos].litlen = litlen + pos; in ZSTD_compressBlock_opt_generic()
1191 opt[pos].litlen = 0; /* end of match */ in ZSTD_compressBlock_opt_generic()
1207 { U32 const litlen = opt[cur-1].litlen + 1; in ZSTD_compressBlock_opt_generic() local
1210 + LL_INCPRICE(litlen); in ZSTD_compressBlock_opt_generic()
1215 … (int)(inr-istart), cur, ZSTD_fCost(price), ZSTD_fCost(opt[cur].price), litlen, in ZSTD_compressBlock_opt_generic()
[all …]
H A Dzstd_compress_internal.h221 U32 litlen; /* nb of literals since previous match */ member
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_opt.c1123 { U32 const litlen = (U32)(ip - anchor); in ZSTD_compressBlock_opt_generic() local
1124 U32 const ll0 = !litlen; in ZSTD_compressBlock_opt_generic()
1144 opt[0].litlen = litlen; in ZSTD_compressBlock_opt_generic()
1150 opt[0].price = LL_PRICE(litlen); in ZSTD_compressBlock_opt_generic()
1161 lastStretch.litlen = 0; in ZSTD_compressBlock_opt_generic()
1178 opt[pos].litlen = litlen + pos; in ZSTD_compressBlock_opt_generic()
1190 opt[pos].litlen = 0; /* end of match */ in ZSTD_compressBlock_opt_generic()
1206 { U32 const litlen = opt[cur-1].litlen + 1; in ZSTD_compressBlock_opt_generic() local
1209 + LL_INCPRICE(litlen); in ZSTD_compressBlock_opt_generic()
1214 … (int)(inr-istart), cur, ZSTD_fCost(price), ZSTD_fCost(opt[cur].price), litlen, in ZSTD_compressBlock_opt_generic()
[all …]
H A Dzstd_compress_internal.h220 U32 litlen; /* nb of literals since previous match */ member
/freebsd/contrib/tcsh/
H A Ded.refresh.c107 static int litlen = 0, litalloc = 0; variable
121 for (i = 0; i < litlen; i += LIT_FACTOR) in MakeLiteral()
126 for (i = 0; i < litlen; i += LIT_FACTOR) in MakeLiteral()
130 if (litlen + addlitlen + len + 1 + (LIT_FACTOR - 1) > litalloc) { in MakeLiteral()
143 i = litlen / LIT_FACTOR; in MakeLiteral()
147 Strncpy(litptr + litlen, addlitptr, addlitlen); in MakeLiteral()
148 litlen += addlitlen; in MakeLiteral()
150 Strncpy(litptr + litlen, str, len); in MakeLiteral()
151 litlen += len; in MakeLiteral()
153 litptr[litlen++] = 0; in MakeLiteral()
[all …]
/freebsd/sys/contrib/zstd/lib/legacy/
H A Dzstd_v06.c512 U32 litlen; member
H A Dzstd_v07.c2747 U32 litlen; member