Lines Matching defs:dict
1218 const BYTE* dict;
1277 dctx->dict = NULL;
1475 if (dctx->dictSize==0) dctx->dict = (const BYTE*)dstPtr; /* will lead to prefix mode */
1476 assert(dctx->dict != NULL);
1478 if (dctx->dict + dctx->dictSize == dstPtr) { /* prefix mode, everything within dstBuffer */
1485 dctx->dict = (const BYTE*)dstBufferStart;
1495 if (withinTmp && (dctx->dict == dctx->tmpOutBuffer)) { /* continue history within tmpOutBuffer */
1496 /* withinTmp expectation : content of [dstPtr,dstSize] is same as [dict+dictSize,dstSize], so we just extend it */
1497 assert(dctx->dict + dctx->dictSize == dctx->tmpOut + dctx->tmpOutStart);
1502 if (withinTmp) { /* copy relevant dict portion in front of tmpOut within tmpOutBuffer */
1505 const BYTE* const oldDictEnd = dctx->dict + dctx->dictSize - dctx->tmpOutStart;
1511 dctx->dict = dctx->tmpOutBuffer;
1516 if (dctx->dict == dctx->tmpOutBuffer) { /* copy dst into tmp to complete dict */
1519 memcpy(dctx->tmpOutBuffer, dctx->dict + dctx->dictSize - preserveSize, preserveSize);
1527 /* join dict & dest into tmp */
1530 memcpy(dctx->tmpOutBuffer, dctx->dict + dctx->dictSize - preserveSize, preserveSize);
1532 dctx->dict = dctx->tmpOutBuffer;
1833 && !(dctx->dict!= NULL && (const BYTE*)dctx->dict + dctx->dictSize == dctx->tmpOut) )
1835 const char* dict = (const char*)dctx->dict;
1839 if (dict && dictSize > 1 GB) {
1841 dict += dictSize - 64 KB;
1847 dict, (int)dictSize);
1868 if (dctx->dict == dctx->tmpOutBuffer) {
1871 memcpy(dctx->tmpOutBuffer, dctx->dict + dctx->dictSize - 64 KB, 64 KB);
1875 } else { /* dict not within tmpOut */
1881 { const char* dict = (const char*)dctx->dict;
1884 if (dict && dictSize > 1 GB) {
1886 dict += dictSize - 64 KB;
1892 dict, (int)dictSize);
2026 && (dctx->dict != dctx->tmpOutBuffer) /* dictionary is not already within tmp */
2027 && (dctx->dict != NULL) /* dictionary exists */
2034 const BYTE* oldDictEnd = dctx->dict + dctx->dictSize - dctx->tmpOutStart;
2041 dctx->dict = dctx->tmpOutBuffer;
2044 const BYTE* const oldDictEnd = dctx->dict + dctx->dictSize;
2049 dctx->dict = dctx->tmpOutBuffer;
2068 const void* dict, size_t dictSize,
2072 dctx->dict = (const BYTE*)dict;