Searched refs:max_match_len (Results 1 – 4 of 4) sorted by relevance
/external/rust/crates/bstr/src/search/ |
D | prefilter.rs | 22 max_match_len: usize, field 43 pub fn new(max_match_len: usize) -> PrefilterState { in new() 44 if max_match_len == 0 { in new() 47 PrefilterState { skips: 0, skipped: 0, max_match_len, inert: false } in new() 52 PrefilterState { skips: 0, skipped: 0, max_match_len: 0, inert: true } in inert()
|
/external/rust/crates/aho-corasick/src/ |
D | prefilter.rs | 159 max_match_len: usize, field 195 pub fn new(max_match_len: usize) -> PrefilterState { in new() 199 max_match_len, in new() 210 max_match_len: 0, in disabled() 258 let min_avg = PrefilterState::MIN_AVG_FACTOR * self.max_match_len; in is_effective()
|
/external/brotli/c/enc/ |
D | backward_references_hq.c | 520 size_t max_match_len; in UpdateNodes() local 531 max_match_len = BackwardMatchLength(&match); in UpdateNodes() 532 if (len < max_match_len && in UpdateNodes() 533 (is_dictionary_match || max_match_len > max_zopfli_len)) { in UpdateNodes() 534 len = max_match_len; in UpdateNodes() 536 for (; len <= max_match_len; ++len) { in UpdateNodes()
|
/external/OpenCL-CTS/test_common/miniz/ |
D | miniz.c | 1504 …tdefl_compressor *d, mz_uint lookahead_pos, mz_uint max_dist, mz_uint max_match_len, mz_uint *pMat… in tdefl_find_match() argument 1510 MZ_ASSERT(max_match_len <= TDEFL_MAX_MATCH_LEN); if (max_match_len <= match_len) return; in tdefl_find_match() 1528 *pMatch_dist = dist; *pMatch_len = MZ_MIN(max_match_len, TDEFL_MAX_MATCH_LEN); break; in tdefl_find_match() 1532 …tch_dist = dist; if ((*pMatch_len = match_len = MZ_MIN(max_match_len, probe_len)) == max_match_len… in tdefl_find_match() 1538 …tdefl_compressor *d, mz_uint lookahead_pos, mz_uint max_dist, mz_uint max_match_len, mz_uint *pMat… in tdefl_find_match() argument 1544 MZ_ASSERT(max_match_len <= TDEFL_MAX_MATCH_LEN); if (max_match_len <= match_len) return; in tdefl_find_match() 1557 …ak; p = s; q = d->m_dict + probe_pos; for (probe_len = 0; probe_len < max_match_len; probe_len++) … in tdefl_find_match() 1560 *pMatch_dist = dist; if ((*pMatch_len = match_len = probe_len) == max_match_len) return; in tdefl_find_match()
|