Lines Matching refs:dict

143     const BYTE*  dict;
427 requiredBuffSize = (cctxPtr->prefs.frameInfo.blockMode == LZ4F_blockLinked) * 64 KB; /* just needs dict */
906 dctxPtr->dict = dctxPtr->tmpOutBuffer;
964 dctxPtr->dict = (const BYTE*)dstPtr; /* priority to dictionary continuity */
966 if (dctxPtr->dict + dctxPtr->dictSize == dstPtr) /* dictionary continuity */
974 dctxPtr->dict = (const BYTE*)dstPtr0;
979 if ((withinTmp) && (dctxPtr->dict == dctxPtr->tmpOutBuffer))
981 /* assumption : dctxPtr->dict + dctxPtr->dictSize == dctxPtr->tmpOut + dctxPtr->tmpOutStart */
986 if (withinTmp) /* copy relevant dict portion in front of tmpOut within tmpOutBuffer */
990 const BYTE* oldDictEnd = dctxPtr->dict + dctxPtr->dictSize - dctxPtr->tmpOutStart;
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);
1014 /* join dict & dest into tmp */
1018 memcpy(dctxPtr->tmpOutBuffer, dctxPtr->dict + dctxPtr->dictSize - preserveSize, preserveSize);
1020 dctxPtr->dict = dctxPtr->tmpOutBuffer;
1248 decodedSize = decoder((const char*)selectedIn, (char*)dstPtr, (int)dctxPtr->tmpInTarget, (int)dctxPtr->maxBlockSize, (const char*)dctxPtr->dict, (int)dctxPtr->dictSize);
1276 if (dctxPtr->dict == dctxPtr->tmpOutBuffer)
1280 memcpy(dctxPtr->tmpOutBuffer, dctxPtr->dict + dctxPtr->dictSize - 64 KB, 64 KB);
1285 else /* dict not within tmp */
1294 decodedSize = decoder((const char*)selectedIn, (char*)dctxPtr->tmpOut, (int)dctxPtr->tmpInTarget, (int)dctxPtr->maxBlockSize, (const char*)dctxPtr->dict, (int)dctxPtr->dictSize);
1438 &&(dctxPtr->dict != dctxPtr->tmpOutBuffer)
1447 const BYTE* oldDictEnd = dctxPtr->dict + dctxPtr->dictSize - dctxPtr->tmpOutStart;
1453 dctxPtr->dict = dctxPtr->tmpOutBuffer;
1459 const BYTE* oldDictEnd = dctxPtr->dict + dctxPtr->dictSize;
1464 dctxPtr->dict = dctxPtr->tmpOutBuffer;