/external/chromium_org/tools/gyp/test/actions/src/subdir1/ |
H A D | counter.py | 21 max_count = int(sys.argv[2]) variable 22 if count > max_count: 23 count = max_count
|
/external/chromium/third_party/libjingle/source/talk/xmpp/ |
H A D | ratelimitmanager.cc | 53 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 D | ratelimitmanager.h | 47 // A buffer tracks the previous max_count events. Before an event is allowed 68 bool VerifyRateLimit(const std::string event_name, int max_count, 73 bool VerifyRateLimit(const std::string event_name, int max_count, 106 // The time at which the i-th (where i = max_count) event occured 116 int counter_; // count modulo max_count of the current event 119 uint32* event_times_; // buffer of previous max_count event 134 void UpdateRateLimit(const std::string event_name, int max_count,
|
H A D | xmpptask.cc | 169 bool XmppTask::VerifyTaskRateLimit(const std::string task_name, int max_count, argument 171 return task_rate_manager.VerifyRateLimit(task_name, max_count,
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
H A D | rollingaccumulator.h | 44 explicit RollingAccumulator(size_t max_count) argument 49 samples_(max_count) { 54 size_t max_count() const { function in class:talk_base::RollingAccumulator 63 if (count_ == max_count()) { 77 next_index_ = (next_index_ + 1) % max_count(); 101 const size_t max_size = max_count();
|
H A D | bandwidthsmoother.cc | 59 accumulator_.max_count() * min_sample_count_percent_)) {
|
/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | blacklist.c | 126 int max_count = 0; local 131 if (e->count > max_count) 132 max_count = e->count; 140 wpa_s->extra_blacklist_count += max_count;
|
/external/chromium_org/chrome/renderer/net/ |
H A D | renderer_net_predictor.cc | 131 void RendererNetPredictor::DnsPrefetchNames(size_t max_count) { argument 140 if (0 == max_count) continue; // Get all, independent of count. 141 if (1 == max_count) break; 142 --max_count; 143 DCHECK_GE(max_count, 1u);
|
H A D | renderer_net_predictor.h | 66 // If max_count is zero, then all available names are sent; and 67 // if positive, then at most max_count names will be sent. 68 void DnsPrefetchNames(size_t max_count = 0);
|
/external/chromium_org/chrome/browser/bookmarks/ |
H A D | bookmark_utils.h | 52 // Returns a vector containing up to |max_count| of the most recently modified 55 BookmarkModel* model, size_t max_count); 66 // Returns up to |max_count| bookmarks from |model| whose url or title contains 71 size_t max_count,
|
H A D | bookmark_utils.cc | 153 size_t max_count) { 161 if (max_count == 0) { 167 if (nodes.size() < max_count || i != nodes.end()) { 169 while (nodes.size() > max_count) 177 if (nodes.size() < max_count) { 188 if (nodes.size() == max_count) 221 size_t max_count, 235 if (nodes->size() == max_count) 151 GetMostRecentlyModifiedFolders( BookmarkModel* model, size_t max_count) argument 219 GetBookmarksContainingText(BookmarkModel* model, const base::string16& text, size_t max_count, const std::string& languages, std::vector<const BookmarkNode*>* nodes) argument
|
/external/chromium_org/chrome/browser/history/ |
H A D | history_querying_unittest.cc | 100 options.max_count = 1; 111 // Try with a max_count > 1. 112 options.max_count = 2; 236 // Tests max_count feature for basic (non-Full Text Search) queries. 245 options.max_count = 2; 290 // Test with |max_count| specified. 291 options.max_count = 1; 297 // Test with |max_count| greater than the number of results, 299 options.max_count = 100; 302 options.max_count [all...] |
/external/chromium/chrome/browser/ |
H A D | crash_upload_list.cc | 92 void CrashUploadList::GetUploadedCrashes(unsigned int max_count, argument 95 crashes_.begin() + std::min<size_t>(crashes_.size(), max_count),
|
H A D | crash_upload_list.h | 50 // Populates |crashes| with the |max_count| most recent uploaded crashes, 53 void GetUploadedCrashes(unsigned int max_count,
|
/external/chromium_org/chrome/browser/ |
H A D | upload_list.cc | 94 void UploadList::GetUploads(unsigned int max_count, argument 98 uploads_.begin() + std::min<size_t>(uploads_.size(), max_count),
|
H A D | upload_list.h | 54 // Populates |uploads| with the |max_count| most recent uploads, 57 void GetUploads(unsigned int max_count, std::vector<UploadInfo>* uploads);
|
/external/chromium/chrome/browser/history/ |
H A D | text_database.cc | 324 int effective_max_count = options.max_count ? 325 options.max_count : std::numeric_limits<int>::max(); 371 options.max_count == 0 || // Special case for wanting all the results. 372 static_cast<int>(results->size()) < options.max_count) {
|
H A D | text_database_manager.cc | 467 if (options.max_count) { 468 cur_options.max_count = options.max_count - 479 DCHECK(options.max_count == 0 || 480 static_cast<int>(results->size()) <= options.max_count); 481 if (options.max_count && 482 static_cast<int>(results->size()) >= options.max_count)
|
/external/opencv/cv/src/ |
H A D | cvfeatureselect.cpp | 62 int max_count = 0; local 87 max_count = *corner_count; 136 if( max_count <= 0 ) 211 if( ++count >= max_count )
|
/external/srec/tools/grxmlcompile/ |
H A D | grph.h | 49 void BeginItemRepeat (SubGraph *subg, int min_count, int max_count);
|
/external/strace/ |
H A D | ipc.c | 298 unsigned long i, max_count; local 301 max_count = (max_strlen < count) ? max_strlen : count; 303 max_count = count; 305 if (!max_count) { 310 for(i = 0; i < max_count; ++i) { 331 if (i < max_count || max_count < count)
|
/external/chromium/chrome/browser/ui/toolbar/ |
H A D | back_forward_menu_model.cc | 331 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_org/chrome/browser/ui/toolbar/ |
H A D | back_forward_menu_model.cc | 351 int max_count = controller.GetEntryCount(); local 352 if (start_from < 0 || start_from >= max_count) 356 if (start_from < max_count - 1) { 382 for (int i = start_from + 1; i < max_count; ++i) { 389 return max_count - 1;
|
/external/chromium/chrome/browser/bookmarks/ |
H A D | bookmark_utils.h | 121 // Returns a vector containing up to |max_count| of the most recently modified 124 BookmarkModel* model, size_t max_count); 147 // Returns up to |max_count| bookmarks from |model| whose url or title contains 152 size_t max_count,
|
/external/chromium_org/chrome/browser/ui/webui/ntp/ |
H A D | recently_closed_tabs_handler.cc | 152 const int max_count = 10; local 158 it != entries.end() && added_count < max_count; ++it) {
|