/external/chromium/base/ |
rand_util_unittest.cc | 19 EXPECT_EQ(base::RandInt(0, 0), 0); 20 EXPECT_EQ(base::RandInt(kIntMin, kIntMin), kIntMin); 21 EXPECT_EQ(base::RandInt(kIntMax, kIntMax), kIntMax);
|
rand_util.h | 18 BASE_API int RandInt(int min, int max);
|
rand_util.cc | 16 int RandInt(int min, int max) {
|
/external/chromium/chrome/browser/sync/util/ |
nigori.cc | 25 using base::RandInt; 165 random[i] = RandInt(0, 0xff);
|
/external/chromium/chrome/browser/ |
intranet_redirect_detector.cc | 81 url_string += ('a' + base::RandInt(0, 'z' - 'a'));
|
/external/chromium/chrome/browser/extensions/ |
extension_updater.cc | 48 using base::RandInt; 530 return TimeDelta::FromSeconds(RandInt(kStartupWaitSeconds, 534 return TimeDelta::FromSeconds(RandInt(kStartupWaitSeconds * 2, 538 return TimeDelta::FromSeconds(RandInt(kStartupWaitSeconds * 4, 550 return TimeDelta::FromSeconds(RandInt(kStartupWaitSeconds, [all...] |
/external/chromium/chrome/browser/importer/ |
toolbar_importer.cc | 198 int random = base::RandInt(0, std::numeric_limits<int>::max()); 231 int random = base::RandInt(0, std::numeric_limits<int>::max());
|
/external/chromium/chrome/browser/history/ |
history_database.cc | 39 if (base::RandInt(1, 100) != 50)
|
/external/chromium/net/http/ |
http_auth_handler_digest.cc | 64 cnonce.push_back(domain[base::RandInt(0, 15)]);
|
http_auth_handler_ntlm_portable.cc | 446 output[i] = base::RandInt(0, 255);
|
/external/chromium/chrome/browser/safe_browsing/ |
protocol_manager.cc | 119 next_update_sec_ = base::RandInt(60, kSbTimerStartIntervalSec); 389 next_update_sec_ = base::RandInt(15 * 60, 45 * 60);
|
/external/chromium/chrome/browser/download/ |
download_manager.cc | 378 base::RandInt(0, 100000)); [all...] |
/external/chromium/chrome/browser/sync/engine/ |
syncer_thread.cc | 738 int rand_sign = base::RandInt(0, 1) * 2 - 1; [all...] |