Home
last modified time | relevance | path

Searched refs:dictCtx (Results 1 – 4 of 4) sorted by relevance

/third_party/lz4/lib/
Dlz4hc.c254 const LZ4HC_CCtx_internal * const dictCtx = hc4->dictCtx; in LZ4HC_InsertAndGetWiderMatch() local
420 … size_t const dictEndOffset = (size_t)(dictCtx->end - dictCtx->prefixStart) + dictCtx->dictLimit; in LZ4HC_InsertAndGetWiderMatch()
421 U32 dictMatchIndex = dictCtx->hashTable[LZ4HC_hashPtr(ip)]; in LZ4HC_InsertAndGetWiderMatch()
425 const BYTE* const matchPtr = dictCtx->prefixStart - dictCtx->dictLimit + dictMatchIndex; in LZ4HC_InsertAndGetWiderMatch()
433 … back = lookBackLength ? LZ4HC_countBack(ip, matchPtr, iLowLimit, dictCtx->prefixStart) : 0; in LZ4HC_InsertAndGetWiderMatch()
441 { U32 const nextOffset = DELTANEXTU16(dictCtx->chainTable, dictMatchIndex); in LZ4HC_InsertAndGetWiderMatch()
876 assert(ctx->dictCtx == NULL); in LZ4HC_compress_generic_noDictCtx()
892 assert(ctx->dictCtx != NULL); in LZ4HC_compress_generic_dictCtx()
894 ctx->dictCtx = NULL; in LZ4HC_compress_generic_dictCtx()
897 LZ4_memcpy(ctx, ctx->dictCtx, sizeof(LZ4HC_CCtx_internal)); in LZ4HC_compress_generic_dictCtx()
[all …]
Dlz4.c899 cctx->dictCtx = NULL; in LZ4_prepareTable()
930 const LZ4_stream_t_internal* dictCtx = (const LZ4_stream_t_internal*) cctx->dictCtx; in LZ4_compress_generic_validated() local
932 dictDirective == usingDictCtx ? dictCtx->dictionary : cctx->dictionary; in LZ4_compress_generic_validated()
934 dictDirective == usingDictCtx ? dictCtx->dictSize : cctx->dictSize; in LZ4_compress_generic_validated()
935 …const U32 dictDelta = (dictDirective == usingDictCtx) ? startIndex - dictCtx->currentOffset : 0; … in LZ4_compress_generic_validated()
949 dictionary + dictSize - dictCtx->currentOffset : in LZ4_compress_generic_validated()
973 cctx->dictCtx = NULL; in LZ4_compress_generic_validated()
1036 matchIndex = LZ4_getIndexOnHash(h, dictCtx->hashTable, byU32); in LZ4_compress_generic_validated()
1227 matchIndex = LZ4_getIndexOnHash(h, dictCtx->hashTable, byU32); in LZ4_compress_generic_validated()
1585 const LZ4_stream_t_internal* dictCtx = (dictionaryStream == NULL) ? NULL : in LZ4_attach_dictionary() local
[all …]
Dlz4hc.h219 const LZ4HC_CCtx_internal* dictCtx; member
Dlz4.h681 const LZ4_stream_t_internal* dictCtx; member