Home
last modified time | relevance | path

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

/lib/zstd/decompress/
A Dhuf_decompress.c143 ZSTD_memcpy(&dtd, table, sizeof(dtd)); in HUF_getDTableDesc()
409 ZSTD_memcpy(DTable, &dtd, sizeof(dtd)); in HUF_readDTableX1_wksp()
728 ZSTD_memcpy(&bits, &args->bits, sizeof(bits)); in HUF_decompress4X1_usingDTable_internal_fast_c_loop()
730 ZSTD_memcpy(&op, &args->op, sizeof(op)); in HUF_decompress4X1_usingDTable_internal_fast_c_loop()
827 ZSTD_memcpy(&args->op, &op, sizeof(op)); in HUF_decompress4X1_usingDTable_internal_fast_c_loop()
982 ZSTD_memcpy(&DElt, &val, sizeof(val)); in HUF_buildDEltX2()
1257 ZSTD_memcpy(DTable, &dtd, sizeof(dtd)); in HUF_readDTableX2_wksp()
1266 ZSTD_memcpy(op, &dt[val].sequence, 2); in HUF_decodeSymbolX2()
1275 ZSTD_memcpy(op, &dt[val].sequence, 1); in HUF_decodeLastSymbolX2()
1533 ZSTD_memcpy(&op, &args->op, sizeof(op)); in HUF_decompress4X2_usingDTable_internal_fast_c_loop()
[all …]
A Dzstd_ddict.c132 ZSTD_memcpy(internalBuffer, dict, dictSize); in ZSTD_initDDict_internal()
199 ZSTD_memcpy(ddict+1, dict, dictSize); /* local copy */ in ZSTD_initStaticDDict()
A Dzstd_decompress.c336 ZSTD_memcpy(dstDCtx, srcDCtx, toCopy); /* no need to copy workspace */ in ZSTD_copyDCtx()
451 ZSTD_memcpy(hbuf, src, toCopy); in ZSTD_getFrameHeader_advanced()
455 ZSTD_memcpy(hbuf, src, toCopy); in ZSTD_getFrameHeader_advanced()
609 ZSTD_memcpy(dst, (const BYTE *)src + ZSTD_SKIPPABLEHEADERSIZE, skippableContentSize); in ZSTD_readSkippableFrame()
1217 ZSTD_memcpy(dctx->headerBuffer, src, srcSize); in ZSTD_decompressContinue()
1224 ZSTD_memcpy(dctx->headerBuffer, src, srcSize); in ZSTD_decompressContinue()
1231 ZSTD_memcpy(dctx->headerBuffer + (dctx->headerSize - srcSize), src, srcSize); in ZSTD_decompressContinue()
1344ZSTD_memcpy(dctx->headerBuffer + (ZSTD_SKIPPABLEHEADERSIZE - srcSize), src, srcSize); /* complet… in ZSTD_decompressContinue()
1503 ZSTD_memcpy(dctx->entropy.rep, repStartValue, sizeof(repStartValue)); /* initial repcodes */ in ZSTD_decompressBegin()
2062 ZSTD_memcpy(zds->headerBuffer + zds->lhSize, ip, remainingInput); in ZSTD_decompressStream()
[all …]
A Dzstd_decompress_block.c48 static void ZSTD_copy4(void* dst, const void* src) { ZSTD_memcpy(dst, src, 4); } in ZSTD_copy4()
235ZSTD_memcpy(dctx->litExtraBuffer, dctx->litBufferEnd - ZSTD_LITBUFFEREXTRASIZE, ZSTD_LITBUFFEREXTR… in ZSTD_decodeLiteralsBlock()
280ZSTD_memcpy(dctx->litBuffer, istart + lhSize, litSize - ZSTD_LITBUFFEREXTRASIZE); in ZSTD_decodeLiteralsBlock()
281ZSTD_memcpy(dctx->litExtraBuffer, istart + lhSize + litSize - ZSTD_LITBUFFEREXTRASIZE, ZSTD_LITBUF… in ZSTD_decodeLiteralsBlock()
285 ZSTD_memcpy(dctx->litBuffer, istart + lhSize, litSize); in ZSTD_decodeLiteralsBlock()
520 ZSTD_memcpy(dt, &DTableH, sizeof(DTableH)); in ZSTD_buildFSETable_body()
1246 ZSTD_memcpy(llDInfo, seqState->stateLL.table + seqState->stateLL.state, sizeof(ZSTD_seqSymbol)); in ZSTD_decodeSequence()
1247 ZSTD_memcpy(mlDInfo, seqState->stateML.table + seqState->stateML.state, sizeof(ZSTD_seqSymbol)); in ZSTD_decodeSequence()
1248ZSTD_memcpy(ofDInfo, seqState->stateOffb.table + seqState->stateOffb.state, sizeof(ZSTD_seqSymbol)… in ZSTD_decodeSequence()
1606 ZSTD_memcpy(op, litPtr, lastLLSize); in ZSTD_decompressSequences_bodySplitLitBuffer()
[all …]
/lib/zstd/common/
A Dzstd_internal.h168 ZSTD_memcpy(dst, src, 8); in ZSTD_copy8()
187 ZSTD_memcpy(copy16_buf, src, 16); in ZSTD_copy16()
188 ZSTD_memcpy(dst, copy16_buf, 16); in ZSTD_copy16()
246 ZSTD_memcpy(dst, src, length); in ZSTD_limitCopy()
A Dzstd_deps.h32 #define ZSTD_memcpy(d,s,n) __builtin_memcpy((d),(s),(n)) macro
A Dentropy_common.c61 ZSTD_memcpy(buffer, headerBuffer, hbSize); in FSE_readNCount_body()
A Dfse_decompress.c89 ZSTD_memcpy(dt, &DTableH, sizeof(DTableH)); in FSE_buildDTable_internal()
/lib/zstd/compress/
A Dzstd_compress_literals.c64 ZSTD_memcpy(ostart + flSize, src, srcSize); in ZSTD_noCompressLiterals()
153 ZSTD_memcpy(nextHuf, prevHuf, sizeof(*prevHuf)); in ZSTD_compressLiterals()
190 ZSTD_memcpy(nextHuf, prevHuf, sizeof(*prevHuf)); in ZSTD_compressLiterals()
200 ZSTD_memcpy(nextHuf, prevHuf, sizeof(*prevHuf)); in ZSTD_compressLiterals()
A Dzstd_compress_superblock.c73 ZSTD_memcpy(op, hufMetadata->hufDesBuffer, hufMetadata->hufDesSize); in ZSTD_compressSubBlock_literal()
205 ZSTD_memcpy(op, fseMetadata->fseTablesBuffer, fseMetadata->fseTablesSize); in ZSTD_compressSubBlock_sequences()
631ZSTD_memcpy(&nextCBlock->entropy.huf, &prevCBlock->entropy.huf, sizeof(prevCBlock->entropy.huf)); in ZSTD_compressSubBlock_multi()
653 ZSTD_memcpy(&rep, prevCBlock->rep, sizeof(rep)); in ZSTD_compressSubBlock_multi()
657 ZSTD_memcpy(nextCBlock->rep, &rep, sizeof(rep)); in ZSTD_compressSubBlock_multi()
A Dzstd_opt.c230 ZSTD_memcpy(optPtr->litLengthFreq, baseLLfreqs, sizeof(baseLLfreqs)); in ZSTD_rescaleFreqs()
246 ZSTD_memcpy(optPtr->offCodeFreq, baseOFCfreqs, sizeof(baseOFCfreqs)); in ZSTD_rescaleFreqs()
1153 ZSTD_memcpy(&opt[0].rep, rep, sizeof(opt[0].rep)); in ZSTD_compressBlock_opt_generic()
1240 ZSTD_memcpy(opt[cur+1].rep, &newReps, sizeof(Repcodes_t)); in ZSTD_compressBlock_opt_generic()
1261 ZSTD_memcpy(opt[cur].rep, &newReps, sizeof(Repcodes_t)); in ZSTD_compressBlock_opt_generic()
1362 ZSTD_memcpy(rep, &reps, sizeof(Repcodes_t)); in ZSTD_compressBlock_opt_generic()
1364 ZSTD_memcpy(rep, lastStretch.rep, sizeof(Repcodes_t)); in ZSTD_compressBlock_opt_generic()
1491 ZSTD_memcpy(tmpRep, rep, sizeof(tmpRep)); in ZSTD_initStats_ultra()
A Dzstd_compress.c1241 ZSTD_memcpy(dictBuffer, dict, dictSize); in ZSTD_CCtx_loadDictionary_advanced()
2324 ZSTD_memcpy(dst, src, tableSize * sizeof(U32)); in ZSTD_copyCDictTableIntoCCtx()
2376 ZSTD_memcpy(cctx->blockState.matchState.tagTable, in ZSTD_resetCCtx_byCopyingCDict()
2482 ZSTD_memcpy(dstCCtx->blockState.matchState.hashTable, in ZSTD_copyCCtx_internal()
2485 ZSTD_memcpy(dstCCtx->blockState.matchState.chainTable, in ZSTD_copyCCtx_internal()
3071 ZSTD_memcpy(seqStorePtr->lit, anchor, lastLLSize); in ZSTD_storeLastLiterals()
3364 ZSTD_memcpy(&repcodes, prevRepcodes, sizeof(repcodes)); in ZSTD_copyBlockSequences()
3568 ZSTD_memcpy(nextHuf, prevHuf, sizeof(*prevHuf)); in ZSTD_buildBlockEntropyStats_literals()
3641 ZSTD_memcpy(nextHuf, prevHuf, sizeof(*prevHuf)); in ZSTD_buildBlockEntropyStats_literals()
4675 ZSTD_memcpy(op+8, src, srcSize); in ZSTD_writeSkippableFrame()
[all …]
A Dhuf_compress.c224 ZSTD_memcpy(&header, ctable, sizeof(header)); in HUF_readCTableHeader()
237 ZSTD_memcpy(ctable, &header, sizeof(header)); in HUF_writeCTableHeader()
1427 ZSTD_memcpy(oldHufTable, table->CTable, sizeof(table->CTable)); /* Save new table */ in HUF_compress_internal()
A Dzstd_compress_sequences.c263 ZSTD_memcpy(nextCTable, prevCTable, prevCTableSize); in ZSTD_buildCTable()
A Dzstd_compress_internal.h649 ZSTD_memcpy((BYTE*)dst + ZSTD_blockHeaderSize, src, srcSize); in ZSTD_noCompressBlock()
837 ZSTD_memcpy(&newReps, rep, sizeof(newReps)); in ZSTD_newRep()

Completed in 79 milliseconds