Home
last modified time | relevance | path

Searched refs:dstPtr (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dlz4.c354 void LZ4_wildCopy8(void* dstPtr, const void* srcPtr, void* dstEnd) in LZ4_wildCopy8() argument
356 BYTE* d = (BYTE*)dstPtr; in LZ4_wildCopy8()
383 LZ4_memcpy_using_offset_base(BYTE* dstPtr, const BYTE* srcPtr, BYTE* dstEnd, const size_t offset) in LZ4_memcpy_using_offset_base() argument
385 assert(srcPtr + offset == dstPtr); in LZ4_memcpy_using_offset_base()
387 LZ4_write32(dstPtr, 0); /* silence an msan warning when offset==0 */ in LZ4_memcpy_using_offset_base()
388 dstPtr[0] = srcPtr[0]; in LZ4_memcpy_using_offset_base()
389 dstPtr[1] = srcPtr[1]; in LZ4_memcpy_using_offset_base()
390 dstPtr[2] = srcPtr[2]; in LZ4_memcpy_using_offset_base()
391 dstPtr[3] = srcPtr[3]; in LZ4_memcpy_using_offset_base()
393 LZ4_memcpy(dstPtr+4, srcPtr, 4); in LZ4_memcpy_using_offset_base()
[all …]
/freebsd/sys/contrib/zstd/lib/dictBuilder/
H A Dzdict.c756 BYTE* dstPtr = (BYTE*)dstBuffer; in ZDICT_analyzeEntropy() local
847 { size_t const hhSize = HUF_writeCTable(dstPtr, maxDstSize, hufTable, 255, huffLog); in ZDICT_analyzeEntropy()
853 dstPtr += hhSize; in ZDICT_analyzeEntropy()
858 … { size_t const ohSize = FSE_writeNCount(dstPtr, maxDstSize, offcodeNCount, OFFCODE_MAX, Offlog); in ZDICT_analyzeEntropy()
864 dstPtr += ohSize; in ZDICT_analyzeEntropy()
869 { size_t const mhSize = FSE_writeNCount(dstPtr, maxDstSize, matchLengthNCount, MaxML, mlLog); in ZDICT_analyzeEntropy()
875 dstPtr += mhSize; in ZDICT_analyzeEntropy()
880 { size_t const lhSize = FSE_writeNCount(dstPtr, maxDstSize, litLengthNCount, MaxLL, llLog); in ZDICT_analyzeEntropy()
886 dstPtr += lhSize; in ZDICT_analyzeEntropy()
897 MEM_writeLE32(dstPtr+0, bestRepOffset[0].offset); in ZDICT_analyzeEntropy()
[all …]