Searched refs:ldmState (Results 1 – 3 of 3) sorted by relevance
/linux/lib/zstd/compress/ |
H A D | zstd_ldm.c | 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() 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() 331 U32 const dictLimit = ldmState->window.dictLimit; in ZSTD_ldm_generateSequences_internal() 333 BYTE const* const base = ldmState->window.base; in ZSTD_ldm_generateSequences_internal() 348 size_t* const splits = ldmState->splitIndices; in ZSTD_ldm_generateSequences_internal() 538 …if (ZSTD_window_needOverflowCorrection(ldmState->window, 0, maxDist, ldmState->loadedDictEnd, chun… in ZSTD_ldm_generateSequences() 544 ldmState->loadedDictEnd = 0; in ZSTD_ldm_generateSequences() [all …]
|
H A D | zstd_compress.c | 1876 zc->ldmState.bucketOffsets = ZSTD_cwksp_reserve_buffer(ws, numBuckets); in ZSTD_resetCCtx_internal() 1877 ZSTD_memset(zc->ldmState.bucketOffsets, 0, numBuckets); in ZSTD_resetCCtx_internal() 1901 …zc->ldmState.hashTable = (ldmEntry_t*)ZSTD_cwksp_reserve_aligned(ws, ldmHSize * sizeof(ldmEntry_t)… in ZSTD_resetCCtx_internal() 1902 ZSTD_memset(zc->ldmState.hashTable, 0, ldmHSize * sizeof(ldmEntry_t)); in ZSTD_resetCCtx_internal() 1906 ZSTD_window_init(&zc->ldmState.window); in ZSTD_resetCCtx_internal() 1907 zc->ldmState.loadedDictEnd = 0; in ZSTD_resetCCtx_internal() 2780 FORWARD_IF_ERROR(ZSTD_ldm_generateSequences(&zc->ldmState, &ldmSeqStore, in ZSTD_buildSeqStore() 4050 ZSTD_window_update(&cctx->ldmState.window, src, srcSize, /* forceNonContiguous */ 0); in ZSTD_compressContinue_internal() 4427 &cctx->ldmState, &cctx->workspace, &cctx->appliedParams, cdict->dictContent, in ZSTD_compressBegin_internal() 4432 &cctx->ldmState, &cctx->workspace, &cctx->appliedParams, dict, dictSize, in ZSTD_compressBegin_internal()
|
H A D | zstd_compress_internal.h | 382 ldmState_t ldmState; /* long distance matching state */ member
|