Searched refs:dictCtx (Results 1 – 4 of 4) sorted by relevance
/third_party/lz4/lib/ |
D | lz4hc.c | 252 const LZ4HC_CCtx_internal * const dictCtx = hc4->dictCtx; in LZ4HC_InsertAndGetWiderMatch() local 416 size_t const dictEndOffset = (size_t)(dictCtx->end - dictCtx->base); in LZ4HC_InsertAndGetWiderMatch() 417 U32 dictMatchIndex = dictCtx->hashTable[LZ4HC_hashPtr(ip)]; in LZ4HC_InsertAndGetWiderMatch() 421 const BYTE* const matchPtr = dictCtx->base + dictMatchIndex; in LZ4HC_InsertAndGetWiderMatch() 429 …back = lookBackLength ? LZ4HC_countBack(ip, matchPtr, iLowLimit, dictCtx->base + dictCtx->dictLimi… in LZ4HC_InsertAndGetWiderMatch() 437 { U32 const nextOffset = DELTANEXTU16(dictCtx->chainTable, dictMatchIndex); in LZ4HC_InsertAndGetWiderMatch() 872 assert(ctx->dictCtx == NULL); in LZ4HC_compress_generic_noDictCtx() 888 assert(ctx->dictCtx != NULL); in LZ4HC_compress_generic_dictCtx() 890 ctx->dictCtx = NULL; in LZ4HC_compress_generic_dictCtx() 893 memcpy(ctx, ctx->dictCtx, sizeof(LZ4HC_CCtx_internal)); in LZ4HC_compress_generic_dictCtx() [all …]
|
D | lz4.c | 840 cctx->dictCtx = NULL; in LZ4_prepareTable() 871 const LZ4_stream_t_internal* dictCtx = (const LZ4_stream_t_internal*) cctx->dictCtx; in LZ4_compress_generic_validated() local 873 dictDirective == usingDictCtx ? dictCtx->dictionary : cctx->dictionary; in LZ4_compress_generic_validated() 875 dictDirective == usingDictCtx ? dictCtx->dictSize : cctx->dictSize; in LZ4_compress_generic_validated() 876 …const U32 dictDelta = (dictDirective == usingDictCtx) ? startIndex - dictCtx->currentOffset : 0; … in LZ4_compress_generic_validated() 889 dictionary + dictSize - dictCtx->currentOffset : in LZ4_compress_generic_validated() 913 cctx->dictCtx = NULL; in LZ4_compress_generic_validated() 976 matchIndex = LZ4_getIndexOnHash(h, dictCtx->hashTable, byU32); in LZ4_compress_generic_validated() 1166 matchIndex = LZ4_getIndexOnHash(h, dictCtx->hashTable, byU32); in LZ4_compress_generic_validated() 1518 const LZ4_stream_t_internal* dictCtx = dictionaryStream == NULL ? NULL : in LZ4_attach_dictionary() local [all …]
|
D | lz4hc.h | 216 const LZ4HC_CCtx_internal* dictCtx; member
|
D | lz4.h | 601 const LZ4_stream_t_internal* dictCtx; member
|