Searched refs:kMaxLength (Results 1 – 14 of 14) sorted by relevance
69 …static constexpr uint8_t kMaxLength = OT_JOINER_MAX_PSKD_LENGTH; ///< Max PSKd string length (excl… member in ot::MeshCoP::JoinerPskd112 uint8_t GetLength(void) const { return static_cast<uint8_t>(StringLength(m8, kMaxLength + 1)); } in GetLength()147 …static constexpr uint8_t kMaxLength = OT_JOINER_MAX_DISCERNER_LENGTH; ///< Max length of a Discern… member in ot::MeshCoP::JoinerDiscerner194 bool IsValid(void) const { return (0 < mLength) && (mLength <= kMaxLength); } in IsValid()245 …static constexpr uint8_t kMaxLength = OT_STEERING_DATA_MAX_LENGTH; ///< Maximum Steering Data leng… member in ot::MeshCoP::SteeringData266 void Init(uint8_t aLength = kMaxLength);
89 uint16_t pskdLength = StringLength(aPskdString, kMaxLength + 1); in IsPskdValid()91 VerifyOrExit(pskdLength >= kMinLength && pskdLength <= kMaxLength); in IsPskdValid()192 OT_ASSERT(aLength <= kMaxLength); in Init()221 OT_ASSERT((mLength > 0) && (mLength <= kMaxLength)); in UpdateBloomFilter()
633 …static constexpr uint16_t kMaxLength = (kEntrySize * Radio::kNumChannelPages); ///< Max value leng… member635 …uint8_t mData[kMaxLength]; ///< Array to store TLV value (encoded as one or more Channel Mask TLV …
61 static constexpr uint32_t kMaxLength = kMaxDatagramLength; in IsValid() local63 static constexpr uint32_t kMaxLength = kMaxAssembledDatagramLength; in IsValid()66 return IsVersion6() && ((sizeof(Header) + GetPayloadLength()) <= kMaxLength); in IsValid()
103 return (GetSize() >= sizeof(*this)) && (mPrefixLength <= Prefix::kMaxLength) && in IsValid()138 return (GetSize() >= kMinSize) && (mPrefixLength <= Prefix::kMaxLength) && in IsValid()
596 static constexpr uint8_t kMaxLength = 5; member in ot::Ip6::PadOption598 uint8_t mPads[kMaxLength];
98 …static constexpr uint8_t kMaxLength = kMaxSize * kBitsPerByte; ///< Max length of a prefix in bits. member in ot::Ip6::Prefix186 bool IsValid(void) const { return (mLength <= kMaxLength); } in IsValid()
191 SuccessOrExit(StringParseUint8(cur, mLength, kMaxLength)); in FromString()
169 static constexpr uint16_t kMaxLength = 100; in VerifyData() local170 uint8_t buffer[kMaxLength]; in VerifyData()
74 for (uint8_t len = 1; len <= MeshCoP::SteeringData::kMaxLength; len++) in TestSteeringData()
467 for (uint8_t prefixLength = 1; prefixLength <= Ip6::Prefix::kMaxLength; prefixLength++) in TestIp6Prefix()
101 static_assert(static_cast<uint16_t>(MeshCoP::JoinerPskd::kMaxLength) <= in SetPsk()
368 uint8_t dataLength = MeshCoP::SteeringData::kMaxLength; in HandleDiscoveryResponse()
146 static_assert(static_cast<uint16_t>(MeshCoP::JoinerPskd::kMaxLength) <= in SetPsk()