Searched refs:matches (Results 226 - 250 of 860) sorted by relevance

1234567891011>>

/external/hamcrest/src/org/hamcrest/core/
H A DDescribedAs.java28 public boolean matches(Object o) { method in class:DescribedAs
29 return matcher.matches(o);
/external/iproute2/ip/
H A Diplink_macvlan.c41 if (matches(*argv, "mode") == 0) {
57 } else if (matches(*argv, "help") == 0) {
H A Diplink_macvtap.c38 if (matches(*argv, "mode") == 0) {
54 } else if (matches(*argv, "help") == 0) {
H A Dipnetns.c288 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)
H A Dipmaddr.c259 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/
H A DLocalizedMatcher.java29 public boolean matches(Object item) { method in class:LocalizedMatcher
30 return actualMatcher.matches(item);
/external/owasp/sanitizer/tools/
H A Dcut_release.py128 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]
/external/chromium_org/components/query_parser/
H A Dquery_parser.cc34 // Coalesces match positions in |matches| after index that intersect the match
36 void CoalesceMatchesFrom(size_t index, Snippet::MatchPositions* matches) { argument
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);
369 Snippet::MatchPositions matches;
371 if (!query_nodes[i]->HasMatchIn(query_words, &matches))
375 // The lower case string differs from the original string. The matches are
381 SortAndCoalesceMatchPositions(&matches);
463 SortAndCoalesceMatchPositions( Snippet::MatchPositions* matches) argument
[all...]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
H A DLabel.java234 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/
H A Dtest_parser.py83 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/
H A Dinit.py80 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/
H A DVariantValueTest.cpp128 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/
H A DExpectedInvocation.java88 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])) {
/external/lldb/source/Commands/
H A DCommandObjectSettings.cpp160 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
153 HandleArgumentCompletion(Args &input, int &cursor_index, int &cursor_char_position, OptionElementVector &opt_element_vector, int match_start_point, int max_return_elements, bool &word_complete, StringList &matches) argument
328 HandleArgumentCompletion(Args &input, int &cursor_index, int &cursor_char_position, OptionElementVector &opt_element_vector, int match_start_point, int max_return_elements, bool &word_complete, StringList &matches) argument
420 HandleArgumentCompletion(Args &input, int &cursor_index, int &cursor_char_position, OptionElementVector &opt_element_vector, int match_start_point, int max_return_elements, bool &word_complete, StringList &matches) argument
527 HandleArgumentCompletion(Args &input, int &cursor_index, int &cursor_char_position, OptionElementVector &opt_element_vector, int match_start_point, int max_return_elements, bool &word_complete, StringList &matches) argument
662 HandleArgumentCompletion(Args &input, int &cursor_index, int &cursor_char_position, OptionElementVector &opt_element_vector, int match_start_point, int max_return_elements, bool &word_complete, StringList &matches) argument
783 HandleArgumentCompletion(Args &input, int &cursor_index, int &cursor_char_position, OptionElementVector &opt_element_vector, int match_start_point, int max_return_elements, bool &word_complete, StringList &matches) argument
907 HandleArgumentCompletion(Args &input, int &cursor_index, int &cursor_char_position, OptionElementVector &opt_element_vector, int match_start_point, int max_return_elements, bool &word_complete, StringList &matches) argument
1021 HandleArgumentCompletion(Args &input, int &cursor_index, int &cursor_char_position, OptionElementVector &opt_element_vector, int match_start_point, int max_return_elements, bool &word_complete, StringList &matches) argument
1123 HandleArgumentCompletion(Args &input, int &cursor_index, int &cursor_char_position, OptionElementVector &opt_element_vector, int match_start_point, int max_return_elements, bool &word_complete, StringList &matches) argument
[all...]
/external/chromium_org/build/android/gyp/util/
H A Dbuild_device.py53 matches = filter(apk_matcher, self.install_metadata)
54 return matches[0] if matches else None
/external/chromium_org/chrome/browser/autocomplete/
H A Dhistory_url_provider.h60 // 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 (s
[all...]
/external/chromium_org/chrome/browser/history/
H A Din_memory_url_index_types.h52 // 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.
66 TermMatches ReplaceOffsetsInTermMatches(const TermMatches& matches,
[all...]
/external/chromium_org/content/browser/media/capture/
H A Dweb_contents_audio_muter.cc93 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);
/external/chromium_org/third_party/icu/source/common/
H A Ddictionarydata.h61 * Wrapper class around generic dictionaries, implementing matches().
70 // this should emulate CompactTrieDictionary::matches()
71 virtual int32_t matches(UText *text, int32_t maxLength, int32_t *lengths, int32_t &count,
84 virtual int32_t matches(UText *text, int32_t maxLength, int32_t *lengths, int32_t &count,
101 virtual int32_t matches(UText *text, int32_t maxLength, int32_t *lengths, int32_t &count,
/external/chromium_org/tools/protoc_wrapper/
H A Dprotoc_wrapper.py54 matches = fnmatch.filter(filenames, '*-*.proto')
55 if len(matches) > 0:
60 for filename in matches:
/external/clang/include/clang/ASTMatchers/
H A DASTMatchersMacros.h30 // return InnerMatcher.matches(*Node.getMemberDecl(), Finder, Builder);
69 /// The code should return true if 'Node' matches.
75 bool matches(const Type &Node, ASTMatchFinder *Finder, \
83 inline bool internal::matcher_##DefineMatcher##Matcher::matches( \
99 /// The code should return true if 'Node' matches.
112 bool matches(const Type &Node, ASTMatchFinder *Finder, \
125 inline bool internal::matcher_##DefineMatcher##OverloadId##Matcher::matches( \
142 /// The code should return true if 'Node' matches.
157 bool matches(const Type &Node, ASTMatchFinder *Finder, \
173 inline bool internal::matcher_##DefineMatcher##OverloadId##Matcher::matches( \
[all...]
/external/deqp/scripts/
H A Dconvert_case_list_to_xml.py13 matches = []
19 matches.append(ndx)
20 return matches
/external/icu/icu4c/source/common/
H A Ddictionarydata.h61 * Wrapper class around generic dictionaries, implementing matches().
70 // this should emulate CompactTrieDictionary::matches()
71 virtual int32_t matches(UText *text, int32_t maxLength, int32_t *lengths, int32_t &count,
84 virtual int32_t matches(UText *text, int32_t maxLength, int32_t *lengths, int32_t &count,
101 virtual int32_t matches(UText *text, int32_t maxLength, int32_t *lengths, int32_t &count,
/external/lldb/source/Core/
H A DFileSpecList.cpp103 // Find the index of the file in the file spec list that matches
106 // Returns the valid index of the file that matches "file_spec" if
188 FileSpecList::GetFilesMatchingPartialPath (const char *path, bool dir_okay, FileSpecList &matches) argument
191 matches.Clear();
204 matches.Append (path_spec);
/external/lldb/source/Interpreter/
H A DCommandInterpreter.cpp627 StringList &matches)
629 CommandObject::AddNamesMatchingPartialString (m_command_dict, cmd_str, matches);
633 CommandObject::AddNamesMatchingPartialString (m_alias_dict, cmd_str, matches);
636 return matches.GetSize();
640 CommandInterpreter::GetCommandSP (const char *cmd_cstr, bool include_aliases, bool exact, StringList *matches) argument
670 // We will only get into here if we didn't find any exact matches.
675 if (matches == NULL)
676 matches = &local_matches;
683 // them in toto, then return that, otherwise return an empty CommandObjectSP and the list of matches.
687 num_cmd_matches = CommandObject::AddNamesMatchingPartialString (m_command_dict, cmd_cstr, *matches);
626 GetCommandNamesMatchingPartialString(const char *cmd_str, bool include_aliases, StringList &matches) argument
847 GetCommandObject(const char *cmd_cstr, StringList *matches) argument
948 StringList matches; local
1614 StringList matches; local
1831 StringList matches; local
1873 HandleCompletionMatches(Args &parsed_line, int &cursor_index, int &cursor_char_position, int match_start_point, int max_return_elements, bool &word_complete, StringList &matches) argument
1942 HandleCompletion(const char *current_line, const char *cursor, const char *last_char, int match_start_point, int max_return_elements, StringList &matches) argument
[all...]

Completed in 4870 milliseconds

1234567891011>>