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 | 775 return sol.litlen + sol.mlen; in ZSTD_totalLen() 833 { U32 const litlen = (U32)(ip - anchor); in ZSTD_compressBlock_opt_generic() local 834 U32 const ll0 = !litlen; in ZSTD_compressBlock_opt_generic() 841 opt[0].litlen = litlen; in ZSTD_compressBlock_opt_generic() 847 opt[0].price = ZSTD_litLengthPrice(litlen, optStatePtr, optLevel); in ZSTD_compressBlock_opt_generic() 856 lastSequence.litlen = litlen; in ZSTD_compressBlock_opt_generic() 883 opt[pos].litlen = litlen; in ZSTD_compressBlock_opt_generic() 897 { U32 const litlen = (opt[cur-1].mlen == 0) ? opt[cur-1].litlen + 1 : 1; in ZSTD_compressBlock_opt_generic() local 900 + ZSTD_litLengthPrice(litlen, optStatePtr, optLevel) in ZSTD_compressBlock_opt_generic() 901 - ZSTD_litLengthPrice(litlen-1, optStatePtr, optLevel); in ZSTD_compressBlock_opt_generic() [all …]
|
H A D | zstd_compress_internal.h | 94 U32 litlen; member
|
/freebsd/sys/contrib/zstd/lib/compress/ |
H A D | zstd_opt.c | 1016 return sol.litlen + sol.mlen; in ZSTD_totalLen() 1081 { U32 const litlen = (U32)(ip - anchor); in ZSTD_compressBlock_opt_generic() local 1082 U32 const ll0 = !litlen; in ZSTD_compressBlock_opt_generic() 1091 opt[0].litlen = litlen; in ZSTD_compressBlock_opt_generic() 1097 opt[0].price = (int)ZSTD_litLengthPrice(litlen, optStatePtr, optLevel); in ZSTD_compressBlock_opt_generic() 1106 lastSequence.litlen = litlen; in ZSTD_compressBlock_opt_generic() 1134 opt[pos].litlen = litlen; in ZSTD_compressBlock_opt_generic() 1148 { U32 const litlen = (opt[cur-1].mlen == 0) ? opt[cur-1].litlen + 1 : 1; in ZSTD_compressBlock_opt_generic() local 1151 + (int)ZSTD_litLengthPrice(litlen, optStatePtr, optLevel) in ZSTD_compressBlock_opt_generic() 1152 - (int)ZSTD_litLengthPrice(litlen-1, optStatePtr, optLevel); in ZSTD_compressBlock_opt_generic() [all …]
|
H A D | zstd_compress_internal.h | 157 U32 litlen; 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 | 568 U32 litlen; member
|
H A D | zstd_v07.c | 2802 U32 litlen; member
|