Lines Matching refs:tmpOutBuffer
141 BYTE* tmpOutBuffer; member
727 FREEMEM(dctxPtr->tmpOutBuffer); in LZ4F_freeDecompressionContext()
787 FREEMEM(dctxPtr->tmpOutBuffer); in LZ4F_decodeHeader()
791 dctxPtr->tmpOutBuffer= ALLOCATOR(dctxPtr->maxBufferSize); in LZ4F_decodeHeader()
792 if (dctxPtr->tmpOutBuffer== NULL) return (size_t)-ERROR_GENERIC; in LZ4F_decodeHeader()
796 dctxPtr->dict = dctxPtr->tmpOutBuffer; in LZ4F_decodeHeader()
798 dctxPtr->tmpOut = dctxPtr->tmpOutBuffer; in LZ4F_decodeHeader()
874 if ((withinTmp) && (dctxPtr->dict == dctxPtr->tmpOutBuffer)) in LZ4F_updateDict()
884 size_t savedDictSize = dctxPtr->tmpOut - dctxPtr->tmpOutBuffer; in LZ4F_updateDict()
885 …memcpy(dctxPtr->tmpOutBuffer, dctxPtr->dict + dctxPtr->dictSize - dctxPtr->tmpOutStart- savedDictS… in LZ4F_updateDict()
886 dctxPtr->dict = dctxPtr->tmpOutBuffer; in LZ4F_updateDict()
892 size_t preserveSize = dctxPtr->tmpOut - dctxPtr->tmpOutBuffer; in LZ4F_updateDict()
898 memcpy(dctxPtr->tmpOutBuffer + preserveSize - copySize, oldDictEnd - copySize, copySize); in LZ4F_updateDict()
900 dctxPtr->dict = dctxPtr->tmpOutBuffer; in LZ4F_updateDict()
906 if (dctxPtr->dict == dctxPtr->tmpOutBuffer) /* copy dst into tmp to complete dict */ in LZ4F_updateDict()
923 … memcpy(dctxPtr->tmpOutBuffer, dctxPtr->dict + dctxPtr->dictSize - preserveSize, preserveSize); in LZ4F_updateDict()
924 memcpy(dctxPtr->tmpOutBuffer + preserveSize, dstPtr, dstSize); in LZ4F_updateDict()
925 dctxPtr->dict = dctxPtr->tmpOutBuffer; in LZ4F_updateDict()
1185 if (dctxPtr->dict == dctxPtr->tmpOutBuffer) in LZ4F_decompress()
1198 dctxPtr->tmpOut = dctxPtr->tmpOutBuffer + reservedDictSpace; in LZ4F_decompress()
1291 &&(dctxPtr->dict != dctxPtr->tmpOutBuffer) in LZ4F_decompress()
1298 size_t preserveSize = dctxPtr->tmpOut - dctxPtr->tmpOutBuffer; in LZ4F_decompress()
1304 … memcpy(dctxPtr->tmpOutBuffer + preserveSize - copySize, oldDictEnd - copySize, copySize); in LZ4F_decompress()
1306 dctxPtr->dict = dctxPtr->tmpOutBuffer; in LZ4F_decompress()
1315 memcpy(dctxPtr->tmpOutBuffer, oldDictEnd - newDictSize, newDictSize); in LZ4F_decompress()
1317 dctxPtr->dict = dctxPtr->tmpOutBuffer; in LZ4F_decompress()
1319 dctxPtr->tmpOut = dctxPtr->tmpOutBuffer + newDictSize; in LZ4F_decompress()