Home
last modified time | relevance | path

Searched refs:ZSTD_memset (Results 1 – 14 of 14) sorted by relevance

/Linux-v6.1/lib/zstd/compress/
Dhist.c37 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()
Dzstd_cwksp.h359 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()
Dhuf_compress.c280 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()
Dzstd_compress.c82 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 …]
Dzstd_compress_superblock.c121 ZSTD_memset(nextHuf->CTable, 0, sizeof(nextHuf->CTable)); in ZSTD_buildSuperBlockEntropy_literal()
192 ZSTD_memset(workspace, 0, wkspSize); in ZSTD_buildSuperBlockEntropy_sequences()
Dfse_compress.c95ZSTD_memset(tableSymbol, 0, sizeof(*tableSymbol) * tableSize); /* useless initialization, just t… in FSE_buildCTable_wksp()
Dzstd_compress_internal.h977 ZSTD_memset(window, 0, sizeof(*window)); in ZSTD_window_init()
/Linux-v6.1/lib/zstd/common/
Dzstd_deps.h34 #define ZSTD_memset(d,s,n) __builtin_memset((d),(s),(n)) macro
Dzstd_common.c74 ZSTD_memset(ptr, 0, size); in ZSTD_customCalloc()
Dentropy_common.c88ZSTD_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()
Dbitstream.h260 if (srcSize < 1) { ZSTD_memset(bitD, 0, sizeof(*bitD)); return ERROR(srcSize_wrong); } in BIT_initDStream()
/Linux-v6.1/lib/zstd/decompress/
Dhuf_decompress.c643 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()
Dzstd_decompress_block.c169 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()
Dzstd_decompress.c414ZSTD_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()