Lines Matching refs:tmpOutBuffer
142 BYTE* tmpOutBuffer;
780 FREEMEM(dctxPtr->tmpOutBuffer);
897 FREEMEM(dctxPtr->tmpOutBuffer);
901 dctxPtr->tmpOutBuffer= (BYTE*)ALLOCATOR(dctxPtr->maxBufferSize);
902 if (dctxPtr->tmpOutBuffer== NULL) return (size_t)-LZ4F_ERROR_GENERIC;
906 dctxPtr->dict = dctxPtr->tmpOutBuffer;
908 dctxPtr->tmpOut = dctxPtr->tmpOutBuffer;
979 if ((withinTmp) && (dctxPtr->dict == dctxPtr->tmpOutBuffer))
986 if (withinTmp) /* copy relevant dict portion in front of tmpOut within tmpOutBuffer */
988 size_t preserveSize = dctxPtr->tmpOut - dctxPtr->tmpOutBuffer;
994 memcpy(dctxPtr->tmpOutBuffer + preserveSize - copySize, oldDictEnd - copySize, copySize);
996 dctxPtr->dict = dctxPtr->tmpOutBuffer;
1001 if (dctxPtr->dict == dctxPtr->tmpOutBuffer) /* copy dst into tmp to complete dict */
1006 memcpy(dctxPtr->tmpOutBuffer, dctxPtr->dict + dctxPtr->dictSize - preserveSize, preserveSize);
1009 memcpy(dctxPtr->tmpOutBuffer + dctxPtr->dictSize, dstPtr, dstSize);
1018 memcpy(dctxPtr->tmpOutBuffer, dctxPtr->dict + dctxPtr->dictSize - preserveSize, preserveSize);
1019 memcpy(dctxPtr->tmpOutBuffer + preserveSize, dstPtr, dstSize);
1020 dctxPtr->dict = dctxPtr->tmpOutBuffer;
1276 if (dctxPtr->dict == dctxPtr->tmpOutBuffer)
1280 memcpy(dctxPtr->tmpOutBuffer, dctxPtr->dict + dctxPtr->dictSize - 64 KB, 64 KB);
1283 dctxPtr->tmpOut = dctxPtr->tmpOutBuffer + dctxPtr->dictSize;
1289 dctxPtr->tmpOut = dctxPtr->tmpOutBuffer + reservedDictSpace;
1438 &&(dctxPtr->dict != dctxPtr->tmpOutBuffer)
1445 size_t preserveSize = dctxPtr->tmpOut - dctxPtr->tmpOutBuffer;
1451 memcpy(dctxPtr->tmpOutBuffer + preserveSize - copySize, oldDictEnd - copySize, copySize);
1453 dctxPtr->dict = dctxPtr->tmpOutBuffer;
1462 memcpy(dctxPtr->tmpOutBuffer, oldDictEnd - newDictSize, newDictSize);
1464 dctxPtr->dict = dctxPtr->tmpOutBuffer;
1466 dctxPtr->tmpOut = dctxPtr->tmpOutBuffer + newDictSize;