/external/chromium_org/chrome/browser/extensions/api/bookmarks/ |
H A D | bookmarks_api.cc | 518 std::numeric_limits<int>::max(), 537 std::numeric_limits<int>::max(),
|
/external/chromium_org/chrome/browser/extensions/api/cast_streaming/ |
H A D | performance_test.cc | 129 std_dev = sqrt(std::max(0.0, num_values * sqr_sum - sum * sum)) /
|
/external/chromium_org/chrome/browser/extensions/api/metrics_private/ |
H A D | metrics_apitest.cc | 34 int max; member in struct:__anon3771::RecordedHistogram 160 histogram->HasConstructionArguments(r.min, r.max, r.buckets));
|
H A D | metrics_private_api.cc | 81 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 D | metrics_private_api.h | 69 int min, int max, size_t buckets,
|
/external/chromium_org/chrome/browser/extensions/api/omnibox/ |
H A D | omnibox_api.cc | 327 std::max(0, static_cast<int>(description.length()) + style->offset);
|
/external/chromium_org/chrome/browser/extensions/api/page_capture/ |
H A D | page_capture_api.cc | 146 if (mhtml_file_size > std::numeric_limits<int>::max()) {
|
/external/chromium_org/chrome/browser/extensions/api/signed_in_devices/ |
H A D | id_mapping_helper.cc | 56 // 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 D | chrome_app_sorting_unittest.cc | 681 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 D | convert_web_app.cc | 74 double stamp = day_fraction * std::numeric_limits<uint16>::max();
|
H A D | extension_infobar_delegate.cc | 57 height_ = std::max(0, height);
|
H A D | extension_system_impl.cc | 287 return std::max(experiment_value, cmdline_value); 342 mode = std::max(mode, ContentVerifierDelegate::BOOTSTRAP);
|
H A D | extension_tab_util.cc | 228 index = std::min(std::max(index, -1), tab_strip->count());
|
H A D | extension_view_host.cc | 270 std::max(0, (bounds.width() - size.width()) / 2), 271 std::max(0, (bounds.height() - size.height()) / 2));
|
H A D | install_verifier.cc | 104 return std::max(GetExperimentStatus(), GetCommandLineStatus());
|
/external/chromium_org/chrome/browser/extensions/updater/ |
H A D | extension_updater.cc | 247 frequency_seconds_ = std::max(frequency_seconds_, kMinUpdateFrequencySeconds);
|
/external/chromium_org/chrome/browser/history/android/ |
H A D | sqlite_cursor.cc | 70 int count = MoveTo(env, obj, std::numeric_limits<int>::max() - 1) + 1;
|
/external/chromium_org/chrome/browser/history/ |
H A D | download_database.cc | 334 "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 D | expire_history_backend.cc | 255 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 D | history_backend.cc | 1291 std::numeric_limits<size_t>::max() : static_cast<int>(options.max_count); 1428 int delta_time = std::max(1, std::min(999,
|
H A D | scored_history_match.cc | 202 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 D | thumbnail_database.cc | 526 std::max(100, percentage));
|
H A D | url_index_private_data.cc | 707 DCHECK_LT(history_id, std::numeric_limits<HistoryID>::max());
|
H A D | visit_database.cc | 315 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 D | visit_filter.cc | 129 double decay_exponent = std::max(0.0, kLn2 * static_cast<double>( 330 result->reserve(std::max(vector1.size(), vector2.size()));
|