Home
last modified time | relevance | path

Searched refs:IsGreater (Results 1 – 7 of 7) sorted by relevance

/openthread-3.7.0/tests/unit/
Dtest_serial_number.cpp51 VerifyOrQuit(!SerialNumber::IsGreater<UintType>(number, number)); in TestSerialNumber()
54 VerifyOrQuit(SerialNumber::IsGreater<UintType>(number + 1, number)); in TestSerialNumber()
55 VerifyOrQuit(SerialNumber::IsGreater<UintType>(number + kMid - 1, number)); in TestSerialNumber()
56 VerifyOrQuit(SerialNumber::IsGreater<UintType>(number + kMid, number)); in TestSerialNumber()
57 VerifyOrQuit(!SerialNumber::IsGreater<UintType>(number + kMid + 2, number)); in TestSerialNumber()
58 VerifyOrQuit(!SerialNumber::IsGreater<UintType>(number + kMax - 1, number)); in TestSerialNumber()
/openthread-3.7.0/src/core/common/
Dserial_number.hpp92 template <typename UintType> static bool IsGreater(UintType aFirst, UintType aSecond) in IsGreater() function in ot::SerialNumber
/openthread-3.7.0/src/core/thread/
Dnetwork_data_service.cpp218 if (SerialNumber::IsGreater(info.mSequenceNumber, aInfo.mSequenceNumber)) in FindPreferredDnsSrpAnycastInfo()
250 if ((diff == kMidValue) || !SerialNumber::IsGreater(aInfo.mSequenceNumber, seqNumber)) in FindPreferredDnsSrpAnycastInfo()
Dneighbor.hpp554 …bool IsLastRxFragmentTagAfter(uint16_t aTag) const { return SerialNumber::IsGreater(mLastRxFragmen… in IsLastRxFragmentTagAfter()
Drouter_table.cpp72 SerialNumber::IsGreater(aRouteTlv.GetRouterIdSequence(), GetRouterIdSequence()); in IsRouteTlvIdSequenceMoreRecent()
Dmle_router.cpp993 SerialNumber::IsGreater(leaderData.GetDataVersion(NetworkData::kFullSet), in HandleLinkAccept()
1214 …VerifyOrExit(SerialNumber::IsGreater(routeTlv.GetRouterIdSequence(), mPreviousPartitionRouterIdSeq… in HandleAdvertisement()
Dmle.cpp2892 return SerialNumber::IsGreater(aLeaderData.GetDataVersion(GetNetworkDataType()), in IsNetworkDataNewer()
3199 …SerialNumber::IsGreater(connectivityTlv.GetIdSequence(), Get<RouterTable>().GetRouterIdSequence()); in HandleParentResponse()