HomeSort by relevance Sort by last modified time
    Searched refs:matches (Results 251 - 275 of 1473) sorted by null

<<11121314151617181920>>

  /external/iproute2/ip/
iplink_macvlan.c 41 if (matches(*argv, "mode") == 0) {
57 } else if (matches(*argv, "help") == 0) {
iplink_macvtap.c 38 if (matches(*argv, "mode") == 0) {
54 } else if (matches(*argv, "help") == 0) {
ipnetns.c 288 if ((matches(*argv, "list") == 0) || (matches(*argv, "show") == 0) ||
289 (matches(*argv, "lst") == 0))
292 if (matches(*argv, "help") == 0)
295 if (matches(*argv, "add") == 0)
298 if (matches(*argv, "delete") == 0)
301 if (matches(*argv, "exec") == 0)
304 if (matches(*argv, "monitor") == 0)
ipmaddr.c 259 if (matches(*argv, "help") == 0)
297 if (matches(*argv, "address") == 0) {
300 if (matches(*argv, "help") == 0)
336 if (matches(*argv, "add") == 0)
338 if (matches(*argv, "delete") == 0)
340 if (matches(*argv, "list") == 0 || matches(*argv, "show") == 0
341 || matches(*argv, "lst") == 0)
343 if (matches(*argv, "help") == 0)
  /external/mockito/src/org/mockito/internal/matchers/
LocalizedMatcher.java 29 public boolean matches(Object item) { method in class:LocalizedMatcher
30 return actualMatcher.matches(item);
  /external/owasp/sanitizer/tools/
cut_release.py 128 matches = re.findall(r"(<!--##REPLACE##(.*)##END##-->)", line)
129 if len(matches) >= 2: raise Error("%s: %s" % (path, line))
130 if len(matches):
131 match = matches[0]
134 matches = re.findall("##DUPE##(.*)##END##", line)
135 if len(matches) >= 2: raise Error("%s: %s" % (path, line))
136 if len(matches):
137 match = matches[0]
  /frameworks/base/services/core/java/com/android/server/firewall/
NotFilter.java 35 public boolean matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent, method in class:NotFilter
37 return !mChild.matches(ifw, resolvedComponent, intent, callerUid, callerPid, resolvedType,
  /external/chromium_org/components/query_parser/
query_parser.cc 34 // Coalesces match positions in |matches| after index that intersect the match
36 void CoalesceMatchesFrom(size_t index, Snippet::MatchPositions* matches) {
37 Snippet::MatchPosition& mp = (*matches)[index];
38 for (Snippet::MatchPositions::iterator i = matches->begin() + index + 1;
39 i != matches->end(); ) {
42 i = matches->erase(i);
79 virtual bool Matches(const base::string16& word, bool exact) const OVERRIDE;
113 bool QueryNodeWord::Matches(const base::string16& word, bool exact) const {
124 if (Matches(words[i].word, false)) {
137 if (Matches(words[i].word, false)
    [all...]
  /external/chromium_org/v8/test/mjsunit/
regexp-indexof.js 28 function CheckMatch(re, str, matches) {
29 assertEquals(matches.length > 0, re.test(str));
31 if (matches.length > 0) {
32 assertEquals(matches.length, result.length);
36 for (var idx = 0; idx < matches.length; idx++) {
37 var from = matches[idx][0];
38 var length = matches[idx][1];
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
Label.java 234 public boolean matches(int atom) { method in class:Label
244 public boolean matches(IntSet set) { method in class:Label
249 // matches if intersection non-nil
256 public boolean matches(Label other) { method in class:Label
258 return matches(other.getSet());
261 return matches(other.getAtom());
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/w3c/
test_parser.py 83 matches = self.reference_links_of_type('match') + self.reference_links_of_type('mismatch')
84 if matches:
85 if len(matches) > 1:
91 ref_file = self.filesystem.join(self.filesystem.dirname(self.filename), matches[0]['href'])
118 if matches[0]['href'].startswith('..'):
  /external/chromium_org/tools/cr/cr/commands/
init.py 80 matches = [p for p in platforms if p in base]
81 if len(matches) != 1:
84 if len(matches) > 1:
85 print 'Matched all of', ','.join(matches)
87 platform = matches[0]
  /external/clang/unittests/ASTMatchers/Dynamic/
VariantValueTest.cpp 128 EXPECT_TRUE(matches("class X {};", VariantValue(VariantMatcher::SingleMatcher(
133 matches("int x;", VariantValue(VariantMatcher::SingleMatcher(varDecl()))
137 matches("int foo() { return 1 + 1; }",
155 EXPECT_FALSE(matches(
160 matches("int foo() { return 1 + 1; }",
  /external/easymock/src/org/easymock/internal/
ExpectedInvocation.java 88 public boolean matches(Invocation actual) { method in class:ExpectedInvocation
92 && matches(actual.getArguments()) : this.invocation.matches(
96 private boolean matches(Object[] arguments) { method in class:ExpectedInvocation
101 if (!matchers.get(i).matches(arguments[i])) {
  /frameworks/ex/camera2/utils/tests/src/com/android/ex/camera2/utils/
Camera2UtilsTest.java 241 assertTrue(setUp.matches(CaptureRequest.CONTROL_AE_LOCK, null));
242 assertFalse(setUp.matches(CaptureRequest.CONTROL_AE_LOCK, false));
243 assertFalse(setUp.matches(CaptureRequest.CONTROL_AE_LOCK, true));
246 assertTrue(setUp.matches(CaptureRequest.CONTROL_AE_LOCK, null));
247 assertFalse(setUp.matches(CaptureRequest.CONTROL_AE_LOCK, false));
248 assertFalse(setUp.matches(CaptureRequest.CONTROL_AE_LOCK, true));
251 assertFalse(setUp.matches(CaptureRequest.CONTROL_AE_LOCK, null));
252 assertTrue(setUp.matches(CaptureRequest.CONTROL_AE_LOCK, false));
253 assertFalse(setUp.matches(CaptureRequest.CONTROL_AE_LOCK, true));
256 assertFalse(setUp.matches(CaptureRequest.CONTROL_AE_LOCK, null))
    [all...]
  /cts/tests/tests/telephony/src/android/telephony/cts/
TelephonyManagerTest.java 207 Pattern.matches(imeiPattern, deviceId));
267 Pattern.matches(esnPattern, deviceId));
276 Pattern.matches(meidPattern, deviceId));
285 Pattern.matches("[0-9A-Za-z]+", Build.SERIAL));
291 Pattern.matches(macPattern, macAddress));
333 Pattern.matches(ISO_COUNTRY_CODE_PATTERN, countryCode));
345 Pattern.matches(ISO_COUNTRY_CODE_PATTERN, countryCode));
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/common/xmlpool/
gen_xmlpool.py 99 # Expand matches. The first match is always a DESC or DESC_BEGIN match.
100 # Subsequent matches are ENUM matches.
104 def expandMatches (matches, translations, end=None):
105 assert len(matches) > 0
114 if len(matches) == 1 and i < len(translations) and \
115 not matches[0].expand (r'\7').endswith('\\'):
120 matches[0].expand (r'\5')), "utf-8"))).encode("utf-8")
121 print matches[0].expand (r'\1' + lang + r'\3"' + text + r'"\7') + suffix
123 for match in matches[1:]
    [all...]
  /external/lldb/source/Commands/
CommandObjectSettings.cpp 160 StringList &matches)
183 matches);
208 matches);
213 return matches.GetSize();
335 StringList &matches)
346 matches);
347 return matches.GetSize();
427 StringList &matches)
438 matches);
439 return matches.GetSize()
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/common/xmlpool/
gen_xmlpool.py 99 # Expand matches. The first match is always a DESC or DESC_BEGIN match.
100 # Subsequent matches are ENUM matches.
104 def expandMatches (matches, translations, end=None):
105 assert len(matches) > 0
114 if len(matches) == 1 and i < len(translations) and \
115 not matches[0].expand (r'\7').endswith('\\'):
120 matches[0].expand (r'\5')), "utf-8"))).encode("utf-8")
121 print matches[0].expand (r'\1' + lang + r'\3"' + text + r'"\7') + suffix
123 for match in matches[1:]
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
AllAppsList.java 90 final List<LauncherActivityInfo> matches = launcherApps.getActivityList(packageName, local
93 for (LauncherActivityInfo info : matches) {
121 final List<LauncherActivityInfo> matches = launcherApps.getActivityList(packageName, local
123 if (matches.size() > 0) {
131 if (!findActivity(matches, component, user)) {
141 int count = matches.size();
143 final LauncherActivityInfo info = matches.get(i);
  /external/chromium_org/build/android/gyp/
apk_install.py 29 # Matches lines like:
35 matches = filter(apk_matcher, output)
36 return matches[0] if matches else None
  /external/chromium_org/build/android/gyp/util/
build_device.py 47 # Matches lines like:
53 matches = filter(apk_matcher, self.install_metadata)
54 return matches[0] if matches else None
  /external/chromium_org/chrome/browser/autocomplete/
history_url_provider.h 60 // This pass promotes matches for inline autocomplete if applicable. We do
66 // two passes, so we can't just decide to use this pass' matches as the final
136 // List of matches written by DoAutocomplete(). Upon its return the provider
138 history::HistoryMatches matches; member in struct:HistoryURLProviderParams
142 // in |matches|.
151 // element of |matches|, or neither as the first AutocompleteMatch. If
153 // match" and "the first element of |matches|" represent the same thing), this
235 // |match_number| is ignored. Only called some of the time; for some matches,
253 // parmas->matches, or both to the front of |matches_|, depending on the
265 // the front of params->matches (so we pick the right matches to throw awa
    [all...]
  /external/chromium_org/chrome/browser/history/
in_memory_url_index_types.h 22 // Matches within URL and Title Strings ----------------------------------------
52 // Sorts and removes overlapping substring matches from |matches| and
53 // returns the cleaned up matches.
54 TermMatches SortAndDeoverlapMatches(const TermMatches& matches);
56 // Extracts and returns the offsets from |matches|. This includes both
59 std::vector<size_t> OffsetsFromTermMatches(const TermMatches& matches);
61 // Replaces the offsets and lengths in |matches| with those given in |offsets|.
64 // match). It deletes any matches for which an endpoint is npos and returns
65 // the updated list of matches
    [all...]
  /external/chromium_org/content/browser/media/capture/
web_contents_audio_muter.cc 93 std::set<SourceFrameRef> matches; local
94 // Add each ID to |matches| if it maps to a RenderFrameHost that maps to the
102 matches.insert(*i);
104 results_callback.Run(matches);

Completed in 464 milliseconds

<<11121314151617181920>>