/external/zstd/lib/common/ |
D | mem.h | 225 U16 val; ZSTD_memcpy(&val, memPtr, sizeof(val)); return val; in MEM_read16() 230 U32 val; ZSTD_memcpy(&val, memPtr, sizeof(val)); return val; in MEM_read32() 235 U64 val; ZSTD_memcpy(&val, memPtr, sizeof(val)); return val; in MEM_read64() 240 size_t val; ZSTD_memcpy(&val, memPtr, sizeof(val)); return val; in MEM_readST() 245 ZSTD_memcpy(memPtr, &value, sizeof(value)); in MEM_write16() 250 ZSTD_memcpy(memPtr, &value, sizeof(value)); in MEM_write32() 255 ZSTD_memcpy(memPtr, &value, sizeof(value)); in MEM_write64()
|
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
|
D | zstd_internal.h | 176 ZSTD_memcpy(dst, src, 8); in ZSTD_copy8() 195 ZSTD_memcpy(copy16_buf, src, 16); in ZSTD_copy16() 196 ZSTD_memcpy(dst, copy16_buf, 16); in ZSTD_copy16() 261 ZSTD_memcpy(dst, src, length); in ZSTD_limitCopy()
|
D | pool.c | 217 ZSTD_memcpy(threadPool, ctx->threads, ctx->threadCapacity * sizeof(*threadPool)); in POOL_resize_internal()
|
D | entropy_common.c | 88 ZSTD_memcpy(buffer, headerBuffer, hbSize); in FSE_readNCount_body()
|
D | fse_decompress.c | 101 ZSTD_memcpy(dt, &DTableH, sizeof(DTableH)); in FSE_buildDTable_internal()
|
D | xxhash.h | 1457 static void* XXH_memcpy(void* dest, const void* src, size_t size) { return ZSTD_memcpy(dest,src,siz… in XXH_memcpy()
|
/external/zstd/lib/compress/ |
D | zstd_compress_literals.c | 38 ZSTD_memcpy(ostart + flSize, src, srcSize); in ZSTD_noCompressLiterals() 90 ZSTD_memcpy(nextHuf, prevHuf, sizeof(*prevHuf)); in ZSTD_compressLiterals() 122 ZSTD_memcpy(nextHuf, prevHuf, sizeof(*prevHuf)); in ZSTD_compressLiterals() 126 ZSTD_memcpy(nextHuf, prevHuf, sizeof(*prevHuf)); in ZSTD_compressLiterals()
|
D | zstd_compress_superblock.c | 73 ZSTD_memcpy(op, hufMetadata->hufDesBuffer, hufMetadata->hufDesSize); in ZSTD_compressSubBlock_literal() 200 ZSTD_memcpy(op, fseMetadata->fseTablesBuffer, fseMetadata->fseTablesSize); in ZSTD_compressSubBlock_sequences() 521 … ZSTD_memcpy(&nextCBlock->entropy.huf, &prevCBlock->entropy.huf, sizeof(prevCBlock->entropy.huf)); in ZSTD_compressSubBlock_multi() 540 ZSTD_memcpy(&rep, prevCBlock->rep, sizeof(rep)); in ZSTD_compressSubBlock_multi() 544 ZSTD_memcpy(nextCBlock->rep, &rep, sizeof(rep)); in ZSTD_compressSubBlock_multi()
|
D | zstd_opt.c | 207 ZSTD_memcpy(optPtr->litLengthFreq, baseLLfreqs, sizeof(baseLLfreqs)); in ZSTD_rescaleFreqs() 223 ZSTD_memcpy(optPtr->offCodeFreq, baseOFCfreqs, sizeof(baseOFCfreqs)); in ZSTD_rescaleFreqs() 1179 ZSTD_memcpy(opt[cur].rep, &newReps, sizeof(repcodes_t)); in ZSTD_compressBlock_opt_generic() 1181 ZSTD_memcpy(opt[cur].rep, opt[cur - 1].rep, sizeof(repcodes_t)); in ZSTD_compressBlock_opt_generic() 1269 ZSTD_memcpy(rep, &reps, sizeof(reps)); in ZSTD_compressBlock_opt_generic() 1271 ZSTD_memcpy(rep, opt[cur].rep, sizeof(repcodes_t)); in ZSTD_compressBlock_opt_generic() 1361 ZSTD_memcpy(tmpRep, rep, sizeof(tmpRep)); in ZSTD_initStats_ultra()
|
D | zstd_compress.c | 1149 ZSTD_memcpy(dictBuffer, dict, dictSize); in ZSTD_CCtx_loadDictionary_advanced() 2096 ZSTD_memcpy(cctx->blockState.prevCBlock, &cdict->cBlockState, sizeof(cdict->cBlockState)); in ZSTD_resetCCtx_byAttachingCDict() 2136 ZSTD_memcpy(cctx->blockState.matchState.hashTable, in ZSTD_resetCCtx_byCopyingCDict() 2141 ZSTD_memcpy(cctx->blockState.matchState.chainTable, in ZSTD_resetCCtx_byCopyingCDict() 2148 ZSTD_memcpy(cctx->blockState.matchState.tagTable, in ZSTD_resetCCtx_byCopyingCDict() 2175 ZSTD_memcpy(cctx->blockState.prevCBlock, &cdict->cBlockState, sizeof(cdict->cBlockState)); in ZSTD_resetCCtx_byCopyingCDict() 2218 ZSTD_memcpy(&dstCCtx->customMem, &srcCCtx->customMem, sizeof(ZSTD_customMem)); in ZSTD_copyCCtx_internal() 2251 ZSTD_memcpy(dstCCtx->blockState.matchState.hashTable, in ZSTD_copyCCtx_internal() 2254 ZSTD_memcpy(dstCCtx->blockState.matchState.chainTable, in ZSTD_copyCCtx_internal() 2257 ZSTD_memcpy(dstCCtx->blockState.matchState.hashTable3, in ZSTD_copyCCtx_internal() [all …]
|
D | zstd_compress_sequences.c | 262 ZSTD_memcpy(nextCTable, prevCTable, prevCTableSize); in ZSTD_buildCTable()
|
D | zstd_compress_internal.h | 521 ZSTD_memcpy((BYTE*)dst + ZSTD_blockHeaderSize, src, srcSize); in ZSTD_noCompressBlock() 691 ZSTD_memcpy(&newReps, rep, sizeof(newReps)); in ZSTD_newRep()
|
D | zstdmt_compress.c | 235 ZSTD_memcpy(newBuffer.start, buffer.start, buffer.capacity); in ZSTDMT_resizeBuffer() 1490 ZSTD_memcpy((char*)output->dst + output->pos, in ZSTDMT_flushProduced() 1827 …ZSTD_memcpy((char*)mtctx->inBuff.buffer.start + mtctx->inBuff.filled, (const char*)input->src + in… in ZSTDMT_compressStream_generic()
|
D | huf_compress.c | 1277 ZSTD_memcpy(oldHufTable, table->CTable, sizeof(table->CTable)); /* Save new table */ in HUF_compress_internal()
|
/external/zstd/lib/decompress/ |
D | huf_decompress.c | 137 ZSTD_memcpy(&dtd, table, sizeof(dtd)); in HUF_getDTableDesc() 369 ZSTD_memcpy(DTable, &dtd, sizeof(dtd)); in HUF_readDTableX1_wksp_bmi2() 851 ZSTD_memcpy(&DElt, &val, sizeof(val)); in HUF_buildDEltX2() 903 ZSTD_memcpy(DTableRank + 0, &DEltX2, sizeof(DEltX2)); in HUF_fillDTableX2ForWeight() 904 ZSTD_memcpy(DTableRank + 2, &DEltX2, sizeof(DEltX2)); in HUF_fillDTableX2ForWeight() 911 ZSTD_memcpy(DTableRank + 0, &DEltX2, sizeof(DEltX2)); in HUF_fillDTableX2ForWeight() 912 ZSTD_memcpy(DTableRank + 2, &DEltX2, sizeof(DEltX2)); in HUF_fillDTableX2ForWeight() 913 ZSTD_memcpy(DTableRank + 4, &DEltX2, sizeof(DEltX2)); in HUF_fillDTableX2ForWeight() 914 ZSTD_memcpy(DTableRank + 6, &DEltX2, sizeof(DEltX2)); in HUF_fillDTableX2ForWeight() 923 ZSTD_memcpy(DTableRank + 0, &DEltX2, sizeof(DEltX2)); in HUF_fillDTableX2ForWeight() [all …]
|
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()
|
D | zstd_decompress.c | 344 ZSTD_memcpy(dstDCtx, srcDCtx, toCopy); /* no need to copy workspace */ in ZSTD_copyDCtx() 598 ZSTD_memcpy(dst, (const BYTE *)src + ZSTD_SKIPPABLEHEADERSIZE, skippableContentSize); in ZSTD_readSkippableFrame() 828 ZSTD_memcpy(dst, src, srcSize); in ZSTD_copyRawBlock() 1175 ZSTD_memcpy(dctx->headerBuffer, src, srcSize); in ZSTD_decompressContinue() 1182 ZSTD_memcpy(dctx->headerBuffer, src, srcSize); in ZSTD_decompressContinue() 1189 ZSTD_memcpy(dctx->headerBuffer + (dctx->headerSize - srcSize), src, srcSize); in ZSTD_decompressContinue() 1300 …ZSTD_memcpy(dctx->headerBuffer + (ZSTD_SKIPPABLEHEADERSIZE - srcSize), src, srcSize); /* complet… in ZSTD_decompressContinue() 1461 ZSTD_memcpy(dctx->entropy.rep, repStartValue, sizeof(repStartValue)); /* initial repcodes */ in ZSTD_decompressBegin() 2011 ZSTD_memcpy(zds->headerBuffer + zds->lhSize, ip, remainingInput); in ZSTD_decompressStream() 2018 … 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() 209 …ZSTD_memcpy(dctx->litExtraBuffer, dctx->litBufferEnd - ZSTD_LITBUFFEREXTRASIZE, ZSTD_LITBUFFEREXTR… in ZSTD_decodeLiteralsBlock() 251 … ZSTD_memcpy(dctx->litBuffer, istart + lhSize, litSize - ZSTD_LITBUFFEREXTRASIZE); in ZSTD_decodeLiteralsBlock() 252 …ZSTD_memcpy(dctx->litExtraBuffer, istart + lhSize + litSize - ZSTD_LITBUFFEREXTRASIZE, ZSTD_LITBUF… in ZSTD_decodeLiteralsBlock() 256 ZSTD_memcpy(dctx->litBuffer, istart + lhSize, litSize); in ZSTD_decodeLiteralsBlock() 478 ZSTD_memcpy(dt, &DTableH, sizeof(DTableH)); in ZSTD_buildFSETable_body() 1529 ZSTD_memcpy(op, litPtr, lastLLSize); 1618 ZSTD_memcpy(op, litPtr, lastLLSize);
|
/external/zstd/contrib/linux-kernel/ |
D | zstd_deps.h | 32 #define ZSTD_memcpy(d,s,n) __builtin_memcpy((d),(s),(n)) macro
|
/external/zstd/tests/fuzz/ |
D | sequence_compression_api.c | 90 ZSTD_memcpy(op, litPtr, generatedSequences[i].litLength); in decodeSequences() 123 ZSTD_memcpy(op, litPtr, lastLLSize); in decodeSequences()
|
/external/zstd/tests/ |
D | fuzzer.c | 2647 ZSTD_memcpy(dictBufferMulti, dictBufferFixed, dictBufferFixedSize); in basicUnitTests()
|