/external/libchrome/base/ |
D | rand_util_unittest.cc | 25 TEST(RandUtilTest, RandInt) { in TEST() argument 26 EXPECT_EQ(base::RandInt(0, 0), 0); in TEST() 27 EXPECT_EQ(base::RandInt(kIntMin, kIntMin), kIntMin); in TEST() 28 EXPECT_EQ(base::RandInt(kIntMax, kIntMax), kIntMax); in TEST() 34 base::RandInt(kIntMin, kIntMax); in TEST()
|
D | rand_util.h | 23 BASE_EXPORT int RandInt(int min, int max);
|
D | rand_util.cc | 25 int RandInt(int min, int max) { in RandInt() function
|
/external/libchrome/base/task_scheduler/ |
D | scheduler_lock_unittest.cc | 43 PlatformThread::Sleep(TimeDelta::FromMilliseconds(base::RandInt(0, 19))); in Run() 103 PlatformThread::Sleep(TimeDelta::FromMilliseconds(base::RandInt(0, 19))); in TEST() 109 PlatformThread::Sleep(TimeDelta::FromMilliseconds(base::RandInt(0, 19))); in TEST()
|
D | service_thread.cc | 79 kReportedTraits[RandInt(0, base::size(kReportedTraits) - 1)]; in PerformHeartbeatLatencyReport()
|
/external/scapy/scapy/modules/ |
D | queso.py | 14 from scapy.volatile import RandInt 77 ans, unans = sr(IP(dst=target)/TCP(dport=dport,flags=flags,seq=RandInt()),
|
D | p0f.py | 24 from scapy.volatile import RandInt, RandByte, RandChoice, RandNum, RandShort, RandString 529 elif qq == 'A': pkt.payload.ack = RandInt() 545 pkt.payload.seq = RandInt()
|
/external/libchrome/ipc/ |
D | ipc_channel.cc | 48 base::RandInt(0, std::numeric_limits<int32_t>::max())); in GenerateUniqueRandomChannelID()
|
/external/scapy/scapy/contrib/ |
D | gtp.py | 321 XIntField("TEIDI", RandInt()) ] 327 XIntField("TEICI", RandInt())] 379 XIntField("Charging_id", RandInt())] 844 IE_TEICP(TEICI=RandInt()),
|
/external/libchrome/base/metrics/ |
D | persistent_memory_allocator_unittest.cc | 310 uint32_t size = RandInt(1, 99); in Run() 311 uint32_t type = RandInt(100, 999); in Run() 317 if (RandInt(0, 1)) { in Run() 426 uint32_t size = RandInt(1, 99); in TEST_F() 427 uint32_t type = RandInt(100, 999); in TEST_F() 553 size_t offset = RandInt(0, TEST_MEMORY_SIZE - 1); in TEST_F() 554 char value = RandInt(0, 255); in TEST_F()
|
D | histogram_base.cc | 100 if (count - (count_scaled * scale) > base::RandInt(0, scale - 1)) in AddScaled()
|
/external/webrtc/webrtc/modules/audio_processing/ |
D | audio_processing_impl_locking_unittest.cc | 70 int RandInt(int min, int max) { in RandInt() function in webrtc::__anon5b24fac30111::RandomGenerator 75 int RandInt(int max) { in RandInt() function in webrtc::__anon5b24fac30111::RandomGenerator 456 int sleeptime = rand_gen->RandInt(0, max_sleep); in SleepRandomMs() 485 rand_gen->RandInt(2 * amplitude + 1) - amplitude - 1; in PopulateAudioFrame()
|
/external/scapy/scapy/ |
D | volatile.py | 174 class RandInt(RandNum): class
|
D | asn1fields.py | 153 return RandInt()
|
D | fields.py | 101 return {"B":RandByte,"H":RandShort,"I":RandInt, "Q":RandLong}[fmtt]()
|
/external/libchrome/mojo/core/ |
D | trap_unittest.cc | 1665 return handles[base::RandInt(0, static_cast<int>(size) - 1)]; in RandomHandle() 1672 switch (base::RandInt(0, 10)) { in DoRandomThing()
|
/external/scapy/scapy/layers/ |
D | inet6.py | 61 from scapy.volatile import RandInt, RandIP6, RandShort 3212 a,b = sr(IPv6(dst=target, hlim=(minttl,maxttl))/TCP(seq=RandInt(),sport=sport, dport=dport),
|
D | inet.py | 1475 …a,b = sr(IP(dst=target, id=RandShort(), ttl=(minttl,maxttl))/TCP(seq=RandInt(),sport=sport, dport=…
|