Home
last modified time | relevance | path

Searched refs:max_count (Results 1 – 25 of 53) sorted by relevance

123

/external/chromium/third_party/libjingle/source/talk/xmpp/
Dratelimitmanager.cc53 int max_count, in UpdateRateLimit() argument
57 current_rate = new RateLimit(max_count, per_x_seconds); in UpdateRateLimit()
64 int max_count, in VerifyRateLimit() argument
66 return VerifyRateLimit(event_name, max_count, per_x_seconds, false); in VerifyRateLimit()
70 int max_count, in VerifyRateLimit() argument
75 UpdateRateLimit(event_name, max_count, per_x_seconds); in VerifyRateLimit()
Dratelimitmanager.h68 bool VerifyRateLimit(const std::string event_name, int max_count,
73 bool VerifyRateLimit(const std::string event_name, int max_count,
134 void UpdateRateLimit(const std::string event_name, int max_count,
Dxmpptask.cc169 bool XmppTask::VerifyTaskRateLimit(const std::string task_name, int max_count, in VerifyTaskRateLimit() argument
171 return task_rate_manager.VerifyRateLimit(task_name, max_count, in VerifyTaskRateLimit()
Dxmpptask.h112 bool VerifyTaskRateLimit(const std::string task_name, int max_count,
/external/opencv/cv/src/
Dcvfeatureselect.cpp62 int max_count = 0; in CV_IMPLEMENT_QSORT() local
87 max_count = *corner_count; in CV_IMPLEMENT_QSORT()
136 if( max_count <= 0 ) in CV_IMPLEMENT_QSORT()
211 if( ++count >= max_count ) in CV_IMPLEMENT_QSORT()
/external/chromium/chrome/browser/history/
Dtext_database_manager.cc467 if (options.max_count) { in GetTextMatches()
468 cur_options.max_count = options.max_count - in GetTextMatches()
479 DCHECK(options.max_count == 0 || in GetTextMatches()
480 static_cast<int>(results->size()) <= options.max_count); in GetTextMatches()
481 if (options.max_count && in GetTextMatches()
482 static_cast<int>(results->size()) >= options.max_count) in GetTextMatches()
Dtext_database.cc324 int effective_max_count = options.max_count ? in GetTextMatches()
325 options.max_count : std::numeric_limits<int>::max(); in GetTextMatches()
371 options.max_count == 0 || // Special case for wanting all the results. in GetTextMatches()
372 static_cast<int>(results->size()) < options.max_count) { in GetTextMatches()
Dhistory_querying_unittest.cc180 options.max_count = 2; in TEST_F()
284 options.max_count = 2; in TEST_F()
293 options.max_count = 1; in TEST_F()
Dvisit_database.cc300 int max_count, in GetVisibleVisitsInRange() argument
337 if (max_count > 0 && static_cast<int>(visits->size()) >= max_count) in GetVisibleVisitsInRange()
Dvisit_database.h97 int max_count,
/external/chromium/chrome/browser/ui/toolbar/
Dback_forward_menu_model.cc331 int max_count = controller.entry_count(); in GetIndexOfNextChapterStop() local
332 if (start_from < 0 || start_from >= max_count) in GetIndexOfNextChapterStop()
336 if (start_from < max_count - 1) { in GetIndexOfNextChapterStop()
361 for (int i = start_from + 1; i < max_count; ++i) { in GetIndexOfNextChapterStop()
367 return max_count - 1; in GetIndexOfNextChapterStop()
/external/webrtc/src/system_wrappers/source/spreadsortlib/
Dspreadsort.hpp187 size_t max_count = get_max_count(log_divisor, last - first); in spread_sort_rec() local
195 if(count < max_count) in spread_sort_rec()
274 size_t max_count = get_max_count(log_divisor, last - first); in spread_sort_rec() local
280 if(count < max_count) in spread_sort_rec()
322 size_t max_count = get_max_count(log_divisor, last - first); in spread_sort_rec() local
328 if(count < max_count) in spread_sort_rec()
515 size_t max_count = get_max_count(log_divisor, last - first); in positive_float_sort_rec() local
521 if(count < max_count) in positive_float_sort_rec()
566 size_t max_count = get_max_count(log_divisor, last - first); in negative_float_sort_rec() local
572 if(count < max_count) in negative_float_sort_rec()
[all …]
/external/qemu/distrib/zlib-1.2.3/
Dtrees.c717 int max_count = 7; /* max repeat count */ local
720 if (nextlen == 0) max_count = 138, min_count = 3;
725 if (++count < max_count && curlen == nextlen) {
739 max_count = 138, min_count = 3;
741 max_count = 6, min_count = 3;
743 max_count = 7, min_count = 4;
762 int max_count = 7; /* max repeat count */ local
766 if (nextlen == 0) max_count = 138, min_count = 3;
770 if (++count < max_count && curlen == nextlen) {
790 max_count = 138, min_count = 3;
[all …]
/external/zlib/
Dtrees.c721 int max_count = 7; /* max repeat count */ local
724 if (nextlen == 0) max_count = 138, min_count = 3;
729 if (++count < max_count && curlen == nextlen) {
743 max_count = 138, min_count = 3;
745 max_count = 6, min_count = 3;
747 max_count = 7, min_count = 4;
766 int max_count = 7; /* max repeat count */ local
770 if (nextlen == 0) max_count = 138, min_count = 3;
774 if (++count < max_count && curlen == nextlen) {
794 max_count = 138, min_count = 3;
[all …]
/external/qemu/android/utils/
Dstralloc.c298 const int max_count = 16; in stralloc_add_hexdump() local
302 int count = size > max_count ? max_count : size; in stralloc_add_hexdump()
314 count2 = 4 + 3*(max_count - count); in stralloc_add_hexdump()
/external/opencv/otherlibs/highgui/
Dgrfmt_sunras.cpp227 int max_count = (int)(line_end - tsrc); in ReadData() local
240 while( ++len1 < max_count ); in ReadData()
295 int max_count = (int)(line_end - data); in ReadData() local
309 while( (max_count -= nch) > 0 ); in ReadData()
/external/chromium/chrome/browser/bookmarks/
Dbookmark_utils.cc449 size_t max_count) { in GetMostRecentlyModifiedFolders() argument
455 if (max_count == 0) { in GetMostRecentlyModifiedFolders()
461 if (nodes.size() < max_count || i != nodes.end()) { in GetMostRecentlyModifiedFolders()
463 while (nodes.size() > max_count) in GetMostRecentlyModifiedFolders()
471 if (nodes.size() < max_count) { in GetMostRecentlyModifiedFolders()
478 if (nodes.size() < max_count && in GetMostRecentlyModifiedFolders()
517 size_t max_count, in GetBookmarksContainingText() argument
531 if (nodes->size() == max_count) in GetBookmarksContainingText()
Dbookmark_utils.h124 BookmarkModel* model, size_t max_count);
152 size_t max_count,
Dbookmark_index.h51 size_t max_count,
Dbookmark_index.cc78 size_t max_count, in GetBookmarksWithTitlesMatching() argument
106 i != node_typed_counts.end() && results->size() < max_count; ++i) in GetBookmarksWithTitlesMatching()
/external/chromium/chrome/browser/
Dcrash_upload_list.cc92 void CrashUploadList::GetUploadedCrashes(unsigned int max_count, in GetUploadedCrashes() argument
95 crashes_.begin() + std::min<size_t>(crashes_.size(), max_count), in GetUploadedCrashes()
Dcrash_upload_list.h53 void GetUploadedCrashes(unsigned int max_count,
/external/srec/tools/grxmlcompile/
Dgrph.h49 void BeginItemRepeat (SubGraph *subg, int min_count, int max_count);
/external/opencv/ml/src/
Dmlem.cpp514 int max_count = 0; in init_auto() local
534 max_count = MAX( max_count, right - left ); in init_auto()
536 CV_CALL( hdr = (CvMat*)cvAlloc( max_count*sizeof(hdr[0]) )); in init_auto()
537 CV_CALL( vec = (const void**)cvAlloc( max_count*sizeof(vec[0]) )); in init_auto()
539 for( i = 0; i < max_count; i++ ) in init_auto()
Dmlann_mlp.cpp237 max_count = 0; in create()
246 max_count = MAX( max_count, n ); in create()
294 min_buf_sz = 2*max_count; in predict()
320 double* data = buf + (j&1 ? max_count*dn0 : 0); in predict()
905 CV_CALL( buf = cvCreateMat( 1, (total + max_count)*2, CV_64F )); in train_backprop()
987 grad2->data.db = buf_ptr + max_count; in train_backprop()
1095 buf_sz = dcount0*(total + max_count)*2; in train_rprop()
1177 grad2->data.db = buf_ptr + max_count*dcount; in train_rprop()

123