| /linux/lib/zstd/compress/ |
| H A D | zstd_lazy.h | 31 U32 ZSTD_insertAndFindFirstIndex(ZSTD_MatchState_t* ms, const BYTE* ip); 32 void ZSTD_row_update(ZSTD_MatchState_t* const ms, const BYTE* ip); 34 void ZSTD_dedicatedDictSearch_lazy_loadDictionary(ZSTD_MatchState_t* ms, const BYTE* const ip); 41 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 44 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 47 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 50 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 53 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 56 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 59 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], [all …]
|
| H A D | zstd_opt.h | 21 void ZSTD_updateTree(ZSTD_MatchState_t* ms, const BYTE* ip, const BYTE* iend); 26 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 29 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 32 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 46 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 49 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 52 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 59 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
|
| H A D | zstd_fast.h | 18 void ZSTD_fillHashTable(ZSTD_MatchState_t* ms, 22 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 25 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 28 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
|
| H A D | zstd_double_fast.h | 20 void ZSTD_fillDoubleHashTable(ZSTD_MatchState_t* ms, 25 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 28 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 31 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
|
| H A D | zstd_lazy.c | 30 void ZSTD_updateDUBT(ZSTD_MatchState_t* ms, in ZSTD_updateDUBT() 75 void ZSTD_insertDUBT1(const ZSTD_MatchState_t* ms, in ZSTD_insertDUBT1() 166 const ZSTD_MatchState_t* ms, in ZSTD_DUBT_findBetterDictMatch() 174 const ZSTD_MatchState_t * const dms = ms->dictMatchState; in ZSTD_DUBT_findBetterDictMatch() 244 size_t ZSTD_DUBT_findBestMatch(ZSTD_MatchState_t* ms, in ZSTD_DUBT_findBestMatch() 396 size_t ZSTD_BtFindBestMatch( ZSTD_MatchState_t* ms, in ZSTD_BtFindBestMatch() 412 void ZSTD_dedicatedDictSearch_lazy_loadDictionary(ZSTD_MatchState_t* ms, const BYTE* const ip) in ZSTD_dedicatedDictSearch_lazy_loadDictionary() 531 const ZSTD_MatchState_t* const dms, in ZSTD_dedicatedDictSearch_lazy_search() 634 ZSTD_MatchState_t* ms, in ZSTD_insertAndFindFirstIndex_internal() 660 U32 ZSTD_insertAndFindFirstIndex(ZSTD_MatchState_t* ms, const BYTE* ip) { in ZSTD_insertAndFindFirstIndex() [all …]
|
| H A D | zstd_opt.c | 412 U32 ZSTD_insertAndFindFirstIndexHash3 (const ZSTD_MatchState_t* ms, in ZSTD_insertAndFindFirstIndexHash3() 444 const ZSTD_MatchState_t* ms, in ZSTD_insertBt1() 564 ZSTD_MatchState_t* ms, in ZSTD_updateTree_internal() 584 void ZSTD_updateTree(ZSTD_MatchState_t* ms, const BYTE* ip, const BYTE* iend) { in ZSTD_updateTree() 593 ZSTD_MatchState_t* ms, in ZSTD_insertBtAndGetAllMatches() 629 const ZSTD_MatchState_t* dms = dictMode == ZSTD_dictMatchState ? ms->dictMatchState : NULL; in ZSTD_insertBtAndGetAllMatches() 823 ZSTD_MatchState_t*, 835 ZSTD_MatchState_t* ms, in ZSTD_btGetAllMatches_internal() 858 ZSTD_MatchState_t* ms, \ 890 ZSTD_selectBtGetAllMatches(ZSTD_MatchState_t const* ms, ZSTD_dictMode_e const dictMode) [all …]
|
| H A D | zstd_fast.c | 17 void ZSTD_fillHashTableForCDict(ZSTD_MatchState_t* ms, in ZSTD_fillHashTableForCDict() 54 void ZSTD_fillHashTableForCCtx(ZSTD_MatchState_t* ms, in ZSTD_fillHashTableForCCtx() 88 void ZSTD_fillHashTable(ZSTD_MatchState_t* ms, in ZSTD_fillHashTable() 192 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_fast_noDict_generic() 426 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], \ 443 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_fast() 483 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_fast_dictMatchState_generic() 502 const ZSTD_MatchState_t* const dms = ms->dictMatchState; in ZSTD_compressBlock_fast_dictMatchState_generic() 686 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_fast_dictMatchState() 709 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_fast_extDict_generic() [all …]
|
| H A D | zstd_double_fast.c | 19 void ZSTD_fillDoubleHashTableForCDict(ZSTD_MatchState_t* ms, in ZSTD_fillDoubleHashTableForCDict() 57 void ZSTD_fillDoubleHashTableForCCtx(ZSTD_MatchState_t* ms, in ZSTD_fillDoubleHashTableForCCtx() 91 void ZSTD_fillDoubleHashTable(ZSTD_MatchState_t* ms, in ZSTD_fillDoubleHashTable() 107 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_doubleFast_noDict_generic() 330 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_doubleFast_dictMatchState_generic() 351 const ZSTD_MatchState_t* const dms = ms->dictMatchState; in ZSTD_compressBlock_doubleFast_dictMatchState_generic() 552 … ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], \ 570 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_doubleFast() 590 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_doubleFast_dictMatchState() 612 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_doubleFast_extDict_generic() [all …]
|
| H A D | zstd_compress_internal.h | 266 typedef struct ZSTD_MatchState_t ZSTD_MatchState_t; typedef 270 struct ZSTD_MatchState_t { struct 298 const ZSTD_MatchState_t* dictMatchState; argument 318 ZSTD_MatchState_t matchState; argument 571 ZSTD_MatchState_t* bs, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 1063 MEM_STATIC ZSTD_dictMode_e ZSTD_matchState_dictMode(const ZSTD_MatchState_t *ms) in ZSTD_matchState_dictMode() 1252 const ZSTD_MatchState_t** dictMatchStatePtr) in ZSTD_window_enforceMaxDist() 1297 const ZSTD_MatchState_t** dictMatchStatePtr) in ZSTD_checkDictValidity() 1387 MEM_STATIC U32 ZSTD_getLowestMatchIndex(const ZSTD_MatchState_t* ms, U32 curr, unsigned windowLog) in ZSTD_getLowestMatchIndex() 1404 MEM_STATIC U32 ZSTD_getLowestPrefixIndex(const ZSTD_MatchState_t* ms, U32 curr, unsigned windowLog) in ZSTD_getLowestPrefixIndex()
|
| H A D | zstd_ldm.h | 65 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
|
| H A D | zstd_ldm.c | 252 static size_t ZSTD_ldm_fillFastTables(ZSTD_MatchState_t* ms, in ZSTD_ldm_fillFastTables() 332 static void ZSTD_ldm_limitTableUpdate(ZSTD_MatchState_t* ms, const BYTE* anchor) in ZSTD_ldm_limitTableUpdate() 683 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_ldm_blockCompress()
|
| H A D | zstd_compress.c | 84 ZSTD_MatchState_t matchState; 1859 static void ZSTD_invalidateMatchState(ZSTD_MatchState_t* ms) in ZSTD_invalidateMatchState() 1906 static void ZSTD_advanceHashSalt(ZSTD_MatchState_t* ms) { in ZSTD_advanceHashSalt() 1911 ZSTD_reset_matchState(ZSTD_MatchState_t* ms, in ZSTD_reset_matchState() 2394 { ZSTD_MatchState_t const* srcMatchState = &cdict->matchState; in ZSTD_resetCCtx_byCopyingCDict() 2395 ZSTD_MatchState_t* dstMatchState = &cctx->blockState.matchState; in ZSTD_resetCCtx_byCopyingCDict() 2497 const ZSTD_MatchState_t* srcMatchState = &srcCCtx->blockState.matchState; in ZSTD_copyCCtx_internal() 2498 ZSTD_MatchState_t* dstMatchState = &dstCCtx->blockState.matchState; in ZSTD_copyCCtx_internal() 2580 static void ZSTD_reduceIndex (ZSTD_MatchState_t* ms, ZSTD_CCtx_params const* params, const U32 redu… in ZSTD_reduceIndex() 3180 ZSTD_MatchState_t* const ms = &zc->blockState.matchState; in ZSTD_buildSeqStore() [all …]
|