Searched refs:IsLess (Results 1 – 5 of 5) sorted by relevance
/openthread-3.7.0/tests/unit/ |
D | test_serial_number.cpp | 52 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/ |
D | dnssd.cpp | 54 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()
|
D | ip6_mpl.cpp | 220 else if (insert == nullptr && SerialNumber::IsLess(aSequence, mSeedSet[i].mSequence)) in UpdateSeedSet()
|
/openthread-3.7.0/src/core/common/ |
D | serial_number.hpp | 64 template <typename UintType> static bool IsLess(UintType aFirst, UintType aSecond) in IsLess() function in ot::SerialNumber 94 return IsLess(aSecond, aFirst); in IsGreater()
|
D | time.hpp | 183 bool operator<(const Time &aOther) const { return SerialNumber::IsLess(mValue, aOther.mValue); } in operator <()
|