Searched defs:max_count (Results 1 - 25 of 29) sorted by path

12

/external/chromium/chrome/browser/bookmarks/
H A Dbookmark_index.cc78 size_t max_count,
106 i != node_typed_counts.end() && results->size() < max_count; ++i)
76 GetBookmarksWithTitlesMatching( const string16& query, size_t max_count, std::vector<bookmark_utils::TitleMatch>* results) argument
H A Dbookmark_model.cc493 size_t max_count,
498 index_->GetBookmarksWithTitlesMatching(text, max_count, matches);
491 GetBookmarksWithTitlesMatching( const string16& text, size_t max_count, std::vector<bookmark_utils::TitleMatch>* matches) argument
H A Dbookmark_utils.cc449 size_t max_count) {
455 if (max_count == 0) {
461 if (nodes.size() < max_count || i != nodes.end()) {
463 while (nodes.size() > max_count)
471 if (nodes.size() < max_count) {
478 if (nodes.size() < max_count &&
517 size_t max_count,
531 if (nodes->size() == max_count)
447 GetMostRecentlyModifiedFolders( BookmarkModel* model, size_t max_count) argument
515 GetBookmarksContainingText(BookmarkModel* model, const string16& text, size_t max_count, const std::string& languages, std::vector<const BookmarkNode*>* nodes) argument
/external/chromium/chrome/browser/
H A Dcrash_upload_list.cc92 void CrashUploadList::GetUploadedCrashes(unsigned int max_count, argument
95 crashes_.begin() + std::min<size_t>(crashes_.size(), max_count),
/external/chromium/chrome/browser/history/
H A Dhistory.cc261 int max_count,
267 keyword_id, prefix, max_count);
258 GetMostRecentKeywordSearchTerms( TemplateURLID keyword_id, const string16& prefix, int max_count, CancelableRequestConsumerBase* consumer, GetMostRecentKeywordSearchTermsCallback* callback) argument
H A Dhistory_backend.cc1083 int max_count) {
1088 db_->GetMostRecentKeywordSearchTerms(keyword_id, prefix, max_count,
1197 options.max_count, &visits);
1198 DCHECK(options.max_count == 0 ||
1199 static_cast<int>(visits.size()) <= options.max_count);
1258 if (options.max_count != 0 &&
1259 static_cast<int>(result->size()) >= options.max_count)
1079 GetMostRecentKeywordSearchTerms( scoped_refptr<GetMostRecentKeywordSearchTermsRequest> request, TemplateURLID keyword_id, const string16& prefix, int max_count) argument
H A Dhistory_types.h501 int max_count; member in struct:history::QueryOptions
H A Durl_database.cc469 int max_count,
496 statement.BindInt(3, max_count);
466 GetMostRecentKeywordSearchTerms( TemplateURLID keyword_id, const string16& prefix, int max_count, std::vector<KeywordSearchTermVisit>* matches) argument
H A Dvisit_database.cc300 int max_count,
337 if (max_count > 0 && static_cast<int>(visits->size()) >= max_count)
298 GetVisibleVisitsInRange(base::Time begin_time, base::Time end_time, int max_count, VisitVector* visits) argument
/external/chromium/chrome/browser/ui/toolbar/
H A Dback_forward_menu_model.cc331 int max_count = controller.entry_count(); local
332 if (start_from < 0 || start_from >= max_count)
336 if (start_from < max_count - 1) {
361 for (int i = start_from + 1; i < max_count; ++i) {
367 return max_count - 1;
/external/chromium/chrome/browser/ui/webui/
H A Dnew_tab_ui.cc543 const int max_count = 10; local
550 it != entries.end() && added_count < max_count; ++it) {
/external/chromium/testing/gtest/src/
H A Dgtest-port.cc299 const size_t max_count = (repeat == '?') ? 1 : local
304 for (size_t i = 0; i <= max_count; ++i) {
/external/chromium/third_party/libjingle/source/talk/xmpp/
H A Dratelimitmanager.cc53 int max_count,
57 current_rate = new RateLimit(max_count, per_x_seconds);
64 int max_count,
66 return VerifyRateLimit(event_name, max_count, per_x_seconds, false);
70 int max_count,
75 UpdateRateLimit(event_name, max_count, per_x_seconds);
52 UpdateRateLimit(const std::string event_name, int max_count, int per_x_seconds) argument
63 VerifyRateLimit(const std::string event_name, int max_count, int per_x_seconds) argument
69 VerifyRateLimit(const std::string event_name, int max_count, int per_x_seconds, bool always_update) argument
H A Dxmpptask.cc169 bool XmppTask::VerifyTaskRateLimit(const std::string task_name, int max_count, argument
171 return task_rate_manager.VerifyRateLimit(task_name, max_count,
/external/gtest/src/
H A Dgtest-port.cc299 const size_t max_count = (repeat == '?') ? 1 : local
304 for (size_t i = 0; i <= max_count; ++i) {
/external/llvm/utils/unittest/googletest/
H A Dgtest-port.cc299 const size_t max_count = (repeat == '?') ? 1 : local
304 for (size_t i = 0; i <= max_count; ++i) {
/external/opencv/cv/src/
H A Dcvfeatureselect.cpp62 int max_count = 0; local
87 max_count = *corner_count;
136 if( max_count <= 0 )
211 if( ++count >= max_count )
H A Dcvhaar.cpp194 int max_count = 0; local
224 max_count = MAX( max_count, stage_classifier->count );
354 CV_CALL( ipp_features = (CvRect*)cvAlloc( max_count*3*sizeof(ipp_features[0]) ));
355 CV_CALL( ipp_weights = (float*)cvAlloc( max_count*3*sizeof(ipp_weights[0]) ));
356 CV_CALL( ipp_thresholds = (float*)cvAlloc( max_count*sizeof(ipp_thresholds[0]) ));
357 CV_CALL( ipp_val1 = (float*)cvAlloc( max_count*sizeof(ipp_val1[0]) ));
358 CV_CALL( ipp_val2 = (float*)cvAlloc( max_count*sizeof(ipp_val2[0]) ));
359 CV_CALL( ipp_counts = (int*)cvAlloc( max_count*sizeof(ipp_counts[0]) ));
H A Dcvhough.cpp1001 int max_count = R_THRESH; local
1038 if( (start_idx - j)*r_best >= max_count*r_cur ||
1039 (r_best < FLT_EPSILON && start_idx - j >= max_count) )
1042 max_count = start_idx - j;
1051 if( max_count > R_THRESH )
H A DmycvHaarDetectObjects.cpp176 int max_count = 0; local
206 max_count = MAX( max_count, stage_classifier->count );
336 CV_CALL( ipp_features = (CvRect*)cvAlloc( max_count*3*sizeof(ipp_features[0]) ));
337 CV_CALL( ipp_weights = (float*)cvAlloc( max_count*3*sizeof(ipp_weights[0]) ));
338 CV_CALL( ipp_thresholds = (float*)cvAlloc( max_count*sizeof(ipp_thresholds[0]) ));
339 CV_CALL( ipp_val1 = (float*)cvAlloc( max_count*sizeof(ipp_val1[0]) ));
340 CV_CALL( ipp_val2 = (float*)cvAlloc( max_count*sizeof(ipp_val2[0]) ));
341 CV_CALL( ipp_counts = (int*)cvAlloc( max_count*sizeof(ipp_counts[0]) ));
/external/opencv/cxcore/src/
H A Dcxpersistence.cpp2033 int count = 0, max_count = 4; local
2034 int attr_buf_size = (max_count*2 + 1)*sizeof(char*) + sizeof(CvAttrList);
2090 if( !last || count >= max_count )
/external/opencv/ml/include/
H A Dml.h1239 int max_count, max_buf_sz; member in class:CvANN_MLP
/external/opencv/ml/src/
H A Dmlem.cpp514 int max_count = 0; local
534 max_count = MAX( max_count, right - left );
536 CV_CALL( hdr = (CvMat*)cvAlloc( max_count*sizeof(hdr[0]) ));
537 CV_CALL( vec = (const void**)cvAlloc( max_count*sizeof(vec[0]) ));
539 for( i = 0; i < max_count; i++ )
/external/opencv/otherlibs/highgui/
H A Dgrfmt_sunras.cpp227 int max_count = (int)(line_end - tsrc); local
240 while( ++len1 < max_count );
295 int max_count = (int)(line_end - data); local
309 while( (max_count -= nch) > 0 );
/external/protobuf/gtest/src/
H A Dgtest-port.cc288 const size_t max_count = (repeat == '?') ? 1 : local
293 for (size_t i = 0; i <= max_count; ++i) {

Completed in 469 milliseconds

12