HomeSort by: relevance | last modified time | path
    Searched refs:lastLLSize (Results 1 - 11 of 11) sorted by relevancy

  /src/external/bsd/zstd/dist/tests/fuzz/
sequence_compression_api.c 130 const uint32_t lastLLSize = (uint32_t)(litEnd - litPtr);
131 if (lastLLSize <= (uint32_t)(oend - op)) {
132 memcpy(op, litPtr, lastLLSize);
133 generatedSrcBufferSize += lastLLSize;
  /src/external/bsd/zstd/dist/lib/decompress/
zstd_decompress_block.c 1589 size_t const lastLLSize = (size_t)(litBufferEnd - litPtr);
1590 DEBUGLOG(6, "copy last literals from segment : %u", (U32)lastLLSize);
1591 RETURN_ERROR_IF(lastLLSize > (size_t)(oend - op), dstSize_tooSmall, "");
1593 ZSTD_memmove(op, litPtr, lastLLSize);
1594 op += lastLLSize;
1601 { size_t const lastLLSize = (size_t)(litBufferEnd - litPtr);
1602 DEBUGLOG(6, "copy last literals from internal buffer : %u", (U32)lastLLSize);
1603 RETURN_ERROR_IF(lastLLSize > (size_t)(oend-op), dstSize_tooSmall, "");
1605 ZSTD_memcpy(op, litPtr, lastLLSize);
1606 op += lastLLSize;
    [all...]
  /src/external/bsd/zstd/dist/lib/compress/
zstd_ldm.c 699 size_t lastLLSize;
701 lastLLSize = blockCompressor(ms, seqStore, rep, src, srcSize);
703 return lastLLSize;
zstd_compress.c 3155 const BYTE* anchor, size_t lastLLSize)
3157 ZSTD_memcpy(seqStorePtr->lit, anchor, lastLLSize);
3158 seqStorePtr->lit += lastLLSize;
3302 size_t lastLLSize;
3319 lastLLSize =
3344 lastLLSize =
3412 lastLLSize = blockCompressor(ms, &zc->seqStore, zc->blockState.nextCBlock->rep, src, srcSize);
3420 lastLLSize = blockCompressor(ms, &zc->seqStore, zc->blockState.nextCBlock->rep, src, srcSize);
3422 { const BYTE* const lastLiterals = (const BYTE*)src + srcSize - lastLLSize;
3423 ZSTD_storeLastLiterals(&zc->seqStore, lastLiterals, lastLLSize);
    [all...]
  /src/external/bsd/zstd/dist/lib/legacy/
zstd_v01.c 1874 size_t lastLLSize = litEnd - litPtr;
1875 if (op+lastLLSize > oend) return ERROR(dstSize_tooSmall);
1876 if (lastLLSize > 0) {
1877 if (op != litPtr) memmove(op, litPtr, lastLLSize);
1878 op += lastLLSize;
zstd_v03.c 2816 size_t lastLLSize = litEnd - litPtr;
2818 if (op+lastLLSize > oend) return ERROR(dstSize_tooSmall);
2819 if (lastLLSize > 0) {
2820 if (op != litPtr) memmove(op, litPtr, lastLLSize);
2821 op += lastLLSize;
zstd_v04.c 2960 size_t lastLLSize = litEnd - litPtr;
2962 if (op+lastLLSize > oend) return ERROR(dstSize_tooSmall);
2963 if (lastLLSize > 0) {
2964 if (op != litPtr) memcpy(op, litPtr, lastLLSize);
2965 op += lastLLSize;
zstd_v02.c 3177 size_t lastLLSize = litEnd - litPtr;
3179 if (op+lastLLSize > oend) return ERROR(dstSize_tooSmall);
3180 if (lastLLSize > 0) {
3181 if (op != litPtr) memmove(op, litPtr, lastLLSize);
3182 op += lastLLSize;
zstd_v05.c 3316 size_t lastLLSize = litEnd - litPtr;
3318 if (op+lastLLSize > oend) return ERROR(dstSize_tooSmall);
3319 if (lastLLSize > 0) {
3320 memcpy(op, litPtr, lastLLSize);
3321 op += lastLLSize;
zstd_v06.c 3451 { size_t const lastLLSize = litEnd - litPtr;
3453 if (op+lastLLSize > oend) return ERROR(dstSize_tooSmall);
3454 if (lastLLSize > 0) {
3455 memcpy(op, litPtr, lastLLSize);
3456 op += lastLLSize;
zstd_v07.c 3664 { size_t const lastLLSize = litEnd - litPtr;
3666 if (lastLLSize > (size_t)(oend-op)) return ERROR(dstSize_tooSmall);
3667 if (lastLLSize > 0) {
3668 memcpy(op, litPtr, lastLLSize);
3669 op += lastLLSize;

Completed in 77 milliseconds