HomeSort by relevance Sort by last modified time
    Searched refs:matches (Results 1 - 25 of 2296) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/proguard/src/proguard/util/
ConstantMatcher.java 24 * This StringMatcher matches any string or no string at all.
30 private boolean matches; field in class:ConstantMatcher
36 public ConstantMatcher(boolean matches)
38 this.matches = matches;
44 public boolean matches(String string) method in class:ConstantMatcher
46 return matches;
StringMatcher.java 33 * Checks whether the given string matches.
35 * @return a boolean indicating whether the string matches the criterion.
37 public boolean matches(String string); method in interface:StringMatcher
NotMatcher.java 42 public boolean matches(String string) method in class:NotMatcher
44 return !matcher.matches(string);
SettableMatcher.java 42 public boolean matches(String string) method in class:SettableMatcher
44 return matcher.matches(string);
EmptyStringMatcher.java 32 public boolean matches(String string) method in class:EmptyStringMatcher
AndMatcher.java 24 * This StringMatcher tests whether strings matches both given StringMatcher
44 public boolean matches(String string) method in class:AndMatcher
46 return matcher1.matches(string) &&
47 matcher2.matches(string);
OrMatcher.java 24 * This StringMatcher tests whether strings matches either of the given
44 public boolean matches(String string) method in class:OrMatcher
46 return matcher1.matches(string) ||
47 matcher2.matches(string);
  /external/guice/extensions/servlet/test/com/google/inject/servlet/
UriPatternTypeTest.java 26 assertTrue(pattern.matches("/foo/asdf"));
27 assertTrue(pattern.matches("/foo/asdf?val=1"));
28 assertFalse(pattern.matches("/path/file.bar"));
29 assertFalse(pattern.matches("/path/file.bar?val=1"));
30 assertFalse(pattern.matches("/asdf"));
31 assertFalse(pattern.matches("/asdf?val=1"));
34 assertFalse(pattern.matches("/foo/asdf"));
35 assertFalse(pattern.matches("/foo/asdf?val=1"));
36 assertTrue(pattern.matches("/path/file.bar"));
37 assertTrue(pattern.matches("/path/file.bar?val=1"))
    [all...]
  /external/jacoco/org.jacoco.core.test/src/org/jacoco/core/runtime/
WildcardMatcherTest.java 23 assertTrue(new WildcardMatcher("").matches(""));
24 assertFalse(new WildcardMatcher("").matches("abc"));
29 assertTrue(new WildcardMatcher("abc/def.txt").matches("abc/def.txt"));
34 assertFalse(new WildcardMatcher("abcdef").matches("abcDef"));
35 assertFalse(new WildcardMatcher("ABCDEF").matches("AbCDEF"));
40 assertFalse(new WildcardMatcher("rst.xyz").matches("rstAxyz"));
41 assertTrue(new WildcardMatcher("(x)+").matches("(x)+"));
46 assertTrue(new WildcardMatcher("*").matches(""));
47 assertTrue(new WildcardMatcher("*").matches("java/lang/Object"));
48 assertTrue(new WildcardMatcher("*Test").matches("jacoco/MatcherTest"))
    [all...]
  /external/opencv3/samples/cpp/tutorial_code/features2D/AKAZE_tracking/
stats.h 6 int matches; member in struct:Stats
11 Stats() : matches(0),
18 matches += op.matches;
26 matches /= num;
  /external/llvm/tools/llvm-cov/
