/linux-6.1.9/lib/zstd/compress/ |
D | zstd_compress_literals.c | 38 ZSTD_memcpy(ostart + flSize, src, srcSize); in ZSTD_noCompressLiterals() 89 ZSTD_memcpy(nextHuf, prevHuf, sizeof(*prevHuf)); in ZSTD_compressLiterals() 121 ZSTD_memcpy(nextHuf, prevHuf, sizeof(*prevHuf)); in ZSTD_compressLiterals() 125 ZSTD_memcpy(nextHuf, prevHuf, sizeof(*prevHuf)); in ZSTD_compressLiterals()
|
D | zstd_compress_superblock.c | 82 ZSTD_memcpy(nextHuf, prevHuf, sizeof(*prevHuf)); in ZSTD_buildSuperBlockEntropy_literal() 141 ZSTD_memcpy(nextHuf, prevHuf, sizeof(*prevHuf)); in ZSTD_buildSuperBlockEntropy_literal() 148 ZSTD_memcpy(nextHuf, prevHuf, sizeof(*prevHuf)); in ZSTD_buildSuperBlockEntropy_literal() 352 ZSTD_memcpy(op, hufMetadata->hufDesBuffer, hufMetadata->hufDesSize); in ZSTD_compressSubBlock_literal() 480 ZSTD_memcpy(op, fseMetadata->fseTablesBuffer, fseMetadata->fseTablesSize); in ZSTD_compressSubBlock_sequences() 800 … ZSTD_memcpy(&nextCBlock->entropy.huf, &prevCBlock->entropy.huf, sizeof(prevCBlock->entropy.huf)); in ZSTD_compressSubBlock_multi() 819 ZSTD_memcpy(&rep, prevCBlock->rep, sizeof(rep)); in ZSTD_compressSubBlock_multi() 823 ZSTD_memcpy(nextCBlock->rep, &rep, sizeof(rep)); in ZSTD_compressSubBlock_multi()
|
D | zstd_compress.c | 963 ZSTD_memcpy(dictBuffer, dict, dictSize); in ZSTD_CCtx_loadDictionary_advanced() 1816 ZSTD_memcpy(cctx->blockState.prevCBlock, &cdict->cBlockState, sizeof(cdict->cBlockState)); in ZSTD_resetCCtx_byAttachingCDict() 1851 ZSTD_memcpy(cctx->blockState.matchState.hashTable, in ZSTD_resetCCtx_byCopyingCDict() 1854 ZSTD_memcpy(cctx->blockState.matchState.chainTable, in ZSTD_resetCCtx_byCopyingCDict() 1880 ZSTD_memcpy(cctx->blockState.prevCBlock, &cdict->cBlockState, sizeof(cdict->cBlockState)); in ZSTD_resetCCtx_byCopyingCDict() 1924 ZSTD_memcpy(&dstCCtx->customMem, &srcCCtx->customMem, sizeof(ZSTD_customMem)); in ZSTD_copyCCtx_internal() 1946 ZSTD_memcpy(dstCCtx->blockState.matchState.hashTable, in ZSTD_copyCCtx_internal() 1949 ZSTD_memcpy(dstCCtx->blockState.matchState.chainTable, in ZSTD_copyCCtx_internal() 1952 ZSTD_memcpy(dstCCtx->blockState.matchState.hashTable3, in ZSTD_copyCCtx_internal() 1971 …ZSTD_memcpy(dstCCtx->blockState.prevCBlock, srcCCtx->blockState.prevCBlock, sizeof(*srcCCtx->block… in ZSTD_copyCCtx_internal() [all …]
|
D | zstd_opt.c | 1082 ZSTD_memcpy(opt[cur].rep, &newReps, sizeof(repcodes_t)); in ZSTD_compressBlock_opt_generic() 1084 ZSTD_memcpy(opt[cur].rep, opt[cur - 1].rep, sizeof(repcodes_t)); in ZSTD_compressBlock_opt_generic() 1171 ZSTD_memcpy(rep, &reps, sizeof(reps)); in ZSTD_compressBlock_opt_generic() 1173 ZSTD_memcpy(rep, opt[cur].rep, sizeof(repcodes_t)); in ZSTD_compressBlock_opt_generic() 1271 ZSTD_memcpy(tmpRep, rep, sizeof(tmpRep)); in ZSTD_initStats_ultra()
|
D | zstd_compress_internal.h | 414 ZSTD_memcpy(&newReps, rep, sizeof(newReps)); in ZSTD_updateRep() 441 ZSTD_memcpy((BYTE*)dst + ZSTD_blockHeaderSize, src, srcSize); in ZSTD_noCompressBlock()
|
D | zstd_compress_sequences.c | 260 ZSTD_memcpy(nextCTable, prevCTable, prevCTableSize); in ZSTD_buildCTable()
|
D | huf_compress.c | 846 ZSTD_memcpy(oldHufTable, table->CTable, sizeof(table->CTable)); /* Save new table */ in HUF_compress_internal()
|
/linux-6.1.9/lib/zstd/common/ |
D | zstd_internal.h | 237 ZSTD_memcpy(dst, src, 8); in ZSTD_copy8() 242 ZSTD_memcpy(dst, src, 16); in ZSTD_copy16() 308 ZSTD_memcpy(dst, src, length); in ZSTD_limitCopy()
|
D | zstd_deps.h | 32 #define ZSTD_memcpy(d,s,n) __builtin_memcpy((d),(s),(n)) macro
|
D | entropy_common.c | 78 ZSTD_memcpy(buffer, headerBuffer, hbSize); in FSE_readNCount_body()
|
D | fse_decompress.c | 101 ZSTD_memcpy(dt, &DTableH, sizeof(DTableH)); in FSE_buildDTable_internal()
|
/linux-6.1.9/lib/zstd/decompress/ |
D | zstd_ddict.c | 131 ZSTD_memcpy(internalBuffer, dict, dictSize); in ZSTD_initDDict_internal() 198 ZSTD_memcpy(ddict+1, dict, dictSize); /* local copy */ in ZSTD_initStaticDDict()
|
D | huf_decompress.c | 106 ZSTD_memcpy(&dtd, table, sizeof(dtd)); in HUF_getDTableDesc() 170 ZSTD_memcpy(DTable, &dtd, sizeof(dtd)); in HUF_readDTableX1_wksp_bmi2() 539 ZSTD_memcpy(rankVal, rankValOrigin, sizeof(U32) * (HUF_TABLELOG_MAX + 1)); in HUF_fillDTableX2Level2() 585 ZSTD_memcpy(rankVal, rankValOrigin, sizeof(U32) * (HUF_TABLELOG_MAX + 1)); in HUF_fillDTableX2() 708 ZSTD_memcpy(DTable, &dtd, sizeof(dtd)); in HUF_readDTableX2_wksp() 717 ZSTD_memcpy(op, dt+val, 2); in HUF_decodeSymbolX2() 726 ZSTD_memcpy(op, dt+val, 1); in HUF_decodeLastSymbolX2() 1113 …if (cSrcSize == dstSize) { ZSTD_memcpy(dst, cSrc, dstSize); return dstSize; } /* not compressed … in HUF_decompress1X_DCtx_wksp()
|
D | zstd_decompress.c | 327 ZSTD_memcpy(dstDCtx, srcDCtx, toCopy); /* no need to copy workspace */ in ZSTD_copyDCtx() 755 ZSTD_memcpy(dst, src, srcSize); in ZSTD_copyRawBlock() 1063 ZSTD_memcpy(dctx->headerBuffer, src, srcSize); in ZSTD_decompressContinue() 1070 ZSTD_memcpy(dctx->headerBuffer, src, srcSize); in ZSTD_decompressContinue() 1077 ZSTD_memcpy(dctx->headerBuffer + (dctx->headerSize - srcSize), src, srcSize); in ZSTD_decompressContinue() 1188 …ZSTD_memcpy(dctx->headerBuffer + (ZSTD_SKIPPABLEHEADERSIZE - srcSize), src, srcSize); /* complet… in ZSTD_decompressContinue() 1346 ZSTD_memcpy(dctx->entropy.rep, repStartValue, sizeof(repStartValue)); /* initial repcodes */ in ZSTD_decompressBegin() 1866 ZSTD_memcpy(zds->headerBuffer + zds->lhSize, ip, remainingInput); in ZSTD_decompressStream() 1873 … ZSTD_memcpy(zds->headerBuffer + zds->lhSize, ip, toLoad); zds->lhSize = hSize; ip += toLoad; in ZSTD_decompressStream()
|
D | zstd_decompress_block.c | 47 static void ZSTD_copy4(void* dst, const void* src) { ZSTD_memcpy(dst, src, 4); } in ZSTD_copy4() 194 ZSTD_memcpy(dctx->litBuffer, istart+lhSize, litSize); in ZSTD_decodeLiteralsBlock() 402 ZSTD_memcpy(dt, &DTableH, sizeof(DTableH)); in ZSTD_buildFSETable_body() 1215 ZSTD_memcpy(op, litPtr, lastLLSize); in ZSTD_decompressSequences_body() 1320 ZSTD_memcpy(op, litPtr, lastLLSize); in ZSTD_decompressSequencesLong_body()
|