Searched refs:litlen (Results 1 – 7 of 7) sorted by relevance
| /freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
| H A D | zstd_opt.c | 1124 { 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 D | zstd_compress_internal.h | 221 U32 litlen; /* nb of literals since previous match */ member
|
| /freebsd/sys/contrib/zstd/lib/compress/ |
| H A D | zstd_opt.c | 1123 { 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 D | zstd_compress_internal.h | 220 U32 litlen; /* nb of literals since previous match */ member
|
| /freebsd/contrib/tcsh/ |
| H A D | ed.refresh.c | 107 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 D | zstd_v06.c | 512 U32 litlen; member
|
| H A D | zstd_v07.c | 2747 U32 litlen; member
|