Home
last modified time | relevance | path

Searched refs:matcher2 (Results 1 – 15 of 15) sorted by relevance

/external/proguard/src/proguard/util/
DOrMatcher.java32 private final StringMatcher matcher2; field in OrMatcher
35 public OrMatcher(StringMatcher matcher1, StringMatcher matcher2) in OrMatcher() argument
38 this.matcher2 = matcher2; in OrMatcher()
47 matcher2.matches(string); in matches()
DAndMatcher.java32 private final StringMatcher matcher2; field in AndMatcher
35 public AndMatcher(StringMatcher matcher1, StringMatcher matcher2) in AndMatcher() argument
38 this.matcher2 = matcher2; in AndMatcher()
47 matcher2.matches(string); in matches()
/external/hamcrest/hamcrest-core/src/test/java/org/hamcrest/core/
DIsEqualTest.java27 final Matcher<Integer> matcher2 = equalTo(1); in comparesObjectsUsingEqualsMethod() local
28 assertMatches(matcher2, 1); in comparesObjectsUsingEqualsMethod()
29 assertDoesNotMatch(matcher2, 2); in comparesObjectsUsingEqualsMethod()
30 assertDoesNotMatch(matcher2, null); in comparesObjectsUsingEqualsMethod()
DIsCollectionContainingTest.java68 final Matcher<Iterable<String>> matcher2 = hasItems("a", "b", "c"); in matchesMultipleItemsInCollection() local
69 … assertMatches("list containing all items (without matchers)", matcher2, asList("a", "b", "c")); in matchesMultipleItemsInCollection()
/external/smali/util/src/main/java/org/jf/util/
DTextUtils.java63 Matcher matcher2 = pattern2.matcher(source); in normalizeWhitespace() local
64 source = matcher2.replaceAll(""); in normalizeWhitespace()
/external/icu/icu4c/source/test/intltest/
Dregextst.cpp1435 RegexMatcher *matcher2 = pat2->matcher(d5, status); in API_Replace() local
1437 dest = matcher2->replaceFirst("$1$1", status); in API_Replace()
1441 dest = matcher2->replaceFirst(UNICODE_STRING_SIMPLE("The value of \\$1 is $1."), status); in API_Replace()
1445 dest = matcher2->replaceFirst("$ by itself, no group number $$$", status); in API_Replace()
1451 dest = matcher2->replaceFirst(replacement, status); in API_Replace()
1455 …REGEX_ASSERT_FAIL(matcher2->replaceFirst("bad capture group number $5...",status), U_INDEX_OUTOFBO… in API_Replace()
1524 delete matcher2; in API_Replace()
2620 RegexMatcher *matcher2 = &pat2->matcher(status)->reset(&dataText); in API_Replace_UTF8() local
2625 result = matcher2->replaceFirst(&replText, NULL, status); in API_Replace_UTF8()
2631 result = matcher2->replaceFirst(&replText, &destText, status); in API_Replace_UTF8()
[all …]
/external/google-breakpad/src/testing/include/gmock/
Dgmock-matchers.h1259 BothOfMatcherImpl(const Matcher<T>& matcher1, const Matcher<T>& matcher2) in BothOfMatcherImpl() argument
1260 : matcher1_(matcher1), matcher2_(matcher2) {} in BothOfMatcherImpl()
1320 BothOfMatcher(Matcher1 matcher1, Matcher2 matcher2) in BothOfMatcher() argument
1321 : matcher1_(matcher1), matcher2_(matcher2) {} in BothOfMatcher()
1346 EitherOfMatcherImpl(const Matcher<T>& matcher1, const Matcher<T>& matcher2) in EitherOfMatcherImpl() argument
1347 : matcher1_(matcher1), matcher2_(matcher2) {} in EitherOfMatcherImpl()
1408 EitherOfMatcher(Matcher1 matcher1, Matcher2 matcher2) in EitherOfMatcher() argument
1409 : matcher1_(matcher1), matcher2_(matcher2) {} in EitherOfMatcher()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DLocaleMatcherTest.java209 final LocaleMatcher matcher2 = newLocaleMatcher("zh, zh_TW, zh_HK"); in testHK() local
210 assertEquals("zh_MO in {zh, zh_TW, zh_HK}", ZH_HK, matcher2.getBestMatch("zh_MO")); in testHK()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DLocaleMatcherTest.java210 final LocaleMatcher matcher2 = newLocaleMatcher("zh, zh_TW, zh_HK"); in testHK() local
211 assertEquals("zh_MO in {zh, zh_TW, zh_HK}", ZH_HK, matcher2.getBestMatch("zh_MO")); in testHK()
/external/v8/testing/gmock/include/gmock/
Dgmock-matchers.h1494 BothOfMatcherImpl(const Matcher<T>& matcher1, const Matcher<T>& matcher2)
1495 : matcher1_(matcher1), matcher2_(matcher2) {}
1591 const Matcher2& matcher2) {
1592 return ::std::pair<Matcher1, Matcher2>(matcher1, matcher2);
1640 BothOfMatcher(Matcher1 matcher1, Matcher2 matcher2)
1641 : matcher1_(matcher1), matcher2_(matcher2) {}
1666 EitherOfMatcherImpl(const Matcher<T>& matcher1, const Matcher<T>& matcher2)
1667 : matcher1_(matcher1), matcher2_(matcher2) {}
1735 EitherOfMatcher(Matcher1 matcher1, Matcher2 matcher2)
1736 : matcher1_(matcher1), matcher2_(matcher2) {}
/external/googletest/googlemock/include/gmock/
Dgmock-matchers.h1494 BothOfMatcherImpl(const Matcher<T>& matcher1, const Matcher<T>& matcher2)
1495 : matcher1_(matcher1), matcher2_(matcher2) {}
1591 const Matcher2& matcher2) {
1592 return ::std::pair<Matcher1, Matcher2>(matcher1, matcher2);
1640 BothOfMatcher(Matcher1 matcher1, Matcher2 matcher2)
1641 : matcher1_(matcher1), matcher2_(matcher2) {}
1666 EitherOfMatcherImpl(const Matcher<T>& matcher1, const Matcher<T>& matcher2)
1667 : matcher1_(matcher1), matcher2_(matcher2) {}
1735 EitherOfMatcher(Matcher1 matcher1, Matcher2 matcher2)
1736 : matcher1_(matcher1), matcher2_(matcher2) {}
/external/google-breakpad/src/testing/test/
Dgmock-matchers_test.cc3396 Matcher<Uncopyable&> matcher2 = in TEST() local
3399 EXPECT_TRUE(matcher2.Matches(obj)); in TEST()
3400 EXPECT_FALSE(matcher2.Matches(obj2)); in TEST()
3488 Matcher<const int&> matcher2 = ResultOf(ReferencingFunction, Eq(&n)); in TEST() local
3489 EXPECT_TRUE(matcher2.Matches(n)); in TEST()
3490 EXPECT_FALSE(matcher2.Matches(n2)); in TEST()
/external/googletest/googlemock/test/
Dgmock-matchers_test.cc3865 Matcher<Uncopyable&> matcher2 = in TEST() local
3868 EXPECT_TRUE(matcher2.Matches(obj)); in TEST()
3869 EXPECT_FALSE(matcher2.Matches(obj2)); in TEST()
3958 Matcher<const int&> matcher2 = ResultOf(ReferencingFunction, Eq(&n)); in TEST() local
3959 EXPECT_TRUE(matcher2.Matches(n)); in TEST()
3960 EXPECT_FALSE(matcher2.Matches(n2)); in TEST()
/external/v8/testing/gmock/test/
Dgmock-matchers_test.cc3856 Matcher<Uncopyable&> matcher2 = in TEST() local
3859 EXPECT_TRUE(matcher2.Matches(obj)); in TEST()
3860 EXPECT_FALSE(matcher2.Matches(obj2)); in TEST()
3948 Matcher<const int&> matcher2 = ResultOf(ReferencingFunction, Eq(&n)); in TEST() local
3949 EXPECT_TRUE(matcher2.Matches(n)); in TEST()
3950 EXPECT_FALSE(matcher2.Matches(n2)); in TEST()
/external/fmtlib/test/gmock/
Dgmock.h6075 BothOfMatcherImpl(const Matcher<T>& matcher1, const Matcher<T>& matcher2)
6076 : matcher1_(matcher1), matcher2_(matcher2) {}
6172 const Matcher2& matcher2) {
6173 return ::std::pair<Matcher1, Matcher2>(matcher1, matcher2);
6221 BothOfMatcher(Matcher1 matcher1, Matcher2 matcher2)
6222 : matcher1_(matcher1), matcher2_(matcher2) {}
6247 EitherOfMatcherImpl(const Matcher<T>& matcher1, const Matcher<T>& matcher2)
6248 : matcher1_(matcher1), matcher2_(matcher2) {}
6316 EitherOfMatcher(Matcher1 matcher1, Matcher2 matcher2)
6317 : matcher1_(matcher1), matcher2_(matcher2) {}