Lines Matching refs:ldmState

173         ldmState_t* ldmState, size_t hash, ldmParams_t const ldmParams)  in ZSTD_ldm_getBucket()  argument
175 return ldmState->hashTable + (hash << ldmParams.bucketSizeLog); in ZSTD_ldm_getBucket()
180 static void ZSTD_ldm_insertEntry(ldmState_t* ldmState, in ZSTD_ldm_insertEntry() argument
184 BYTE* const pOffset = ldmState->bucketOffsets + hash; in ZSTD_ldm_insertEntry()
187 *(ZSTD_ldm_getBucket(ldmState, hash, ldmParams) + offset) = entry; in ZSTD_ldm_insertEntry()
268 ldmState_t* ldmState, const BYTE* ip, in ZSTD_ldm_fillHashTable() argument
273 BYTE const* const base = ldmState->window.base; in ZSTD_ldm_fillHashTable()
276 size_t* const splits = ldmState->splitIndices; in ZSTD_ldm_fillHashTable()
298 ZSTD_ldm_insertEntry(ldmState, hash, entry, *params); in ZSTD_ldm_fillHashTable()
322 ldmState_t* ldmState, rawSeqStore_t* rawSeqStore, in ZSTD_ldm_generateSequences_internal() argument
326 int const extDict = ZSTD_window_hasExtDict(ldmState->window); in ZSTD_ldm_generateSequences_internal()
331 U32 const dictLimit = ldmState->window.dictLimit; in ZSTD_ldm_generateSequences_internal()
332 U32 const lowestIndex = extDict ? ldmState->window.lowLimit : dictLimit; in ZSTD_ldm_generateSequences_internal()
333 BYTE const* const base = ldmState->window.base; in ZSTD_ldm_generateSequences_internal()
334 BYTE const* const dictBase = extDict ? ldmState->window.dictBase : NULL; in ZSTD_ldm_generateSequences_internal()
348 size_t* const splits = ldmState->splitIndices; in ZSTD_ldm_generateSequences_internal()
349 ldmMatchCandidate_t* const candidates = ldmState->matchCandidates; in ZSTD_ldm_generateSequences_internal()
376 candidates[n].bucket = ZSTD_ldm_getBucket(ldmState, hash, *params); in ZSTD_ldm_generateSequences_internal()
399 ZSTD_ldm_insertEntry(ldmState, hash, newEntry, *params); in ZSTD_ldm_generateSequences_internal()
446 ZSTD_ldm_insertEntry(ldmState, hash, newEntry, *params); in ZSTD_ldm_generateSequences_internal()
467 ZSTD_ldm_insertEntry(ldmState, hash, newEntry, *params); in ZSTD_ldm_generateSequences_internal()
506 ldmState_t* ldmState, rawSeqStore_t* sequences, in ZSTD_ldm_generateSequences() argument
521 assert(ldmState->window.nextSrc >= (BYTE const*)src + srcSize); in ZSTD_ldm_generateSequences()
538 …if (ZSTD_window_needOverflowCorrection(ldmState->window, 0, maxDist, ldmState->loadedDictEnd, chun… in ZSTD_ldm_generateSequences()
541 &ldmState->window, /* cycleLog */ 0, maxDist, chunkStart); in ZSTD_ldm_generateSequences()
542 ZSTD_ldm_reduceTable(ldmState->hashTable, ldmHSize, correction); in ZSTD_ldm_generateSequences()
544 ldmState->loadedDictEnd = 0; in ZSTD_ldm_generateSequences()
560 … ZSTD_window_enforceMaxDist(&ldmState->window, chunkEnd, maxDist, &ldmState->loadedDictEnd, NULL); in ZSTD_ldm_generateSequences()
563 ldmState, sequences, params, chunkStart, chunkSize); in ZSTD_ldm_generateSequences()