Home
last modified time | relevance | path

Searched refs:max_results (Results 1 – 25 of 28) sorted by relevance

12

/external/chromium_org/chrome/browser/history/
Dvisit_filter.cc98 size_t max_results, in GetTimesInRange() argument
102 times->reserve(max_results); in GetTimesInRange()
105 if (!max_results) in GetTimesInRange()
106 max_results = kMaxReturnedResults; in GetTimesInRange()
113 std::make_pair(begin_time_of_the_day - one_day * (max_results - 1), in GetTimesInRange()
118 for (size_t i = 0; i < max_results; ++i) { in GetTimesInRange()
192 size_t max_results, in GetTimesOnTheDayOfTheWeek() argument
207 times->reserve(max_results); in GetTimesOnTheDayOfTheWeek()
213 if (!max_results) in GetTimesOnTheDayOfTheWeek()
214 max_results = kMaxReturnedResults; in GetTimesOnTheDayOfTheWeek()
[all …]
Dvisit_filter.h40 void set_max_results(size_t max_results) { in set_max_results() argument
41 max_results_ = max_results; in set_max_results()
116 size_t max_results,
124 size_t max_results,
130 size_t max_results,
Dvisit_database.cc312 int max_results, in GetAllVisitsInRange() argument
326 max_results ? max_results : std::numeric_limits<int64>::max()); in GetAllVisitsInRange()
334 int max_results, in GetVisitsInRangeForTransition() argument
353 max_results ? max_results : std::numeric_limits<int64>::max()); in GetVisitsInRangeForTransition()
383 int max_results, in GetDirectVisitsDuringTimes() argument
386 if (max_results) in GetDirectVisitsDuringTimes()
387 visits->reserve(max_results); in GetDirectVisitsDuringTimes()
409 if (max_results > 0 && static_cast<int>(visits->size()) >= max_results) in GetDirectVisitsDuringTimes()
436 int max_results, in GetMostRecentVisitsForURL() argument
449 statement.BindInt(1, max_results); in GetMostRecentVisitsForURL()
Dvisit_database.h89 int max_results, VisitVector* visits);
102 int max_results,
148 int max_results,
Durl_database.h160 size_t max_results,
Durl_database.cc240 size_t max_results, in AutocompleteForPrefix() argument
274 statement.BindInt(2, static_cast<int>(max_results)); in AutocompleteForPrefix()
/external/chromium_org/google_apis/drive/
Ddrive_api_url_generator.cc93 GURL DriveApiUrlGenerator::GetFilesListUrl(int max_results, in GetFilesListUrl() argument
99 if (max_results != 100) { in GetFilesListUrl()
101 url, "maxResults", base::IntToString(max_results)); in GetFilesListUrl()
124 int max_results, in GetChangesListUrl() argument
136 if (max_results != 100) { in GetChangesListUrl()
138 url, "maxResults", base::IntToString(max_results)); in GetChangesListUrl()
Ddrive_api_url_generator_unittest.cc152 int max_results; in TEST_F() member
177 kTestPatterns[i].max_results, kTestPatterns[i].page_token, in TEST_F()
184 kTestPatterns[i].max_results, kTestPatterns[i].page_token, in TEST_F()
226 int max_results; in TEST_F() member
278 kTestPatterns[i].max_results, in TEST_F()
287 kTestPatterns[i].max_results, in TEST_F()
Ddrive_api_url_generator.h50 GURL GetFilesListUrl(int max_results,
62 int max_results,
Ddrive_api_requests.h280 int max_results() const { return max_results_; } in max_results() function
281 void set_max_results(int max_results) { max_results_ = max_results; } in set_max_results() argument
433 int max_results() const { return max_results_; } in max_results() function
434 void set_max_results(int max_results) { max_results_ = max_results; } in set_max_results() argument
/external/chromium_org/chrome/browser/extensions/api/sessions/
Dsessions_api.cc199 int max_results = api::sessions::MAX_SESSION_RESULTS; in RunImpl() local
200 if (params->filter && params->filter->max_results) in RunImpl()
201 max_results = *params->filter->max_results; in RunImpl()
202 EXTENSION_FUNCTION_VALIDATE(max_results >= 0 && in RunImpl()
203 max_results <= api::sessions::MAX_SESSION_RESULTS); in RunImpl()
215 it != entries.end() && static_cast<int>(result.size()) < max_results; in RunImpl()
331 int max_results = api::sessions::MAX_SESSION_RESULTS; in CreateDeviceModel() local
334 if (params->filter && params->filter->max_results) in CreateDeviceModel()
335 max_results = *params->filter->max_results; in CreateDeviceModel()
342 static_cast<int>(device_struct->sessions.size()) < max_results; ++it) { in CreateDeviceModel()
[all …]
/external/chromium/chrome/browser/history/
Dvisit_database.h68 int max_results, VisitVector* visits);
81 int max_results,
114 int max_results,
Dvisit_database.cc248 int max_results, in GetAllVisitsInRange() argument
264 max_results ? max_results : std::numeric_limits<int64>::max()); in GetAllVisitsInRange()
272 int max_results, in GetVisitsInRangeForTransition() argument
293 max_results ? max_results : std::numeric_limits<int64>::max()); in GetVisitsInRangeForTransition()
366 int max_results, in GetMostRecentVisitsForURL() argument
382 statement.BindInt(1, max_results); in GetMostRecentVisitsForURL()
Durl_database.h172 size_t max_results,
Durl_database.cc294 size_t max_results, in AutocompleteForPrefix() argument
331 statement.BindInt(2, static_cast<int>(max_results)); in AutocompleteForPrefix()
/external/chromium_org/chrome/browser/ui/app_list/search/
Dmixer.cc100 Group(size_t max_results, double boost) in Group() argument
101 : max_results_(max_results), in Group()
/external/chromium/chrome/browser/autocomplete/
Dhistory_url_provider.cc715 size_t max_results) const { in CullRedirects()
717 (source < matches->size()) && (source < max_results); ) { in CullRedirects()
739 if (matches->size() > max_results) in CullRedirects()
740 matches->resize(max_results); in CullRedirects()
Dhistory_url_provider.h272 size_t max_results) const;
/external/chromium_org/native_client_sdk/src/examples/demo/drive/
Ddrive.cc163 int max_results; member
177 AddQueryParameter(&p.url, "maxResults", params.max_results, true); in ListFiles()
452 p.max_results = 1; in ThreadGetFileMetadata()
/external/chromium_org/chrome/browser/drive/
Dfake_drive_service.cc1288 int max_results = default_max_results_; in GetRemainingResourceList() local
1306 base::StringToInt(parameters[i].second, &max_results); in GetRemainingResourceList()
1313 start_offset, max_results, NULL, callback); in GetRemainingResourceList()
1581 int max_results, in GetResourceListInternal() argument
1663 if (max_results > 0 && entries->size() > static_cast<size_t>(max_results)) { in GetResourceListInternal()
1664 entries->erase(entries->begin() + max_results, entries->end()); in GetResourceListInternal()
1671 start_offset + max_results, in GetResourceListInternal()
1672 max_results)); in GetResourceListInternal()
/external/chromium_org/chrome/browser/autocomplete/
Dhistory_url_provider.h273 size_t max_results) const;
Dhistory_url_provider.cc983 size_t max_results) const { in CullRedirects()
985 (source < matches->size()) && (source < max_results); ) { in CullRedirects()
1007 if (matches->size() > max_results) in CullRedirects()
1008 matches->resize(max_results); in CullRedirects()
/external/chromium_org/chrome/browser/extensions/api/history/
Dhistory_api.cc347 if (params->query.max_results.get()) in RunAsyncImpl()
348 options.max_count = *params->query.max_results; in RunAsyncImpl()
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/
Dprivate_api_drive.cc436 params->search_params.max_results); in RunImpl()
468 params->search_params.max_results, in RunImpl()
/external/chromium_org/third_party/freetype/src/sfnt/
Dttcmap.c2698 FT_UInt32 max_results; member
2711 cmap->max_results = 0; in tt_cmap14_done()
2722 FT_UInt32 old_max = cmap->max_results; in tt_cmap14_ensure()
2726 if ( num_results > cmap->max_results ) in tt_cmap14_ensure()
2733 cmap->max_results = num_results; in tt_cmap14_ensure()
2748 cmap->max_results = 0; in tt_cmap14_init()

12