Home
last modified time | relevance | path

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

/external/webrtc/rtc_base/
Dtime_utils_unittest.cc136 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()
Dhelpers.cc194 uint32_t CreateRandomId() { in CreateRandomId() function
201 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()
Dhelpers_unittest.cc25 CreateRandomId(); in TEST_F()
79 EXPECT_EQ(2154761789U, CreateRandomId()); in TEST_F()
96 EXPECT_EQ(2154761789U, CreateRandomId()); in TEST_F()
Dhelpers.h56 uint32_t CreateRandomId();
Dssl_identity_unittest.cc557 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()
Dssl_stream_adapter_unittest.cc541 if (rtc::CreateRandomId() % 100 < static_cast<uint32_t>(loss_)) { in DataWritten()
/external/webrtc/pc/
Djsep_session_description_unittest.cc96 const std::string session_version = rtc::ToString(rtc::CreateRandomId()); in SetUp()
Dpeer_connection_integrationtest.cc3155 ssrc = rtc::CreateRandomId(); in ModifySsrcs()
/external/webrtc/p2p/base/
Dpseudo_tcp_unittest.cc166 if (rtc::CreateRandomId() % 100 < static_cast<uint32_t>(loss_)) { in TcpWritePacket()
Dconnection.cc285 : id_(rtc::CreateRandomId()), in Connection()
/external/webrtc/p2p/client/
Dbasic_port_allocator.cc33 using rtc::CreateRandomId;