/external/robolectric/src/main/java/com/xtremelabs/robolectric/matchers/ |
ImageViewHasDrawableMatcher.java | 7 import org.hamcrest.Matcher; 46 public static <T extends ImageView> Matcher<T> hasDrawable(int expectedResourceId) {
|
/packages/apps/UnifiedEmail/src/com/android/mail/lib/base/ |
Platform.java | 54 static CharMatcher precomputeCharMatcher(CharMatcher matcher) { 55 return matcher.precomputedInternal();
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
Platform.java | 54 static CharMatcher precomputeCharMatcher(CharMatcher matcher) { 55 return matcher.precomputedInternal();
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/util/ |
ContactMatcherTest.java | 27 final ContactMatcher matcher = new ContactMatcher(); local 30 matcher.matchName(1, NameLookupType.NAME_COLLATION_KEY, "InvalidHex",
|
/external/okhttp/src/main/java/com/squareup/okhttp/ |
MediaType.java | 20 import java.util.regex.Matcher; 51 Matcher typeSubtype = TYPE_SUBTYPE.matcher(string); 57 Matcher parameter = PARAMETER.matcher(string);
|
/external/oprofile/libpp/ |
locate_images.h | 39 /// base class for matcher functors object 40 struct matcher { struct in class:extra_images 43 explicit matcher(std::string const & v) : value(v) {} function in struct:extra_images::matcher 44 virtual ~matcher() {} 54 std::vector<std::string> const find(matcher const & match) const;
|
/external/proguard/src/proguard/util/ |
NameParser.java | 50 // Create a matcher for the wildcard and, recursively, for the 64 // Create a matcher for the wildcard and, recursively, for the 76 // Return a matcher for the fixed first part of the regular expression, 93 StringMatcher matcher = parser.parse(args[0]); local 98 System.out.println(" -> match = "+matcher.matches(args[index]));
|
/external/chromium_org/chrome/browser/extensions/api/declarative/ |
declarative_rule_unittest.cc | 11 #include "extensions/common/matcher/url_matcher_constants.h" 58 URLMatcher matcher; local 65 RecordingConditionSet::Create(matcher.condition_factory(), 72 URLMatcher matcher; local 80 RecordingConditionSet::Create(matcher.condition_factory(), 86 EXPECT_EQ(matcher.condition_factory(), result->conditions()[0]->factory); 181 << "Tests a condition with a url matcher, for a matching value."; 184 << "Tests a condition with a url matcher, for a non-matching value " 318 URLMatcher matcher; local 320 scoped_ptr<Rule> rule(Rule::Create(matcher.condition_factory() 364 URLMatcher matcher; local [all...] |
/external/openfst/src/include/fst/ |
compose.h | 32 #include <fst/matcher.h> 39 // Delayed composition options templated on the arc type, the matcher, 45 // types and a shared matcher type M for Fst<Arc>. This should be 49 class M = Matcher<Fst<A> >, 53 M *matcher1; // FST1 matcher (see matcher.h) 54 M *matcher2; // FST2 matcher 68 // Delayed composition options templated on the two matcher types, the 84 M1 *matcher1; // FST1 matcher (see matcher.h [all...] |
/frameworks/base/test-runner/src/android/test/ |
MoreAsserts.java | 29 import java.util.regex.Matcher; 224 Matcher matcher = getMatcher(expectedRegex, actual); local 225 if (!matcher.matches()) { 228 return matcher; 242 * and fails with {@code message} if it does not. The Matcher is returned in 252 Matcher matcher = getMatcher(expectedRegex, actual); local 253 if (!matcher.find()) { 256 return matcher; 276 Matcher matcher = getMatcher(expectedRegex, actual); local 299 Matcher matcher = getMatcher(expectedRegex, actual); local [all...] |
/external/chromium_org/third_party/icu/source/common/unicode/ |
unimatch.h | 15 * \brief C++ API: Unicode Matcher 33 * mismatch between the text and this matcher. The text contains 42 * partial match between the text and this matcher. This value is 54 * complete match between the text and this matcher. For an 129 * Returns a string representation of this matcher. If the result of 131 * will produce another matcher that is equal to this one. 144 * Returns TRUE if this matcher will match a character c, where c
|
/external/clang/lib/ASTMatchers/Dynamic/ |
VariantValue.cpp | 25 MatcherList::MatcherList(const DynTypedMatcher &Matcher) 26 : List(1, Matcher.clone()) {} 45 void MatcherList::add(const DynTypedMatcher &Matcher) { 46 List.push_back(Matcher.clone()); 62 return (Twine("Matcher<") + Inner + ">").str(); 77 VariantValue::VariantValue(const DynTypedMatcher &Matcher) : Type(VT_Nothing) { 78 setMatchers(MatcherList(Matcher));
|
Diagnostics.cpp | 81 return "Error building matcher $0."; 83 return "Error parsing argument $0 for matcher $1."; 91 return "Matcher not found: $0"; 97 return "Matcher does not support binding."; 100 return "Ambiguous matcher overload."; 105 return "Error parsing matcher. Found token <$0> while looking for '('."; 107 return "Error parsing matcher. Found end-of-code while looking for ')'."; 109 return "Error parsing matcher. Found token <$0> while looking for ','."; 113 return "Input value is not a matcher expression.";
|
/external/icu4c/common/unicode/ |
unimatch.h | 15 * \brief C++ API: Unicode Matcher 33 * mismatch between the text and this matcher. The text contains 42 * partial match between the text and this matcher. This value is 54 * complete match between the text and this matcher. For an 129 * Returns a string representation of this matcher. If the result of 131 * will produce another matcher that is equal to this one. 144 * Returns TRUE if this matcher will match a character c, where c
|
/packages/apps/Browser/src/com/android/browser/homepages/ |
Template.java | 25 import java.util.regex.Matcher;
187 Matcher m = pattern.matcher(template);
200 Matcher end_m = p.matcher(template);
240 Matcher m = pattern.matcher(template);
|
/cts/tests/tests/os/src/android/os/cts/ |
BuildTest.java | 170 assertTrue(BOARD_PATTERN.matcher(Build.BOARD).matches()); 172 assertTrue(BRAND_PATTERN.matcher(Build.BRAND).matches()); 174 assertTrue(DEVICE_PATTERN.matcher(Build.DEVICE).matches()); 178 assertTrue(HARDWARE_PATTERN.matcher(Build.HARDWARE).matches()); 182 assertTrue(ID_PATTERN.matcher(Build.ID).matches()); 188 assertTrue(PRODUCT_PATTERN.matcher(Build.PRODUCT).matches()); 190 assertTrue(SERIAL_NUMBER_PATTERN.matcher(Build.SERIAL).matches()); 192 assertTrue(TAGS_PATTERN.matcher(Build.TAGS).matches()); 196 assertTrue(TYPE_PATTERN.matcher(Build.TYPE).matches());
|
/external/jsilver/src/com/google/clearsilver/jsilver/functions/html/ |
TextHtmlFunction.java | 24 import java.util.regex.Matcher; 114 Matcher matcher = LINKABLES.matcher(in); local 121 while (matcher.find()) { 122 matchStart = matcher.start(); 123 matchEnd = matcher.end(); 134 if (matcher.group(EMAIL_GROUP) != null) { 139 matcher.group(WITH_SCHEME_GROUP) == null, out);
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
WebViewStartupTest.java | 29 import java.util.regex.Matcher; 78 Matcher m = pat.matcher(cookie);
|
/external/chromium_org/content/renderer/android/ |
phone_number_detector.cc | 65 PhoneNumberMatcher matcher(utf8_input, region_code_); 66 if (matcher.HasNext()) { 68 matcher.Next(&match);
|
/external/chromium_org/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/ |
gmock.h | 19 typedef Matcher<const Proto&> InnerMatcher; 65 // WhenDeserializedAs<Proto>(m) is a matcher that matches a string 67 // m, which can be any valid protobuf matcher.
|
/external/doclava/src/com/google/doclava/ |
ParamTagInfo.java | 22 import java.util.regex.Matcher; 34 Matcher m = PATTERN.matcher(text);
|
/external/jmonkeyengine/engine/src/core/com/jme3/font/ |
ColorTags.java | 5 import java.util.regex.Matcher;
44 Matcher m = colorPattern.matcher(charSeq);
|
/packages/apps/Email/src/com/android/email/mail/internet/ |
EmailHtmlUtil.java | 19 import java.util.regex.Matcher; 36 Matcher match = pattern.matcher(text);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/systrace/ |
SystraceVersionDetector.java | 30 import java.util.regex.Matcher; 92 Matcher m = p.matcher(category);
|
/external/guava/guava/src/com/google/common/base/ |
CharMatcher.java | 194 * Determines whether a character is single-width (not double-width). When in doubt, this matcher 377 * Returns a {@code char} matcher that matches only one specified character. 412 * Returns a {@code char} matcher that matches any character except the one specified. 437 * Returns a {@code char} matcher that matches any character present in the given character 482 * Returns a {@code char} matcher that matches any character not present in the given character 490 * Returns a {@code char} matcher that matches any character in a given range (both endpoints are 520 * Returns a matcher with identical behavior to the given {@link Character}-based predicate, but 554 * Returns a matcher that matches any character not matched by this matcher. 582 * Returns a matcher that matches any character matched by both this matcher and {@code other} [all...] |