/external/proguard/src/proguard/util/ |
D | OrMatcher.java | 32 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()
|
D | AndMatcher.java | 32 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/ |
D | IsEqualTest.java | 27 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()
|
D | IsCollectionContainingTest.java | 68 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/baksmali/src/test/java/org/jf/baksmali/ |
D | BaksmaliTestUtils.java | 142 Matcher matcher2 = pattern2.matcher(source); in normalizeWhitespace() local 143 source = matcher2.replaceAll(""); in normalizeWhitespace()
|
/external/icu/icu4c/source/test/intltest/ |
D | regextst.cpp | 1407 RegexMatcher *matcher2 = pat2->matcher(d5, status); in API_Replace() local 1409 dest = matcher2->replaceFirst("$1$1", status); in API_Replace() 1413 dest = matcher2->replaceFirst(UNICODE_STRING_SIMPLE("The value of \\$1 is $1."), status); in API_Replace() 1417 dest = matcher2->replaceFirst("$ by itself, no group number $$$", status); in API_Replace() 1423 dest = matcher2->replaceFirst(replacement, status); in API_Replace() 1427 …REGEX_ASSERT_FAIL(matcher2->replaceFirst("bad capture group number $5...",status), U_INDEX_OUTOFBO… in API_Replace() 1496 delete matcher2; in API_Replace() 2592 RegexMatcher *matcher2 = &pat2->matcher(status)->reset(&dataText); in API_Replace_UTF8() local 2597 result = matcher2->replaceFirst(&replText, NULL, status); in API_Replace_UTF8() 2603 result = matcher2->replaceFirst(&replText, &destText, status); in API_Replace_UTF8() [all …]
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | LocaleMatcherTest.java | 233 final LocaleMatcher matcher2 = newLocaleMatcher("zh, zh_TW, zh_HK"); in testHK() local 234 assertEquals("zh_MO in {zh, zh_TW, zh_HK}", ZH_HK, matcher2.getBestMatch("zh_MO")); in testHK()
|
/external/llvm-project/llvm/utils/unittest/googlemock/include/gmock/ |
D | gmock-matchers.h | 1496 BothOfMatcherImpl(const Matcher<T>& matcher1, const Matcher<T>& matcher2) 1497 : matcher1_(matcher1), matcher2_(matcher2) {} 1593 const Matcher2& matcher2) { 1594 return ::std::pair<Matcher1, Matcher2>(matcher1, matcher2); 1642 BothOfMatcher(Matcher1 matcher1, Matcher2 matcher2) 1643 : matcher1_(matcher1), matcher2_(matcher2) {} 1668 EitherOfMatcherImpl(const Matcher<T>& matcher1, const Matcher<T>& matcher2) 1669 : matcher1_(matcher1), matcher2_(matcher2) {} 1737 EitherOfMatcher(Matcher1 matcher1, Matcher2 matcher2) 1738 : matcher1_(matcher1), matcher2_(matcher2) {}
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | LocaleMatcherTest.java | 284 final LocaleMatcher matcher2 = newLocaleMatcher("zh, zh_TW, zh_HK"); in testHK() local 285 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/ |
D | LocaleMatcherTest.java | 287 final LocaleMatcher matcher2 = newLocaleMatcher("zh, zh_TW, zh_HK"); in testHK() local 288 assertEquals("zh_MO in {zh, zh_TW, zh_HK}", ZH_HK, matcher2.getBestMatch("zh_MO")); in testHK()
|
/external/googletest/googlemock/test/ |
D | gmock-matchers_test.cc | 4631 Matcher<Uncopyable&> matcher2 = in TEST() local 4634 EXPECT_TRUE(matcher2.Matches(obj)); in TEST() 4635 EXPECT_FALSE(matcher2.Matches(obj2)); in TEST() 4753 Matcher<const int&> matcher2 = ResultOf(ReferencingFunction, Eq(&n)); in TEST() local 4754 EXPECT_TRUE(matcher2.Matches(n)); in TEST() 4755 EXPECT_FALSE(matcher2.Matches(n2)); in TEST()
|
/external/fmtlib/test/gmock/ |
D | gmock.h | 6076 BothOfMatcherImpl(const Matcher<T>& matcher1, const Matcher<T>& matcher2) 6077 : matcher1_(matcher1), matcher2_(matcher2) {} 6173 const Matcher2& matcher2) { 6174 return ::std::pair<Matcher1, Matcher2>(matcher1, matcher2); 6222 BothOfMatcher(Matcher1 matcher1, Matcher2 matcher2) 6223 : matcher1_(matcher1), matcher2_(matcher2) {} 6248 EitherOfMatcherImpl(const Matcher<T>& matcher1, const Matcher<T>& matcher2) 6249 : matcher1_(matcher1), matcher2_(matcher2) {} 6317 EitherOfMatcher(Matcher1 matcher1, Matcher2 matcher2) 6318 : matcher1_(matcher1), matcher2_(matcher2) {}
|
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/gmock-1.8.0/gmock/ |
D | gmock.h | 6313 BothOfMatcherImpl(const Matcher<T>& matcher1, const Matcher<T>& matcher2) 6314 : matcher1_(matcher1), matcher2_(matcher2) {} 6410 const Matcher2& matcher2) { 6411 return ::std::pair<Matcher1, Matcher2>(matcher1, matcher2); 6459 BothOfMatcher(Matcher1 matcher1, Matcher2 matcher2) 6460 : matcher1_(matcher1), matcher2_(matcher2) {} 6485 EitherOfMatcherImpl(const Matcher<T>& matcher1, const Matcher<T>& matcher2) 6486 : matcher1_(matcher1), matcher2_(matcher2) {} 6554 EitherOfMatcher(Matcher1 matcher1, Matcher2 matcher2) 6555 : matcher1_(matcher1), matcher2_(matcher2) {}
|