Home
last modified time | relevance | path

Searched refs:nbMatches (Results 1 – 3 of 3) sorted by relevance

/external/zstd/contrib/match_finders/
Dzstd_edist.c67 U32 nbMatches; member
328 state->matches[state->nbMatches].dictIdx = dictIdx; in ZSTD_eDist_insertMatch()
329 state->matches[state->nbMatches].srcIdx = srcIdx; in ZSTD_eDist_insertMatch()
330 state->matches[state->nbMatches].matchLength = 1; in ZSTD_eDist_insertMatch()
331 state->nbMatches++; in ZSTD_eDist_insertMatch()
406 ZSTD_malloc(state->nbMatches * sizeof(ZSTD_eDist_match), in ZSTD_eDist_combineMatches()
414 qsort(state->matches, state->nbMatches, sizeof(ZSTD_eDist_match), ZSTD_eDist_matchComp); in ZSTD_eDist_combineMatches()
417 for (i = 1; i < state->nbMatches; i++) { in ZSTD_eDist_combineMatches()
436 state->nbMatches = nbCombinedMatches; in ZSTD_eDist_combineMatches()
444 size_t const nbMatches = state->nbMatches; in ZSTD_eDist_convertMatchesToSequences() local
[all …]
/external/zstd/lib/compress/
Dzstd_opt.c856 static void ZSTD_optLdm_maybeAddMatch(ZSTD_match_t* matches, U32* nbMatches, in ZSTD_optLdm_maybeAddMatch() argument
870 …if (*nbMatches == 0 || ((candidateMatchLength > matches[*nbMatches-1].len) && *nbMatches < ZSTD_OP… in ZSTD_optLdm_maybeAddMatch()
873 matches[*nbMatches].len = candidateMatchLength; in ZSTD_optLdm_maybeAddMatch()
874 matches[*nbMatches].off = candidateOffCode; in ZSTD_optLdm_maybeAddMatch()
875 (*nbMatches)++; in ZSTD_optLdm_maybeAddMatch()
882 …oid ZSTD_optLdm_processMatchCandidate(ZSTD_optLdm_t* optLdm, ZSTD_match_t* matches, U32* nbMatches, in ZSTD_optLdm_processMatchCandidate() argument
899 ZSTD_optLdm_maybeAddMatch(matches, nbMatches, optLdm, currPosInBlock); in ZSTD_optLdm_processMatchCandidate()
974 …U32 nbMatches = ZSTD_BtGetAllMatches(matches, ms, &nextToUpdate3, ip, iend, dictMode, rep, ll0, mi… in ZSTD_compressBlock_opt_generic() local
975 ZSTD_optLdm_processMatchCandidate(&optLdm, matches, &nbMatches, in ZSTD_compressBlock_opt_generic()
977 if (!nbMatches) { ip++; continue; } in ZSTD_compressBlock_opt_generic()
[all …]
/external/libxml2/
Dxpath.c11998 int nbMatches = 0, prevMatches = 0; in xmlXPathNodeCollectAndTest() local
12457 nbMatches += seq->nodeNr; in xmlXPathNodeCollectAndTest()
12574 total, nbMatches); in xmlXPathNodeCollectAndTest()