/openthread-latest/tests/unit/ |
D | test_meshcop.cpp | 126 VerifyOrQuit(t1.IsValid()); in TestTimestamp() 135 VerifyOrQuit(!t2.IsValid()); in TestTimestamp() 148 VerifyOrQuit(t2.IsValid()); in TestTimestamp() 149 VerifyOrQuit(t1.IsValid()); in TestTimestamp() 153 VerifyOrQuit(t1.IsValid()); in TestTimestamp() 159 VerifyOrQuit(t2.IsValid()); in TestTimestamp() 164 VerifyOrQuit(t1.IsValid()); in TestTimestamp() 169 VerifyOrQuit(t1.IsValid()); in TestTimestamp() 175 VerifyOrQuit(t1.IsValid()); in TestTimestamp() 182 VerifyOrQuit(t2.IsValid()); in TestTimestamp() [all …]
|
D | test_serial_number.cpp | 202 VerifyOrQuit(Preference::IsValid(Preference::kHigh)); in TestPreference() 203 VerifyOrQuit(Preference::IsValid(Preference::kMedium)); in TestPreference() 204 VerifyOrQuit(Preference::IsValid(Preference::kLow)); in TestPreference() 206 VerifyOrQuit(!Preference::IsValid(2)); in TestPreference() 207 VerifyOrQuit(!Preference::IsValid(-2)); in TestPreference() 208 VerifyOrQuit(!Preference::IsValid(127)); in TestPreference() 209 VerifyOrQuit(!Preference::IsValid(-128)); in TestPreference()
|
D | test_ip4_header.cpp | 70 VerifyOrQuit(header.IsValid()); in TestIp4Header() 84 VerifyOrQuit(header.IsValid()); in TestIp4Header() 113 VerifyOrQuit(header.IsValid()); in TestIp4Header()
|
D | test_ip6_header.cpp | 75 VerifyOrQuit(header.IsValid()); in TestIp6Header() 88 VerifyOrQuit(header.IsValid()); in TestIp6Header()
|
/openthread-latest/src/core/thread/ |
D | link_metrics_tlvs.hpp | 102 bool IsValid(void) const { return GetLength() >= kMinLength; } in IsValid() function in ot::LinkMetrics::ReportSubTlv 185 bool IsValid(void) const { return GetLength() >= sizeof(uint8_t); } in IsValid() function in ot::LinkMetrics::QueryOptionsSubTlv 213 bool IsValid(void) const { return GetLength() >= kMinLength; } in IsValid() function in ot::LinkMetrics::FwdProbingRegSubTlv 277 bool IsValid(void) const { return GetLength() >= kMinLength; } in IsValid() function in ot::LinkMetrics::EnhAckConfigSubTlv
|
D | mle_tlvs.hpp | 247 bool IsValid(void) const; 291 …bool IsSingleton(void) const { return IsValid() && (mRouterIdMask.GetNumberOfAllocatedIds() <= 1);… in IsSingleton() 392 …bool IsValid(void) const { return GetLength() >= sizeof(mRouterIdSequence) + sizeof(mRouterIdMask)… in IsValid() function in ot::Mle::RouteTlv 436 …bool IsSingleton(void) const { return IsValid() && (mRouterIdMask.GetNumberOfAllocatedIds() <= 1);… in IsSingleton() 603 bool IsValid(void) const { return GetLength() >= sizeof(*this) - sizeof(Tlv); } in IsValid() function in ot::Mle::LeaderDataTlv 693 bool IsValid(void) const in IsValid() function in ot::Mle::ConnectivityTlv 1023 bool IsValid(void) const; 1068 bool IsValid(void) const { return GetLength() >= sizeof(*this) - sizeof(Tlv); } in IsValid() function in ot::Mle::TimeParameterTlv 1128 bool IsValid(void) const { return GetLength() >= sizeof(*this) - sizeof(Tlv); } in IsValid() function in ot::Mle::CslClockAccuracyTlv
|
D | thread_tlvs.hpp | 204 bool IsValid(void) const { return GetLength() >= sizeof(*this) - sizeof(ThreadTlv); } in IsValid() function in ot::ThreadRouterMaskTlv 267 bool IsValid(void) const { return true; } in IsValid() function in ot::ThreadNetworkDataTlv 306 bool IsValid(void) const in IsValid() function in ot::Ip6AddressesTlv
|
D | network_data_types.hpp | 145 inline bool IsRoutePreferenceValid(int8_t aPref) { return Preference::IsValid(aPref); } in IsRoutePreferenceValid() 223 bool IsValid(Instance &aInstance) const; 278 bool IsValid(Instance &aInstance) const;
|
D | mle_tlvs.cpp | 54 bool RouteTlv::IsValid(void) const in IsValid() function in ot::Mle::RouteTlv 124 bool ChannelTlvValue::IsValid(void) const in IsValid() function in ot::Mle::ChannelTlvValue
|
D | network_data_types.cpp | 48 …return aPrefix.IsValid() && !aPrefix.ContainsPrefix(aInstance.Get<Mle::Mle>().GetMeshLocalPrefix()… in IsPrefixValid() 51 bool OnMeshPrefixConfig::IsValid(Instance &aInstance) const in IsValid() function in ot::NetworkData::OnMeshPrefixConfig 159 bool ExternalRouteConfig::IsValid(Instance &aInstance) const in IsValid() function in ot::NetworkData::ExternalRouteConfig
|
/openthread-latest/src/core/net/ |
D | nd6.hpp | 140 bool IsValid(void) const { return mLength > 0; } in IsValid() function in ot::Ip6::Nd::Option 280 bool IsValid(void) const; 390 bool IsValid(void) const; 471 bool IsValid(void) const { return GetSize() >= sizeof(*this); } in IsValid() function in ot::Ip6::Nd::RaFlagsExtOption 580 bool IsValid(void) const { return GetType() == Icmp::Header::kTypeRouterAdvert; } in IsValid() function in ot::Ip6::Nd::RouterAdvert::Header 734 bool IsValid(void) const in IsValid() function in ot::Ip6::Nd::RouterAdvert::RxMessage 864 … bool IsValid(void) const { return (mType == Icmp::Header::kTypeNeighborSolicit) && (mCode == 0); } in IsValid() function in ot::Ip6::Nd::NeighborSolicitHeader 925 … bool IsValid(void) const { return (mType == Icmp::Header::kTypeNeighborAdvert) && (mCode == 0); } in IsValid() function in ot::Ip6::Nd::NeighborAdvertMessage
|
D | ip6_headers.cpp | 49 VerifyOrExit(IsValid()); in ParseFrom() 58 bool Header::IsValid(void) const in IsValid() function in ot::Ip6::Header
|
D | nd6.cpp | 77 …return ((aOption != nullptr) && ((aOption + 1) <= mEnd) && aOption->IsValid() && (Next(aOption) <=… in Validate() 101 bool PrefixInfoOption::IsValid(void) const in IsValid() function in ot::Ip6::Nd::PrefixInfoOption 136 bool RouteInfoOption::IsValid(void) const in IsValid() function in ot::Ip6::Nd::RouteInfoOption
|
D | dhcp6_server.cpp | 67 if (!prefixAgent.IsValid()) in UpdateService() 149 if (!prefixAgent.IsValid()) in AddPrefixAgent() 306 if (mPrefixAgents[i].IsValid() && mPrefixAgents[i].IsPrefixMatch(option.GetAddress())) in ProcessIaAddress() 437 if (prefixAgent.IsValid()) in AppendIaAddress()
|
/openthread-latest/src/core/meshcop/ |
D | meshcop_tlvs.hpp | 274 bool IsValid(void) const; 339 bool IsValid(void) const { return GetLength() > 0; } in IsValid() function in ot::MeshCoP::SteeringDataTlv 389 bool IsValid(void) const { return GetLength() >= sizeof(*this) - sizeof(Tlv); } in IsValid() function in ot::MeshCoP::BorderAgentLocatorTlv 431 bool IsValid(void) const { return GetLength() >= sizeof(*this) - sizeof(Tlv); } in IsValid() function in ot::MeshCoP::CommissionerSessionIdTlv 473 bool IsValid(void) const; 618 bool IsValid(void) const; 720 bool IsValid(void) const { return true; } in IsValid() function in ot::MeshCoP::EnergyListTlv 798 bool IsValid(void) const { return GetLength() >= sizeof(*this) - sizeof(Tlv); } in IsValid() function in ot::MeshCoP::VendorStackVersionTlv 977 bool IsValid(void) const { return GetLength() >= sizeof(*this) - sizeof(Tlv); } in IsValid() function in ot::MeshCoP::DiscoveryRequestTlv 1055 bool IsValid(void) const { return GetLength() >= sizeof(*this) - sizeof(Tlv); } in IsValid() function in ot::MeshCoP::DiscoveryResponseTlv [all …]
|
D | timestamp.cpp | 64 bool Timestamp::IsValid(void) const in IsValid() function in ot::MeshCoP::Timestamp 107 rval = ThreeWayCompare(aFirst.IsValid(), aSecond.IsValid()); in Compare()
|
D | meshcop_tlvs.cpp | 61 bool NetworkNameTlv::IsValid(void) const { return IsValidUtf8String(mNetworkName, GetLength()); } in IsValid() function in ot::MeshCoP::NetworkNameTlv 69 bool SecurityPolicyTlv::IsValid(void) const in IsValid() function in ot::MeshCoP::SecurityPolicyTlv 122 bool ChannelMaskTlv::IsValid(void) const in IsValid() function in ot::MeshCoP::ChannelMaskTlv
|
D | meshcop.cpp | 113 OT_ASSERT(IsValid()); in Matches() 131 OT_ASSERT(IsValid()); in CopyTo() 159 return IsValid() && (mLength == aOther.mLength) && ((mValue & mask) == (aOther.mValue & mask)); in operator ==()
|
D | dataset.cpp | 159 isValid = aTlv.ReadValueAs<ChannelTlv>().IsValid(); in IsTlvValid() 163 isValid = aTlv.ReadValueAs<WakeupChannelTlv>().IsValid(); in IsTlvValid() 166 isValid = As<NetworkNameTlv>(aTlv).IsValid(); in IsTlvValid() 170 isValid = As<SecurityPolicyTlv>(aTlv).IsValid(); in IsTlvValid() 174 isValid = As<ChannelMaskTlv>(aTlv).IsValid(); in IsTlvValid()
|
D | meshcop.hpp | 78 bool IsValid(void) const { return IsPskdValid(m8); } in IsValid() function in ot::MeshCoP::JoinerPskd 186 bool IsValid(void) const { return (0 < mLength) && (mLength <= kMaxLength); } in IsValid() function in ot::MeshCoP::JoinerDiscerner
|
/openthread-latest/src/core/utils/ |
D | flash.cpp | 126 if ((record.GetKey() != aKey) || !record.IsValid()) in Get() 213 if (record.IsValid() && record.IsFirst() && (record.GetKey() == aKey)) in DoesValidRecordExist() 237 … if (!record.IsValid() || DoesValidRecordExist(srcOffset + record.GetSize(), record.GetKey())) in Swap() 265 if ((record.GetKey() != aKey) || !record.IsValid()) in Delete()
|
/openthread-latest/src/posix/platform/ |
D | multicast_routing.cpp | 364 if (!mfc.IsValid() || mfc.mIif != kMifIndexBackbone || mfc.mOif == kMifIndexThread || in UnblockInboundMulticastForwardingCache() 390 if (mfc.IsValid() && mfc.mIif == kMifIndexBackbone && mfc.mGroupAddr == aGroupAddr) in RemoveInboundMulticastForwardingCache() 412 …if (mfc.IsValid() && mfc.mLastUseTime + kMulticastForwardingCacheExpireTimeout * OT_US_PER_S < now) in ExpireMulticastForwardingCache() 490 if (mfc.IsValid()) in DumpMulticastForwardingCache() 555 if (mfc.IsValid()) in SaveMulticastForwardingCache()
|
/openthread-latest/src/core/common/ |
D | preference.cpp | 52 bool Preference::IsValid(int8_t aPrf) { return (aPrf == kHigh) || (aPrf == kMedium) || (aPrf == kLo… in IsValid() function in ot::Preference
|
D | preference.hpp | 94 static bool IsValid(int8_t aPrf);
|
/openthread-latest/src/lib/spinel/ |
D | spi_frame.hpp | 160 …bool IsValid(void) const { return ((mBuffer[kIndexFlagByte] & kFlagPatternMask) == kFlagPattern); } in IsValid() function in ot::Spinel::SpiFrame
|