Home
last modified time | relevance | path

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

/external/lz4/lib/
Dlz4hc.c222 const LZ4HC_CCtx_internal * const dictCtx = hc4->dictCtx; in LZ4HC_InsertAndGetWiderMatch() local
351 size_t const dictEndOffset = dictCtx->end - dictCtx->base; in LZ4HC_InsertAndGetWiderMatch()
353 dictMatchIndex = dictCtx->hashTable[LZ4HC_hashPtr(ip)]; in LZ4HC_InsertAndGetWiderMatch()
356 const BYTE* const matchPtr = dictCtx->base + dictMatchIndex; in LZ4HC_InsertAndGetWiderMatch()
364 …back = lookBackLength ? LZ4HC_countBack(ip, matchPtr, iLowLimit, dictCtx->base + dictCtx->dictLimi… in LZ4HC_InsertAndGetWiderMatch()
373 { U32 const nextOffset = DELTANEXTU16(dictCtx->chainTable, dictMatchIndex); in LZ4HC_InsertAndGetWiderMatch()
773 assert(ctx->dictCtx == NULL); in LZ4HC_compress_generic_noDictCtx()
788 assert(ctx->dictCtx != NULL); in LZ4HC_compress_generic_dictCtx()
790 ctx->dictCtx = NULL; in LZ4HC_compress_generic_dictCtx()
793 memcpy(ctx, ctx->dictCtx, sizeof(LZ4HC_CCtx_internal)); in LZ4HC_compress_generic_dictCtx()
[all …]
Dlz4.c642 cctx->dictCtx = NULL; in LZ4_prepareTable()
668 const LZ4_stream_t_internal* dictCtx = (const LZ4_stream_t_internal*) cctx->dictCtx; in LZ4_compress_generic() local
670 dictDirective == usingDictCtx ? dictCtx->dictionary : cctx->dictionary; in LZ4_compress_generic()
672 dictDirective == usingDictCtx ? dictCtx->dictSize : cctx->dictSize; in LZ4_compress_generic()
673 …const U32 dictDelta = (dictDirective == usingDictCtx) ? startIndex - dictCtx->currentOffset : 0; … in LZ4_compress_generic()
686 dictionary + dictSize - dictCtx->currentOffset : in LZ4_compress_generic()
709 cctx->dictCtx = NULL; in LZ4_compress_generic()
771 matchIndex = LZ4_getIndexOnHash(h, dictCtx->hashTable, byU32); in LZ4_compress_generic()
938 matchIndex = LZ4_getIndexOnHash(h, dictCtx->hashTable, byU32); in LZ4_compress_generic()
1242 working_stream->internal_donotuse.dictCtx = &(dictionary_stream->internal_donotuse); in LZ4_attach_dictionary()
[all …]
Dlz4hc.h157 const LZ4HC_CCtx_internal* dictCtx; member
175 const LZ4HC_CCtx_internal* dictCtx; member
Dlz4.h503 const LZ4_stream_t_internal* dictCtx; member
523 const LZ4_stream_t_internal* dictCtx; member