Home
last modified time | relevance | path

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

12

/external/rust/crates/aho-corasick/src/packed/
Dpattern.rs7 use 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() argument
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() argument
Dapi.rs29 pub enum MatchKind { enum
50 impl Default for MatchKind { implementation
51 fn default() -> MatchKind { in default()
52 MatchKind::LeftmostFirst in default()
95 kind: MatchKind,
123 kind: MatchKind::LeftmostFirst, in new()
139 pub fn match_kind(&mut self, kind: MatchKind) -> &mut Config { in match_kind()
559 pub fn match_kind(&self) -> &MatchKind { in match_kind() argument
Dtests.rs4 use 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);
Dmod.rs108 pub use packed::api::{Builder, Config, FindIter, MatchKind, Searcher};
/external/rust/crates/aho-corasick/src/
Dautomaton.rs1 use ahocorasick::MatchKind;
87 fn match_kind(&self) -> &MatchKind; in match_kind() argument
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::__Nonexhaustive => unreachable!(), in find_at_no_state()
Dahocorasick.rs88 match_kind: MatchKind,
875 pub fn match_kind(&self) -> &MatchKind { in match_kind() argument
1043 fn match_kind(&self) -> &MatchKind { in match_kind() argument
1761 pub fn match_kind(&mut self, kind: MatchKind) -> &mut AhoCorasickBuilder { in match_kind()
2050 pub enum MatchKind { enum
2082 impl Default for MatchKind { implementation
2083 fn default() -> MatchKind { in default()
2084 MatchKind::Standard in default()
2088 impl MatchKind { implementation
2101 *self == MatchKind::Standard in is_standard()
[all …]
Dtests.rs5 use {AhoCorasickBuilder, Match, MatchKind};
635 .match_kind(MatchKind::$kind)
651 .match_kind(MatchKind::$kind)
666 .match_kind(MatchKind::$kind)
1066 .match_kind(MatchKind::LeftmostFirst) in stream_not_allowed_leftmost_first()
1075 .match_kind(MatchKind::LeftmostLongest) in stream_not_allowed_leftmost_longest()
1084 .match_kind(MatchKind::LeftmostFirst) in overlapping_not_allowed_leftmost_first()
1093 .match_kind(MatchKind::LeftmostLongest) in overlapping_not_allowed_leftmost_longest()
Ddfa.rs3 use ahocorasick::MatchKind;
30 pub fn match_kind(&self) -> &MatchKind { in match_kind() argument
155 fn match_kind(&self) -> &MatchKind { in match_kind() argument
214 fn match_kind(&self) -> &MatchKind { in match_kind() argument
275 fn match_kind(&self) -> &MatchKind { in match_kind() argument
342 fn match_kind(&self) -> &MatchKind { in match_kind() argument
400 match_kind: MatchKind,
Dnfa.rs7 use ahocorasick::MatchKind;
49 match_kind: MatchKind,
220 fn match_kind(&self) -> &MatchKind { in match_kind() argument
551 match_kind: MatchKind,
561 match_kind: MatchKind::default(), in default()
582 pub fn match_kind(&mut self, kind: MatchKind) -> &mut Builder { in match_kind()
1198 fn match_kind(&self) -> MatchKind { in match_kind() argument
1365 .match_kind(MatchKind::LeftmostFirst) in scratch()
Dlib.rs198 AhoCorasick, AhoCorasickBuilder, FindIter, FindOverlappingIter, MatchKind,
Dprefilter.rs8 use ahocorasick::MatchKind;
283 pub fn new(kind: MatchKind) -> Builder { in new()
1045 let mut b = Builder::new(MatchKind::LeftmostFirst); in scratch()
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/
Dprog.h192 enum MatchKind { enum
271 Anchor anchor, MatchKind kind,
281 Anchor anchor, MatchKind kind, StringPiece* match0,
299 int BuildEntireDFA(MatchKind kind, const DFAStateCallback& cb);
316 Anchor anchor, MatchKind kind,
323 Anchor anchor, MatchKind kind,
336 Anchor anchor, MatchKind kind,
396 DFA* GetDFA(MatchKind kind);
Ddfa.cc69 DFA(Prog* prog, Prog::MatchKind kind, int64_t max_mem);
72 Prog::MatchKind kind() { return kind_; } in kind()
325 Prog::MatchKind kind_; // The kind of DFA.
423 DFA::DFA(Prog* prog, Prog::MatchKind kind, int64_t max_mem) in DFA()
1791 DFA* Prog::GetDFA(MatchKind kind) { in GetDFA()
1835 Anchor anchor, MatchKind kind, StringPiece* match0, in SearchDFA()
1977 int Prog::BuildEntireDFA(MatchKind kind, const DFAStateCallback& cb) { in BuildEntireDFA()
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/testing/
Dtester.h54 TestInstance(const StringPiece& regexp, Prog::MatchKind kind,
76 Prog::MatchKind kind_; // kind of match
Dtester.cc119 static std::string FormatKind(Prog::MatchKind kind) { in FormatKind()
171 TestInstance::TestInstance(const StringPiece& regexp_str, Prog::MatchKind kind, in TestInstance()
609 static Prog::MatchKind kinds[] = {
Dbacktrack.cc249 MatchKind kind, in UnsafeSearchBacktrack()
/external/angle/third_party/abseil-cpp/absl/container/internal/
Dbtree.h439 enum class MatchKind : uint8_t { kEq, kNe };
444 MatchKind match;
447 bool IsEq() const { return match == MatchKind::kEq; }
457 SearchResult(V value, MatchKind /*match*/) : value(value) {}
763 return {s, MatchKind::kEq};
769 return {s, MatchKind::kNe};
796 MatchKind exact_match = MatchKind::kNe;
808 exact_match = MatchKind::kEq;
822 return {mid, MatchKind::kEq};
825 return {s, MatchKind::kNe};
[all …]
/external/openscreen/third_party/abseil/src/absl/container/internal/
Dbtree.h410 enum class MatchKind : uint8_t { kEq, kNe };
415 MatchKind match;
418 bool IsEq() const { return match == MatchKind::kEq; }
428 SearchResult(V value, MatchKind /*match*/) : value(value) {}
730 return {s, MatchKind::kEq};
736 return {s, MatchKind::kNe};
763 MatchKind exact_match = MatchKind::kNe;
775 exact_match = MatchKind::kEq;
789 return {mid, MatchKind::kEq};
792 return {s, MatchKind::kNe};
[all …]
/external/rust/crates/aho-corasick/
DREADME.md146 use aho_corasick::{AhoCorasickBuilder, MatchKind};
152 .match_kind(MatchKind::LeftmostFirst)
160 expression alternation. See `MatchKind` in the docs for more details.
/external/libtextclassifier/abseil-cpp/absl/container/internal/
Dbtree.h378 enum class MatchKind : uint8_t { kEq, kNe };
383 MatchKind match;
386 bool IsEq() const { return match == MatchKind::kEq; }
687 return {s, MatchKind::kEq};
693 return {s, MatchKind::kNe};
720 MatchKind exact_match = MatchKind::kNe;
732 exact_match = MatchKind::kEq;
746 return {mid, MatchKind::kEq};
749 return {s, MatchKind::kNe};
2536 if (res.match == MatchKind::kEq) {
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/internal/
Dbtree.h378 enum class MatchKind : uint8_t { kEq, kNe };
383 MatchKind match;
386 bool IsEq() const { return match == MatchKind::kEq; }
687 return {s, MatchKind::kEq};
693 return {s, MatchKind::kNe};
720 MatchKind exact_match = MatchKind::kNe;
732 exact_match = MatchKind::kEq;
746 return {mid, MatchKind::kEq};
749 return {s, MatchKind::kNe};
2536 if (res.match == MatchKind::kEq) {
[all …]
/external/webrtc/third_party/abseil-cpp/absl/container/internal/
Dbtree.h339 enum class MatchKind : uint8_t { kEq, kNe };
344 MatchKind match;
347 bool IsEq() const { return match == MatchKind::kEq; }
648 return {s, MatchKind::kEq};
654 return {s, MatchKind::kNe};
681 MatchKind exact_match = MatchKind::kNe;
693 exact_match = MatchKind::kEq;
707 return {mid, MatchKind::kEq};
710 return {s, MatchKind::kNe};
2514 if (res.match == MatchKind::kEq) {
[all …]
/external/abseil-cpp/absl/container/internal/
Dbtree.h339 enum class MatchKind : uint8_t { kEq, kNe };
344 MatchKind match;
347 bool IsEq() const { return match == MatchKind::kEq; }
648 return {s, MatchKind::kEq};
654 return {s, MatchKind::kNe};
681 MatchKind exact_match = MatchKind::kNe;
693 exact_match = MatchKind::kEq;
707 return {mid, MatchKind::kEq};
710 return {s, MatchKind::kNe};
2514 if (res.match == MatchKind::kEq) {
[all …]
/external/llvm-project/llvm/lib/Frontend/OpenMP/
DOMPContext.cpp144 enum MatchKind { MK_ALL, MK_ANY, MK_NONE }; in isVariantApplicableInContextHelper() enum
146 MatchKind MK = MK_ALL; in isVariantApplicableInContextHelper()
/external/clang/include/clang/Analysis/Analyses/
DFormatString.h241 enum MatchKind { NoMatch = 0, Match = 1, NoMatchPedantic }; enum
266 MatchKind matchesType(ASTContext &C, QualType argTy) const;

12