• Home
  • Raw
  • Download

Lines Matching refs:ldmState

95         ldmState_t* ldmState, size_t hash, ldmParams_t const ldmParams)  in ZSTD_ldm_getBucket()  argument
97 return ldmState->hashTable + (hash << ldmParams.bucketSizeLog); in ZSTD_ldm_getBucket()
102 static void ZSTD_ldm_insertEntry(ldmState_t* ldmState, in ZSTD_ldm_insertEntry() argument
106 BYTE* const bucketOffsets = ldmState->bucketOffsets; in ZSTD_ldm_insertEntry()
107 *(ZSTD_ldm_getBucket(ldmState, hash, ldmParams) + bucketOffsets[hash]) = entry; in ZSTD_ldm_insertEntry()
122 static void ZSTD_ldm_makeEntryAndInsertByTag(ldmState_t* ldmState, in ZSTD_ldm_makeEntryAndInsertByTag() argument
136 ZSTD_ldm_insertEntry(ldmState, hash, entry, ldmParams); in ZSTD_ldm_makeEntryAndInsertByTag()
271 ldmState_t* ldmState, rawSeqStore_t* rawSeqStore, in ZSTD_ldm_generateSequences_internal() argument
275 int const extDict = ZSTD_window_hasExtDict(ldmState->window); in ZSTD_ldm_generateSequences_internal()
277 U64 const hashPower = ldmState->hashPower; in ZSTD_ldm_generateSequences_internal()
283 U32 const dictLimit = ldmState->window.dictLimit; in ZSTD_ldm_generateSequences_internal()
284 U32 const lowestIndex = extDict ? ldmState->window.lowLimit : dictLimit; in ZSTD_ldm_generateSequences_internal()
285 BYTE const* const base = ldmState->window.base; in ZSTD_ldm_generateSequences_internal()
286 BYTE const* const dictBase = extDict ? ldmState->window.dictBase : NULL; in ZSTD_ldm_generateSequences_internal()
324 ZSTD_ldm_getBucket(ldmState, in ZSTD_ldm_generateSequences_internal()
382 ZSTD_ldm_makeEntryAndInsertByTag(ldmState, rollingHash, in ZSTD_ldm_generateSequences_internal()
412 ZSTD_ldm_makeEntryAndInsertByTag(ldmState, rollingHash, hBits, in ZSTD_ldm_generateSequences_internal()
422 ldmState, rollingHash, lastHashed, in ZSTD_ldm_generateSequences_internal()
445 ldmState_t* ldmState, rawSeqStore_t* sequences, in ZSTD_ldm_generateSequences() argument
460 assert(ldmState->window.nextSrc >= (BYTE const*)src + srcSize); in ZSTD_ldm_generateSequences()
477 if (ZSTD_window_needOverflowCorrection(ldmState->window, chunkEnd)) { in ZSTD_ldm_generateSequences()
480 &ldmState->window, /* cycleLog */ 0, maxDist, chunkStart); in ZSTD_ldm_generateSequences()
481 ZSTD_ldm_reduceTable(ldmState->hashTable, ldmHSize, correction); in ZSTD_ldm_generateSequences()
483 ldmState->loadedDictEnd = 0; in ZSTD_ldm_generateSequences()
499 … ZSTD_window_enforceMaxDist(&ldmState->window, chunkEnd, maxDist, &ldmState->loadedDictEnd, NULL); in ZSTD_ldm_generateSequences()
502 ldmState, sequences, params, chunkStart, chunkSize); in ZSTD_ldm_generateSequences()