Searched refs:CreateRandomId (Results 1 – 11 of 11) sorted by relevance
136 int year = rtc::CreateRandomId() % 400 + 1970; in TestTmToSeconds()148 tm.tm_mon = rtc::CreateRandomId() % 12; in TestTmToSeconds()149 tm.tm_mday = rtc::CreateRandomId() % mdays[tm.tm_mon] + 1; in TestTmToSeconds()150 tm.tm_hour = rtc::CreateRandomId() % 24; in TestTmToSeconds()151 tm.tm_min = rtc::CreateRandomId() % 60; in TestTmToSeconds()152 tm.tm_sec = rtc::CreateRandomId() % 60; in TestTmToSeconds()157 switch (rtc::CreateRandomId() % 11) { in TestTmToSeconds()197 time_t t = rtc::CreateRandomId() % 0x80000000; in TestTmToSeconds()
194 uint32_t CreateRandomId() { in CreateRandomId() function201 return static_cast<uint64_t>(CreateRandomId()) << 32 | CreateRandomId(); in CreateRandomId64()207 id = CreateRandomId(); in CreateRandomNonZeroId()213 return CreateRandomId() / (std::numeric_limits<uint32_t>::max() + in CreateRandomDouble()
25 CreateRandomId(); in TEST_F()79 EXPECT_EQ(2154761789U, CreateRandomId()); in TEST_F()96 EXPECT_EQ(2154761789U, CreateRandomId()); in TEST_F()
56 uint32_t CreateRandomId();
557 buf[length] = rtc::CreateRandomId(); // ...and terminate it with junk. in TestASN1TimeToSec()566 buf[length] = rtc::CreateRandomId(); // ...and terminate it with junk. in TestASN1TimeToSec()581 rtc::CreateRandomId() % (0x80000000 - time_before_generation); in TestExpireTime()
541 if (rtc::CreateRandomId() % 100 < static_cast<uint32_t>(loss_)) { in DataWritten()
96 const std::string session_version = rtc::ToString(rtc::CreateRandomId()); in SetUp()
3155 ssrc = rtc::CreateRandomId(); in ModifySsrcs()
166 if (rtc::CreateRandomId() % 100 < static_cast<uint32_t>(loss_)) { in TcpWritePacket()
285 : id_(rtc::CreateRandomId()), in Connection()
33 using rtc::CreateRandomId;