Home
last modified time | relevance | path

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

/lib/zstd/compress/
A Dhist.c48 ZSTD_memset(count, 0, (maxSymbolValue+1) * sizeof(*count)); in HIST_count_simple()
95 ZSTD_memset(count, 0, countSize); in HIST_count_parallel_wksp()
99 ZSTD_memset(workSpace, 0, 4*256*sizeof(unsigned)); in HIST_count_parallel_wksp()
A Dzstd_preSplit.c54 ZSTD_memset(fpstats, 0, sizeof(FPStats)); in initStats()
73 ZSTD_memset(fp, 0, sizeof(unsigned) * ((size_t)1 << hashLog)); in recordFingerprint_generic()
141 ZSTD_memset(&fpstats->newEvents, 0, sizeof(fpstats->newEvents)); in flushEvents()
A Dzstd_cwksp.h388 ZSTD_memset(ptr, 0, MIN((size_t)((U8*)ws->initOnceStart - (U8*)ptr), alignedBytes)); in ZSTD_cwksp_reserve_aligned_init_once()
521 ZSTD_memset(ws->tableValidEnd, 0, (size_t)((BYTE*)ws->tableEnd - (BYTE*)ws->tableValidEnd)); in ZSTD_cwksp_clean_tables()
597 ZSTD_memset(ws, 0, sizeof(ZSTD_cwksp)); in ZSTD_cwksp_free()
607 ZSTD_memset(src, 0, sizeof(ZSTD_cwksp)); in ZSTD_cwksp_move()
A Dhuf_compress.c232 ZSTD_memset(&header, 0, sizeof(header)); in HUF_writeCTableHeader()
412 ZSTD_memset(rankLast, 0xF0, sizeof(rankLast)); in HUF_setMaxHeight()
628 ZSTD_memset(rankPosition, 0, sizeof(*rankPosition) * RANK_POSITION_TABLE_SIZE); in HUF_sort()
773 ZSTD_memset(huffNode0, 0, sizeof(huffNodeTable)); in HUF_buildCTable_wksp()
857 ZSTD_memset(bitC, 0, sizeof(*bitC)); in HUF_initCStream()
A Dzstd_compress.c103 ZSTD_memset(cctx, 0, sizeof(*cctx)); in ZSTD_initCCtx()
135 ZSTD_memset(cctx, 0, sizeof(ZSTD_CCtx)); in ZSTD_initStaticCCtx()
156 ZSTD_memset(&cctx->localDict, 0, sizeof(cctx->localDict)); in ZSTD_clearAllDicts()
157 ZSTD_memset(&cctx->prefixDict, 0, sizeof(cctx->prefixDict)); in ZSTD_clearAllDicts()
355 ZSTD_memset(cctxParams, 0, sizeof(*cctxParams)); in ZSTD_CCtxParams_init()
373 ZSTD_memset(cctxParams, 0, sizeof(*cctxParams)); in ZSTD_CCtxParams_init_internal()
1969 ZSTD_memset(ms->tagTable, 0, tagTableSize); in ZSTD_reset_matchState()
3105 ZSTD_memset(&outSeqs[0], 0, sizeof(ZSTD_Sequence)); in ZSTD_postProcessSequenceProducerResult()
4208 ZSTD_memset(nextSeqStore, 0, sizeof(SeqStore_t)); in ZSTD_compressBlock_splitBlock_internal()
5535 ZSTD_memset(&cctxParams, 0, sizeof(cctxParams)); in ZSTD_createCDict_advanced()
[all …]
A Dfse_compress.c98ZSTD_memset(tableSymbol, 0, sizeof(*tableSymbol) * tableSize); /* useless initialization, just t… in FSE_buildCTable_wksp()
A Dzstd_compress_internal.h1327 ZSTD_memset(window, 0, sizeof(*window)); in ZSTD_window_init()
A Dzstd_opt.c1106 ZSTD_memset(&lastStretch, 0, sizeof(ZSTD_optimal_t)); in ZSTD_compressBlock_opt_generic()
/lib/zstd/common/
A Dallocations.h40 ZSTD_memset(ptr, 0, size); in ZSTD_customCalloc()
A Dzstd_deps.h34 #define ZSTD_memset(d,s,n) __builtin_memset((d),(s),(n)) macro
A Dentropy_common.c71ZSTD_memset(normalizedCounter, 0, (*maxSVPtr+1) * sizeof(normalizedCounter[0])); /* all symbols … in FSE_readNCount_body()
278 ZSTD_memset(rankStats, 0, (HUF_TABLELOG_MAX + 1) * sizeof(U32)); in HUF_readStats_body()
A Dbitstream.h241 if (srcSize < 1) { ZSTD_memset(bitD, 0, sizeof(*bitD)); return ERROR(srcSize_wrong); } in BIT_initDStream()
/lib/zstd/decompress/
A Dzstd_decompress.c463ZSTD_memset(zfhPtr, 0, sizeof(*zfhPtr)); /* not strictly necessary, but static analyzers may not… in ZSTD_getFrameHeader_advanced()
470 ZSTD_memset(zfhPtr, 0, sizeof(*zfhPtr)); in ZSTD_getFrameHeader_advanced()
715 ZSTD_memset(&frameSizeInfo, 0, sizeof(ZSTD_frameSizeInfo)); in ZSTD_findFrameSizeInfo()
892 ZSTD_memset(dst, b, regenSize); in ZSTD_setRleBlock()
A Dhuf_decompress.c1193 ZSTD_memset(wksp->rankStats, 0, sizeof(wksp->rankStats)); in HUF_readDTableX2_wksp()
1194 ZSTD_memset(wksp->rankStart0, 0, sizeof(wksp->rankStart0)); in HUF_readDTableX2_wksp()
1850 … if (cSrcSize == 1) { ZSTD_memset(dst, *(const BYTE*)cSrc, dstSize); return dstSize; } /* RLE */ in HUF_decompress1X_DCtx_wksp()
A Dzstd_decompress_block.c326 ZSTD_memset(dctx->litBuffer, istart[lhSize], litSize - ZSTD_LITBUFFEREXTRASIZE); in ZSTD_decodeLiteralsBlock()
327 ZSTD_memset(dctx->litExtraBuffer, istart[lhSize], ZSTD_LITBUFFEREXTRASIZE); in ZSTD_decodeLiteralsBlock()
331 ZSTD_memset(dctx->litBuffer, istart[lhSize], litSize); in ZSTD_decodeLiteralsBlock()

Completed in 65 milliseconds