Home
last modified time | relevance | path

Searched refs:pat_ch (Results 1 – 14 of 14) sorted by relevance

/dports/editors/helix/helix-0.5.0/cargo-crates/fuzzy-matcher-0.3.7/src/
H A Dclangd.rs257 for (pat_idx, &pat_ch) in pattern.iter().enumerate() { in build_graph()
291 let match_match_score = if allow_match(pat_ch, line_ch, case_sensitive) { in build_graph()
295 pat_ch, in build_graph()
306 let miss_match_score = if allow_match(pat_ch, line_ch, case_sensitive) { in build_graph()
310 pat_ch, in build_graph()
337 pat_prev_ch = pat_ch; in build_graph()
390 fn allow_match(pat_ch: char, line_ch: char, case_sensitive: bool) -> bool { in allow_match()
391 char_equal(pat_ch, line_ch, case_sensitive) in allow_match()
396 pat_ch: char, in match_bonus()
404 let pat_role = char_role(pat_prev_ch, pat_ch); in match_bonus()
[all …]
H A Dskim.rs135 for (pat_idx, pat_ch) in pattern.chars().enumerate() { in build_graph()
139 if ch.to_ascii_lowercase() == pat_ch.to_ascii_lowercase() && idx >= match_start_idx { in build_graph()
144 pat_ch, in build_graph()
165 pat_prev_ch = pat_ch; in build_graph()
235 pat_ch: char, in fuzzy_score()
244 if pat_ch == choice_ch { in fuzzy_score()
245 if pat_ch.is_uppercase() { in fuzzy_score()
/dports/devel/texlab/texlab-3.3.0/cargo-crates/fuzzy-matcher-0.3.7/src/
H A Dclangd.rs257 for (pat_idx, &pat_ch) in pattern.iter().enumerate() { in build_graph()
291 let match_match_score = if allow_match(pat_ch, line_ch, case_sensitive) { in build_graph()
295 pat_ch, in build_graph()
306 let miss_match_score = if allow_match(pat_ch, line_ch, case_sensitive) { in build_graph()
310 pat_ch, in build_graph()
337 pat_prev_ch = pat_ch; in build_graph()
390 fn allow_match(pat_ch: char, line_ch: char, case_sensitive: bool) -> bool { in allow_match()
391 char_equal(pat_ch, line_ch, case_sensitive) in allow_match()
396 pat_ch: char, in match_bonus()
404 let pat_role = char_role(pat_prev_ch, pat_ch); in match_bonus()
[all …]
H A Dskim.rs135 for (pat_idx, pat_ch) in pattern.chars().enumerate() { in build_graph()
139 if ch.to_ascii_lowercase() == pat_ch.to_ascii_lowercase() && idx >= match_start_idx { in build_graph()
144 pat_ch, in build_graph()
165 pat_prev_ch = pat_ch; in build_graph()
235 pat_ch: char, in fuzzy_score()
244 if pat_ch == choice_ch { in fuzzy_score()
245 if pat_ch.is_uppercase() { in fuzzy_score()
/dports/x11/sirula/sirula-1.0.0/cargo-crates/fuzzy-matcher-0.3.7/src/
H A Dclangd.rs257 for (pat_idx, &pat_ch) in pattern.iter().enumerate() { in build_graph()
291 let match_match_score = if allow_match(pat_ch, line_ch, case_sensitive) { in build_graph()
295 pat_ch, in build_graph()
306 let miss_match_score = if allow_match(pat_ch, line_ch, case_sensitive) { in build_graph()
310 pat_ch, in build_graph()
337 pat_prev_ch = pat_ch; in build_graph()
390 fn allow_match(pat_ch: char, line_ch: char, case_sensitive: bool) -> bool { in allow_match()
391 char_equal(pat_ch, line_ch, case_sensitive) in allow_match()
396 pat_ch: char, in match_bonus()
404 let pat_role = char_role(pat_prev_ch, pat_ch); in match_bonus()
[all …]
H A Dskim.rs135 for (pat_idx, pat_ch) in pattern.chars().enumerate() { in build_graph()
139 if ch.to_ascii_lowercase() == pat_ch.to_ascii_lowercase() && idx >= match_start_idx { in build_graph()
144 pat_ch, in build_graph()
165 pat_prev_ch = pat_ch; in build_graph()
235 pat_ch: char, in fuzzy_score()
244 if pat_ch == choice_ch { in fuzzy_score()
245 if pat_ch.is_uppercase() { in fuzzy_score()
/dports/deskutils/gpicker/gpicker-2.3/
H A Dscorer.c235 char pat_ch = translated_pattern[k]; in score_string_prepared_inline() local
241 if (pat_ch == '_') { // always match '_' in score_string_prepared_inline()
247 if (ch != pat_ch) { in score_string_prepared_inline()
269 if (__EXPECT(scorer_utf8_mode, 1) && __EXPECT(utf8_continuation_p(pat_ch), 0)) { in score_string_prepared_inline()
275 if (state[i-1][k-1].this_score >= 0 && !delimiter_p(pat_ch)) { in score_string_prepared_inline()
/dports/editors/emacs/emacs-27.2/src/
H A Dsearch.c1555 int pat_ch, buf_ch; in simple_search() local
1557 pat_ch = STRING_CHAR_AND_LENGTH (p, charlen); in simple_search()
1562 if (buf_ch != pat_ch) in simple_search()
1600 int pat_ch = *p++; in simple_search() local
1604 if (buf_ch != pat_ch) in simple_search()
1640 int pat_ch, buf_ch; in simple_search() local
1644 pat_ch = STRING_CHAR (p); in simple_search()
1648 if (buf_ch != pat_ch) in simple_search()
1682 int pat_ch = *p++; in simple_search() local
1686 if (buf_ch != pat_ch) in simple_search()
H A Dregex-emacs.c4237 int pat_ch, buf_ch; in re_match_2_internal() local
4241 pat_ch = STRING_CHAR_AND_LENGTH (p, pat_charlen); in re_match_2_internal()
4244 pat_ch = RE_CHAR_TO_MULTIBYTE (*p); in re_match_2_internal()
4249 if (TRANSLATE (buf_ch) != pat_ch) in re_match_2_internal()
4264 int pat_ch, buf_ch; in re_match_2_internal() local
4269 pat_ch = STRING_CHAR_AND_LENGTH (p, pat_charlen); in re_match_2_internal()
4270 pat_ch = RE_CHAR_TO_UNIBYTE (pat_ch); in re_match_2_internal()
4274 pat_ch = *p; in re_match_2_internal()
4287 if (buf_ch != pat_ch) in re_match_2_internal()
/dports/editors/emacs-devel/emacs-4d1968b/src/
H A Dsearch.c1567 int charlen, pat_ch = string_char_and_length (p, &charlen); in simple_search() local
1573 if (buf_ch != pat_ch) in simple_search()
1611 int pat_ch = *p++; in simple_search() local
1615 if (buf_ch != pat_ch) in simple_search()
1651 int pat_ch, buf_ch; in simple_search() local
1655 pat_ch = STRING_CHAR (p); in simple_search()
1659 if (buf_ch != pat_ch) in simple_search()
1693 int pat_ch = *p++; in simple_search() local
1697 if (buf_ch != pat_ch) in simple_search()
H A Dregex-emacs.c4242 int pat_ch, buf_ch; in re_match_2_internal() local
4246 pat_ch = string_char_and_length (p, &pat_charlen); in re_match_2_internal()
4249 pat_ch = RE_CHAR_TO_MULTIBYTE (*p); in re_match_2_internal()
4254 if (TRANSLATE (buf_ch) != pat_ch) in re_match_2_internal()
4269 int pat_ch, buf_ch; in re_match_2_internal() local
4274 pat_ch = string_char_and_length (p, &pat_charlen); in re_match_2_internal()
4275 pat_ch = RE_CHAR_TO_UNIBYTE (pat_ch); in re_match_2_internal()
4279 pat_ch = *p; in re_match_2_internal()
4292 if (buf_ch != pat_ch) in re_match_2_internal()
/dports/editors/le/le-1.16.6/src/
H A Dregex.c5360 int pat_ch, buf_ch; in WEAK_ALIAS() local
5364 pat_ch = STRING_CHAR_AND_LENGTH (p, pat_charlen); in WEAK_ALIAS()
5367 pat_ch = RE_CHAR_TO_MULTIBYTE (*p); in WEAK_ALIAS()
5372 if (TRANSLATE (buf_ch) != pat_ch) in WEAK_ALIAS()
5387 int pat_ch, buf_ch; in WEAK_ALIAS() local
5392 pat_ch = STRING_CHAR_AND_LENGTH (p, pat_charlen); in WEAK_ALIAS()
5393 pat_ch = RE_CHAR_TO_UNIBYTE (pat_ch); in WEAK_ALIAS()
5397 pat_ch = *p; in WEAK_ALIAS()
5410 if (buf_ch != pat_ch) in WEAK_ALIAS()
/dports/databases/gnats4/gnats-4.1.0/gnats/
H A Dregex.c4903 unsigned int pat_ch, buf_ch; variable
4906 pat_ch = STRING_CHAR_AND_LENGTH (p, pend - p, pat_charlen);
4910 != pat_ch)
/dports/biology/iqtree/IQ-TREE-2.0.6/alignment/
H A Dalignment.cpp732 char pat_ch = 0; in extractDataBlock() local
734 pat_ch |= (1 << char_to_state[(int)data_block->GetState(seq, site, state)]); in extractDataBlock()
736 pat_ch += 3; in extractDataBlock()
737 pat.push_back(pat_ch); in extractDataBlock()