Lines Matching refs:lz4sd
567 LZ4_streamDecode_t_internal *lz4sd = in LZ4_setStreamDecode() local
570 lz4sd->prefixSize = (size_t) dictSize; in LZ4_setStreamDecode()
571 lz4sd->prefixEnd = (const BYTE *) dictionary + dictSize; in LZ4_setStreamDecode()
572 lz4sd->externalDict = NULL; in LZ4_setStreamDecode()
573 lz4sd->extDictSize = 0; in LZ4_setStreamDecode()
590 LZ4_streamDecode_t_internal *lz4sd = in LZ4_decompress_safe_continue() local
594 if (lz4sd->prefixSize == 0) { in LZ4_decompress_safe_continue()
596 assert(lz4sd->extDictSize == 0); in LZ4_decompress_safe_continue()
601 lz4sd->prefixSize = result; in LZ4_decompress_safe_continue()
602 lz4sd->prefixEnd = (BYTE *)dest + result; in LZ4_decompress_safe_continue()
603 } else if (lz4sd->prefixEnd == (BYTE *)dest) { in LZ4_decompress_safe_continue()
605 if (lz4sd->prefixSize >= 64 * KB - 1) in LZ4_decompress_safe_continue()
608 else if (lz4sd->extDictSize == 0) in LZ4_decompress_safe_continue()
611 lz4sd->prefixSize); in LZ4_decompress_safe_continue()
615 lz4sd->prefixSize, in LZ4_decompress_safe_continue()
616 lz4sd->externalDict, lz4sd->extDictSize); in LZ4_decompress_safe_continue()
619 lz4sd->prefixSize += result; in LZ4_decompress_safe_continue()
620 lz4sd->prefixEnd += result; in LZ4_decompress_safe_continue()
626 lz4sd->extDictSize = lz4sd->prefixSize; in LZ4_decompress_safe_continue()
627 lz4sd->externalDict = lz4sd->prefixEnd - lz4sd->extDictSize; in LZ4_decompress_safe_continue()
630 lz4sd->externalDict, lz4sd->extDictSize); in LZ4_decompress_safe_continue()
633 lz4sd->prefixSize = result; in LZ4_decompress_safe_continue()
634 lz4sd->prefixEnd = (BYTE *)dest + result; in LZ4_decompress_safe_continue()
643 LZ4_streamDecode_t_internal *lz4sd = &LZ4_streamDecode->internal_donotuse; in LZ4_decompress_fast_continue() local
646 if (lz4sd->prefixSize == 0) { in LZ4_decompress_fast_continue()
647 assert(lz4sd->extDictSize == 0); in LZ4_decompress_fast_continue()
651 lz4sd->prefixSize = originalSize; in LZ4_decompress_fast_continue()
652 lz4sd->prefixEnd = (BYTE *)dest + originalSize; in LZ4_decompress_fast_continue()
653 } else if (lz4sd->prefixEnd == (BYTE *)dest) { in LZ4_decompress_fast_continue()
654 if (lz4sd->prefixSize >= 64 * KB - 1 || in LZ4_decompress_fast_continue()
655 lz4sd->extDictSize == 0) in LZ4_decompress_fast_continue()
660 originalSize, lz4sd->prefixSize, in LZ4_decompress_fast_continue()
661 lz4sd->externalDict, lz4sd->extDictSize); in LZ4_decompress_fast_continue()
664 lz4sd->prefixSize += originalSize; in LZ4_decompress_fast_continue()
665 lz4sd->prefixEnd += originalSize; in LZ4_decompress_fast_continue()
667 lz4sd->extDictSize = lz4sd->prefixSize; in LZ4_decompress_fast_continue()
668 lz4sd->externalDict = lz4sd->prefixEnd - lz4sd->extDictSize; in LZ4_decompress_fast_continue()
670 originalSize, lz4sd->externalDict, lz4sd->extDictSize); in LZ4_decompress_fast_continue()
673 lz4sd->prefixSize = originalSize; in LZ4_decompress_fast_continue()
674 lz4sd->prefixEnd = (BYTE *)dest + originalSize; in LZ4_decompress_fast_continue()