/third_party/rust/crates/regex/tests/ |
H A D | searcher.rs | 17 use std::str::pattern::SearchStep::{Match, Reject, Done}; 33 searcher!(searcher_empty_regex_empty_haystack, r"", "", Match(0, 0)); 38 Match(0, 0), 40 Match(1, 1), 42 Match(2, 2) 45 searcher!(searcher_one_match, r"\d", "5", Match(0, 1)); 51 Match(0, 1), 52 Match(1, 2) 58 Match(0, 1), 60 Match( [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | narrowTypeByInstanceof.js | 2 class Match { 14 type FileMatchOrMatch = FileMatch | Match; 22 } else if (elementA instanceof Match && elementB instanceof Match) { 29 var Match = /** @class */ (function () {
30 function Match() {
32 Match.prototype.range = function () {
35 return Match;
50 else if (elementA instanceof Match && elementB instanceof Match) {
[all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
H A D | HexagonGenExtract.cpp | 107 bool Match = match(In, m_And(m_Shl(m_LShr(m_Value(BF), m_ConstantInt(CSR)), in convert() local 111 if (!Match) { in convert() 114 Match = match(In, m_And(m_Shl(m_AShr(m_Value(BF), m_ConstantInt(CSR)), in convert() 118 if (!Match) { in convert() 122 Match = match(In, m_And(m_Shl(m_Value(BF), m_ConstantInt(CSL)), in convert() 124 if (Match && NoSR0) in convert() 127 if (!Match) { in convert() 131 Match = match(In, m_And(m_LShr(m_Value(BF), m_ConstantInt(CSR)), in convert() 134 if (!Match) { in convert() 138 Match in convert() [all...] |
/third_party/json/tools/cpplint/ |
H A D | cpplint.py | 822 # Match start of assembly blocks 827 # Match strings that indicate we're working on a C (not C++) file. 831 # Match string that indicates we're working on a Linux Kernel file. 1034 def Match(pattern, s): function 1036 # The regexp compilation caching is inlined in both Match and Search for 1047 The compiled regex is kept in a cache shared by Match and Search. 1186 Match(r'^\s*#\s*include\b', clean_lines.elided[linenum - 1])): 1528 if Match(r'T(EST|est)', self.current_function): 1736 # Match a single C style comment on the same line. 1800 leading_space = Match( [all...] |
/third_party/rust/crates/aho-corasick/src/ |
H A D | automaton.rs | 4 use crate::Match; 143 ) -> Option<Match>; in get_match() 191 ) -> Option<Match> { in standard_find_at() 216 ) -> Option<Match> { in standard_find_at_imp() 276 ) -> Option<Match> { in leftmost_find_at() 301 ) -> Option<Match> { in leftmost_find_at_imp() 376 ) -> Option<Match> { in leftmost_find_at_no_state() 399 ) -> Option<Match> { in leftmost_find_at_no_state_imp() 413 Candidate::Match(m) => Some(m), in leftmost_find_at_no_state_imp() 429 Candidate::Match( in leftmost_find_at_no_state_imp() [all...] |
H A D | lib.rs | 31 * [`Match`](struct.Match.html) represents a single match reported by an 239 pub struct Match { structure names 254 impl Match { impls 295 fn increment(&self, by: usize) -> Match { in increment() 296 Match { pattern: self.pattern, len: self.len, end: self.end + by } in increment() 300 fn from_span(id: usize, start: usize, end: usize) -> Match { in from_span() 301 Match { pattern: id, len: end - start, end } in from_span()
|
H A D | ahocorasick.rs | 11 use crate::Match; 211 pub fn earliest_find<B: AsRef<[u8]>>(&self, haystack: B) -> Option<Match> { in earliest_find() 283 pub fn find<B: AsRef<[u8]>>(&self, haystack: B) -> Option<Match> { in find() 551 F: FnMut(&Match, &str, &mut String) -> bool, in replace_all_with() 617 F: FnMut(&Match, &[u8], &mut Vec<u8>) -> bool, in replace_all_with_bytes() 638 /// Each item yielded by the iterator is an `io::Result<Match>`, where an 844 F: FnMut(&Match, &[u8], &mut W) -> io::Result<()>, in stream_replace_all_with() 853 StreamChunk::Match { bytes, mat } => { in stream_replace_all_with() 1092 ) -> Option<Match> { in overlapping_find_at() 1118 ) -> Option<Match> { in earliest_find_at() [all...] |
/third_party/skia/src/core/ |
H A D | SkRecordOpts.cpp | 18 // - a Match typedef 19 // - a bool onMatch(SkRceord*, Match*, int begin, int end) method, 23 // It looks for spans which match Pass::Match, and when found calls onMatch() with that pattern, 27 typename Pass::Match match; in apply() 44 Match; in multiple_set_matrices() typedef 46 bool onMatch(SkRecord* record, Match* pattern, int begin, int end) { in multiple_set_matrices() 81 Match; typedef 83 bool onMatch(SkRecord* record, Match*, int begin, int end) { in onMatch() 154 Match; typedef 156 bool onMatch(SkRecord* record, Match*, in 185 typedef Pattern<Is<SaveLayer>, IsDraw, Is<Restore>> Match; global() typedef 238 Is<Restore>, Is<Restore>, Is<Restore>> Match; global() typedef [all...] |
/third_party/spirv-tools/test/opt/loop_optimizations/ |
H A D | lcssa.cpp | 42 void Match(const std::string& original, IRContext* context, in Match() function 55 auto match_result = effcee::Match(assembly, original); in Match() 144 Match(text, context.get()); in TEST_F() 230 Match(text, context.get()); in TEST_F() 329 Match(text, context.get()); in TEST_F() 422 Match(text, context.get()); in TEST_F() 517 Match(text, context.get()); in TEST_F() 600 Match(text, context.get()); in TEST_F()
|
H A D | peeling.cpp | 43 void Match(const std::string& checks, IRContext* context) { in Match() function 56 auto match_result = effcee::Match(assembly, checks); in Match() 530 Match(check, context.get()); in TEST_F() 585 Match(check, context.get()); in TEST_F() 639 Match(check, context.get()); in TEST_F() 693 Match(check, context.get()); in TEST_F() 800 Match(check, context.get()); in TEST_F() 854 Match(check, context.get()); in TEST_F() 950 Match(check, context.get()); in TEST_F() 1002 Match(chec in TEST_F() [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/opt/ |
H A D | ir_builder.cpp | 49 void Match(const std::string& original, IRContext* context, in Match() function 62 auto match_result = effcee::Match(assembly, original); in Match() 129 Match(text, context.get()); in TEST_F() 153 Match(text, context.get()); in TEST_F() 222 Match(text, context.get()); in TEST_F() 258 Match(text, context.get()); in TEST_F() 292 Match(text, context.get()); in TEST_F() 337 Match(text, context.get()); in TEST_F() 406 Match(text, context.get()); in TEST_F() 434 Match(tex in TEST_F() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
H A D | ir_builder.cpp | 49 void Match(const std::string& original, IRContext* context, in Match() function 62 auto match_result = effcee::Match(assembly, original); in Match() 129 Match(text, context.get()); in TEST_F() 153 Match(text, context.get()); in TEST_F() 222 Match(text, context.get()); in TEST_F() 258 Match(text, context.get()); in TEST_F() 292 Match(text, context.get()); in TEST_F() 337 Match(text, context.get()); in TEST_F() 406 Match(text, context.get()); in TEST_F() 434 Match(tex in TEST_F() [all...] |
/third_party/spirv-tools/test/opt/ |
H A D | ir_builder.cpp | 47 void Match(const std::string& original, IRContext* context, in Match() function 60 auto match_result = effcee::Match(assembly, original); in Match() 127 Match(text, context.get()); in TEST_F() 151 Match(text, context.get()); in TEST_F() 220 Match(text, context.get()); in TEST_F() 256 Match(text, context.get()); in TEST_F() 290 Match(text, context.get()); in TEST_F() 335 Match(text, context.get()); in TEST_F() 404 Match(text, context.get()); in TEST_F() 432 Match(tex in TEST_F() [all...] |
/third_party/rust/crates/regex/src/ |
H A D | exec.rs | 450 dfa::Result::Match(end) => Some(end), in shortest_match_at() 464 dfa::Result::Match(_) => Some(text.len()), in shortest_match_at() 472 dfa::Result::Match(e) => Some(e), in shortest_match_at() 502 dfa::Result::Match(_) => true, in is_match_at() 516 dfa::Result::Match(_) => true, in is_match_at() 524 dfa::Result::Match(_) => true, in is_match_at() 546 dfa::Result::Match((s, e)) => Some((s, e)), in find_at() 555 dfa::Result::Match((s, e)) => Some((s, e)), in find_at() 565 dfa::Result::Match((s, e)) => Some((s, e)), in find_at() 634 dfa::Result::Match(( in captures_read_at() [all...] |
H A D | re_unicode.rs | 25 /// Match represents a single match of a regex in a haystack. 29 pub struct Match<'t> { structure names 35 impl<'t> Match<'t> { impls 63 fn new(haystack: &'t str, start: usize, end: usize) -> Match<'t> { in as_str() 64 Match { text: haystack, start, end } in as_str() 68 impl<'t> From<Match<'t>> for &'t str { 69 fn from(m: Match<'t>) -> &'t str { in from() 74 impl<'t> From<Match<'t>> for Range<usize> { 75 fn from(m: Match<'t>) -> Range<usize> { in from() 222 pub fn find<'t>(&self, text: &'t str) -> Option<Match<' [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/opt/loop_optimizations/ |
H A D | peeling.cpp | 44 void Match(const std::string& checks, IRContext* context) { in Match() function 57 auto match_result = effcee::Match(assembly, checks); in Match() 531 Match(check, context.get()); in TEST_F() 586 Match(check, context.get()); in TEST_F() 640 Match(check, context.get()); in TEST_F() 694 Match(check, context.get()); in TEST_F() 801 Match(check, context.get()); in TEST_F() 855 Match(check, context.get()); in TEST_F() 951 Match(check, context.get()); in TEST_F() 1003 Match(chec in TEST_F() [all...] |
H A D | lcssa.cpp | 44 void Match(const std::string& original, IRContext* context, in Match() function 57 auto match_result = effcee::Match(assembly, original); in Match() 146 Match(text, context.get()); in TEST_F() 232 Match(text, context.get()); in TEST_F() 331 Match(text, context.get()); in TEST_F() 424 Match(text, context.get()); in TEST_F() 519 Match(text, context.get()); in TEST_F() 602 Match(text, context.get()); in TEST_F()
|
H A D | fusion_legal.cpp | 45 void Match(const std::string& checks, IRContext* context) { in Match() function 58 auto match_result = effcee::Match(assembly, checks); in Match() 192 Match(checks, context.get()); in TEST_F() 328 Match(checks, context.get()); in TEST_F() 461 Match(checks, context.get()); in TEST_F() 602 Match(checks, context.get()); in TEST_F() 742 Match(checks, context.get()); in TEST_F() 886 Match(checks, context.get()); in TEST_F() 1028 Match(checks, context.get()); in TEST_F() 1165 Match(check in TEST_F() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/loop_optimizations/ |
H A D | peeling.cpp | 44 void Match(const std::string& checks, IRContext* context) { in Match() function 57 auto match_result = effcee::Match(assembly, checks); in Match() 531 Match(check, context.get()); in TEST_F() 586 Match(check, context.get()); in TEST_F() 640 Match(check, context.get()); in TEST_F() 694 Match(check, context.get()); in TEST_F() 801 Match(check, context.get()); in TEST_F() 855 Match(check, context.get()); in TEST_F() 951 Match(check, context.get()); in TEST_F() 1003 Match(chec in TEST_F() [all...] |
H A D | lcssa.cpp | 44 void Match(const std::string& original, IRContext* context, in Match() function 57 auto match_result = effcee::Match(assembly, original); in Match() 146 Match(text, context.get()); in TEST_F() 232 Match(text, context.get()); in TEST_F() 331 Match(text, context.get()); in TEST_F() 424 Match(text, context.get()); in TEST_F() 519 Match(text, context.get()); in TEST_F() 602 Match(text, context.get()); in TEST_F()
|
H A D | fusion_legal.cpp | 45 void Match(const std::string& checks, IRContext* context) { in Match() function 58 auto match_result = effcee::Match(assembly, checks); in Match() 192 Match(checks, context.get()); in TEST_F() 328 Match(checks, context.get()); in TEST_F() 461 Match(checks, context.get()); in TEST_F() 602 Match(checks, context.get()); in TEST_F() 742 Match(checks, context.get()); in TEST_F() 886 Match(checks, context.get()); in TEST_F() 1028 Match(checks, context.get()); in TEST_F() 1165 Match(check in TEST_F() [all...] |
/third_party/libphonenumber/cpp/src/phonenumbers/ |
H A D | regexp_adapter.h | 48 // phonenumberutil.cc. Consume(), Match() and Replace() methods must be 141 virtual bool Match(const string& input_string, 145 // Helper methods calling the Match method with the right arguments. 148 return Match(input_string, false, matched_string); in PartialMatch() 152 return Match(input_string, false, NULL); in PartialMatch() 157 return Match(input_string, true, matched_string); in FullMatch() 161 return Match(input_string, true, NULL); in FullMatch()
|
/third_party/json/tests/thirdparty/Fuzzer/test/ |
H A D | SimpleDictionaryTest.cpp | 19 size_t Match = 0; in LLVMFuzzerTestOneInput() 22 Match++; in LLVMFuzzerTestOneInput() 23 if (Match == strlen(Expected)) { in LLVMFuzzerTestOneInput()
|
/third_party/rust/crates/aho-corasick/src/packed/teddy/ |
H A D | runtime.rs | 57 use crate::Match; 108 ) -> Option<Match> { in find_at() 212 ) -> Option<Match> { in verify128() 244 ) -> Option<Match> { in verify256() 277 ) -> Option<Match> { in verify_fat256() 337 ) -> Option<Match> { in verify64() 364 ) -> Option<Match> { in verify_bucket() 369 // creating the Match itself is a very small amount of code. in verify_bucket() 376 ) -> Match { in verify_bucket() 377 Match in verify_bucket() [all...] |
/third_party/rust/crates/aho-corasick/src/packed/ |
H A D | api.rs | 6 use crate::Match; 424 /// according to its match semantics, in the given haystack. The `Match` 449 pub fn find<B: AsRef<[u8]>>(&self, haystack: B) -> Option<Match> { in find() 457 /// The `Match` returned will include the identifier of the pattern that 459 /// `0`) in which it was added. The offsets in the `Match` will be relative 486 ) -> Option<Match> { in find_at() 584 fn slow_at(&self, haystack: &[u8], at: usize) -> Option<Match> { in slow_at() 611 type Item = Match; 613 fn next(&mut self) -> Option<Match> { in next()
|