Home
last modified time | relevance | path

Searched refs:GetUint8InRange (Results 1 – 13 of 13) sorted by relevance

/openthread-latest/src/core/api/
Drandom_noncrypto_api.cpp48 return Random::NonCrypto::GetUint8InRange(aMin, aMax); in otRandomNonCryptoGetUint8InRange()
/openthread-latest/src/core/mac/
Dchannel_mask.cpp83 randomIndex = Random::NonCrypto::GetUint8InRange(0, GetNumberOfChannels()); in ChooseRandomChannel()
/openthread-latest/src/core/common/
Drandom.hpp132 uint8_t GetUint8InRange(uint8_t aMin, uint8_t aMax);
Drandom.cpp132 uint8_t GetUint8InRange(uint8_t aMin, uint8_t aMax) in GetUint8InRange() function
/openthread-latest/src/core/thread/
Dnetwork_data_notifier.cpp339 …mRouterRoleUpgradeTimeout = Random::NonCrypto::GetUint8InRange(1, kRouterRoleUpgradeMaxTimeout + 1… in ScheduleRouterRoleUpgradeIfEligible()
Dradio_selector.cpp312 (Random::NonCrypto::GetUint8InRange(0, 100) < kTrelProbeProbability)) in SelectRadio()
Ddua_manager.cpp770 … UpdateCheckDelay(Random::NonCrypto::GetUint8InRange(1, BackboneRouter::kParentAggregateDelay)); in HandleChildDuaAddressEvent()
Dmle_router.cpp299 : Random::NonCrypto::GetUint8InRange(minId, maxId + 1); in BecomeLeader()
304 … : Random::NonCrypto::GetUint8InRange(0, kMaxRouterId + 1); in BecomeLeader()
1430 …VerifyOrExit(Random::NonCrypto::GetUint8InRange(0, 100) < GradualChildRouterLink::kProbabilityPerc… in EstablishRouterLinkOnFtdChild()
3967 mTimeout = 1 + Random::NonCrypto::GetUint8InRange(0, mJitter); in StartTimeout()
Drouter_table.cpp149 if (Random::NonCrypto::GetUint8InRange(0, numAvailable) == 0) in Allocate()
/openthread-latest/src/core/net/
Dip6_mpl.cpp452 uint8_t t = (aInterval == 0) ? aInterval : Random::NonCrypto::GetUint8InRange(0, aInterval); in GenerateNextTransmissionTime()
Ddns_dso.cpp634 … blockLength = kBlockLengths[Random::NonCrypto::GetUint8InRange(0, GetArrayLength(kBlockLengths))]; in AppendPadding()
Ddns_client.cpp1657 … uint8_t randomIndex = Random::NonCrypto::GetUint8InRange(0, mLimitedQueryServers.GetMaxSize()); in RecordServerAsLimitedToSingleQuestion()
/openthread-latest/tests/unit/
Dtest_checksum.cpp166 bitOffset = Random::NonCrypto::GetUint8InRange(0, kBitsPerByte); in CorruptMessage()