HomeSort by relevance Sort by last modified time
    Searched full:randint (Results 1 - 18 of 18) sorted by null

  /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.cc 16 int RandInt(int min, int max) {
rand_util.h 18 BASE_API int RandInt(int min, int max);
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/streamitems/
StreamItemPopulatorActivity.java 217 int itemsToAdd = randInt(5) + 1;
229 boolean includePhotos = randInt(100) < 30;
232 int numPhotos = randInt(5) + 1;
256 boolean includeAttribution = randInt(100) < 70;
257 boolean includeComments = randInt(100) < 30;
258 boolean includeAction = randInt(100) < 30;
267 int sourceIndex = randInt(labelResources.length);
280 System.currentTimeMillis() - randInt(360000000));
298 return from[randInt(from.length)];
301 private int randInt(int max)
    [all...]
  /external/netcat/data/
data.c 58 /* randint:
60 int randint() function
177 x = randint();
264 *p = (randint() & 0xff);
  /external/chromium/chrome/browser/sync/util/
nigori.cc 25 using base::RandInt;
165 random[i] = RandInt(0, 0xff);
  /external/chromium/net/websockets/
websocket_handshake.cc 211 // unsigned int version of base::RandInt().
212 // we can't use base::RandInt(), because max would be negative if it is
  /external/chromium/chrome/browser/
intranet_redirect_detector.cc 81 url_string += ('a' + base::RandInt(0, 'z' - 'a'));
  /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/common/extensions/docs/examples/apps/hello-python/oauth2/
__init__.py 96 return ''.join([str(random.randint(0, 9)) for i in range(length)])
101 return ''.join([str(random.randint(0, 9)) for i in range(length)])
414 return str(random.randint(0, 100000000))
  /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/history/
history_database.cc 39 if (base::RandInt(1, 100) != 50)
  /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/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/sync/engine/
syncer_thread.cc 738 int rand_sign = base::RandInt(0, 1) * 2 - 1;
    [all...]
  /external/chromium/chrome/browser/download/
download_manager.cc 378 base::RandInt(0, 100000));
    [all...]
  /external/webkit/Tools/Scripts/webkitpy/style/checkers/
cpp_unittest.py     [all...]

Completed in 477 milliseconds