/external/zstd/lib/common/ |
D | zstd_deps.h | 34 # define ZSTD_memset(p,v,l) __builtin_memset((p),(v),(l)) macro 38 # define ZSTD_memset(p,v,l) memset((p),(v),(l)) macro
|
D | zstd_common.c | 69 ZSTD_memset(ptr, 0, size); in ZSTD_customCalloc()
|
D | entropy_common.c | 98 …ZSTD_memset(normalizedCounter, 0, (*maxSVPtr+1) * sizeof(normalizedCounter[0])); /* all symbols … in FSE_readNCount_body() 305 ZSTD_memset(rankStats, 0, (HUF_TABLELOG_MAX + 1) * sizeof(U32)); in HUF_readStats_body()
|
D | bitstream.h | 285 if (srcSize < 1) { ZSTD_memset(bitD, 0, sizeof(*bitD)); return ERROR(srcSize_wrong); } in BIT_initDStream()
|
/external/zstd/lib/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 | 502 ZSTD_memset(ws->tableValidEnd, 0, (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()
|
D | huf_compress.c | 344 ZSTD_memset(rankLast, 0xF0, sizeof(rankLast)); in HUF_setMaxHeight() 560 ZSTD_memset(rankPosition, 0, sizeof(*rankPosition) * RANK_POSITION_TABLE_SIZE); in HUF_sort() 693 ZSTD_memset(huffNode0, 0, sizeof(huffNodeTable)); in HUF_buildCTable_wksp() 769 ZSTD_memset(bitC, 0, sizeof(*bitC)); in HUF_initCStream() 1256 ZSTD_memset(table->CTable + ctableSize, 0, unusedSize); in HUF_compress_internal()
|
D | zstd_compress.c | 100 ZSTD_memset(cctx, 0, sizeof(*cctx)); in ZSTD_initCCtx() 132 ZSTD_memset(cctx, 0, sizeof(ZSTD_CCtx)); in ZSTD_initStaticCCtx() 152 ZSTD_memset(&cctx->localDict, 0, sizeof(cctx->localDict)); in ZSTD_clearAllDicts() 153 ZSTD_memset(&cctx->prefixDict, 0, sizeof(cctx->prefixDict)); in ZSTD_clearAllDicts() 333 ZSTD_memset(cctxParams, 0, sizeof(*cctxParams)); in ZSTD_CCtxParams_init() 348 ZSTD_memset(cctxParams, 0, sizeof(*cctxParams)); in ZSTD_CCtxParams_init_internal() 1782 if (ms->tagTable) ZSTD_memset(ms->tagTable, 0, tagTableSize); in ZSTD_reset_matchState() 1956 ZSTD_memset(zc->ldmState.bucketOffsets, 0, numBuckets); in ZSTD_resetCCtx_internal() 1981 ZSTD_memset(zc->ldmState.hashTable, 0, ldmHSize * sizeof(ldmEntry_t)); in ZSTD_resetCCtx_internal() 2158 ZSTD_memset(cctx->blockState.matchState.hashTable3, 0, h3Size * sizeof(U32)); in ZSTD_resetCCtx_byCopyingCDict() [all …]
|
D | zstdmt_compress.c | 484 ZSTD_memset(¶ms.ldmParams, 0, sizeof(params.ldmParams)); in ZSTDMT_serialState_reset() 515 ZSTD_memset(serialState->ldmState.hashTable, 0, hashSize); in ZSTDMT_serialState_reset() 516 ZSTD_memset(serialState->ldmState.bucketOffsets, 0, numBuckets); in ZSTDMT_serialState_reset() 543 ZSTD_memset(serialState, 0, sizeof(*serialState)); in ZSTDMT_serialState_init() 988 ZSTD_memset(&mtctx->jobs[jobID], 0, sizeof(mtctx->jobs[jobID])); in ZSTDMT_releaseAllJobResources()
|
D | fse_compress.c | 96 …ZSTD_memset(tableSymbol, 0, sizeof(*tableSymbol) * tableSize); /* useless initialization, just t… in FSE_buildCTable_wksp()
|
D | zstd_compress_internal.h | 1241 ZSTD_memset(window, 0, sizeof(*window)); in ZSTD_window_init()
|
/external/zstd/contrib/linux-kernel/ |
D | zstd_deps.h | 34 #define ZSTD_memset(d,s,n) __builtin_memset((d),(s),(n)) macro
|
/external/zstd/lib/decompress/ |
D | huf_decompress.c | 1069 ZSTD_memset(wksp->rankStats, 0, sizeof(wksp->rankStats)); in HUF_readDTableX2_wksp_bmi2() 1070 ZSTD_memset(wksp->rankStart0, 0, sizeof(wksp->rankStart0)); in HUF_readDTableX2_wksp_bmi2() 1652 … if (cSrcSize == 1) { ZSTD_memset(dst, *(const BYTE*)cSrc, dstSize); return dstSize; } /* RLE */ in HUF_decompress1X_DCtx_wksp() 1834 … if (cSrcSize == 1) { ZSTD_memset(dst, *(const BYTE*)cSrc, dstSize); return dstSize; } /* RLE */ in HUF_decompress() 1857 … if (cSrcSize == 1) { ZSTD_memset(dst, *(const BYTE*)cSrc, dstSize); return dstSize; } /* RLE */ in HUF_decompress4X_DCtx()
|
D | zstd_decompress.c | 447 …ZSTD_memset(zfhPtr, 0, sizeof(*zfhPtr)); /* not strictly necessary, but static analyzer do not u… in ZSTD_getFrameHeader_advanced() 457 ZSTD_memset(zfhPtr, 0, sizeof(*zfhPtr)); in ZSTD_getFrameHeader_advanced() 705 ZSTD_memset(&frameSizeInfo, 0, sizeof(ZSTD_frameSizeInfo)); in ZSTD_findFrameSizeInfo() 841 ZSTD_memset(dst, b, regenSize); in ZSTD_setRleBlock() 850 ZSTD_memset(&trace, 0, sizeof(trace)); in ZSTD_DCtx_trace_end()
|
D | zstd_decompress_block.c | 296 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()
|