Home
last modified time | relevance | path

Searched refs:is_match (Results 1 – 25 of 39) sorted by relevance

12

/third_party/rust/crates/regex/bench/src/
Dbench.rs136 ($name:ident, $is_match:expr, $re:expr, $haystack:expr) => {
157 if re.is_match(&text) != $is_match {
158 if $is_match {
237 ($name:ident, $is_match:expr, $re:expr, $haystack:expr) => {
251 if re.is_match(&text) != $is_match {
252 if $is_match {
265 ($name:ident, $is_match:expr, $re:expr, $haystack:expr) => {
279 if re.matches(&text).matched_any() != $is_match {
280 if $is_match {
/third_party/rust/crates/regex/tests/
Dmacros.rs17 assert_eq!($ismatch, re.is_match(text!($text)));
31 assert!(r.is_match(text));
116 assert!(set.is_match(text));
132 assert!(!set.is_match(text));
Dcrazy.rs162 assert!(re.is_match(text!(&*text))); in dfa_handles_pathological_case()
/third_party/rust/crates/env_logger/src/filter/
Dregex.rs20 pub fn is_match(&self, s: &str) -> bool { in is_match() method
21 self.inner.is_match(s) in is_match()
Dstring.rs15 pub fn is_match(&self, s: &str) -> bool { in is_match() method
/third_party/skia/third_party/externals/icu/source/python/icutools/databuilder/test/
Dfiltration_test.py416 is_match = filter.match(InFile("%s/%s.txt" % (tree, file_stem)))
418 self.assertEqual(is_match, expected_match, file_stem)
/third_party/icu/icu4c/source/python/icutools/databuilder/test/
Dfiltration_test.py416 is_match = filter.match(InFile("%s/%s.txt" % (tree, file_stem)))
418 self.assertEqual(is_match, expected_match, file_stem)
/third_party/rust/crates/aho-corasick/src/
Dnfa.rs241 self.states[id.to_usize()].is_match() in is_match_state()
312 fn is_match(&self) -> bool { in is_match() method
678 saw_match = saw_match || self.nfa.state(prev).is_match(); in build_trie()
874 if kind.is_leftmost() && it.nfa().state(next).is_match() { in fill_failure_transitions()
914 if kind.is_leftmost() && it.nfa().state(next).is_match() { in fill_failure_transitions()
990 || (self.match_kind().is_leftmost() && self.nfa.start().is_match()) in close_start_state_loop()
Dahocorasick.rs183 pub fn is_match<B: AsRef<[u8]>>(&self, haystack: B) -> bool { in is_match() method
1387 has_empty_match_at_end: ac.is_match(""), in new()
/third_party/rust/crates/regex/
DPERFORMANCE.md49 *amortize the cost of compilation*. Trivially, if a call to `is_match` is
72 MY_REGEX.is_match(text)
118 * is_match
135 **Advice**: Prefer in this order: `is_match`, `find`, `captures`.
139 * is_match
145 `is_match` is fastest because it doesn't actually need to find the start or the
154 the leftmost-first match make this more expensive than `is_match`.
164 the same performance characteristics as `is_match`, except it will return the
/third_party/rust/crates/regex/src/
Ddfa.rs217 pub fn is_match(&self) -> bool { in is_match() method
535 if result.is_match() { in forward_many()
657 state.inst_ptrs().all(|ip| self.prog[ip].is_match()); in exec_at()
1015 debug_assert!(!self.state(next).flags().is_match()); in exec_byte()
1018 if next <= STATE_MAX && self.state(next).flags().is_match() { in exec_byte()
1233 let opt_state = if insts.len() == 1 && !state_flags.is_match() { in cached_state_key()
1694 fn is_match(&self) -> bool { in is_match() method
1795 .field("is_match", &self.is_match()) in fmt()
Dre_set.rs168 pub fn is_match(&self, text: $text_ty) -> bool {
Dprog.rs300 pub fn is_match(&self) -> bool { in is_match() method
/third_party/rust/crates/syn/examples/lazy-static/example/src/
Dmain.rs19 println!("is_match({:?}): {}", name, USERNAME.is_match(name)); in validate()
/third_party/rust/crates/regex/bench/src/ffi/
Donig.rs12 pub fn is_match(&self, text: &str) -> bool { in is_match() method
Dre2.rs30 pub fn is_match(&self, text: &str) -> bool { in is_match() method
Dpcre1.rs73 pub fn is_match(&self, text: &str) -> bool { in is_match() method
Dpcre2.rs69 pub fn is_match(&self, text: &str) -> bool { in is_match() method
Dtcl.rs87 pub fn is_match(&self, text: &Text) -> bool { in is_match() method
/third_party/rust/crates/regex/fuzz/fuzz_targets/
Dfuzz_regex_match.rs18 re.is_match(input);
/third_party/rust/crates/bindgen/bindgen/
Dregex_set.rs90 return set.is_match(s); in matches()
/third_party/rust/crates/which-rs/src/
Dfinder.rs112 binary_regex.borrow().is_match(unicode_file_name) in find_re()
/third_party/rust/crates/aho-corasick/
DDESIGN.md113 if trie.is_match(state_id) {
123 if trie.is_match(state_id) {
171 if fsm.is_match(state_id) {
197 if fsm.is_match(state_id) {
246 if dfa.is_match(state_id) {
254 if dfa.is_match(state_id) {
/third_party/node/src/
Dnode_sockaddr.cc321 bool SocketAddress::is_match(const SocketAddress& other) const { in is_match() function in node::SocketAddress
462 return this->address->is_match(*address.get()); in Apply()
Dnode_sockaddr.h102 bool is_match(const SocketAddress& other) const;

12