Searched defs:matches (Results 151 - 175 of 380) sorted by relevance

1234567891011>>

/external/protobuf/java/src/test/java/com/google/protobuf/
H A DServiceTest.java274 * matches a callback if calling that callback causes c to be called.
303 public boolean matches(Object actual) { method in class:ServiceTest.WrapsCallback
/external/qemu/distrib/sdl-1.2.15/src/video/wincommon/
H A DSDL_wingl.c122 UINT matches = 0; local
154 wglChoosePixelFormatARB(hdc, iAttribs, fAttribs, 1, &pformat, &matches) && pformat ) {
/external/regex-re2/re2/testing/
H A Dfiltered_re2_test.cc16 vector<int> matches; member in struct:re2::FilterTestVars
23 v.f.AllMatches("foo", v.atom_indices, &v.matches);
24 EXPECT_EQ(0, v.matches.size());
37 v.f.AllMatches("lemurs bar", v.atom_indices, &v.matches);
38 EXPECT_EQ(1, v.matches.size());
39 EXPECT_EQ(id, v.matches[0]);
54 v.f.AllMatches("foo\xde\xadQ\xbe\xeflemur", v.atom_indices, &v.matches);
55 EXPECT_EQ(1, v.matches.size());
56 EXPECT_EQ(id, v.matches[0]);
/external/proguard/lib/
H A Dretrace.jar ... lang.String, java.lang.String) private boolean matches (int, java.lang.String, java.lang. ...
/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/athena/main/
H A Durl_search_provider.cc275 const ACMatches& matches = provider_->matches(); local
276 for (ACMatches::const_iterator it = matches.begin(); it != matches.end();
/external/chromium_org/chrome/browser/autocomplete/
H A Dbookmark_provider_unittest.cc131 // Return the positions in |matches| as a formatted string for unit test
133 base::string16 MatchesAsString16(const ACMatches& matches) { argument
135 for (ACMatches::const_iterator i = matches.begin(); i != matches.end(); ++i) {
205 // There are two expected matches:
210 // value is ignored. The second match, [1], indicates that two matches are
250 // Quoted terms require complete word matches.
271 const ACMatches& matches(provider_->matches());
273 EXPECT_LE(matches
309 const std::string matches[3]; member in struct:QueryData
[all...]
H A Dbuiltin_provider_unittest.cc36 ACMatches matches; local
47 matches = provider_->matches();
48 EXPECT_EQ(cases[i].num_results, matches.size());
49 if (matches.size() == cases[i].num_results) {
51 EXPECT_EQ(cases[i].output[j], matches[j].destination_url);
52 EXPECT_FALSE(matches[j].allowed_to_be_default_match);
250 // For now, BuiltinProvider does not suggest url-what-you-typed matches for
H A Dshortcuts_backend.cc42 std::string StripMatchMarkers(const ACMatchClassifications& matches) { argument
44 for (ACMatchClassifications::const_iterator i(matches.begin());
45 i != matches.end(); ++i) {
/external/chromium_org/chrome/browser/importer/
H A Dprofile_writer_unittest.cc84 std::vector<BookmarkMatch> matches; local
87 bookmarks_record[i].title, 10, &matches);
88 EXPECT_EQ(expected, matches.size());
89 matches.clear();
/external/chromium_org/chrome/browser/nacl_host/
H A Dnacl_browser_delegate_impl.cc173 bool matches = false; local
177 matches = true;
182 return !matches;
184 return matches;
/external/chromium_org/chrome/browser/sync/test/integration/
H A Dpasswords_helper.cc97 void GetLogins(PasswordStore* store, std::vector<PasswordForm>& matches) { argument
101 PasswordStoreConsumerHelper consumer(&matches);
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/managed_bookmarks/
H A Dbackground.js105 Node.prototype.matches = function(bookmark) {
123 if (currentChild && currentChild.matches(wantedChild)) {
/external/chromium_org/chrome/common/extensions/manifest_handlers/
H A Dautomation.cc30 "Cannot specify matches for Automation if desktop=true is specified; "
31 "matches will be ignored.";
90 } else if (automation_info_->matches.MatchesAllURLs()) {
98 automation_info_->matches, &regular_hosts, &message_set);
130 URLPatternSet matches; local
132 automation_info_->matches, other->automation_info_->matches, &matches);
134 make_scoped_ptr(new const AutomationInfo(desktop, matches, interact)));
145 URLPatternSet matches; local
160 URLPatternSet matches; local
247 URLPatternSet matches; local
315 AutomationInfo(bool desktop, const URLPatternSet matches, bool interact) argument
[all...]
H A Dcontent_scripts_handler.cc126 // matches (required)
127 const base::ListValue* matches = NULL; local
128 if (!content_script->GetList(keys::kMatches, &matches)) {
135 if (matches->GetSize() == 0) {
141 for (size_t j = 0; j < matches->GetSize(); ++j) {
143 if (!matches->GetString(j, &match_str)) {
425 // Greasemonkey matches all frames.
/external/chromium_org/components/bookmarks/browser/
H A Dbookmark_index.cc46 // count so that the best matches will always be added to the results.
144 Matches matches;
146 if (!GetBookmarksMatchingTerm(terms[i], i == 0, &matches))
151 SortMatches(matches, &sorted_nodes);
155 // matches and so this shouldn't be performance critical.
161 // so that the best matches will always be included in the results. The loop
164 // best matches.
171 void BookmarkIndex::SortMatches(const Matches& matches, argument
174 for (Matches::const_iterator i = matches.begin(); i != matches
249 GetBookmarksMatchingTerm(const base::string16& term, bool first_term, Matches* matches) argument
294 CombineMatchesInPlace(const Index::const_iterator& index_i, Matches* matches) argument
[all...]
H A Dbookmark_index_unittest.cc91 std::vector<BookmarkMatch> matches; local
92 model_->GetBookmarksMatching(ASCIIToUTF16(query), 1000, &matches); local
93 ASSERT_EQ(expected_titles.size(), matches.size());
96 for (size_t j = 0; j < matches.size(); ++j) {
97 if (ASCIIToUTF16(expected_titles[i]) == matches[j].node->GetTitle()) {
98 matches.erase(matches.begin() + j);
108 BookmarkMatch::MatchPositions* matches) {
115 matches->push_back(BookmarkMatch::MatchPosition());
119 matches
107 ExtractMatchPositions(const std::string& string, BookmarkMatch::MatchPositions* matches) argument
275 std::vector<BookmarkMatch> matches; local
276 model_->GetBookmarksMatching(UTF8ToUTF16(data[i].query), 10, &matches); local
305 std::vector<BookmarkMatch> matches; local
306 model_->GetBookmarksMatching(ASCIIToUTF16(data[i].query), 1000, &matches); local
357 std::vector<BookmarkMatch> matches; local
358 model_->GetBookmarksMatching(UTF8ToUTF16(data[i].query), 1000, &matches); local
397 std::vector<BookmarkMatch> matches; local
409 std::vector<BookmarkMatch> matches; local
441 std::vector<BookmarkMatch> matches; local
[all...]
/external/chromium_org/components/omnibox/
H A Dautocomplete_result.cc27 // that allows matches of particular types to be demoted in AutocompleteResult.
64 // For equal-relevance matches, we sort alphabetically, so that providers
89 // Sort identical destination_urls together. Place the most relevant matches
101 // whether we're supposed to (and able to) demote all matches with inline
124 // Reserve space for the max number of matches we'll show.
143 // If we've got no matches we can copy everything from the last result.
150 // In hopes of providing a stable popup we try to keep the number of matches
152 // relevant matches) typically result in many successive 'What You Typed'
153 // results filling all the matches, which looks awful.
155 // Instead of starting with the current matches an
177 AppendMatches(const ACMatches& matches) argument
381 DedupMatchesByDestination( OmniboxEventProto::PageClassification page_classification, bool set_duplicate_matches, ACMatches* matches) argument
431 HasMatchByDestination(const AutocompleteMatch& match, const ACMatches& matches) argument
[all...]
H A Dautocomplete_result_unittest.cc47 // Adds |count| AutocompleteMatches to |matches|.
51 ACMatches* matches) {
52 ASSERT_TRUE(matches != NULL);
57 matches->empty() ? 1300 : (matches->back().relevance - 100);
60 matches->push_back(match);
79 // Duplicate matches.
105 // Adds |count| AutocompleteMatches to |matches|.
108 ACMatches* matches);
110 // Asserts that |result| has |expected_count| matches matchin
48 PopulateAutocompleteMatchesFromTestData( const AutocompleteMatchTestData* data, size_t count, ACMatches* matches) argument
144 PopulateAutocompleteMatches( const TestData* data, size_t count, ACMatches* matches) argument
209 ACMatches matches; local
288 ACMatches matches; local
333 ACMatches matches; local
385 ACMatches matches; local
425 ACMatches matches; local
472 ACMatches matches; local
532 ACMatches matches; local
547 ACMatches matches; local
580 ACMatches matches; local
606 ACMatches matches; local
628 ACMatches matches; local
644 ACMatches matches; local
665 ACMatches matches; local
689 ACMatches matches; local
711 ACMatches matches; local
736 ACMatches matches; local
768 ACMatches matches; local
799 ACMatches matches; local
808 ACMatches matches; local
[all...]
/external/chromium_org/components/url_matcher/
H A Dsubstring_set_matcher.cc110 std::set<StringPattern::ID>* matches) const {
111 const size_t old_number_of_matches = matches->size();
114 matches->insert(tree_[0].matches().begin(), tree_[0].matches().end());
126 matches->insert(tree_[current_node].matches().begin(),
127 tree_[current_node].matches().end());
133 return old_number_of_matches != matches->size();
227 tree_[leads_to].AddMatches(tree_[follow_in_case_of_failure].matches());
267 AddMatches( const SubstringSetMatcher::AhoCorasickNode::Matches& matches) argument
[all...]
/external/chromium_org/content/browser/media/capture/
H A Dweb_contents_audio_input_stream.cc275 std::set<SourceFrameRef> matches; local
278 // Add each ID to |matches| if it maps to a RenderFrameHost that maps to the
286 matches.insert(*i);
290 results_callback.Run(matches);
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DQualifiedName.h107 bool matches(const QualifiedName& other) const { return m_impl == other.m_impl || (localName() == other.localName() && namespaceURI() == other.namespaceURI()); } function in class:blink::QualifiedName
/external/chromium_org/third_party/WebKit/Source/core/frame/csp/
H A DCSPSourceList.cpp46 bool CSPSourceList::matches(const KURL& url) const function in class:blink::CSPSourceList
57 if (m_list[i].matches(effectiveURL))
/external/chromium_org/third_party/WebKit/Tools/Scripts/
H A Ddisplay-profiler-output165 def matches(pattern) method in class:Bytecodes
622 if bytecode.matches(args[0])
643 next unless bytecodes.matches(hash)
684 if profiledBytecodes.bytecodes.matches(hash)
719 next unless bytecodes.matches(hash)
838 next if hash and not compilation.bytecode.matches(hash)
/external/chromium_org/third_party/icu/source/common/
H A Ddictionarydata.cpp43 int32_t UCharsDictionaryMatcher::matches(UText *text, int32_t maxLength, int32_t *lengths, int32_t &count, int32_t limit, int32_t *values) const { function in class:UCharsDictionaryMatcher
107 int32_t BytesDictionaryMatcher::matches(UText *text, int32_t maxLength, int32_t *lengths, int32_t &count, int32_t limit, int32_t *values) const { function in class:BytesDictionaryMatcher

Completed in 905 milliseconds

1234567891011>>