Home
last modified time | relevance | path

Searched refs:RandInt (Results 1 – 13 of 13) sorted by relevance

/external/chromium/base/
Drand_util_unittest.cc19 EXPECT_EQ(base::RandInt(0, 0), 0); in TEST()
20 EXPECT_EQ(base::RandInt(kIntMin, kIntMin), kIntMin); in TEST()
21 EXPECT_EQ(base::RandInt(kIntMax, kIntMax), kIntMax); in TEST()
Drand_util.h18 BASE_API int RandInt(int min, int max);
Drand_util.cc16 int RandInt(int min, int max) { in RandInt() function
/external/chromium/chrome/browser/sync/util/
Dnigori.cc25 using base::RandInt;
165 random[i] = RandInt(0, 0xff); in GenerateRandomString()
/external/chromium/chrome/browser/extensions/
Dextension_updater.cc48 using base::RandInt;
530 return TimeDelta::FromSeconds(RandInt(kStartupWaitSeconds, in DetermineFirstCheckDelay()
534 return TimeDelta::FromSeconds(RandInt(kStartupWaitSeconds * 2, in DetermineFirstCheckDelay()
538 return TimeDelta::FromSeconds(RandInt(kStartupWaitSeconds * 4, in DetermineFirstCheckDelay()
550 return TimeDelta::FromSeconds(RandInt(kStartupWaitSeconds, in DetermineFirstCheckDelay()
/external/chromium/chrome/browser/importer/
Dtoolbar_importer.cc198 int random = base::RandInt(0, std::numeric_limits<int>::max()); in GetAuthenticationFromServer()
231 int random = base::RandInt(0, std::numeric_limits<int>::max()); in GetBookmarkDataFromServer()
/external/chromium/chrome/browser/
Dintranet_redirect_detector.cc81 url_string += ('a' + base::RandInt(0, 'z' - 'a')); in FinishSleep()
/external/chromium/chrome/browser/history/
Dhistory_database.cc39 if (base::RandInt(1, 100) != 50) in ComputeDatabaseMetrics()
/external/chromium/net/http/
Dhttp_auth_handler_digest.cc64 cnonce.push_back(domain[base::RandInt(0, 15)]); in GenerateNonce()
Dhttp_auth_handler_ntlm_portable.cc446 output[i] = base::RandInt(0, 255); in GenerateRandom()
/external/chromium/chrome/browser/safe_browsing/
Dprotocol_manager.cc119 next_update_sec_ = base::RandInt(60, kSbTimerStartIntervalSec); in SafeBrowsingProtocolManager()
389 next_update_sec_ = base::RandInt(15 * 60, 45 * 60); in HandleServiceResponse()
/external/chromium/chrome/browser/sync/engine/
Dsyncer_thread.cc738 int rand_sign = base::RandInt(0, 1) * 2 - 1; in GetRecommendedDelay()
/external/chromium/chrome/browser/download/
Ddownload_manager.cc378 base::RandInt(0, 100000)); in CheckIfSuggestedPathExists()