/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/util/src/main/java/org/jf/util/ |
D | TextUtils.java | 63 Matcher matcher2 = pattern2.matcher(source); in normalizeWhitespace() local 64 source = matcher2.replaceAll(""); in normalizeWhitespace()
|
/external/icu/icu4c/source/test/intltest/ |
D | regextst.cpp | 1374 RegexMatcher *matcher2 = pat2->matcher(d5, status); in API_Replace() local 1376 dest = matcher2->replaceFirst("$1$1", status); in API_Replace() 1380 dest = matcher2->replaceFirst(UNICODE_STRING_SIMPLE("The value of \\$1 is $1."), status); in API_Replace() 1384 dest = matcher2->replaceFirst("$ by itself, no group number $$$", status); in API_Replace() 1390 dest = matcher2->replaceFirst(replacement, status); in API_Replace() 1394 …REGEX_ASSERT_FAIL(matcher2->replaceFirst("bad capture group number $5...",status), U_INDEX_OUTOFBO… in API_Replace() 1463 delete matcher2; in API_Replace() 2559 RegexMatcher *matcher2 = &pat2->matcher(status)->reset(&dataText); in API_Replace_UTF8() local 2564 result = matcher2->replaceFirst(&replText, NULL, status); in API_Replace_UTF8() 2570 result = matcher2->replaceFirst(&replText, &destText, status); in API_Replace_UTF8() [all …]
|
/external/tensorflow/tensorflow/contrib/graph_editor/tests/ |
D | transform_test.py | 113 matcher2 = match.OpMatcher("AddNoise_2").input_ops( 116 self.assertTrue(matcher2(top))
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | LocaleMatcherTest.java | 199 final LocaleMatcher matcher2 = newLocaleMatcher("zh, zh_TW, zh_HK"); in testHK() local 200 assertEquals("zh_MO in {zh, zh_TW, zh_HK}", ZH_HK, matcher2.getBestMatch("zh_MO")); in testHK()
|
/external/google-breakpad/src/testing/include/gmock/ |
D | gmock-matchers.h | 1259 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/ |
D | LocaleMatcherTest.java | 215 final LocaleMatcher matcher2 = newLocaleMatcher("zh, zh_TW, zh_HK"); in testHK() local 216 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 | 218 final LocaleMatcher matcher2 = newLocaleMatcher("zh, zh_TW, zh_HK"); in testHK() local 219 assertEquals("zh_MO in {zh, zh_TW, zh_HK}", ZH_HK, matcher2.getBestMatch("zh_MO")); in testHK()
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/include/gmock/ |
D | gmock-matchers.h | 1494 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/ |
D | gmock-matchers_test.cc | 3396 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/ |
D | gmock-matchers_test.cc | 4486 Matcher<Uncopyable&> matcher2 = in TEST() local 4489 EXPECT_TRUE(matcher2.Matches(obj)); in TEST() 4490 EXPECT_FALSE(matcher2.Matches(obj2)); in TEST() 4595 Matcher<const int&> matcher2 = ResultOf(ReferencingFunction, Eq(&n)); in TEST() local 4596 EXPECT_TRUE(matcher2.Matches(n)); in TEST() 4597 EXPECT_FALSE(matcher2.Matches(n2)); in TEST()
|