Home
last modified time | relevance | path

Searched refs:matcher_ (Results 1 – 8 of 8) sorted by relevance

/external/openfst/src/include/fst/
Dmatcher.h408 : matcher_(matcher ? matcher : new M(fst, match_type)),
432 : matcher_(new M(*matcher.matcher_, safe)),
439 delete matcher_; in ~RhoMatcher() local
446 virtual MatchType Type(bool test) const { return matcher_->Type(test); } in Type()
449 matcher_->SetState(s); in SetState()
459 if (matcher_->Find(match_label)) { in Find()
463 (has_rho_ = matcher_->Find(rho_label_))) { in Find()
471 bool Done() const { return matcher_->Done(); } in Done()
475 return matcher_->Value(); in Value()
477 rho_arc_ = matcher_->Value(); in Value()
[all …]
Dmatcher-fst.h213 matcher_ = fst.InitMatcher(match_type); in Matcher()
217 matcher_ = matcher.matcher_->Copy(); in Matcher()
220 ~Matcher() { delete matcher_; } in ~Matcher() local
226 MatchType Type(bool test) const { return matcher_->Type(test); } in Type()
227 void SetState(StateId s) { matcher_->SetState(s); } in SetState()
228 bool Find(Label label) { return matcher_->Find(label); } in Find()
229 bool Done() const { return matcher_->Done(); } in Done()
230 const Arc& Value() const { return matcher_->Value(); } in Value()
231 void Next() { matcher_->Next(); } in Next()
232 uint64 Properties(uint64 props) const { return matcher_->Properties(props); } in Properties()
[all …]
Dlookahead-matcher.h194 : matcher_(fst, match_type) {} in TrivialLookAheadMatcher()
198 : matcher_(lmatcher.matcher_, safe) {}
205 MatchType Type(bool test) const { return matcher_.Type(test); } in Type()
206 void SetState(StateId s) { return matcher_.SetState(s); } in SetState()
207 bool Find(Label label) { return matcher_.Find(label); } in Find()
208 bool Done() const { return matcher_.Done(); } in Done()
209 const Arc& Value() const { return matcher_.Value(); } in Value()
210 void Next() { matcher_.Next(); } in Next()
211 virtual const FST &GetFst() const { return matcher_.GetFst(); } in GetFst()
212 uint64 Properties(uint64 props) const { return matcher_.Properties(props); } in Properties()
[all …]
Dreplace.h1272 matcher_.resize(fst_array.size(), 0); in InitMatchers()
1275 matcher_[i] = in InitMatchers()
1280 matcher_[i]->AddMultiEpsLabel(*it); in InitMatchers()
1291 for (size_t i = 0; i < matcher_.size(); ++i) in ~ReplaceFstMatcher()
1292 delete matcher_[i]; in ~ReplaceFstMatcher() local
1333 current_matcher_ = matcher_[tuple_.fst_id]; in SetState_()
1399 vector<LocalMatcher*> matcher_; variable
/external/clang/include/clang/ASTMatchers/
DASTMatchersMacros.h56 class matcher_##DefineMatcher##OverloadId##Matcher \
59 explicit matcher_##DefineMatcher##OverloadId##Matcher() {} \
66 new internal::matcher_##DefineMatcher##OverloadId##Matcher()); \
68 inline bool internal::matcher_##DefineMatcher##OverloadId##Matcher::matches( \
91 class matcher_##DefineMatcher##OverloadId##Matcher \
94 explicit matcher_##DefineMatcher##OverloadId##Matcher( \
106 new internal::matcher_##DefineMatcher##OverloadId##Matcher(Param)); \
108 inline bool internal::matcher_##DefineMatcher##OverloadId##Matcher::matches( \
134 class matcher_##DefineMatcher##OverloadId##Matcher \
137 matcher_##DefineMatcher##OverloadId##Matcher(const ParamType1 &A##Param1, \
[all …]
/external/openfst/src/include/fst/extensions/pdt/
Dcompose.h52 : matcher_(fst, match_type), in matcher_() function
67 : matcher_(matcher.matcher_, safe),
80 MatchType Type(bool test) const { return matcher_.Type(test); } in Type()
83 matcher_.SetState(s); in SetState()
94 return paren_loop_ ? loop_ : matcher_.Value(); in Value()
99 const FST &GetFst() const { return matcher_.GetFst(); } in GetFst()
101 uint64 Properties(uint64 props) const { return matcher_.Properties(props); } in Properties()
103 uint32 Flags() const { return matcher_.Flags(); } in Flags()
162 M matcher_; variable
192 matcher_.LowerBound(open_parens_.LowerBound()); in Find()
[all …]
/external/chromium/testing/gmock/include/gmock/
Dgmock-matchers.h1166 : matcher_(matcher) {} in NotMatcherImpl()
1169 return !matcher_.MatchAndExplain(x, listener); in MatchAndExplain()
1173 matcher_.DescribeNegationTo(os); in DescribeTo()
1177 matcher_.DescribeTo(os); in DescribeNegationTo()
1181 const Matcher<T> matcher_;
1191 explicit NotMatcher(InnerMatcher matcher) : matcher_(matcher) {} in NotMatcher()
1197 return Matcher<T>(new NotMatcherImpl<T>(SafeMatcherCast<T>(matcher_)));
1201 InnerMatcher matcher_;
1425 explicit MatcherAsPredicate(M matcher) : matcher_(matcher) {} in MatcherAsPredicate()
1449 return MatcherCast<const T&>(matcher_).Matches(x); in operator()
[all …]
/external/ceres-solver/internal/ceres/gmock/
Dgmock.h5778 : matcher_(matcher) {}
5781 return !matcher_.MatchAndExplain(x, listener);
5785 matcher_.DescribeNegationTo(os);
5789 matcher_.DescribeTo(os);
5793 const Matcher<T> matcher_;
5803 explicit NotMatcher(InnerMatcher matcher) : matcher_(matcher) {}
5809 return Matcher<T>(new NotMatcherImpl<T>(SafeMatcherCast<T>(matcher_)));
5813 InnerMatcher matcher_;
6037 explicit MatcherAsPredicate(M matcher) : matcher_(matcher) {}
6061 return MatcherCast<const T&>(matcher_).Matches(x);
[all …]