| /f-stack/freebsd/contrib/zstd/lib/compress/ |
| H A 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()
|
| H A D | zstd_compress_superblock.c | 82 ZSTD_memcpy(nextHuf, prevHuf, sizeof(*prevHuf)); in ZSTD_buildSuperBlockEntropy_literal() 140 ZSTD_memcpy(nextHuf, prevHuf, sizeof(*prevHuf)); in ZSTD_buildSuperBlockEntropy_literal() 147 ZSTD_memcpy(nextHuf, prevHuf, sizeof(*prevHuf)); in ZSTD_buildSuperBlockEntropy_literal() 351 ZSTD_memcpy(op, hufMetadata->hufDesBuffer, hufMetadata->hufDesSize); in ZSTD_compressSubBlock_literal() 477 ZSTD_memcpy(op, fseMetadata->fseTablesBuffer, fseMetadata->fseTablesSize); in ZSTD_compressSubBlock_sequences() 797 … ZSTD_memcpy(&nextCBlock->entropy.huf, &prevCBlock->entropy.huf, sizeof(prevCBlock->entropy.huf)); in ZSTD_compressSubBlock_multi() 816 ZSTD_memcpy(&rep, prevCBlock->rep, sizeof(rep)); in ZSTD_compressSubBlock_multi() 820 ZSTD_memcpy(nextCBlock->rep, &rep, sizeof(rep)); in ZSTD_compressSubBlock_multi()
|
| H A D | zstd_compress.c | 1015 ZSTD_memcpy(dictBuffer, dict, dictSize); in ZSTD_CCtx_loadDictionary_advanced() 1892 ZSTD_memcpy(cctx->blockState.matchState.hashTable, in ZSTD_resetCCtx_byCopyingCDict() 1895 ZSTD_memcpy(cctx->blockState.matchState.chainTable, in ZSTD_resetCCtx_byCopyingCDict() 1964 ZSTD_memcpy(&dstCCtx->customMem, &srcCCtx->customMem, sizeof(ZSTD_customMem)); in ZSTD_copyCCtx_internal() 1986 ZSTD_memcpy(dstCCtx->blockState.matchState.hashTable, in ZSTD_copyCCtx_internal() 1989 ZSTD_memcpy(dstCCtx->blockState.matchState.chainTable, in ZSTD_copyCCtx_internal() 1992 ZSTD_memcpy(dstCCtx->blockState.matchState.hashTable3, in ZSTD_copyCCtx_internal() 2216 ZSTD_memcpy(&nextEntropy->fse, &prevEntropy->fse, sizeof(prevEntropy->fse)); in ZSTD_entropyCompressSequences_internal() 2429 ZSTD_memcpy(seqStorePtr->lit, anchor, lastLLSize); in ZSTD_storeLastLiterals() 2535 ZSTD_memcpy(updatedRepcodes.rep, zc->blockState.prevCBlock->rep, sizeof(repcodes_t)); in ZSTD_copyBlockSequences() [all …]
|
| H A D | zstd_opt.c | 1069 ZSTD_memcpy(opt[cur].rep, &newReps, sizeof(repcodes_t)); in ZSTD_compressBlock_opt_generic() 1071 ZSTD_memcpy(opt[cur].rep, opt[cur - 1].rep, sizeof(repcodes_t)); in ZSTD_compressBlock_opt_generic() 1158 ZSTD_memcpy(rep, &reps, sizeof(reps)); in ZSTD_compressBlock_opt_generic() 1160 ZSTD_memcpy(rep, opt[cur].rep, sizeof(repcodes_t)); in ZSTD_compressBlock_opt_generic() 1258 ZSTD_memcpy(tmpRep, rep, sizeof(tmpRep)); in ZSTD_initStats_ultra()
|
| H A D | zstd_compress_sequences.c | 255 ZSTD_memcpy(nextCTable, prevCTable, prevCTableSize); in ZSTD_buildCTable()
|
| H A D | zstd_compress_internal.h | 411 ZSTD_memcpy(&newReps, rep, sizeof(newReps)); in ZSTD_updateRep() 438 ZSTD_memcpy((BYTE*)dst + ZSTD_blockHeaderSize, src, srcSize); in ZSTD_noCompressBlock()
|
| H A D | zstdmt_compress.c | 237 ZSTD_memcpy(newBuffer.start, buffer.start, buffer.capacity); in ZSTDMT_resizeBuffer() 1460 ZSTD_memcpy((char*)output->dst + output->pos, in ZSTDMT_flushProduced() 1779 …ZSTD_memcpy((char*)mtctx->inBuff.buffer.start + mtctx->inBuff.filled, (const char*)input->src + in… in ZSTDMT_compressStream_generic()
|
| H A D | huf_compress.c | 823 ZSTD_memcpy(oldHufTable, table->CTable, sizeof(table->CTable)); /* Save new table */ in HUF_compress_internal()
|
| /f-stack/freebsd/contrib/zstd/lib/common/ |
| H A D | mem.h | 209 U16 val; ZSTD_memcpy(&val, memPtr, sizeof(val)); return val; in MEM_read16() 214 U32 val; ZSTD_memcpy(&val, memPtr, sizeof(val)); return val; in MEM_read32() 219 U64 val; ZSTD_memcpy(&val, memPtr, sizeof(val)); return val; in MEM_read64() 224 size_t val; ZSTD_memcpy(&val, memPtr, sizeof(val)); return val; in MEM_readST() 229 ZSTD_memcpy(memPtr, &value, sizeof(value)); in MEM_write16() 234 ZSTD_memcpy(memPtr, &value, sizeof(value)); in MEM_write32() 239 ZSTD_memcpy(memPtr, &value, sizeof(value)); in MEM_write64()
|
| H A D | zstd_deps.h | 32 # define ZSTD_memcpy(d,s,l) __builtin_memcpy((d),(s),(l)) macro 36 # define ZSTD_memcpy(d,s,l) memcpy((d),(s),(l)) macro
|
| H A D | xxhash.c | 85 static void* XXH_memcpy(void* dest, const void* src, size_t size) { return ZSTD_memcpy(dest,src,siz… in XXH_memcpy() 128 ZSTD_memcpy(&val, memPtr, sizeof(val)); in XXH_read32() 135 ZSTD_memcpy(&val, memPtr, sizeof(val)); in XXH_read64() 272 ZSTD_memcpy(dstState, srcState, sizeof(*dstState)); in XXH32_copyState() 277 ZSTD_memcpy(dstState, srcState, sizeof(*dstState)); in XXH64_copyState() 524 ZSTD_memcpy(statePtr, &state, sizeof(state)); in XXH32_reset() 537 ZSTD_memcpy(statePtr, &state, sizeof(state)); in XXH64_reset() 808 ZSTD_memcpy(dst, &hash, sizeof(*dst)); in XXH32_canonicalFromHash() 815 ZSTD_memcpy(dst, &hash, sizeof(*dst)); in XXH64_canonicalFromHash()
|
| H A D | zstd_internal.h | 248 ZSTD_memcpy(dst, src, 8); in ZSTD_copy8() 257 ZSTD_memcpy(dst, src, 16); in ZSTD_copy16() 324 ZSTD_memcpy(dst, src, length); in ZSTD_limitCopy()
|
| H A D | pool.c | 215 ZSTD_memcpy(threadPool, ctx->threads, ctx->threadCapacity * sizeof(*threadPool)); in POOL_resize_internal()
|
| H A D | entropy_common.c | 82 ZSTD_memcpy(buffer, headerBuffer, hbSize); in FSE_readNCount_body()
|
| H A D | fse_decompress.c | 101 ZSTD_memcpy(dt, &DTableH, sizeof(DTableH)); in FSE_buildDTable_internal()
|
| /f-stack/freebsd/contrib/zstd/lib/decompress/ |
| H A D | zstd_ddict.c | 134 ZSTD_memcpy(internalBuffer, dict, dictSize); in ZSTD_initDDict_internal() 201 ZSTD_memcpy(ddict+1, dict, dictSize); /* local copy */ in ZSTD_initStaticDDict()
|
| H A 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() 537 ZSTD_memcpy(rankVal, rankValOrigin, sizeof(rankVal)); in HUF_fillDTableX2Level2() 579 ZSTD_memcpy(rankVal, rankValOrigin, sizeof(rankVal)); in HUF_fillDTableX2() 707 ZSTD_memcpy(DTable, &dtd, sizeof(dtd)); in HUF_readDTableX2_wksp() 716 ZSTD_memcpy(op, dt+val, 2); in HUF_decodeSymbolX2() 725 ZSTD_memcpy(op, dt+val, 1); in HUF_decodeLastSymbolX2() 1112 …if (cSrcSize == dstSize) { ZSTD_memcpy(dst, cSrc, dstSize); return dstSize; } /* not compressed … in HUF_decompress1X_DCtx_wksp() 1294 …if (cSrcSize == dstSize) { ZSTD_memcpy(dst, cSrc, dstSize); return dstSize; } /* not compressed … in HUF_decompress() 1317 …if (cSrcSize == dstSize) { ZSTD_memcpy(dst, cSrc, dstSize); return dstSize; } /* not compressed … in HUF_decompress4X_DCtx()
|
| H A D | zstd_decompress.c | 190 ZSTD_memcpy(dstDCtx, srcDCtx, toCopy); /* no need to copy workspace */ in ZSTD_copyDCtx() 596 ZSTD_memcpy(dst, src, srcSize); in ZSTD_copyRawBlock() 911 ZSTD_memcpy(dctx->headerBuffer, src, srcSize); in ZSTD_decompressContinue() 918 ZSTD_memcpy(dctx->headerBuffer, src, srcSize); in ZSTD_decompressContinue() 925 ZSTD_memcpy(dctx->headerBuffer + (dctx->headerSize - srcSize), src, srcSize); in ZSTD_decompressContinue() 1034 …ZSTD_memcpy(dctx->headerBuffer + (ZSTD_SKIPPABLEHEADERSIZE - srcSize), src, srcSize); /* complet… in ZSTD_decompressContinue() 1191 ZSTD_memcpy(dctx->entropy.rep, repStartValue, sizeof(repStartValue)); /* initial repcodes */ in ZSTD_decompressBegin() 1711 ZSTD_memcpy(zds->headerBuffer + zds->lhSize, ip, remainingInput); in ZSTD_decompressStream() 1718 … ZSTD_memcpy(zds->headerBuffer + zds->lhSize, ip, toLoad); zds->lhSize = hSize; ip += toLoad; in ZSTD_decompressStream()
|
| H A 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()
|