Home
last modified time | relevance | path

Searched refs:num_matches (Results 1 – 5 of 5) sorted by relevance

/external/webkit/Tools/Scripts/webkitpy/layout_tests/layout_package/
Dtest_expectations.py377 num_matches = 0
381 self._add_test(test, modifiers, num_matches, expectations,
505 num_matches = self._check_options(matcher, options, lineno,
507 if num_matches == ModifierMatcher.NO_MATCH:
526 modifiers, num_matches, options, overrides_allowed)
546 return match_result.num_matches
626 modifiers, num_matches, options, overrides_allowed): argument
629 num_matches, lineno, overrides_allowed):
634 num_matches, lineno)
635 self._add_test(test, modifiers, num_matches, expectations, options,
[all …]
Dtest_expectations_unittest.py411 self.assertEqual(match_result.num_matches, expected_num_matches,
414 match_result.num_matches, expected_num_matches))
/external/chromium/chrome/browser/history/
Dhistory_types.cc164 size_t* num_matches) const { in MatchesForURL()
167 if (num_matches) in MatchesForURL()
168 *num_matches = 0; in MatchesForURL()
175 if (num_matches) in MatchesForURL()
176 *num_matches = found->second->size(); in MatchesForURL()
Dhistory_types.h422 const size_t* MatchesForURL(const GURL& url, size_t* num_matches) const;
/external/chromium/chrome/browser/autocomplete/
Dautocomplete.cc653 const size_t num_matches = std::min(kMaxMatches, matches_.size()); in SortAndCull() local
654 std::partial_sort(matches_.begin(), matches_.begin() + num_matches, in SortAndCull()
656 matches_.resize(num_matches); in SortAndCull()