Home
last modified time | relevance | path

Searched refs:aMask (Results 1 – 10 of 10) sorted by relevance

/openthread-latest/src/core/mac/
Dchannel_mask.hpp91 explicit ChannelMask(uint32_t aMask) in ChannelMask() argument
92 : mMask(aMask) in ChannelMask()
113 void SetMask(uint32_t aMask) { mMask = aMask; } in SetMask() argument
Dmac_types.hpp656 explicit RadioTypes(uint8_t aMask) in RadioTypes() argument
657 : mBitMask(aMask) in RadioTypes()
Dmac.hpp329 void SetSupportedChannelMask(const ChannelMask &aMask);
Dmac.cpp472 void Mac::SetSupportedChannelMask(const ChannelMask &aMask) in SetSupportedChannelMask() argument
474 ChannelMask newMask = aMask; in SetSupportedChannelMask()
/openthread-latest/src/core/common/
Dnum_utils.hpp231 template <typename UintType> uint8_t CountBitsInMask(UintType aMask) in CountBitsInMask() argument
239 while (aMask != 0) in CountBitsInMask()
241 aMask &= aMask - 1; in CountBitsInMask()
/openthread-latest/src/core/utils/
Dchannel_monitor.cpp199 Mac::ChannelMask ChannelMonitor::FindBestChannels(const Mac::ChannelMask &aMask, uint16_t &aOccupan… in FindBestChannels() argument
209 while (aMask.GetNextChannel(channel) == kErrorNone) in FindBestChannels()
Dchannel_monitor.hpp171 Mac::ChannelMask FindBestChannels(const Mac::ChannelMask &aMask, uint16_t &aOccupancy) const;
/openthread-latest/src/core/thread/
Dmle_tlvs.hpp658 static bool IsRouterFlagSet(uint8_t aMask) { return (aMask & kRouterFlag) != 0; } in IsRouterFlagSet() argument
668 static bool IsEndDeviceFlagSet(uint8_t aMask) { return (aMask & kEndDeviceFlag) != 0; } in IsEndDeviceFlagSet() argument
/openthread-latest/tests/unit/
Dtest_mac_frame.cpp430 void VerifyChannelMaskContent(const Mac::ChannelMask &aMask, uint8_t *aChannels, uint8_t aLength) in VerifyChannelMaskContent() argument
442 VerifyOrQuit(aMask.ContainsChannel(channel)); in VerifyChannelMaskContent()
446 VerifyOrQuit(!aMask.ContainsChannel(channel)); in VerifyChannelMaskContent()
454 while (aMask.GetNextChannel(channel) == kErrorNone) in VerifyChannelMaskContent()
463 VerifyOrQuit(aMask.IsSingleChannel()); in VerifyChannelMaskContent()
467 VerifyOrQuit(!aMask.IsSingleChannel()); in VerifyChannelMaskContent()
470 VerifyOrQuit(aLength == aMask.GetNumberOfChannels()); in VerifyChannelMaskContent()
/openthread-latest/src/core/meshcop/
Dmeshcop_tlvs.hpp674 void SetMask(uint32_t aMask) { mMask = BigEndian::HostSwap32(Reverse32(aMask)); } in SetMask() argument