Lines Matching refs:mMask
82 : mMask(0) in ChannelMask()
92 : mMask(aMask) in ChannelMask()
99 void Clear(void) { mMask = 0; } in Clear()
106 uint32_t GetMask(void) const { return mMask; } in GetMask()
113 void SetMask(uint32_t aMask) { mMask = aMask; } in SetMask()
120 bool IsEmpty(void) const { return (mMask == 0); } in IsEmpty()
127 bool IsSingleChannel(void) const { return ((mMask != 0) && ((mMask & (mMask - 1)) == 0)); } in IsSingleChannel()
138 return (aChannel < BitSizeOf(mMask)) ? ((1UL << aChannel) & mMask) != 0 : false; in ContainsChannel()
148 if (aChannel < BitSizeOf(mMask)) in AddChannel()
150 mMask |= (1UL << aChannel); in AddChannel()
161 if (aChannel < BitSizeOf(mMask)) in RemoveChannel()
163 mMask &= ~(1UL << aChannel); in RemoveChannel()
172 void Intersect(const ChannelMask &aOtherMask) { mMask &= aOtherMask.mMask; } in Intersect()
210 bool operator==(const ChannelMask &aAnother) const { return (mMask == aAnother.mMask); } in operator ==()
229 uint32_t mMask; member in ot::Mac::ChannelMask