Home | History | Annotate | Download | only in lib

Lines Matching defs:dict

444         requiredBuffSize = (cctxPtr->prefs.frameInfo.blockMode == LZ4F_blockLinked) * 64 KB;   /* just needs dict */
741 const BYTE* dict;
915 dctxPtr->dict = dctxPtr->tmpOutBuffer;
971 dctxPtr->dict = (const BYTE*)dstPtr; /* priority to dictionary continuity */
973 if (dctxPtr->dict + dctxPtr->dictSize == dstPtr) { /* dictionary continuity */
979 dctxPtr->dict = (const BYTE*)dstPtr0;
984 if ((withinTmp) && (dctxPtr->dict == dctxPtr->tmpOutBuffer)) {
985 /* assumption : dctxPtr->dict + dctxPtr->dictSize == dctxPtr->tmpOut + dctxPtr->tmpOutStart */
990 if (withinTmp) { /* copy relevant dict portion in front of tmpOut within tmpOutBuffer */
993 const BYTE* const oldDictEnd = dctxPtr->dict + dctxPtr->dictSize - dctxPtr->tmpOutStart;
999 dctxPtr->dict = dctxPtr->tmpOutBuffer;
1004 if (dctxPtr->dict == dctxPtr->tmpOutBuffer) { /* copy dst into tmp to complete dict */
1007 memcpy(dctxPtr->tmpOutBuffer, dctxPtr->dict + dctxPtr->dictSize - preserveSize, preserveSize);
1015 /* join dict & dest into tmp */
1018 memcpy(dctxPtr->tmpOutBuffer, dctxPtr->dict + dctxPtr->dictSize - preserveSize, preserveSize);
1020 dctxPtr->dict = dctxPtr->tmpOutBuffer;
1214 decodedSize = decoder((const char*)selectedIn, (char*)dstPtr, (int)dctxPtr->tmpInTarget, (int)dctxPtr->maxBlockSize, (const char*)dctxPtr->dict, (int)dctxPtr->dictSize);
1240 if (dctxPtr->dict == dctxPtr->tmpOutBuffer) {
1242 memcpy(dctxPtr->tmpOutBuffer, dctxPtr->dict + dctxPtr->dictSize - 64 KB, 64 KB);
1246 } else { /* dict not within tmp */
1254 decodedSize = decoder((const char*)selectedIn, (char*)dctxPtr->tmpOut, (int)dctxPtr->tmpInTarget, (int)dctxPtr->maxBlockSize, (const char*)dctxPtr->dict, (int)dctxPtr->dictSize);
1381 &&(dctxPtr->dict != dctxPtr->tmpOutBuffer)
1389 const BYTE* oldDictEnd = dctxPtr->dict + dctxPtr->dictSize - dctxPtr->tmpOutStart;
1395 dctxPtr->dict = dctxPtr->tmpOutBuffer;
1399 const BYTE* oldDictEnd = dctxPtr->dict + dctxPtr->dictSize;
1404 dctxPtr->dict = dctxPtr->tmpOutBuffer;