Lines Matching refs:dictCtx

712  *                   in a separate context, pointed to by ctx->dictCtx.
716 * ignored. Instead, ctx->dictCtx->dictionary and ctx->dictCtx
719 * ->dictCtx->hashTable.
899 cctx->dictCtx = NULL;
930 const LZ4_stream_t_internal* dictCtx = (const LZ4_stream_t_internal*) cctx->dictCtx;
932 dictDirective == usingDictCtx ? dictCtx->dictionary : cctx->dictionary;
934 dictDirective == usingDictCtx ? dictCtx->dictSize : cctx->dictSize;
935 const U32 dictDelta = (dictDirective == usingDictCtx) ? startIndex - dictCtx->currentOffset : 0; /* make indexes in dictCtx comparable with index in current context */
945 /* the dictCtx currentOffset is indexed on the start of the dictionary,
949 dictionary + dictSize - dictCtx->currentOffset :
973 cctx->dictCtx = NULL;
1036 matchIndex = LZ4_getIndexOnHash(h, dictCtx->hashTable, byU32);
1038 matchIndex += dictDelta; /* make dictCtx index comparable with current context */
1227 matchIndex = LZ4_getIndexOnHash(h, dictCtx->hashTable, byU32);
1585 const LZ4_stream_t_internal* dictCtx = (dictionaryStream == NULL) ? NULL :
1590 dictCtx != NULL ? dictCtx->dictSize : 0);
1592 if (dictCtx != NULL) {
1604 if (dictCtx->dictSize == 0) {
1605 dictCtx = NULL;
1608 workingStream->internal_donotuse.dictCtx = dictCtx;
1651 && (streamPtr->dictCtx == NULL) /* usingDictCtx */
1680 if (streamPtr->dictCtx) {
1681 /* We depend here on the fact that dictCtx'es (produced by
1683 * to offsets between dictCtx->currentOffset - 64 KB and
1684 * dictCtx->currentOffset - dictCtx->dictSize. This makes it safe
1692 LZ4_memcpy(streamPtr, streamPtr->dictCtx, sizeof(*streamPtr));