Home
last modified time | relevance | path

Searched refs:DEBUGLOG (Results 1 – 18 of 18) sorted by relevance

/linux/lib/zstd/compress/
H A Dzstd_compress_superblock.c58DEBUGLOG(5, "ZSTD_compressSubBlock_literal (litSize=%zu, lhSize=%zu, writeEntropy=%d)", litSize, l… in ZSTD_compressSubBlock_literal()
62 DEBUGLOG(5, "ZSTD_compressSubBlock_literal using raw literal"); in ZSTD_compressSubBlock_literal()
65 DEBUGLOG(5, "ZSTD_compressSubBlock_literal using rle literal"); in ZSTD_compressSubBlock_literal()
76 DEBUGLOG(5, "ZSTD_compressSubBlock_literal (hSize=%zu)", hufMetadata->hufDesSize); in ZSTD_compressSubBlock_literal()
85 DEBUGLOG(5, "Failed to write entropy tables %s", ZSTD_getErrorName(cSize)); in ZSTD_compressSubBlock_literal()
90 DEBUGLOG(5, "ZSTD_compressSubBlock_literal using raw literal because uncompressible"); in ZSTD_compressSubBlock_literal()
96 DEBUGLOG(5, "Literals expanded beyond allowed header size"); in ZSTD_compressSubBlock_literal()
99 DEBUGLOG(5, "ZSTD_compressSubBlock_literal (cSize=%zu)", cSize); in ZSTD_compressSubBlock_literal()
125 DEBUGLOG(5, "Compressed literals: %u -> %u", (U32)litSize, (U32)(op-ostart)); in ZSTD_compressSubBlock_literal()
142 DEBUGLOG(5, "ZSTD_seqDecompressedSize: %u sequences from %p: %u literals + %u matchlength", in ZSTD_seqDecompressedSize()
[all …]
H A Dzstd_compress_sequences.c116 DEBUGLOG(5, "Repeat FSE_CTable has maxSymbolValue %u < %u", in ZSTD_fseBitCost()
127 DEBUGLOG(5, "Repeat FSE_CTable has Prob[%u] == 0", s); in ZSTD_fseBitCost()
174 DEBUGLOG(5, "Selected set_basic"); in ZSTD_selectEncodingType()
177 DEBUGLOG(5, "Selected set_rle"); in ZSTD_selectEncodingType()
190 DEBUGLOG(5, "Selected set_repeat"); in ZSTD_selectEncodingType()
195 DEBUGLOG(5, "Selected set_basic"); in ZSTD_selectEncodingType()
218 DEBUGLOG(5, "Estimated bit costs: basic=%u\trepeat=%u\tcompressed=%u", in ZSTD_selectEncodingType()
221 DEBUGLOG(5, "Selected set_basic"); in ZSTD_selectEncodingType()
227 DEBUGLOG(5, "Selected set_repeat"); in ZSTD_selectEncodingType()
233 DEBUGLOG(5, "Selected set_compressed"); in ZSTD_selectEncodingType()
[all …]
H A Dzstd_compress_literals.c45 DEBUGLOG(5, "ZSTD_noCompressLiterals: srcSize=%zu, dstCapacity=%zu", srcSize, dstCapacity); in ZSTD_noCompressLiterals()
65 DEBUGLOG(5, "Raw (uncompressed) literals: %u -> %u", (U32)srcSize, (U32)(srcSize + flSize)); in ZSTD_noCompressLiterals()
106DEBUGLOG(5, "RLE : Repeated Literal (%02X: %u times) -> %u bytes encoded", ((const BYTE*)src)[0], … in ZSTD_compressRleLiteralsBlock()
125 DEBUGLOG(7, "minLiteralsToCompress = %zu", mintc); in ZSTD_minLiteralsToCompress()
147 DEBUGLOG(5,"ZSTD_compressLiterals (disableLiteralCompression=%i, srcSize=%u, dstCapacity=%zu)", in ZSTD_compressLiterals()
150 DEBUGLOG(6, "Completed literals listing (%zu bytes)", showHexa(src, srcSize)); in ZSTD_compressLiterals()
180 DEBUGLOG(5, "%zu literals compressed into %zu bytes (before header)", srcSize, cLitSize); in ZSTD_compressLiterals()
183 DEBUGLOG(5, "reusing statistics from previous huffman block"); in ZSTD_compressLiterals()
234 DEBUGLOG(5, "Compressed literals: %u -> %u", (U32)srcSize, (U32)(lhSize+cLitSize)); in ZSTD_compressLiterals()
H A Dzstd_cwksp.h279 DEBUGLOG(5, "cwksp: reserving [0x%p]:%zd bytes; %zd bytes remaining", in ZSTD_cwksp_reserve_internal_buffer_space()
284 DEBUGLOG(4, "cwksp: alloc failed!"); in ZSTD_cwksp_reserve_internal_buffer_space()
317 DEBUGLOG(5, "reserving table alignment addtl space: %zu", bytesToAlign); in ZSTD_cwksp_internal_advance_phase()
429 DEBUGLOG(5, "cwksp: reserving %p table %zd bytes, %zd bytes remaining", in ZSTD_cwksp_reserve_table()
435 DEBUGLOG(4, "cwksp: table alloc failed!"); in ZSTD_cwksp_reserve_table()
458 DEBUGLOG(4, in ZSTD_cwksp_reserve_object()
466 DEBUGLOG(3, "cwksp: object alloc failed!"); in ZSTD_cwksp_reserve_object()
494 DEBUGLOG(4, "cwksp: ZSTD_cwksp_mark_tables_dirty"); in ZSTD_cwksp_mark_tables_dirty()
504 DEBUGLOG(4, "cwksp: ZSTD_cwksp_mark_tables_clean"); in ZSTD_cwksp_mark_tables_clean()
517 DEBUGLOG(4, "cwksp: ZSTD_cwksp_clean_tables"); in ZSTD_cwksp_clean_tables()
[all …]
H A Dzstd_compress.c178 DEBUGLOG(3, "ZSTD_freeCCtx (address: %p)", (void*)cctx); in ZSTD_freeCCtx()
386 DEBUGLOG(4, "ZSTD_CCtxParams_init_internal: useRowMatchFinder=%d, useBlockSplitter=%d ldm=%d", in ZSTD_CCtxParams_init_internal()
692 DEBUGLOG(4, "ZSTD_CCtx_setParameter (%i, %i)", (int)param, value); in ZSTD_CCtx_setParameter()
755 DEBUGLOG(4, "ZSTD_CCtxParams_setParameter (%i, %i)", (int)param, value); in ZSTD_CCtxParams_setParameter()
816 DEBUGLOG(4, "set content size flag = %u", (value!=0)); in ZSTD_CCtxParams_setParameter()
826 DEBUGLOG(4, "set dictIDFlag = %u", (value!=0)); in ZSTD_CCtxParams_setParameter()
1117 DEBUGLOG(4, "ZSTD_CCtx_setParametersUsingCCtxParams"); in ZSTD_CCtx_setParametersUsingCCtxParams()
1131 DEBUGLOG(4, "ZSTD_CCtx_setCParams"); in ZSTD_CCtx_setCParams()
1147 DEBUGLOG(4, "ZSTD_CCtx_setFParams"); in ZSTD_CCtx_setFParams()
1156 DEBUGLOG(4, "ZSTD_CCtx_setParams"); in ZSTD_CCtx_setParams()
[all …]
H A Dzstd_opt.c109 DEBUGLOG(5, "ZSTD_downscaleStats (nbElts=%u, shift=%u)", in ZSTD_downscaleStats()
128DEBUGLOG(5, "ZSTD_scaleStats (nbElts=%u, target=%u)", (unsigned)lastEltIndex+1, (unsigned)logTarge… in ZSTD_scaleStats()
147 DEBUGLOG(5, "ZSTD_rescaleFreqs (srcSize=%u)", (unsigned)srcSize); in ZSTD_rescaleFreqs()
154 DEBUGLOG(5, "srcSize <= %i : use predefined stats", ZSTD_PREDEF_THRESHOLD); in ZSTD_rescaleFreqs()
271 DEBUGLOG(8, "ZSTD_rawLiteralsCost (%u literals)", litLength); in ZSTD_rawLiteralsCost()
351 DEBUGLOG(8, "ZSTD_getMatchPrice(ml:%u) = %u", matchLength, price); in ZSTD_getMatchPrice()
483 DEBUGLOG(8, "ZSTD_insertBt1 (%u)", curr); in ZSTD_insertBt1()
571 DEBUGLOG(7, "ZSTD_updateTree_internal, from %u to %u (dictMode:%u)", in ZSTD_updateTree_internal()
643 DEBUGLOG(8, "ZSTD_insertBtAndGetAllMatches: current=%u", curr); in ZSTD_insertBtAndGetAllMatches()
680 DEBUGLOG(8, "found repCode %u (ll0:%u, offset:%u) of length %u", in ZSTD_insertBtAndGetAllMatches()
[all …]
H A Dzstd_compress_internal.h645 DEBUGLOG(5, "ZSTD_noCompressBlock (srcSize=%zu, dstCapacity=%zu)", srcSize, dstCapacity); in ZSTD_noCompressBlock()
779 DEBUGLOG(6, "Cpos%7u :%3u literals, match%4u bytes at offBase%7u", in ZSTD_storeSeq()
878 DEBUGLOG(7, "ZSTD_count_2segments: found a 2-parts match (current length==%zu)", matchLength); in ZSTD_count_2segments()
879 DEBUGLOG(7, "distance from match beginning to end dictionary = %i", (int)(mEnd - match)); in ZSTD_count_2segments()
880 DEBUGLOG(7, "distance from current pos to end buffer = %i", (int)(iEnd - ip)); in ZSTD_count_2segments()
881 DEBUGLOG(7, "next byte : ip==%02X, istart==%02X", ip[matchLength], *iStart); in ZSTD_count_2segments()
882 DEBUGLOG(7, "final match length = %zu", matchLength + ZSTD_count(ip+matchLength, iStart, iEnd)); in ZSTD_count_2segments()
1219 DEBUGLOG(4, "Correction of 0x%x bytes to lowLimit=0x%x", correction, in ZSTD_window_correctOverflow()
1256 DEBUGLOG(5, "ZSTD_window_enforceMaxDist: blockEndIdx=%u, maxDist=%u, loadedDictEnd=%u", in ZSTD_window_enforceMaxDist()
1276 DEBUGLOG(5, "Update dictLimit to match lowLimit, from %u to %u", in ZSTD_window_enforceMaxDist()
[all …]
H A Dhuf_compress.c380 DEBUGLOG(5, "HUF_setMaxHeight (targetNbBits = %u)", targetNbBits); in HUF_setMaxHeight()
686 DEBUGLOG(5, "HUF_buildTree (alphabet size = %u)", maxSymbolValue + 1); in HUF_buildTree()
713DEBUGLOG(6, "Initial distribution of bits completed (%zu sorted symbols)", showHNodeBits(huffNode,… in HUF_buildTree()
765 DEBUGLOG(5, "HUF_buildCTable_wksp (alphabet size = %u)", maxSymbolValue+1); in HUF_buildCTable_wksp()
777DEBUGLOG(6, "sorted symbols completed (%zu symbols)", showHNodeSymbols(huffNode, maxSymbolValue+1)… in HUF_buildCTable_wksp()
1295 DEBUGLOG(6, "HUF_optimalTableLog: probing huf depth (srcSize=%zu)", srcSize); in HUF_optimalTableLog()
1299 DEBUGLOG(7, "checking for huffLog=%u", optLogGuess); in HUF_optimalTableLog()
1343 DEBUGLOG(5, "HUF_compress_internal (srcSize=%zu)", srcSize); in HUF_compress_internal()
1367 DEBUGLOG(5, "input suspected incompressible : sampling to check"); in HUF_compress_internal()
1384DEBUGLOG(6, "histogram detail completed (%zu symbols)", showU32(table->count, maxSymbolValue+1)); in HUF_compress_internal()
[all …]
H A Dzstd_ldm.c141 DEBUGLOG(4, "ZSTD_ldm_adjustParameters"); in ZSTD_ldm_adjustParameters()
239DEBUGLOG(7, "ZSTD_ldm_countBackwardsMatch_2segments: found 2-parts backwards match (length in pref… in ZSTD_ldm_countBackwardsMatch_2segments()
241 DEBUGLOG(7, "final backwards match length = %zu", matchLength); in ZSTD_ldm_countBackwardsMatch_2segments()
299 DEBUGLOG(5, "ZSTD_ldm_fillHashTable"); in ZSTD_ldm_fillHashTable()
697 DEBUGLOG(5, "ZSTD_ldm_blockCompress: srcSize=%zu", srcSize); in ZSTD_ldm_blockCompress()
724DEBUGLOG(5, "pos %u : calling block compressor on segment of size %u", (unsigned)(ip-istart), sequ… in ZSTD_ldm_blockCompress()
H A Dzstd_lazy.c47 DEBUGLOG(7, "ZSTD_updateDUBT, from %u to %u (dictLimit:%u)", in ZSTD_updateDUBT()
60 DEBUGLOG(8, "ZSTD_updateDUBT: insert %u", idx); in ZSTD_updateDUBT()
102 DEBUGLOG(8, "ZSTD_insertDUBT1(%u) (dictLimit=%u, lowLimit=%u)", in ZSTD_insertDUBT1()
132 DEBUGLOG(8, "ZSTD_insertDUBT1: comparing %u with %u : found %u common bytes ", in ZSTD_insertDUBT1()
144 DEBUGLOG(8, "ZSTD_insertDUBT1: %u (>btLow=%u) is smaller : next => %u", in ZSTD_insertDUBT1()
153 DEBUGLOG(8, "ZSTD_insertDUBT1: %u (>btLow=%u) is larger => %u", in ZSTD_insertDUBT1()
211DEBUGLOG(9, "ZSTD_DUBT_findBetterDictMatch(%u) : found better match length %u -> %u and offsetCode… in ZSTD_DUBT_findBetterDictMatch()
234DEBUGLOG(8, "ZSTD_DUBT_findBetterDictMatch(%u) : found match of length %u and offsetCode %u (pos %… in ZSTD_DUBT_findBetterDictMatch()
272 DEBUGLOG(7, "ZSTD_DUBT_findBestMatch (%u) ", curr); in ZSTD_DUBT_findBestMatch()
280 DEBUGLOG(8, "ZSTD_DUBT_findBestMatch: candidate %u is unsorted", in ZSTD_DUBT_findBestMatch()
[all …]
H A Dfse_compress.c204 DEBUGLOG(5, "\n --- table statistics : "); in FSE_buildCTable_wksp()
207 DEBUGLOG(5, "%3u: w=%3i, maxBits=%u, fracBits=%.2f", in FSE_buildCTable_wksp()
H A Dzstd_fast.c236 DEBUGLOG(5, "ZSTD_compressBlock_fast_generic"); in ZSTD_compressBlock_fast_noDict_generic()
532 DEBUGLOG(5, "ZSTD_compressBlock_fast_dictMatchState_generic"); in ZSTD_compressBlock_fast_dictMatchState_generic()
757 DEBUGLOG(5, "ZSTD_compressBlock_fast_extDict_generic (offset_1=%u)", offset_1); in ZSTD_compressBlock_fast_extDict_generic()
H A Dzstd_preSplit.c233 DEBUGLOG(6, "ZSTD_splitBlock (level=%i)", level); in ZSTD_splitBlock()
H A Dzstd_double_fast.c155 DEBUGLOG(5, "ZSTD_compressBlock_doubleFast_noDict_generic"); in ZSTD_compressBlock_doubleFast_noDict_generic()
364 DEBUGLOG(5, "ZSTD_compressBlock_doubleFast_dictMatchState_generic"); in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
638 DEBUGLOG(5, "ZSTD_compressBlock_doubleFast_extDict_generic (srcSize=%zu)", srcSize); in ZSTD_compressBlock_doubleFast_extDict_generic()
/linux/lib/zstd/decompress/
H A Dzstd_decompress.c105 DEBUGLOG(4, "Hashed index: for dictID: %u is %zu", dictID, idx); in ZSTD_DDictHashSet_emplaceDDict()
109 DEBUGLOG(4, "DictID already exists, replacing rather than adding"); in ZSTD_DDictHashSet_emplaceDDict()
116 DEBUGLOG(4, "Final idx after probing for dictID %u is: %zu", dictID, idx); in ZSTD_DDictHashSet_emplaceDDict()
133DEBUGLOG(4, "Expanding DDict hash table! Old size: %zu new size: %zu", oldTableSize, newTableSize); in ZSTD_DDictHashSet_expand()
144 DEBUGLOG(4, "Finished re-hash"); in ZSTD_DDictHashSet_expand()
154 DEBUGLOG(4, "Hashed index: for dictID: %u is %zu", dictID, idx); in ZSTD_DDictHashSet_getDDict()
165 DEBUGLOG(4, "Final idx after probing for dictID %u is: %zu", dictID, idx); in ZSTD_DDictHashSet_getDDict()
175 DEBUGLOG(4, "Allocating new hash set"); in ZSTD_createDDictHashSet()
192 DEBUGLOG(4, "Freeing ddict hash set"); in ZSTD_freeDDictHashSet()
205DEBUGLOG(4, "Adding dict ID: %u to hashset with - Count: %zu Tablesize: %zu", ZSTD_getDictID_fromD… in ZSTD_DDictHashSet_addDDict()
[all …]
H A Dzstd_decompress_block.c139 DEBUGLOG(5, "ZSTD_decodeLiteralsBlock"); in ZSTD_decodeLiteralsBlock()
149 DEBUGLOG(5, "set_repeat flag : re-using stats from previous compressed literals block"); in ZSTD_decodeLiteralsBlock()
703 DEBUGLOG(5, "ZSTD_decodeSeqHeaders"); in ZSTD_decodeSeqHeaders()
1198 DEBUGLOG(6, "ZSTD_initFseState : val=%u using %u bits", in ZSTD_initFseState()
1333 DEBUGLOG(6, "seq: litL=%u, matchL=%u, offset=%u", in ZSTD_decodeSequence()
1378 DEBUGLOG(6, "Checking sequence: litL=%u matchL=%u offset=%u", in ZSTD_assertValidSequence()
1419 DEBUGLOG(5, "ZSTD_decompressSequences_bodySplitLitBuffer (%i seqs)", nbSeq); in ZSTD_decompressSequences_bodySplitLitBuffer()
1512 DEBUGLOG(6, "regenerated sequence size : %u", (U32)oneSeqSize); in ZSTD_decompressSequences_bodySplitLitBuffer()
1515 DEBUGLOG(6, "reached: (litPtr + sequence.litLength > dctx->litBufferEnd)"); in ZSTD_decompressSequences_bodySplitLitBuffer()
1520DEBUGLOG(6, "There are %i sequences left, and %zu/%zu literals left in buffer", nbSeq, leftoverLit… in ZSTD_decompressSequences_bodySplitLitBuffer()
[all …]
H A Dzstd_ddict.c58 DEBUGLOG(4, "ZSTD_copyDDictParameters"); in ZSTD_copyDDictParameters()
/linux/lib/zstd/common/
H A Ddebug.h96 # define DEBUGLOG(l, ...) \ macro
105 # define DEBUGLOG(l, ...) do { } while (0) /* disabled */ macro