Home
last modified time | relevance | path

Searched refs:IsLess (Results 1 – 5 of 5) sorted by relevance

/openthread-3.7.0/tests/unit/
Dtest_serial_number.cpp52 VerifyOrQuit(!SerialNumber::IsLess<UintType>(number, number)); in TestSerialNumber()
60 VerifyOrQuit(SerialNumber::IsLess<UintType>(number - 1, number)); in TestSerialNumber()
61 VerifyOrQuit(SerialNumber::IsLess<UintType>(number - kMid + 1, number)); in TestSerialNumber()
62 VerifyOrQuit(SerialNumber::IsLess<UintType>(number - kMid, number)); in TestSerialNumber()
63 VerifyOrQuit(!SerialNumber::IsLess<UintType>(number - kMid - 2, number)); in TestSerialNumber()
64 VerifyOrQuit(!SerialNumber::IsLess<UintType>(number - kMax + 1, number)); in TestSerialNumber()
/openthread-3.7.0/src/core/net/
Ddnssd.cpp54 else if (SerialNumber::IsLess(aId, mStart)) // Equivalent to (aId < mStart) in Add()
58 else if (!SerialNumber::IsLess(aId, mEnd)) // Equivalent to !(aId < mEd) -> (aId >= mEnd) in Add()
83 return (!SerialNumber::IsLess(aId, mStart) && SerialNumber::IsLess(aId, mEnd)); in Contains()
Dip6_mpl.cpp220 else if (insert == nullptr && SerialNumber::IsLess(aSequence, mSeedSet[i].mSequence)) in UpdateSeedSet()
/openthread-3.7.0/src/core/common/
Dserial_number.hpp64 template <typename UintType> static bool IsLess(UintType aFirst, UintType aSecond) in IsLess() function in ot::SerialNumber
94 return IsLess(aSecond, aFirst); in IsGreater()
Dtime.hpp183 bool operator<(const Time &aOther) const { return SerialNumber::IsLess(mValue, aOther.mValue); } in operator <()