Home
last modified time | relevance | path

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

/openthread-latest/tests/unit/
Dtest_serial_number.cpp94 VerifyOrQuit(ClampToUint8(u16) == 100); in TestNumUtils()
96 VerifyOrQuit(ClampToUint8(u16) == 255); in TestNumUtils()
98 VerifyOrQuit(ClampToUint8(u16) == 255); in TestNumUtils()
100 VerifyOrQuit(ClampToUint8(u16) == 255); in TestNumUtils()
/openthread-latest/src/core/thread/
Drouter.cpp53 mVersion = ClampToUint8(aRouter.GetVersion()); in SetFrom()
Dchild.cpp60 mVersion = ClampToUint8(aChild.GetVersion()); in SetFrom()
/openthread-latest/src/core/common/
Dnum_utils.hpp101 template <typename UintType> uint8_t ClampToUint8(UintType aValue) in ClampToUint8() function
/openthread-latest/src/core/net/
Dsrp_server.hpp470 aAddressesNum = ClampToUint8(mAddresses.GetLength()); in GetAddresses()