Searched refs:hSize (Results 1 – 5 of 5) sorted by relevance
/reactos/drivers/filesystems/btrfs/zstd/ |
H A D | huf_decompress.c | 384 if (HUF_isError(hSize)) return hSize; in HUF_decompress1X1_DCtx_wksp() 385 if (hSize >= cSrcSize) return ERROR(srcSize_wrong); in HUF_decompress1X1_DCtx_wksp() 386 ip += hSize; cSrcSize -= hSize; in HUF_decompress1X1_DCtx_wksp() 424 if (HUF_isError(hSize)) return hSize; in HUF_decompress4X1_DCtx_wksp_bmi2() 426 ip += hSize; cSrcSize -= hSize; in HUF_decompress4X1_DCtx_wksp_bmi2() 885 if (HUF_isError(hSize)) return hSize; in HUF_decompress1X2_DCtx_wksp() 887 ip += hSize; cSrcSize -= hSize; in HUF_decompress1X2_DCtx_wksp() 925 if (HUF_isError(hSize)) return hSize; in HUF_decompress4X2_DCtx_wksp_bmi2() 927 ip += hSize; cSrcSize -= hSize; in HUF_decompress4X2_DCtx_wksp_bmi2() 1203 if (HUF_isError(hSize)) return hSize; in HUF_decompress1X1_DCtx_wksp_bmi2() [all …]
|
H A D | huf_compress.c | 91 { CHECK_V_F(hSize, FSE_writeNCount(op, (size_t)(oend-op), norm, maxSymbolValue, tableLog) ); in HUF_compressWeights() 92 op += hSize; in HUF_compressWeights() 133 { CHECK_V_F(hSize, HUF_compressWeights(op+1, maxDstSize-1, huffWeight, maxSymbolValue) ); in HUF_writeCTable() 134 if ((hSize>1) & (hSize < maxSymbolValue/2)) { /* FSE compressed */ in HUF_writeCTable() 135 op[0] = (BYTE)hSize; in HUF_writeCTable() 136 return hSize+1; in HUF_writeCTable() 703 { CHECK_V_F(hSize, HUF_writeCTable (op, dstSize, table->CTable, maxSymbolValue, huffLog) ); in HUF_compress_internal() 708 if (oldSize <= hSize + newSize || hSize + 12 >= srcSize) { in HUF_compress_internal() 715 if (hSize + 12ul >= srcSize) { return 0; } in HUF_compress_internal() 716 op += hSize; in HUF_compress_internal()
|
H A D | zstd_decompress.c | 1073 size_t const hSize = HUF_readDTableX1_wksp(entropy->hufTable, in ZSTD_loadDEntropy() local 1077 size_t const hSize = HUF_readDTableX2_wksp(entropy->hufTable, in ZSTD_loadDEntropy() local 1081 RETURN_ERROR_IF(HUF_isError(hSize), dictionary_corrupted, ""); in ZSTD_loadDEntropy() 1082 dictPtr += hSize; in ZSTD_loadDEntropy() 1637 …{ size_t const hSize = ZSTD_getFrameHeader_advanced(&zds->fParams, zds->headerBuffer, zds->lhSiz… in ZSTD_decompressStream() local 1638 DEBUGLOG(5, "header size : %u", (U32)hSize); in ZSTD_decompressStream() 1639 if (ZSTD_isError(hSize)) { in ZSTD_decompressStream() 1658 return hSize; /* error */ in ZSTD_decompressStream() 1660 if (hSize != 0) { /* need more input */ in ZSTD_decompressStream() 1661 … size_t const toLoad = hSize - zds->lhSize; /* if hSize!=0, hSize > zds->lhSize */ in ZSTD_decompressStream() [all …]
|
H A D | zstd_compress_superblock.c | 131 size_t const hSize = HUF_writeCTable( in ZSTD_buildSuperBlockEntropy_literal() local 138 if (oldCSize < srcSize && (oldCSize <= hSize + newCSize || hSize + 12 >= srcSize)) { in ZSTD_buildSuperBlockEntropy_literal() 145 if (newCSize + hSize >= srcSize) { in ZSTD_buildSuperBlockEntropy_literal() 151 DEBUGLOG(5, "set_compressed (hSize=%u)", (U32)hSize); in ZSTD_buildSuperBlockEntropy_literal() 154 return hSize; in ZSTD_buildSuperBlockEntropy_literal()
|
H A D | zstd_compress.c | 1103 size_t const hSize = ((size_t)1) << cParams->hashLog; in ZSTD_sizeof_matchState() local 1109 + hSize * sizeof(U32) in ZSTD_sizeof_matchState() 1122 (U32)chainSize, (U32)hSize, (U32)h3Size); in ZSTD_sizeof_matchState() 1353 size_t const hSize = ((size_t)1) << cParams->hashLog; in ZSTD_reset_matchState() local 1373 ms->hashTable = (U32*)ZSTD_cwksp_reserve_table(ws, hSize * sizeof(U32)); in ZSTD_reset_matchState() 1704 size_t const hSize = (size_t)1 << cdict_cParams->hashLog; in ZSTD_resetCCtx_byCopyingCDict() local 1708 hSize * sizeof(U32)); in ZSTD_resetCCtx_byCopyingCDict() 1796 size_t const hSize = (size_t)1 << srcCCtx->appliedParams.cParams.hashLog; in ZSTD_copyCCtx_internal() local 1802 hSize * sizeof(U32)); in ZSTD_copyCCtx_internal() 1904 { U32 const hSize = (U32)1 << params->cParams.hashLog; in ZSTD_reduceIndex() local [all …]
|