Home
last modified time | relevance | path

Searched refs:MatchKind (Results 1 - 19 of 19) sorted by relevance

/third_party/rust/crates/aho-corasick/src/packed/
H A Dpattern.rs7 use crate::packed::api::MatchKind;
33 kind: MatchKind,
61 kind: MatchKind::default(), in new()
88 pub fn set_match_kind(&mut self, kind: MatchKind) { in set_match_kind()
90 MatchKind::LeftmostFirst => { in set_match_kind()
93 MatchKind::LeftmostLongest => { in set_match_kind()
102 MatchKind::__Nonexhaustive => unreachable!(), in set_match_kind()
129 self.kind = MatchKind::default(); in reset()
152 pub fn match_kind(&self) -> &MatchKind { in match_kind()
H A Dapi.rs17 /// [`MatchKind`](../enum.MatchKind.html)
24 /// leftmost-longest, see the docs on the top-level `MatchKind` type.
26 /// Unlike the top-level `MatchKind` type, the default match semantics for this
29 pub enum MatchKind { enum
50 impl Default for MatchKind {
51 fn default() -> MatchKind { in default()
52 MatchKind::LeftmostFirst in default()
72 /// use aho_corasick::packed::{Config, MatchKind};
76 /// .match_kind(MatchKind
[all...]
H A Dmod.rs30 [`MatchKind`](../enum.MatchKind.html) type for more details about match
34 use aho_corasick::packed::{MatchKind, Searcher};
55 use aho_corasick::packed::{Config, MatchKind};
59 .match_kind(MatchKind::LeftmostLongest)
108 pub use crate::packed::api::{Builder, Config, FindIter, MatchKind, Searcher};
H A Dtests.rs4 use crate::packed::{Config, MatchKind};
408 c.match_kind(MatchKind::LeftmostLongest);
426 c.force_teddy(true).match_kind(MatchKind::LeftmostLongest);
447 c.force_teddy(true).match_kind(MatchKind::LeftmostLongest);
471 c.force_teddy(true).match_kind(MatchKind::LeftmostLongest);
495 c.force_teddy(true).match_kind(MatchKind::LeftmostLongest);
514 c.force_rabin_karp(true).match_kind(MatchKind::LeftmostLongest);
/third_party/rust/crates/aho-corasick/src/
H A Dahocorasick.rs88 match_kind: MatchKind,
102 /// [`MatchKind::Standard`](enum.MatchKind.html#variant.Standard)
139 /// the default `MatchKind::Standard`, then use
190 /// [`MatchKind`](enum.MatchKind.html)
225 /// When using `MatchKind::Standard`, this corresponds precisely to the
229 /// [leftmost-first](enum.MatchKind.html#variant.LeftmostFirst)
231 /// [leftmost-longest](enum.MatchKind.html#variant.LeftmostLongest).
242 /// use aho_corasick::{AhoCorasickBuilder, MatchKind};
2044 pub enum MatchKind { global() enum
2082 impl MatchKind { global() impls
[all...]
H A Dautomaton.rs1 use crate::ahocorasick::MatchKind;
87 fn match_kind(&self) -> &MatchKind; in match_kind()
542 MatchKind::Standard => { in find_at()
545 MatchKind::LeftmostFirst | MatchKind::LeftmostLongest => { in find_at()
548 MatchKind::__Nonexhaustive => unreachable!(), in find_at()
563 MatchKind::Standard => { in find_at_no_state()
567 MatchKind::LeftmostFirst | MatchKind::LeftmostLongest => { in find_at_no_state()
570 MatchKind in find_at_no_state()
[all...]
H A Dtests.rs5 use crate::{AhoCorasickBuilder, Match, MatchKind};
637 .match_kind(MatchKind::$kind)
653 .match_kind(MatchKind::$kind)
668 .match_kind(MatchKind::$kind)
1080 .match_kind(MatchKind::LeftmostFirst) in stream_not_allowed_leftmost_first()
1089 .match_kind(MatchKind::LeftmostLongest) in stream_not_allowed_leftmost_longest()
1098 .match_kind(MatchKind::LeftmostFirst) in overlapping_not_allowed_leftmost_first()
1107 .match_kind(MatchKind::LeftmostLongest) in overlapping_not_allowed_leftmost_longest()
H A Ddfa.rs3 use crate::ahocorasick::MatchKind;
30 pub fn match_kind(&self) -> &MatchKind { in match_kind()
155 fn match_kind(&self) -> &MatchKind { in match_kind()
214 fn match_kind(&self) -> &MatchKind { in match_kind()
275 fn match_kind(&self) -> &MatchKind { in match_kind()
342 fn match_kind(&self) -> &MatchKind { in match_kind()
400 match_kind: MatchKind,
H A Dnfa.rs7 use crate::ahocorasick::MatchKind;
36 /// the documentation of `MatchKind` for more details and examples on how the
49 match_kind: MatchKind,
220 fn match_kind(&self) -> &MatchKind { in match_kind()
540 match_kind: MatchKind,
550 match_kind: MatchKind::default(), in default()
571 pub fn match_kind(&mut self, kind: MatchKind) -> &mut Builder { in match_kind()
1035 fn match_kind(&self) -> MatchKind { in match_kind()
1200 // .match_kind(MatchKind::LeftmostShortest) in scratch()
1201 // .match_kind(MatchKind in scratch()
[all...]
H A Dlib.rs15 [leftmost-first](enum.MatchKind.html#variant.LeftmostFirst)
17 [leftmost-longest](enum.MatchKind.html#variant.LeftmostFirst)
20 [`MatchKind`](enum.MatchKind.html)
146 use aho_corasick::{AhoCorasickBuilder, MatchKind};
152 .match_kind(MatchKind::LeftmostFirst)
161 [`MatchKind`](enum.MatchKind.html)
197 AhoCorasick, AhoCorasickBuilder, FindIter, FindOverlappingIter, MatchKind,
H A Dprefilter.rs8 use crate::ahocorasick::MatchKind;
283 pub fn new(kind: MatchKind) -> Builder { in new()
1045 let mut b = Builder::new(MatchKind::LeftmostFirst); in scratch()
/third_party/rust/crates/aho-corasick/aho-corasick-debug/
H A Dmain.rs8 use aho_corasick::{AhoCorasick, AhoCorasickBuilder, MatchKind};
46 match_kind: MatchKind,
97 "standard" => MatchKind::Standard, in parse()
98 "leftmost-first" => MatchKind::LeftmostFirst, in parse()
99 "leftmost-longest" => MatchKind::LeftmostLongest, in parse()
/third_party/rust/crates/aho-corasick/bench/src/
H A Dbench.rs3 use aho_corasick::{packed, AhoCorasick, AhoCorasickBuilder, MatchKind};
38 .match_kind(MatchKind::LeftmostFirst) in define_aho_corasick()
49 .match_kind(MatchKind::LeftmostFirst) in define_aho_corasick()
88 kind: MatchKind, in define_aho_corasick_dfa()
H A Drandom.rs79 use aho_corasick::MatchKind::*; in many_patterns()
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
H A Dbtree.h439 enum class MatchKind : uint8_t { kEq, kNe }; class
444 MatchKind match;
447 bool IsEq() const { return match == MatchKind::kEq; } in IsEq()
457 SearchResult(V value, MatchKind /*match*/) : value(value) {} in SearchResult()
763 return {s, MatchKind::kEq}; in linear_search_impl()
769 return {s, MatchKind::kNe}; in linear_search_impl()
796 MatchKind exact_match = MatchKind::kNe; in binary_search_impl()
808 exact_match = MatchKind::kEq; in binary_search_impl()
822 return {mid, MatchKind in binary_search_impl()
[all...]
/third_party/rust/crates/regex/src/literal/
H A Dimp.rs206 .match_kind(packed::MatchKind::LeftmostFirst) in new()
213 .match_kind(aho_corasick::MatchKind::LeftmostFirst) in new()
/third_party/rust/crates/regex/src/
H A Dexec.rs7 use aho_corasick::{AhoCorasick, AhoCorasickBuilder, MatchKind};
374 .match_kind(MatchKind::LeftmostFirst) in build_aho_corasick()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp198 RegKind MatchKind);
3134 RegKind MatchKind) { in tryParseVectorRegister()
3146 unsigned RegNum = matchRegisterNameAlias(Head, MatchKind); in tryParseVectorRegister()
3151 if (!isValidVectorKind(Kind, MatchKind)) { in tryParseVectorRegister()
3133 tryParseVectorRegister(unsigned &Reg, StringRef &Kind, RegKind MatchKind) tryParseVectorRegister() argument
/third_party/rust/crates/bindgen/bindgen-tests/tests/
H A Dstylo.hpp[all...]

Completed in 49 milliseconds