/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
rlcompleter.py | 87 self.matches = self.attr_matches(text)
89 self.matches = self.global_matches(text)
91 return self.matches[state]
101 """Compute matches when text is a simple name.
108 matches = []
112 matches.append(word)
116 matches.append(self._callable_postfix(val, word))
117 return matches
120 """Compute matches when text contains a dot.
149 matches = [] [all...] |
/external/mockito/src/test/java/org/mockito/internal/hamcrest/ |
MatcherGenericTypeExtractorTest.java | 23 public boolean matches(Object o) { method in class:MatcherGenericTypeExtractorTest.IntMatcher 31 public boolean matches(Object o) { method in class:MatcherGenericTypeExtractorTest.StaticIntMatcher 39 public boolean matches(Object o) { method in class:MatcherGenericTypeExtractorTest.StaticIntMatcherSubclass 48 public boolean matches(Object o) { method in class:MatcherGenericTypeExtractorTest.NonGenericMatcher 56 public boolean matches(Object o) { method in class:MatcherGenericTypeExtractorTest.IntMatcherFromInterface 65 public boolean matches(Object o) { method in class:MatcherGenericTypeExtractorTest.StaticIntMatcherFromInterface 75 public boolean matches(Object o) { method in class:MatcherGenericTypeExtractorTest.NonGenericMatcherFromInterface 86 public boolean matches(Object o) { method in class:MatcherGenericTypeExtractorTest.SubclassGenericMatcherFromInterface 111 public boolean matches(Object o) { 119 public boolean matches(Object o) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
rlcompleter.py | 83 self.matches = self.attr_matches(text) 85 self.matches = self.global_matches(text) 87 return self.matches[state] 97 """Compute matches when text is a simple name. 104 matches = [] 108 matches.append(word) 112 matches.append(self._callable_postfix(val, word)) 113 return matches 116 """Compute matches when text contains a dot. 145 matches = [ [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
rlcompleter.py | 83 self.matches = self.attr_matches(text) 85 self.matches = self.global_matches(text) 87 return self.matches[state] 97 """Compute matches when text is a simple name. 104 matches = [] 108 matches.append(word) 112 matches.append(self._callable_postfix(val, word)) 113 return matches 116 """Compute matches when text contains a dot. 145 matches = [ [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
rlcompleter.py | 83 self.matches = self.attr_matches(text) 85 self.matches = self.global_matches(text) 87 return self.matches[state] 97 """Compute matches when text is a simple name. 104 matches = [] 108 matches.append(word) 112 matches.append(self._callable_postfix(val, word)) 113 return matches 116 """Compute matches when text contains a dot. 145 matches = [ [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
rlcompleter.py | 83 self.matches = self.attr_matches(text) 85 self.matches = self.global_matches(text) 87 return self.matches[state] 97 """Compute matches when text is a simple name. 104 matches = [] 108 matches.append(word) 112 matches.append(self._callable_postfix(val, word)) 113 return matches 116 """Compute matches when text contains a dot. 145 matches = [ [all...] |
/external/iproute2/bridge/ |
bridge.c | 69 if (matches(argv0, c->cmd) == 0) 137 if (matches(opt, "-help") == 0) { 139 } else if (matches(opt, "-Version") == 0) { 142 } else if (matches(opt, "-stats") == 0 || 143 matches(opt, "-statistics") == 0) { 145 } else if (matches(opt, "-details") == 0) { 147 } else if (matches(opt, "-oneline") == 0) { 149 } else if (matches(opt, "-timestamp") == 0) { 151 } else if (matches(opt, "-family") == 0) { 168 } else if (matches(opt, "-netns") == 0) [all...] |
/developers/samples/android/ui/views/EffectiveNavigation/app/src/androidTest/java/com/example/android/effectivenavigation/ |
CollectionDemoActivityTest.java | 22 import static android.support.test.espresso.assertion.ViewAssertions.matches; 46 onView(withText("2")).check(matches(not(isDisplayed()))); method 47 onView(withText("Page 2")).perform(click()).check(matches(isSelected())); 48 onView(withText("2")).check(matches(isDisplayed())); method 53 onView(withText("1")).check(matches(isDisplayed())); method 55 onView(withText("2")).check(matches(isDisplayed())); method 56 onView(withText("Page 2")).check(matches(isSelected())); method
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/ |
PackageMatchingCacheTest.java | 47 cache.matches(null); 51 cache.matches(""); 59 assertTrue(cache.matches("ret.pkg")); 60 assertTrue(cache.matches("ret.pkg")); 61 assertTrue(cache.matches("ret.pkg")); 69 assertTrue(cache.matches("ret.pkg")); 72 assertTrue(cache.matches("other.pkg"));
|
/external/llvm/lib/Option/ |
ArgList.cpp | 30 if (O.matches(Id0) || 31 (Id1.isValid() && O.matches(Id1)) || 32 (Id2.isValid() && O.matches(Id2))) 43 [=](Arg *A) { return A->getOption().matches(Id); }), 50 if ((*it)->getOption().matches(Id)) 58 if ((*it)->getOption().matches(Id0) || 59 (*it)->getOption().matches(Id1)) 68 if ((*it)->getOption().matches(Id0) || (*it)->getOption().matches(Id1) || 69 (*it)->getOption().matches(Id2) [all...] |
/system/keymaster/android_keymaster/ |
keymaster_configuration.cpp | 83 regmatch_t matches[kPlatformVersionMatchCount]; local 85 regexec(®ex, version_str, kPlatformVersionMatchCount, matches, 0 /* flags */); 92 uint32_t major = match_to_uint32(version_str, matches[kMajorVersionMatch]); 93 uint32_t minor = match_to_uint32(version_str, matches[kMinorVersionMatch]); 94 uint32_t subminor = match_to_uint32(version_str, matches[kSubminorVersionMatch]); 112 regmatch_t matches[kPlatformPatchlevelMatchCount]; local 114 regexec(®ex, patchlevel_str, kPlatformPatchlevelMatchCount, matches, 0 /* flags */); 121 uint32_t year = match_to_uint32(patchlevel_str, matches[kYearMatch]); 122 uint32_t month = match_to_uint32(patchlevel_str, matches[kMonthMatch]);
|
/external/autotest/client/cros/cellular/ |
mm.py | 86 matches = [(m, path) for m, path in devices if modem_pattern in path] 87 if not matches: 89 if len(matches) > 1: 91 ', '.join([modem.path for modem in matches])) 92 return matches[0]
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/lz/ |
BT4.java | 16 private final Matches matches; field in class:BT4 39 // space for one-byte matches. 40 matches = new Matches(niceLen - 1); 63 public Matches getMatches() { 64 matches.count = 0; 72 return matches; 89 // matches, also the second byte does, so there's no need to 93 matches.len[0] = 2 [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
KeyGeneratorThread.java | 44 int matches = 0; local 47 matches++; 50 if (matches > array1.length / 2) { 55 matches = 0; 64 matches++;
|
/tools/loganalysis/src/com/android/loganalysis/parser/ |
MonkeyLogParser.java | 139 if (!m.matches()) { 155 if (m.matches()) { 165 if (!m.matches() && line.startsWith("// ") && !line.startsWith("// ** ")) { 175 if (m.matches()) { 189 if (!m.matches()) { 197 if (m.matches()) { 201 if (m.matches()) { 206 if (m.matches()) { 210 if (m.matches()) { 214 if (m.matches()) { [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/ |
Pattern2Test.java | 34 assertTrue(m1.matches()); 39 assertFalse(m2.matches()); 43 assertTrue(Pattern.matches("foo.*", "foo123")); 44 assertFalse(Pattern.matches("foo.*", "fox")); 46 assertFalse(Pattern.matches("bar", "foobar")); 48 assertTrue(Pattern.matches("", "")); 356 // Ensure that each escape matches exactly the corresponding 365 if (m.matches()) { 415 assertTrue(m.matches()); 417 assertTrue(m.matches()); [all...] |
/art/test/094-pattern/src/ |
Main.java | 81 System.out.println("str1 matches: " + WEB_URL.matcher(testStr1).matches()); 82 System.out.println("str2 matches: " + WEB_URL.matcher(testStr2).matches()); 83 System.out.println("str3 matches: " + WEB_URL.matcher(testStr3).matches());
|
/development/gsi/gsi_util/ |
run_test.py | 25 matches = [] 28 matches.extend(os.path.join(dirpath, f) 30 return matches
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/ |
find-uname.py | 8 *** small letter a$ matches ***
15 *** horizontal line matches ***
32 matches = [(y,x) for (x,y) in unicode_names
34 if matches:
35 print "***", arg, "matches", "***"
36 for match in matches:
|
/external/emma/core/java12/com/vladium/util/ |
WCMatcher.java | 71 public abstract boolean matches (String s); method in class:WCMatcher 72 public abstract boolean matches (char [] chars); method in class:WCMatcher 75 // private boolean matches (int pi, int si, final char [] string) 87 // return (si < string.length) && matches (pi + 1, si + 1, string); 92 // return matches (pi + 1, si, string) || ((si < string.length) && matches (pi, si + 1, string)); 97 // return (si < string.length) && (m_pattern [pi] == string [si]) && matches (pi + 1, si + 1, string); 118 public final boolean matches (final String s) method in class:WCMatcher.AllMatcher 125 public final boolean matches (final char [] chars) method in class:WCMatcher.AllMatcher 137 public final boolean matches (final String s method in class:WCMatcher.EmptyMatcher 144 public final boolean matches (final char [] chars) method in class:WCMatcher.EmptyMatcher 156 public final boolean matches (final String s) method in class:WCMatcher.StartsWithMatcher 163 public final boolean matches (final char [] chars) method in class:WCMatcher.StartsWithMatcher 194 public final boolean matches (final String s) method in class:WCMatcher.EndsWithMatcher 201 public final boolean matches (final char [] chars) method in class:WCMatcher.EndsWithMatcher 233 public final boolean matches (final String s) method in class:WCMatcher.PatternMatcher 293 public final boolean matches (final char [] string) method in class:WCMatcher.PatternMatcher [all...] |
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/ |
ShortcutCombination.java | 16 public abstract boolean matches(Object o); method in class:ShortcutCombination 21 protected boolean matches(Object o, boolean shortcut) { method in class:ShortcutCombination 23 if (matcher.matches(o) == shortcut) {
|
/external/python/cpython2/Demo/scripts/ |
find-uname.py | 8 *** small letter a$ matches *** 15 *** horizontal line matches *** 32 matches = [(y,x) for (x,y) in unicode_names 34 if matches: 35 print "***", arg, "matches", "***" 36 for match in matches:
|
/external/python/cpython3/Lib/ |
rlcompleter.py | 89 self.matches = self.attr_matches(text) 91 self.matches = self.global_matches(text) 93 return self.matches[state] 103 """Compute matches when text is a simple name. 110 matches = [] 122 matches.append(word) 127 matches.append(self._callable_postfix(val, word)) 128 return matches 131 """Compute matches when text contains a dot. 159 matches = [ [all...] |
/external/python/cpython3/Tools/scripts/ |
find-uname.py | 8 *** small letter a$ matches *** 15 *** horizontal line matches *** 32 matches = [(y,x) for (x,y) in unicode_names 34 if matches: 35 print("***", arg, "matches", "***") 36 for match in matches:
|
/frameworks/base/core/java/android/companion/ |
DeviceFilter.java | 43 * @return whether the given device matches this filter 47 boolean matches(D device); method in interface:DeviceFilter 56 * A nullsafe {@link #matches(Parcelable)}, returning true if the filter is null 60 static <D extends Parcelable> boolean matches(@Nullable DeviceFilter<D> filter, D device) { method in interface:DeviceFilter 61 return filter == null || filter.matches(device);
|