Home
last modified time | relevance | path

Searched refs:CreateRandomId (Results 1 – 10 of 10) sorted by relevance

/external/webrtc/webrtc/base/
Dtimeutils_unittest.cc186 int year = rtc::CreateRandomId() % 400 + 1970; in TestTmToSeconds()
198 tm.tm_mon = rtc::CreateRandomId() % 12; in TestTmToSeconds()
199 tm.tm_mday = rtc::CreateRandomId() % mdays[tm.tm_mon] + 1; in TestTmToSeconds()
200 tm.tm_hour = rtc::CreateRandomId() % 24; in TestTmToSeconds()
201 tm.tm_min = rtc::CreateRandomId() % 60; in TestTmToSeconds()
202 tm.tm_sec = rtc::CreateRandomId() % 60; in TestTmToSeconds()
207 switch (rtc::CreateRandomId() % 11) { in TestTmToSeconds()
247 time_t t = rtc::CreateRandomId() % 0x80000000; in TestTmToSeconds()
Dhelpers_unittest.cc22 CreateRandomId(); in TEST_F()
54 EXPECT_EQ(2154761789U, CreateRandomId()); in TEST_F()
60 EXPECT_EQ(2154761789U, CreateRandomId()); in TEST_F()
Dhelpers.cc283 uint32_t CreateRandomId() { in CreateRandomId() function
292 return static_cast<uint64_t>(CreateRandomId()) << 32 | CreateRandomId(); in CreateRandomId64()
298 id = CreateRandomId(); in CreateRandomNonZeroId()
304 return CreateRandomId() / (std::numeric_limits<uint32_t>::max() + in CreateRandomDouble()
Dsslidentity_unittest.cc373 buf[length] = rtc::CreateRandomId(); // ...and terminate it with junk. in TestASN1TimeToSec()
382 buf[length] = rtc::CreateRandomId(); // ...and terminate it with junk. in TestASN1TimeToSec()
396 params.not_after = rtc::CreateRandomId() % 0x80000000; in TestExpireTime()
Dhelpers.h46 uint32_t CreateRandomId();
Dsslstreamadapter_unittest.cc409 if (rtc::CreateRandomId() % 100 < static_cast<uint32_t>(loss_)) { in DataWritten()
/external/webrtc/talk/app/webrtc/
Djsepsessiondescription_unittest.cc107 rtc::ToString(rtc::CreateRandomId()); in SetUp()
Dwebrtcsession_unittest.cc716 rtc::ToString(rtc::CreateRandomId()); in SetFactoryDtlsSrtp()
/external/webrtc/webrtc/p2p/client/
Dbasicportallocator.cc30 using rtc::CreateRandomId;
57 return SHAKE_MIN_DELAY + CreateRandomId() % range; in ShakeDelay()
/external/webrtc/webrtc/p2p/base/
Dpseudotcp_unittest.cc143 if (rtc::CreateRandomId() % 100 < static_cast<uint32_t>(loss_)) { in TcpWritePacket()