Home
last modified time | relevance | path

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

/openbmc/linux/lib/zstd/compress/
H A 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()
H A Dzstd_cwksp.h454 ZSTD_memset(ws->tableValidEnd, 0, (BYTE*)ws->tableEnd - (BYTE*)ws->tableValidEnd); in ZSTD_cwksp_clean_tables()
519 ZSTD_memset(ws, 0, sizeof(ZSTD_cwksp)); in ZSTD_cwksp_free()
529 ZSTD_memset(src, 0, sizeof(ZSTD_cwksp)); in ZSTD_cwksp_move()
H A Dhuf_compress.c341 ZSTD_memset(rankLast, 0xF0, sizeof(rankLast)); in HUF_setMaxHeight()
557 ZSTD_memset(rankPosition, 0, sizeof(*rankPosition) * RANK_POSITION_TABLE_SIZE); in HUF_sort()
690 ZSTD_memset(huffNode0, 0, sizeof(huffNodeTable)); in HUF_buildCTable_wksp()
766 ZSTD_memset(bitC, 0, sizeof(*bitC)); in HUF_initCStream()
1253 ZSTD_memset(table->CTable + ctableSize, 0, unusedSize); in HUF_compress_internal()
H A Dzstd_compress.c97 ZSTD_memset(cctx, 0, sizeof(*cctx)); in ZSTD_initCCtx()
129 ZSTD_memset(cctx, 0, sizeof(ZSTD_CCtx)); in ZSTD_initStaticCCtx()
149 ZSTD_memset(&cctx->localDict, 0, sizeof(cctx->localDict)); in ZSTD_clearAllDicts()
150 ZSTD_memset(&cctx->prefixDict, 0, sizeof(cctx->prefixDict)); in ZSTD_clearAllDicts()
323 ZSTD_memset(cctxParams, 0, sizeof(*cctxParams)); in ZSTD_CCtxParams_init()
338 ZSTD_memset(cctxParams, 0, sizeof(*cctxParams)); in ZSTD_CCtxParams_init_internal()
3024 ZSTD_memset(nextHuf->CTable, 0, sizeof(nextHuf->CTable)); in ZSTD_buildBlockEntropyStats_literals()
3584 ZSTD_memset(nextSeqStore, 0, sizeof(seqStore_t)); in ZSTD_compressBlock_splitBlock_internal()
4178 ZSTD_memset(ms->tagTable, 0, tagTableSize); in ZSTD_loadDictionaryContent()
4765 ZSTD_memset(&cctxParams, 0, sizeof(cctxParams)); in ZSTD_createCDict_advanced()
[all …]
H A Dfse_compress.c96ZSTD_memset(tableSymbol, 0, sizeof(*tableSymbol) * tableSize); /* useless initialization, just t… in FSE_buildCTable_wksp()
H A Dzstd_compress_internal.h1185 ZSTD_memset(window, 0, sizeof(*window)); in ZSTD_window_init()
/openbmc/linux/lib/zstd/common/
H A Dzstd_deps.h34 #define ZSTD_memset(d,s,n) __builtin_memset((d),(s),(n)) macro
H A Dzstd_common.c69 ZSTD_memset(ptr, 0, size); in ZSTD_customCalloc()
H A Dentropy_common.c87ZSTD_memset(normalizedCounter, 0, (*maxSVPtr+1) * sizeof(normalizedCounter[0])); /* all symbols … in FSE_readNCount_body()
294 ZSTD_memset(rankStats, 0, (HUF_TABLELOG_MAX + 1) * sizeof(U32)); in HUF_readStats_body()
H A Dbitstream.h260 if (srcSize < 1) { ZSTD_memset(bitD, 0, sizeof(*bitD)); return ERROR(srcSize_wrong); } in BIT_initDStream()
/openbmc/linux/lib/zstd/decompress/
H A Dzstd_decompress.c430ZSTD_memset(zfhPtr, 0, sizeof(*zfhPtr)); /* not strictly necessary, but static analyzer do not u… in ZSTD_getFrameHeader_advanced()
440 ZSTD_memset(zfhPtr, 0, sizeof(*zfhPtr)); in ZSTD_getFrameHeader_advanced()
682 ZSTD_memset(&frameSizeInfo, 0, sizeof(ZSTD_frameSizeInfo)); in ZSTD_findFrameSizeInfo()
814 ZSTD_memset(dst, b, regenSize); in ZSTD_setRleBlock()
H A Dhuf_decompress.c1065 ZSTD_memset(wksp->rankStats, 0, sizeof(wksp->rankStats)); in HUF_readDTableX2_wksp_bmi2()
1066 ZSTD_memset(wksp->rankStart0, 0, sizeof(wksp->rankStart0)); in HUF_readDTableX2_wksp_bmi2()
1648 … if (cSrcSize == 1) { ZSTD_memset(dst, *(const BYTE*)cSrc, dstSize); return dstSize; } /* RLE */ in HUF_decompress1X_DCtx_wksp()
H A Dzstd_decompress_block.c296 ZSTD_memset(dctx->litBuffer, istart[lhSize], litSize - ZSTD_LITBUFFEREXTRASIZE); in ZSTD_decodeLiteralsBlock()
297 ZSTD_memset(dctx->litExtraBuffer, istart[lhSize], ZSTD_LITBUFFEREXTRASIZE); in ZSTD_decodeLiteralsBlock()
301 ZSTD_memset(dctx->litBuffer, istart[lhSize], litSize); in ZSTD_decodeLiteralsBlock()