Lines Matching defs:const
78 bool IsValid(void) const { return IsPskdValid(m8); } in IsValid()
97 const char *GetAsCString(void) const { return m8; } in GetAsCString()
106 uint8_t GetLength(void) const { return static_cast<uint8_t>(StringLength(m8, kMaxLength + 1)); } in GetLength()
113 const uint8_t *GetBytes(void) const { return reinterpret_cast<const uint8_t *>(m8); } in GetBytes()
164 bool IsEmpty(void) const { return mLength == 0; } in IsEmpty()
171 uint64_t GetValue(void) const { return mValue; } in GetValue()
178 uint8_t GetLength(void) const { return mLength; } in GetLength()
186 bool IsValid(void) const { return (0 < mLength) && (mLength <= kMaxLength); } in IsValid()
222 uint64_t GetMask(void) const { return (static_cast<uint64_t>(1ULL) << mLength) - 1; } in GetMask()
272 uint8_t GetLength(void) const { return mLength; } in GetLength()
279 const uint8_t *GetData(void) const { return m8; } in GetData()
307 bool IsEmpty(void) const { return DoesAllMatch(0); } in IsEmpty()
314 bool PermitsAllJoiners(void) const { return (mLength > 0) && DoesAllMatch(kPermitAll); } in PermitsAllJoiners()
366 uint8_t GetNumBits(void) const { return (mLength * kBitsPerByte); } in GetNumBits()
368 uint8_t BitIndex(uint8_t aBit) const { return (mLength - 1 - (aBit / kBitsPerByte)); } in BitIndex()
369 … uint8_t BitFlag(uint8_t aBit) const { return static_cast<uint8_t>(1U << (aBit % kBitsPerByte)); } in BitFlag()
371 bool GetBit(uint8_t aBit) const { return (m8[BitIndex(aBit)] & BitFlag(aBit)) != 0; } in GetBit()
390 bool IsLocatorSet(void) const { return mIsLocatorSet; } in IsLocatorSet()
399 uint16_t GetLocator(void) const { return mLocator; } in GetLocator()
417 bool IsSessionIdSet(void) const { return mIsSessionIdSet; } in IsSessionIdSet()
426 uint16_t GetSessionId(void) const { return mSessionId; } in GetSessionId()
444 bool IsSteeringDataSet(void) const { return mIsSteeringDataSet; } in IsSteeringDataSet()
453 …const SteeringData &GetSteeringData(void) const { return static_cast<const SteeringData &>(mSteeri… in GetSteeringData()
471 bool IsJoinerUdpPortSet(void) const { return mIsJoinerUdpPortSet; } in IsJoinerUdpPortSet()
480 uint16_t GetJoinerUdpPort(void) const { return mJoinerUdpPort; } in GetJoinerUdpPort()