Searched refs:max (Results 426 - 450 of 4319) sorted by path

<<11121314151617181920>>

/external/chromium_org/chrome/browser/extensions/api/bookmarks/
H A Dbookmarks_api.cc518 std::numeric_limits<int>::max(),
537 std::numeric_limits<int>::max(),
/external/chromium_org/chrome/browser/extensions/api/cast_streaming/
H A Dperformance_test.cc129 std_dev = sqrt(std::max(0.0, num_values * sqr_sum - sum * sum)) /
/external/chromium_org/chrome/browser/extensions/api/metrics_private/
H A Dmetrics_apitest.cc34 int max; member in struct:__anon3771::RecordedHistogram
160 histogram->HasConstructionArguments(r.min, r.max, r.buckets));
H A Dmetrics_private_api.cc81 int min, int max, size_t buckets,
86 max = std::min(max, INT_MAX - 3);
89 min = std::max(min, 1);
90 max = std::max(max, min + 1);
91 buckets = std::max(buckets, static_cast<size_t>(3));
93 if (buckets > static_cast<size_t>(max - min + 2))
94 buckets = max
78 RecordValue( const std::string& name, base::HistogramType type, int min, int max, size_t buckets, int sample) argument
[all...]
H A Dmetrics_private_api.h69 int min, int max, size_t buckets,
/external/chromium_org/chrome/browser/extensions/api/omnibox/
H A Domnibox_api.cc327 std::max(0, static_cast<int>(description.length()) + style->offset);
/external/chromium_org/chrome/browser/extensions/api/page_capture/
H A Dpage_capture_api.cc146 if (mhtml_file_size > std::numeric_limits<int>::max()) {
/external/chromium_org/chrome/browser/extensions/api/signed_in_devices/
H A Did_mapping_helper.cc56 // Set the max value for rand to be twice the device count.
57 int max = device_count * 2; local
58 int rand_value = base::RandInt(0, max);
/external/chromium_org/chrome/browser/extensions/
H A Dchrome_app_sorting_unittest.cc681 syncer::StringOrdinal max = variable
686 EXPECT_TRUE(max.IsValid());
687 EXPECT_TRUE(min.LessThan(max));
689 // Ensure that the min and max values aren't set for empty pages.
691 max = syncer::StringOrdinal();
694 EXPECT_FALSE(max.IsValid());
698 max = app_sorting->GetMinOrMaxAppLaunchOrdinalsOnPage(
702 EXPECT_FALSE(max.IsValid());
H A Dconvert_web_app.cc74 double stamp = day_fraction * std::numeric_limits<uint16>::max();
H A Dextension_infobar_delegate.cc57 height_ = std::max(0, height);
H A Dextension_system_impl.cc287 return std::max(experiment_value, cmdline_value);
342 mode = std::max(mode, ContentVerifierDelegate::BOOTSTRAP);
H A Dextension_tab_util.cc228 index = std::min(std::max(index, -1), tab_strip->count());
H A Dextension_view_host.cc270 std::max(0, (bounds.width() - size.width()) / 2),
271 std::max(0, (bounds.height() - size.height()) / 2));
H A Dinstall_verifier.cc104 return std::max(GetExperimentStatus(), GetCommandLineStatus());
/external/chromium_org/chrome/browser/extensions/updater/
H A Dextension_updater.cc247 frequency_seconds_ = std::max(frequency_seconds_, kMinUpdateFrequencySeconds);
/external/chromium_org/chrome/browser/history/android/
H A Dsqlite_cursor.cc70 int count = MoveTo(env, obj, std::numeric_limits<int>::max() - 1) + 1;
/external/chromium_org/chrome/browser/history/
H A Ddownload_database.cc334 "SELECT max(id) FROM downloads"));
337 // If there are zero records in the downloads table, then max(id) will return
340 // then max(id) will return <= kInvalidId, so GetNextDownloadId should return
344 return 1 + static_cast<uint32>(std::max(
376 // the max(id) logic in GetNextDownloadId().
H A Dexpire_history_backend.cc255 std::numeric_limits<int>::max());
437 // NOTE: The calls to std::max() below are a backstop, but they should
440 std::max(0, url_row.visit_count() - i->second.visit_count));
442 std::max(0, url_row.typed_count() - i->second.typed_count));
H A Dhistory_backend.cc1291 std::numeric_limits<size_t>::max() : static_cast<int>(options.max_count);
1428 int delta_time = std::max(1, std::min(999,
H A Dscored_history_match.cc202 raw_score_ = std::max(raw_score_, hup_like_score);
481 // we've precomputed. The std::max is to protect against corruption
484 std::max(
536 value_of_transition = std::max(value_of_transition, bookmark_value_);
H A Dthumbnail_database.cc526 std::max(100, percentage));
H A Durl_index_private_data.cc707 DCHECK_LT(history_id, std::numeric_limits<HistoryID>::max());
H A Dvisit_database.cc315 statement.BindInt64(1, end ? end : std::numeric_limits<int64>::max());
317 max_results ? max_results : std::numeric_limits<int64>::max());
340 statement.BindInt64(1, end ? end : std::numeric_limits<int64>::max());
344 max_results ? max_results : std::numeric_limits<int64>::max());
H A Dvisit_filter.cc129 double decay_exponent = std::max(0.0, kLn2 * static_cast<double>(
330 result->reserve(std::max(vector1.size(), vector2.size()));

Completed in 984 milliseconds

<<11121314151617181920>>