/Linux-v6.1/lib/zstd/compress/ |
D | hist.c | 37 ZSTD_memset(count, 0, (maxSymbolValue+1) * sizeof(*count)); in HIST_count_simple() 84 ZSTD_memset(count, 0, countSize); in HIST_count_parallel_wksp() 88 ZSTD_memset(workSpace, 0, 4*256*sizeof(unsigned)); in HIST_count_parallel_wksp()
|
D | zstd_cwksp.h | 359 ZSTD_memset(ws->tableValidEnd, 0, (BYTE*)ws->tableEnd - (BYTE*)ws->tableValidEnd); in ZSTD_cwksp_clean_tables() 424 ZSTD_memset(ws, 0, sizeof(ZSTD_cwksp)); in ZSTD_cwksp_free() 434 ZSTD_memset(src, 0, sizeof(ZSTD_cwksp)); in ZSTD_cwksp_move()
|
D | huf_compress.c | 280 ZSTD_memset(rankLast, 0xF0, sizeof(rankLast)); in HUF_setMaxHeight() 401 ZSTD_memset(rankPosition, 0, sizeof(*rankPosition) * RANK_POSITION_TABLE_SIZE); in HUF_sort() 524 ZSTD_memset(huffNode0, 0, sizeof(huffNodeTable)); in HUF_buildCTable_wksp() 824 ZSTD_memset(table->CTable + (maxSymbolValue + 1), 0, in HUF_compress_internal()
|
D | zstd_compress.c | 82 ZSTD_memset(cctx, 0, sizeof(*cctx)); in ZSTD_initCCtx() 114 ZSTD_memset(cctx, 0, sizeof(ZSTD_CCtx)); in ZSTD_initStaticCCtx() 134 ZSTD_memset(&cctx->localDict, 0, sizeof(cctx->localDict)); in ZSTD_clearAllDicts() 135 ZSTD_memset(&cctx->prefixDict, 0, sizeof(cctx->prefixDict)); in ZSTD_clearAllDicts() 256 ZSTD_memset(cctxParams, 0, sizeof(*cctxParams)); in ZSTD_CCtxParams_init() 271 ZSTD_memset(cctxParams, 0, sizeof(*cctxParams)); in ZSTD_CCtxParams_init_internal() 1676 ZSTD_memset(zc->ldmState.bucketOffsets, 0, numBuckets); in ZSTD_resetCCtx_internal() 1700 ZSTD_memset(zc->ldmState.hashTable, 0, ldmHSize * sizeof(ldmEntry_t)); in ZSTD_resetCCtx_internal() 1863 ZSTD_memset(cctx->blockState.matchState.hashTable3, 0, h3Size * sizeof(U32)); in ZSTD_resetCCtx_byCopyingCDict() 3679 ZSTD_memset(&cctxParams, 0, sizeof(cctxParams)); in ZSTD_createCDict_advanced() [all …]
|
D | zstd_compress_superblock.c | 121 ZSTD_memset(nextHuf->CTable, 0, sizeof(nextHuf->CTable)); in ZSTD_buildSuperBlockEntropy_literal() 192 ZSTD_memset(workspace, 0, wkspSize); in ZSTD_buildSuperBlockEntropy_sequences()
|
D | fse_compress.c | 95 …ZSTD_memset(tableSymbol, 0, sizeof(*tableSymbol) * tableSize); /* useless initialization, just t… in FSE_buildCTable_wksp()
|
D | zstd_compress_internal.h | 977 ZSTD_memset(window, 0, sizeof(*window)); in ZSTD_window_init()
|
/Linux-v6.1/lib/zstd/common/ |
D | zstd_deps.h | 34 #define ZSTD_memset(d,s,n) __builtin_memset((d),(s),(n)) macro
|
D | zstd_common.c | 74 ZSTD_memset(ptr, 0, size); in ZSTD_customCalloc()
|
D | entropy_common.c | 88 …ZSTD_memset(normalizedCounter, 0, (*maxSVPtr+1) * sizeof(normalizedCounter[0])); /* all symbols … in FSE_readNCount_body() 296 ZSTD_memset(rankStats, 0, (HUF_TABLELOG_MAX + 1) * sizeof(U32)); in HUF_readStats_body()
|
D | bitstream.h | 260 if (srcSize < 1) { ZSTD_memset(bitD, 0, sizeof(*bitD)); return ERROR(srcSize_wrong); } in BIT_initDStream()
|
/Linux-v6.1/lib/zstd/decompress/ |
D | huf_decompress.c | 643 ZSTD_memset(wksp->rankStats, 0, sizeof(wksp->rankStats)); in HUF_readDTableX2_wksp() 644 ZSTD_memset(wksp->rankStart0, 0, sizeof(wksp->rankStart0)); in HUF_readDTableX2_wksp() 1114 … if (cSrcSize == 1) { ZSTD_memset(dst, *(const BYTE*)cSrc, dstSize); return dstSize; } /* RLE */ in HUF_decompress1X_DCtx_wksp()
|
D | zstd_decompress_block.c | 169 ZSTD_memset(dctx->litBuffer + dctx->litSize, 0, WILDCOPY_OVERLENGTH); in ZSTD_decodeLiteralsBlock() 197 ZSTD_memset(dctx->litBuffer + dctx->litSize, 0, WILDCOPY_OVERLENGTH); in ZSTD_decodeLiteralsBlock() 226 ZSTD_memset(dctx->litBuffer, istart[lhSize], litSize + WILDCOPY_OVERLENGTH); in ZSTD_decodeLiteralsBlock()
|
D | zstd_decompress.c | 414 …ZSTD_memset(zfhPtr, 0, sizeof(*zfhPtr)); /* not strictly necessary, but static analyzer do not u… in ZSTD_getFrameHeader_advanced() 424 ZSTD_memset(zfhPtr, 0, sizeof(*zfhPtr)); in ZSTD_getFrameHeader_advanced() 636 ZSTD_memset(&frameSizeInfo, 0, sizeof(ZSTD_frameSizeInfo)); in ZSTD_findFrameSizeInfo() 768 ZSTD_memset(dst, b, regenSize); in ZSTD_setRleBlock()
|