CoverageFilters.cpp 20 bool NameCoverageFilter::matches(const coverage::FunctionRecord &Function) { function in class:NameCoverageFilter
26 NameRegexCoverageFilter::matches(const coverage::FunctionRecord &Function) { function in class:NameRegexCoverageFilter
30 bool RegionCoverageFilter::matches(const coverage::FunctionRecord &Function) { function in class:RegionCoverageFilter
35 bool LineCoverageFilter::matches(const coverage::FunctionRecord &Function) { function in class:LineCoverageFilter
44 bool CoverageFilters::matches(const coverage::FunctionRecord &Function) { function in class:CoverageFilters
46 if (Filter->matches(Function))
53 CoverageFiltersMatchAll::matches(const coverage::FunctionRecord &Function) { function in class:CoverageFiltersMatchAll
55 if (!Filter->matches(Function))
  /external/easymock/src/org/easymock/
IArgumentMatcher.java 37 boolean matches(Object argument); method in interface:IArgumentMatcher
ArgumentsMatcher.java 35 * Matches two arrays of arguments.
43 boolean matches(Object[] expected, Object[] actual); method in interface:ArgumentsMatcher
  /external/hamcrest/src/org/hamcrest/
Matcher.java 26 * This method matches against Object, instead of the generic type T. This is
32 * @return <code>true</code> if <var>item</var> matches, otherwise <code>false</code>.
36 boolean matches(Object item); method in interface:Matcher
  /external/icu/android_icu4j/src/main/java/android/icu/text/
DictionaryMatcher.java 29 public abstract int matches(CharacterIterator text, int maxLength, int[] lengths, method in class:DictionaryMatcher
32 public int matches(CharacterIterator text, int maxLength, int[] lengths, method in class:DictionaryMatcher
34 return matches(text, maxLength, lengths, count, limit, null);
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DictionaryMatcher.java 28 public abstract int matches(CharacterIterator text, int maxLength, int[] lengths, method in class:DictionaryMatcher
31 public int matches(CharacterIterator text, int maxLength, int[] lengths, method in class:DictionaryMatcher
33 return matches(text, maxLength, lengths, count, limit, null);
  /packages/apps/Launcher3/src/com/android/launcher3/util/
StringFilter.java 12 public abstract boolean matches(String str); method in class:StringFilter
17 public boolean matches(String str) {
26 public boolean matches(String str) {
  /frameworks/base/core/tests/coretests/src/android/util/
PatternsTest.java 34 t = Patterns.TOP_LEVEL_DOMAIN.matcher("com").matches();
38 t = Patterns.TOP_LEVEL_DOMAIN.matcher("me").matches();
42 t = Patterns.TOP_LEVEL_DOMAIN.matcher("xn--0zwm56d").matches();
46 t = Patterns.TOP_LEVEL_DOMAIN.matcher("\uD55C\uAD6D").matches();
49 t = Patterns.TOP_LEVEL_DOMAIN.matcher("mem").matches();
52 t = Patterns.TOP_LEVEL_DOMAIN.matcher("xn").matches();
55 t = Patterns.TOP_LEVEL_DOMAIN.matcher("xer").matches();
64 assertTrue("Should match 'com'", pattern.matcher("com").matches());
70 assertTrue("Should match 'me'", pattern.matcher("me").matches());
76 assertTrue("Should match Punycode TLD", pattern.matcher("xn--qxam").matches());
    [all...]
  /external/vboot_reference/scripts/image_signing/
ensure_no_nonrelease_files.sh 54 local matches=$(grep -s "^[^#]" "${config_path}")
55 if [ -n "$matches" ]; then
57 echo "$matches"
  /external/guice/extensions/servlet/src/com/google/inject/servlet/
UriPatternMatcher.java 28 * @return Returns true if the uri matches the pattern.
30 boolean matches(String uri); method in interface:UriPatternMatcher
  /external/lzma/Java/Tukaani/src/org/tukaani/xz/lzma/
LZMAEncoderFast.java 14 import org.tukaani.xz.lz.Matches;
21 private Matches matches = null; field in class:LZMAEncoderFast
46 // Get the matches for the next byte unless readAhead indicates
47 // that we already got the new matches during the previous call
50 matches = getMatches();
87 if (matches.count > 0) {
88 mainLen = matches.len[matches.count - 1];
89 mainDist = matches.dist[matches.count - 1]
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
Pattern2Test.java 106 private void testCategory(String cat, String... matches) {
112 for (int j = 0; j < matches.length; j++) {
113 String t = matches[j];
119 "by pattern '"+pat, p.matcher(t).matches());
121 "be matched by pattern '"+npat, pn.matcher(t).matches());
124 "by pattern '"+pat, p.matcher(t).matches());
126 "not be matched by pattern '"+npat, pn.matcher(t).matches());
138 assertTrue(m.matches());
144 assertTrue(m.matches());
155 assertTrue(m.matches());
    [all...]
  /external/clang/unittests/ASTMatchers/
ASTMatchersTest.cpp 60 EXPECT_TRUE(matches("namespace x { class X {}; } using x::X;",
66 EXPECT_TRUE(matches("typedef int X;", NamedX));
67 EXPECT_TRUE(matches("int X;", NamedX));
68 EXPECT_TRUE(matches("class foo { virtual void X(); };", NamedX));
69 EXPECT_TRUE(matches("void foo() try { } catch(int X) { }", NamedX));
70 EXPECT_TRUE(matches("void foo() { int X; }", NamedX));
71 EXPECT_TRUE(matches("namespace X { }", NamedX));
72 EXPECT_TRUE(matches("enum X { A, B, C };", NamedX));
79 EXPECT_TRUE(matches("typedef int Xa;", NamedX));
80 EXPECT_TRUE(matches("int Xb;", NamedX))
    [all...]
  /external/iproute2/tc/
m_csum.c 49 if ((matches(*argv, "iph") == 0) ||
50 (matches(*argv, "ip4h") == 0) ||
51 (matches(*argv, "ipv4h") == 0))
54 else if (matches(*argv, "icmp") == 0)
57 else if (matches(*argv, "igmp") == 0)
60 else if (matches(*argv, "tcp") == 0)
63 else if (matches(*argv, "udp") == 0)
66 else if (matches(*argv, "udplite") == 0)
69 else if ((matches(*argv, "and") == 0) ||
70 (matches(*argv, "or") == 0) |
    [all...]
  /external/lzma/Java/Tukaani/src/org/tukaani/xz/lz/
HC4.java 16 private final Matches matches; field in class:HC4
47 // space for one-byte matches.
48 matches = new Matches(niceLen - 1);
80 public Matches getMatches() {
81 matches.count = 0;
88 return matches;
107 // matches, also the second byte does, so there's no need to
111 matches.len[0] = 2
    [all...]

Completed in 1315 milliseconds

1 2 3 4 5 6 7 8 91011>>