RandInt           344 base/file_util_win.cc     new_dir_name.append(IntToString16(RandInt(0, kint16max)));
RandInt           154 base/os_compat_android.cc       char rand_char = static_cast<char>(base::RandInt('a', 'z'));
RandInt            19 base/rand_util.h BASE_EXPORT int RandInt(int min, int max);
RandInt            23 base/rand_util_unittest.cc   EXPECT_EQ(base::RandInt(0, 0), 0);
RandInt            24 base/rand_util_unittest.cc   EXPECT_EQ(base::RandInt(kIntMin, kIntMin), kIntMin);
RandInt            25 base/rand_util_unittest.cc   EXPECT_EQ(base::RandInt(kIntMax, kIntMax), kIntMax);
RandInt            28 chrome/browser/apps/ephemeral_app_service_unittest.cc     generated_time += base::TimeDelta::FromSeconds(base::RandInt(0, 36000));
RandInt           139 chrome/browser/apps/ephemeral_app_service_unittest.cc     int days_before = base::RandInt(EphemeralAppService::kAppKeepThreshold + 1,
RandInt          1179 chrome/browser/autofill/autofill_interactive_uitest.cc         base::IntToString(base::RandInt(0, 10000)) + " " +
RandInt          1180 chrome/browser/autofill/autofill_interactive_uitest.cc         streets[base::RandInt(0, streets.size() - 1)]);
RandInt          1182 chrome/browser/autofill/autofill_interactive_uitest.cc         ASCIIToUTF16(cities[base::RandInt(0, cities.size() - 1)]);
RandInt          1183 chrome/browser/autofill/autofill_interactive_uitest.cc     base::string16 zip(base::IntToString16(base::RandInt(0, 10000)));
RandInt           838 chrome/browser/chromeos/drive/job_scheduler.cc       base::TimeDelta::FromMilliseconds(base::RandInt(0, 1000));
RandInt           502 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.cc       int i = base::RandInt(kFirstDefaultImageIndex, kDefaultImagesCount - 1);
RandInt           850 chrome/browser/chromeos/login/user_image_manager_impl.cc   SaveUserDefaultImageIndex(base::RandInt(kFirstDefaultImageIndex,
RandInt            56 chrome/browser/devtools/adb_web_socket.cc   int mask = base::RandInt(0, 0x7FFFFFFF);
RandInt           627 chrome/browser/download/download_target_determiner.cc       base::RandInt(0, kUnconfirmedUniquifierRange));
RandInt           172 chrome/browser/extensions/api/dial/dial_service.cc   net::RandIntCallback rand_cb = base::Bind(&base::RandInt);
RandInt            58 chrome/browser/extensions/api/signed_in_devices/id_mapping_helper.cc   int rand_value = base::RandInt(0, max);
RandInt            40 chrome/browser/extensions/updater/extension_updater.cc using base::RandInt;
RandInt           184 chrome/browser/extensions/updater/extension_updater.cc     return TimeDelta::FromSeconds(RandInt(kStartupWaitSeconds,
RandInt           188 chrome/browser/extensions/updater/extension_updater.cc     return TimeDelta::FromSeconds(RandInt(kStartupWaitSeconds * 2,
RandInt           192 chrome/browser/extensions/updater/extension_updater.cc     return TimeDelta::FromSeconds(RandInt(kStartupWaitSeconds * 4,
RandInt           204 chrome/browser/extensions/updater/extension_updater.cc     return TimeDelta::FromSeconds(RandInt(kStartupWaitSeconds,
RandInt           635 chrome/browser/history/history_backend.cc   if (base::RandInt(1, 100) == 50) {
RandInt           150 chrome/browser/history/history_database.cc   if (base::RandInt(1, 3) == 3) {
RandInt            79 chrome/browser/intranet_redirect_detector.cc     const int num_chars = base::RandInt(7, 15);
RandInt            81 chrome/browser/intranet_redirect_detector.cc       url_string += ('a' + base::RandInt(0, 'z' - 'a'));
RandInt           199 chrome/browser/local_discovery/privet_notifications.cc                                    base::RandInt(0, kStartDelaySeconds/4)));
RandInt           205 chrome/browser/media/chrome_webrtc_apprtc_browsertest.cc                                           base::RandInt(0, 65536)));
RandInt           240 chrome/browser/media/chrome_webrtc_apprtc_browsertest.cc                                           base::RandInt(0, 65536)));
RandInt           106 chrome/browser/media/wv_test_license_server_config.cc   uint16 start_seed = base::RandInt(0, kPortRangeSize);
RandInt           328 chrome/browser/metrics/metrics_service.cc   return base::RandInt(0, kMaxLowEntropySize - 1);
RandInt           110 chrome/browser/metrics/perf_provider_chromeos.cc   size_t collection_interval_minutes = base::RandInt(
RandInt           281 chrome/browser/net/network_stats.cc       int nat_test_idle_seconds = base::RandInt(1, maximum_NAT_idle_seconds_);
RandInt           446 chrome/browser/net/network_stats.cc     test_sequence_.push_back(base::RandInt(0, 1) ? PACED_PACKET_TEST
RandInt           523 chrome/browser/net/network_stats.cc       test_sequence_.push_back(base::RandInt(0, 1) ? PACED_PACKET_TEST
RandInt           916 chrome/browser/net/network_stats.cc   uint32 port_index = base::RandInt(0, arraysize(kPorts) - 1);
RandInt           936 chrome/browser/net/network_stats.cc   int probe_choice = base::RandInt(0, kPacketSizeChoices - 1);
RandInt           941 chrome/browser/net/network_stats.cc       base::RandInt(kProbePacketBytes[kPacketSizeChoices - 1],
RandInt           197 chrome/browser/policy/cloud/cloud_policy_invalidator.cc       base::RandInt(20, max_fetch_delay_));
RandInt           431 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc                          base::RandInt(0, std::numeric_limits<int>::max()));
RandInt           896 chrome/browser/profiles/profile_info_cache.cc   int rand = base::RandInt(0, count);
RandInt           112 chrome/browser/safe_browsing/protocol_manager.cc           base::RandInt(kSbTimerStartIntervalSecMin,
RandInt           391 chrome/browser/safe_browsing/protocol_manager.cc             base::RandInt(15, 45));
RandInt           179 chrome/browser/sync/glue/synced_session_tracker_unittest.cc       int rand_tab_num = base::RandInt(0, kMaxTabs);
RandInt           948 chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc     int num_bookmarks = base::RandInt(0, 9);
RandInt           989 chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc     int num_bookmarks = base::RandInt(0, 9);
RandInt          1028 chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc     int num_bookmarks = base::RandInt(0, 9);
RandInt          1060 chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc     int num_bookmarks = base::RandInt(0, 9);
RandInt          1096 chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc     int num_bookmarks = base::RandInt(0, 9);
RandInt          1908 chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc     int rand_pos = base::RandInt(0, num_bookmarks-1);
RandInt          1917 chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc     int rand_pos = base::RandInt(0, num_bookmarks-1);
RandInt          1929 chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc     int rand_pos = base::RandInt(0, num_bookmarks-1);
RandInt          1938 chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc     int rand_pos = base::RandInt(0, num_bookmarks-1);
RandInt           491 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc     int part = base::RandInt(0, 10000);
RandInt           357 chrome/browser/ui/hung_plugin_tab_helper.cc   if (base::RandInt(0, 100) < 20) {
RandInt           304 chrome/browser/web_resource/notification_promo.cc   group_ = base::RandInt(0, num_groups_ - 1);
RandInt           211 chrome/common/cloud_print/cloud_print_helpers.cc   int r1 = base::RandInt(0, kint32max);
RandInt           212 chrome/common/cloud_print/cloud_print_helpers.cc   int r2 = base::RandInt(0, kint32max);
RandInt           364 chrome/installer/util/user_experiment.cc         flavor = base::RandInt(0, num_flavors - 1);
RandInt           420 chrome/service/cloud_print/cloud_print_proxy_backend.cc         base::RandInt(kMinJobPollIntervalSecs, kMaxJobPollIntervalSecs));
RandInt           456 chrome/service/cloud_print/cloud_print_proxy_backend.cc       base::RandInt(settings_.xmpp_ping_timeout_sec() * 0.9,
RandInt           145 chrome/test/chromedriver/net/port_server.cc   int start = base::RandInt(min_port_, max_port_);
RandInt           685 chromeos/dbus/fake_bluetooth_device_client.cc                      base::RandInt(kMinRSSI, kMaxRSSI));
RandInt           691 chromeos/dbus/fake_bluetooth_device_client.cc                      base::RandInt(kMinRSSI, kMaxRSSI));
RandInt           699 chromeos/dbus/fake_bluetooth_device_client.cc                      base::RandInt(kMinRSSI, kMaxRSSI));
RandInt           713 chromeos/dbus/fake_bluetooth_device_client.cc                      base::RandInt(kMinRSSI, kMaxRSSI));
RandInt           719 chromeos/dbus/fake_bluetooth_device_client.cc                      base::RandInt(kMinRSSI, kMaxRSSI));
RandInt           723 chromeos/dbus/fake_bluetooth_device_client.cc                      base::RandInt(kMinRSSI, kMaxRSSI));
RandInt           315 chromeos/dbus/fake_bluetooth_gatt_characteristic_client.cc   value.bpm = static_cast<uint8>(base::RandInt(117, 153));
RandInt           125 cloud_print/gcp20/prototype/cloud_print_requester.cc   int r1 = base::RandInt(0, kint32max);
RandInt           126 cloud_print/gcp20/prototype/cloud_print_requester.cc   int r2 = base::RandInt(0, kint32max);
RandInt           143 cloud_print/gcp20/prototype/cloud_print_xmpp_listener.cc   delay += base::RandInt(0, delay*kRandomDelayPercentage);
RandInt           854 cloud_print/gcp20/prototype/printer.cc                              base::RandInt(0, INT_MAX)));
RandInt            62 components/autofill/core/browser/password_generator.cc     int probability = base::RandInt(0, num_left - 1);
RandInt           103 components/autofill/core/browser/password_generator.cc       ret.push_back(static_cast<char>(base::RandInt(kMinUpper, kMaxUpper)));
RandInt           106 components/autofill/core/browser/password_generator.cc       ret.push_back(static_cast<char>(base::RandInt(kMinLower, kMaxLower)));
RandInt           109 components/autofill/core/browser/password_generator.cc       ret.push_back(static_cast<char>(base::RandInt(kMinDigit, kMaxDigit)));
RandInt           113 components/autofill/core/browser/password_generator.cc           kOtherSymbols[base::RandInt(0, arraysize(kOtherSymbols) - 1)]);
RandInt           119 components/autofill/core/browser/password_generator.cc               base::RandInt(0, alphanumeric_characters.size() - 1)));
RandInt            90 components/variations/entropy_provider_unittest.cc         static_cast<uint16>(base::RandInt(0, kMaxLowEntropySize - 1));
RandInt           121 components/variations/entropy_provider_unittest.cc         static_cast<uint16>(base::RandInt(0, kMaxLowEntropySize - 1));
RandInt            40 content/browser/media/webrtc_identity_store.cc   int serial_number = base::RandInt(0, std::numeric_limits<int>::max());
RandInt          1809 content/browser/renderer_host/render_process_host_impl.cc     int random_index = base::RandInt(0, suitable_count - 1);
RandInt           109 content/ppapi_plugin/ppapi_thread.cc           base::RandInt(0, std::numeric_limits<PP_Module>::max())),
RandInt           174 content/renderer/media/rtc_video_encoder.cc   picture_id_ = static_cast<uint16_t>(base::RandInt(0, 0x7FFF));
RandInt            38 ipc/ipc_channel.cc       base::RandInt(0, std::numeric_limits<int32>::max()));
RandInt           511 ipc/ipc_channel_win.cc     secret = base::RandInt(0, std::numeric_limits<int>::max());
RandInt           113 jingle/notifier/communicator/login.cc   reconnect_interval_ = base::TimeDelta::FromSeconds(base::RandInt(1, 9));
RandInt           120 jingle/notifier/communicator/login.cc       base::TimeDelta::FromSeconds(base::RandInt(5, 25));
RandInt           193 media/audio/virtual_audio_input_stream_unittest.cc     for (int remaning = base::RandInt(1, output_streams_.size() - 1);
RandInt            83 media/cast/logging/logging_impl_unittest.cc         base::RandInt(-kRandomSizeInterval, kRandomSizeInterval);
RandInt           111 media/cast/logging/logging_impl_unittest.cc                 base::RandInt(-kRandomSizeInterval, kRandomSizeInterval);
RandInt           177 media/cast/logging/logging_impl_unittest.cc       int size = kBaseSize + base::RandInt(-kSizeInterval, kSizeInterval);
RandInt           218 media/cast/logging/logging_impl_unittest.cc     int value = kBaseValue + base::RandInt(-5, 5);
RandInt           480 media/cast/rtcp/rtcp.cc   int random = base::RandInt(0, 999);
RandInt            33 media/cast/transport/rtp_sender/rtp_sender.cc   config_.sequence_number = base::RandInt(0, 65535);
RandInt           410 mojo/system/message_pipe_dispatcher_unittest.cc     *messages_written_ = static_cast<size_t>(base::RandInt(1000, 6000));
RandInt           415 mojo/system/message_pipe_dispatcher_unittest.cc           base::RandInt(1, static_cast<int>(kMaxMessageSize)));
RandInt           330 mojo/system/raw_channel_unittest.cc           static_cast<uint32_t>(base::RandInt(1, kMaxRandomMessageSize)))));
RandInt          1850 net/disk_cache/blockfile/backend_impl.cc   if (base::RandInt(0, 99) < hit_ratio_as_percentage)
RandInt          1895 net/disk_cache/blockfile/backend_impl.cc   if (base::RandInt(0, 99) < hit_ratio_as_percentage)
RandInt          1913 net/disk_cache/blockfile/backend_impl.cc   if (base::RandInt(0, 99) < hit_ratio_as_percentage)
RandInt            37 net/dns/dns_client.cc                                 base::Bind(&base::RandInt),
RandInt           134 net/dns/dns_session_unittest.cc                             base::Bind(&base::RandInt),
RandInt            77 net/dns/dns_socket_pool.cc       kBindType, base::Bind(&base::RandInt), net_log_, no_source);
RandInt           196 net/dns/dns_socket_pool.cc   unsigned socket_index = base::RandInt(0, pool.size() - 1);
RandInt           400 net/dns/dns_transaction_unittest.cc     uint16 id = base::RandInt(0, kuint16max);
RandInt           414 net/dns/dns_transaction_unittest.cc     uint16 id = base::RandInt(0, kuint16max);
RandInt            67 net/http/http_auth_handler_digest.cc     cnonce.push_back(domain[base::RandInt(0, 15)]);
RandInt           436 net/http/http_auth_handler_ntlm_portable.cc     output[i] = base::RandInt(0, 255);
RandInt           213 net/proxy/proxy_list.cc             base::RandInt(1 * 60 * 1000, 5 * 60 * 1000));
RandInt            87 net/quic/quic_client_session_test.cc         DatagramSocket::DEFAULT_BIND, base::Bind(&base::RandInt),
RandInt           502 net/quic/quic_stream_sequencer_test.cc     return base::RandInt(1, n);
RandInt           508 net/quic/quic_stream_sequencer_test.cc       to_process = base::RandInt(0, len);
RandInt           226 net/ssl/server_bound_cert_service.cc         serial_number_(base::RandInt(0, std::numeric_limits<int>::max())),
RandInt            59 net/tools/quic/test_tools/packet_dropping_test_writer.cc   uint32 seed = base::RandInt(0, std::numeric_limits<int32>::max());
RandInt           422 net/url_request/url_request_throttler_simulation_unittest.cc     if (base::RandInt(0, 1)) {
RandInt           464 net/url_request/url_request_throttler_simulation_unittest.cc     int delay_ms = base::RandInt(0, max_delay.InMilliseconds());
RandInt           101 remoting/base/rsa_key_pair.cc       base::RandInt(1, std::numeric_limits<int>::max()),
RandInt           149 remoting/host/win/unprivileged_process_delegate.cc       base::RandInt(1, std::numeric_limits<int>::max()));
RandInt            49 sync/engine/backoff_delay_provider.cc   int rand_sign = base::RandInt(0, 1) * 2 - 1;
RandInt            79 ui/app_list/views/pulsing_block_view.cc   const int delay = start_delay ? base::RandInt(0, max_delay) : 0;
RandInt           147 ui/views/view_unittest.cc   int count = base::RandInt(1, 5);
RandInt           169 ui/views/view_unittest.cc     int a = base::RandInt(0, count - 1);
RandInt           170 ui/views/view_unittest.cc     int b = base::RandInt(0, count - 1);