Searched refs:CreateRandomId (Results 1 – 10 of 10) sorted by relevance
186 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()
22 CreateRandomId(); in TEST_F()54 EXPECT_EQ(2154761789U, CreateRandomId()); in TEST_F()60 EXPECT_EQ(2154761789U, CreateRandomId()); in TEST_F()
283 uint32_t CreateRandomId() { in CreateRandomId() function292 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()
373 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()
46 uint32_t CreateRandomId();
409 if (rtc::CreateRandomId() % 100 < static_cast<uint32_t>(loss_)) { in DataWritten()
107 rtc::ToString(rtc::CreateRandomId()); in SetUp()
716 rtc::ToString(rtc::CreateRandomId()); in SetFactoryDtlsSrtp()
30 using rtc::CreateRandomId;57 return SHAKE_MIN_DELAY + CreateRandomId() % range; in ShakeDelay()
143 if (rtc::CreateRandomId() % 100 < static_cast<uint32_t>(loss_)) { in TcpWritePacket()