random 185 chrome/android/java/src/org/chromium/chrome/browser/WebappAuthenticator.java SecureRandom random = SecureRandom.getInstance("SHA1PRNG"); random 199 chrome/android/java/src/org/chromium/chrome/browser/WebappAuthenticator.java random.setSeed(seed); random 200 chrome/android/java/src/org/chromium/chrome/browser/WebappAuthenticator.java generator.init(MAC_KEY_BYTE_COUNT * 8, random); random 92 components/rappor/byte_vector_utils_unittest.cc ByteVector random = generator.GetWeightedRandomByteVector(PROBABILITY_50); random 93 components/rappor/byte_vector_utils_unittest.cc int bit_count = CountBits(random); random 101 components/rappor/byte_vector_utils_unittest.cc ByteVector random = generator.GetWeightedRandomByteVector(PROBABILITY_75); random 102 components/rappor/byte_vector_utils_unittest.cc int bit_count = CountBits(random); random 111 components/rappor/byte_vector_utils_unittest.cc ByteVector random = generator.GetWeightedRandomByteVector(PROBABILITY_50); random 112 components/rappor/byte_vector_utils_unittest.cc int bit_count = CountBits(random); random 121 components/rappor/byte_vector_utils_unittest.cc ByteVector random = generator.GetWeightedRandomByteVector(PROBABILITY_75); random 122 components/rappor/byte_vector_utils_unittest.cc int bit_count = CountBits(random); random 170 content/public/android/java/src/org/chromium/content/browser/crypto/CipherFactory.java SecureRandom random = SecureRandom.getInstance("SHA1PRNG"); random 171 content/public/android/java/src/org/chromium/content/browser/crypto/CipherFactory.java random.setSeed(seed); random 174 content/public/android/java/src/org/chromium/content/browser/crypto/CipherFactory.java generator.init(128, random); random 163 content/public/android/javatests/src/org/chromium/content/browser/DownloadInfoTest.java Random random = new Random(); random 169 content/public/android/javatests/src/org/chromium/content/browser/DownloadInfoTest.java + Integer.toString(random.nextInt()); random 175 content/public/android/javatests/src/org/chromium/content/browser/DownloadInfoTest.java valuesForBuilder.put(signature, Integer.valueOf(random.nextInt(100))); random 188 crypto/symmetric_key_win.cc scoped_ptr<BYTE[]> random(new BYTE[key_size_in_bytes]); random 189 crypto/symmetric_key_win.cc ok = CryptGenRandom(safe_provider, key_size_in_bytes, random.get()); random 194 crypto/symmetric_key_win.cc bool rv = ImportRawKey(safe_provider, CALG_HMAC, random.get(), random 199 crypto/symmetric_key_win.cc raw_key->swap(random); random 202 crypto/symmetric_key_win.cc SecureZeroMemory(random.get(), key_size_in_bytes); random 480 media/cast/rtcp/rtcp.cc int random = base::RandInt(0, 999); random 482 media/cast/rtcp/rtcp.cc (rtcp_interval_ / 2) + (rtcp_interval_ * random / 1000); random 80 net/quic/congestion_control/inter_arrival_overuse_detector_test.cc QuicTime::Delta random = QuicTime::Delta::FromMicroseconds( random 84 net/quic/congestion_control/inter_arrival_overuse_detector_test.cc if (random < QuicTime::Delta::Zero()) { random 89 net/quic/congestion_control/inter_arrival_overuse_detector_test.cc drift_from_mean_ = drift_from_mean_.Add(random).Subtract(mean); random 90 net/quic/congestion_control/inter_arrival_overuse_detector_test.cc return random; random 29 net/quic/quic_packet_creator.cc explicit QuicRandomBoolSource(QuicRandom* random) random 30 net/quic/quic_packet_creator.cc : random_(random), random 923 net/third_party/nss/ssl/ssl3con.c ssl3_GetNewRandom(SSL3Random *random) random 928 net/third_party/nss/ssl/ssl3con.c rv = PK11_GenerateRandom(random->rand, SSL3_RANDOM_LENGTH); random 8797 net/third_party/nss/ssl/ssl3con.c unsigned char * random; random 8865 net/third_party/nss/ssl/ssl3con.c random = suites + suite_length + sid_length; random 8877 net/third_party/nss/ssl/ssl3con.c random, rand_length); random 152 net/third_party/nss/ssl/ssl3prot.h SSL3Random random; random 161 net/third_party/nss/ssl/ssl3prot.h SSL3Random random; random 284 net/third_party/nss/ssl/ssl3prot.h SSL3Opaque random[46]; random 52 net/tools/quic/quic_epoll_connection_helper_test.cc QuicRandom* random = helper_.GetRandomGenerator(); random 53 net/tools/quic/quic_epoll_connection_helper_test.cc EXPECT_EQ(QuicRandom::GetInstance(), random); random 166 third_party/libevent/poll.c i = random() % nfds; random 178 third_party/libevent/select.c i = random() % (sop->event_fds+1); random 41 third_party/libevent/test/test-time.c return (int)(random() % n); random 77 third_party/npapi/npspy/extern/nspr/md/sunos4.h extern long random(void); random 61 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java Random random = new Random(seed); random 63 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java random.nextBytes(result); random 26797 third_party/sqlite/amalgamation/sqlite3.c lk = random(); random 83238 third_party/sqlite/amalgamation/sqlite3.c FUNCTION(random, 0, 0, 0, randomFunc ), random 1539 third_party/sqlite/src/src/func.c FUNCTION(random, 0, 0, 0, randomFunc ), random 2656 third_party/sqlite/src/src/os_unix.c lk = random(); random 239 third_party/sqlite/src/src/test6.c char random; random 240 third_party/sqlite/src/src/test6.c sqlite3_randomness(1, &random); random 246 third_party/sqlite/src/src/test6.c random &= 0x01; random 254 third_party/sqlite/src/src/test6.c random = 0; random 265 third_party/sqlite/src/src/test6.c random = 0; random 269 third_party/sqlite/src/src/test6.c if( (random&0x06)==0x06 ){ random 272 third_party/sqlite/src/src/test6.c eAction = ((random&0x01)?2:1); random 123 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc static int LLA_SkiplistLevels(size_t size, size_t base, bool random) { random 128 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc int level = IntLog2(size, base) + (random? Random() : 1); random 890 third_party/tcmalloc/chromium/src/tests/heap-checker_unittest.cc s1.insert(random()); random 894 third_party/tcmalloc/chromium/src/tests/heap-checker_unittest.cc if (random() % 51 == 0) { random 896 third_party/tcmalloc/chromium/src/tests/heap-checker_unittest.cc if (random() % 2 == 0) { random 928 third_party/tcmalloc/chromium/src/tests/heap-checker_unittest.cc poll(NULL, 0, random() % 100); random 931 third_party/tcmalloc/chromium/src/tests/heap-checker_unittest.cc if (random() % 3 == 0) { random 1022 third_party/tcmalloc/chromium/src/tests/heap-checker_unittest.cc size = 3 + random() % 30; random 234 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc return random() * 0; random 236 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc return random() % n; random 243 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc const int base = random() % (max_log+1); random 244 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc return random() % (1 << base); random 123 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc static int LLA_SkiplistLevels(size_t size, size_t base, bool random) { random 128 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc int level = IntLog2(size, base) + (random? Random() : 1); random 890 third_party/tcmalloc/vendor/src/tests/heap-checker_unittest.cc s1.insert(random()); random 894 third_party/tcmalloc/vendor/src/tests/heap-checker_unittest.cc if (random() % 51 == 0) { random 896 third_party/tcmalloc/vendor/src/tests/heap-checker_unittest.cc if (random() % 2 == 0) { random 928 third_party/tcmalloc/vendor/src/tests/heap-checker_unittest.cc poll(NULL, 0, random() % 100); random 931 third_party/tcmalloc/vendor/src/tests/heap-checker_unittest.cc if (random() % 3 == 0) { random 1022 third_party/tcmalloc/vendor/src/tests/heap-checker_unittest.cc size = 3 + random() % 30; random 234 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc return random() * 0; random 236 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc return random() % n; random 243 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc const int base = random() % (max_log+1); random 244 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc return random() % (1 << base);