Home
last modified time | relevance | path

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

/external/clang/include/clang/ASTMatchers/
DASTMatchersMacros.h97 class matcher_##DefineMatcher##Matcher \
100 explicit matcher_##DefineMatcher##Matcher() {} \
109 new internal::matcher_##DefineMatcher##Matcher()); \
111 inline bool internal::matcher_##DefineMatcher##Matcher::matches( \
135 class matcher_##DefineMatcher##OverloadId##Matcher \
138 explicit matcher_##DefineMatcher##OverloadId##Matcher( \
153 new internal::matcher_##DefineMatcher##OverloadId##Matcher(Param)); \
157 inline bool internal::matcher_##DefineMatcher##OverloadId##Matcher::matches( \
184 class matcher_##DefineMatcher##OverloadId##Matcher \
187 matcher_##DefineMatcher##OverloadId##Matcher(ParamType1 const &A##Param1, \
[all …]
/external/google-breakpad/src/testing/include/gmock/
Dgmock-matchers.h1212 : matcher_(matcher) {} in NotMatcherImpl()
1215 return !matcher_.MatchAndExplain(x, listener); in MatchAndExplain()
1219 matcher_.DescribeNegationTo(os); in DescribeTo()
1223 matcher_.DescribeTo(os); in DescribeNegationTo()
1227 const Matcher<T> matcher_;
1237 explicit NotMatcher(InnerMatcher matcher) : matcher_(matcher) {} in NotMatcher()
1243 return Matcher<T>(new NotMatcherImpl<T>(SafeMatcherCast<T>(matcher_)));
1247 InnerMatcher matcher_;
1471 explicit MatcherAsPredicate(M matcher) : matcher_(matcher) {} in MatcherAsPredicate()
1495 return MatcherCast<const T&>(matcher_).Matches(x); in operator()
[all …]
/external/libtextclassifier/utils/
Dregex-match.cc50 : context_(context), verifier_code_(verifier_code), matcher_(matcher) {} in LuaVerifier()
58 const UniLib::RegexMatcher* matcher_; member in libtextclassifier3::__anonff3048b30111::LuaVerifier
102 const CodepointSpan span = {matcher_->Start(group_id, &status), in GetCapturingGroup()
103 matcher_->End(group_id, &status)}; in GetCapturingGroup()
104 std::string text = matcher_->Group(group_id, &status).ToUTF8String(); in GetCapturingGroup()
/external/googletest/googlemock/include/gmock/
Dgmock-matchers.h966 : matcher_(matcher) {}
970 return !matcher_.MatchAndExplain(x, listener);
974 matcher_.DescribeNegationTo(os);
978 matcher_.DescribeTo(os);
982 const Matcher<T> matcher_;
992 explicit NotMatcher(InnerMatcher matcher) : matcher_(matcher) {}
998 return Matcher<T>(new NotMatcherImpl<T>(SafeMatcherCast<T>(matcher_)));
1002 InnerMatcher matcher_;
1255 explicit MatcherAsPredicate(M matcher) : matcher_(matcher) {}
1279 return MatcherCast<const T&>(matcher_).Matches(x);
[all …]
/external/libtextclassifier/utils/utf8/
Dunilib-javaicu.cc427 matcher_(std::move(matcher)), in RegexMatcher()
434 matcher_.get(), jni_cache_->matcher_matches); in Matches()
449 jni_cache_->GetEnv()->CallObjectMethod(matcher_.get(), in ApproximatelyMatches()
461 matcher_.get(), jni_cache_->matcher_start_idx, 0); in ApproximatelyMatches()
468 matcher_.get(), jni_cache_->matcher_end_idx, 0); in ApproximatelyMatches()
494 matcher_.get(), jni_cache_->matcher_start_idx, 0); in UpdateLastFindOffset()
516 matcher_.get(), jni_cache_->matcher_find); in Find()
545 matcher_.get(), jni_cache_->matcher_start_idx, group_idx); in Start()
585 matcher_.get(), jni_cache_->matcher_end_idx, group_idx); in End()
616 jenv->CallObjectMethod(matcher_.get(), jni_cache_->matcher_group)), in Group()
[all …]
Dunilib-javaicu.h123 ScopedGlobalRef<jobject> matcher_; variable
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/include/gmock/
Dgmock-matchers.h1447 : matcher_(matcher) {}
1450 return !matcher_.MatchAndExplain(x, listener);
1454 matcher_.DescribeNegationTo(os);
1458 matcher_.DescribeTo(os);
1462 const Matcher<T> matcher_;
1472 explicit NotMatcher(InnerMatcher matcher) : matcher_(matcher) {}
1478 return Matcher<T>(new NotMatcherImpl<T>(SafeMatcherCast<T>(matcher_)));
1482 InnerMatcher matcher_;
1798 explicit MatcherAsPredicate(M matcher) : matcher_(matcher) {}
1822 return MatcherCast<const T&>(matcher_).Matches(x);
[all …]
/external/libtextclassifier/utils/sentencepiece/
Dencoder.h48 matcher_(matcher), in num_pieces_()
79 const SentencePieceMatcher* matcher_; variable
Dencoder.cc61 if (!matcher_->FindAllPrefixMatches(normalized_text, &matches)) { in Encode()
/external/libtextclassifier/annotator/datetime/
Dextractor.h56 matcher_(matcher), in DatetimeExtractor()
104 const UniLib::RegexMatcher& matcher_; variable
Dextractor.cc195 *result = matcher_.Group(group_id, &status); in GroupTextFromMatch()
205 const int match_start = matcher_.Start(group_id, &status); in UpdateMatchSpan()
209 const int match_end = matcher_.End(group_id, &status); in UpdateMatchSpan()
/external/catch2/docs/
Dassertions.md125 * **REQUIRE_THROWS_WITH(** _expression_, _string or string matcher_ **)** and
126 * **CHECK_THROWS_WITH(** _expression_, _string or string matcher_ **)**
128 …hrown that, when converted to a string, matches the _string_ or _string matcher_ provided (see nex…
/external/googletest/googletest/src/
Dgtest-death-test.cc400 matcher_(std::move(matcher)), in DeathTestImpl()
439 Matcher<const std::string&> matcher_; member in testing::internal::DeathTestImpl
593 if (matcher_.Matches(error_message)) { in Passed()
597 matcher_.DescribeTo(&stream); in Passed()
/external/v8/src/compiler/arm64/
Dinstruction-selector-arm64.cc2086 : matches_(false), cont_(cont), matcher_(node) { in TestAndBranchMatcher()
2093 return base::bits::CountTrailingZeros(matcher_.right().Value()); in bit()
2098 return matcher_.left().node(); in input()
2104 Matcher matcher_; member
2108 matcher_.right().HasValue() && in Initialize()
2109 base::bits::IsPowerOfTwo(matcher_.right().Value())) { in Initialize()