/openthread-latest/src/core/mac/ |
D | mac_filter.cpp | 125 for (; aIterator < GetArrayLength(mFilterEntries); aIterator++) in GetNextAddress() 187 for (; aIterator < GetArrayLength(mFilterEntries); aIterator++) in GetNextRssIn() 202 if ((aIterator == GetArrayLength(mFilterEntries)) && (mDefaultRssIn != kFixedRssDisabled)) in GetNextRssIn()
|
/openthread-latest/src/core/utils/ |
D | srp_client_buffers.hpp | 156 aArrayLength = GetArrayLength(mSubTypeLabels); in GetSubTypeLabelsArray() 201 aArrayLength = static_cast<uint8_t>(GetArrayLength(mHostAddresses)); in GetHostAddressesArray()
|
/openthread-latest/tests/unit/ |
D | test_network_data.cpp | 182 VerifyOrQuit(netData.CountBorderRouters(kAnyRole) == GetArrayLength(kRlocs)); in TestNetworkDataIterator() 186 VerifyOrQuit(netData.CountBorderRouters(kRouterRoleOnly) == GetArrayLength(kRlocs)); in TestNetworkDataIterator() 304 VerifyOrQuit(netData.CountBorderRouters(kAnyRole) == GetArrayLength(kRlocsAnyRole)); in TestNetworkDataIterator() 308 … VerifyOrQuit(netData.CountBorderRouters(kRouterRoleOnly) == GetArrayLength(kRlocsRouterRole)); in TestNetworkDataIterator() 312 VerifyOrQuit(netData.CountBorderRouters(kChildRoleOnly) == GetArrayLength(kRlocsChildRole)); in TestNetworkDataIterator() 481 VerifyOrQuit(netData.CountBorderRouters(kAnyRole) == GetArrayLength(kBrRlocsAnyRole)); in TestNetworkDataIterator() 485 … VerifyOrQuit(netData.CountBorderRouters(kRouterRoleOnly) == GetArrayLength(kBrRlocsRouterRole)); in TestNetworkDataIterator() 489 … VerifyOrQuit(netData.CountBorderRouters(kChildRoleOnly) == GetArrayLength(kBrRlocsChildRole)); in TestNetworkDataIterator()
|
D | test_hmac_sha256.cpp | 91 uint16_t offsets[GetArrayLength(kTestCases)]; in TestSha256() 232 uint16_t offsets[GetArrayLength(kTestCases)]; in TestHmacSha256()
|
D | test_link_metrics_manager.cpp | 108 const uint16_t testListLength = GetArrayLength(mTestChildList); in TestLinkMetricsManager()
|
D | test_child_table.cpp | 294 const uint16_t testListLength = GetArrayLength(testChildList); in TestChildTable()
|
D | test_link_quality.cpp | 411 for (uint16_t testRound = 0; testRound < GetArrayLength(kWeightLimit) * 2; testRound++) in TestSuccessRateTracker()
|
D | test_ip_address.cpp | 738 for (uint16_t i = 0; i < GetArrayLength(test.prefixStringAfterTidy); i++) in TestIp6PrefixTidy()
|
D | test_timer.cpp | 577 for (i = 0; i < GetArrayLength(kTimeShift); i++) in TestTenTimers()
|
D | test_dns.cpp | 1459 for (index = 0; index < GetArrayLength(kInstanceNames); index++) in TestHeaderAndResourceRecords() 1627 SuccessOrQuit(Dns::TxtEntry::AppendEntries(kTxtEntries, GetArrayLength(kTxtEntries), data)); in TestDnsTxtEntry() 1633 SuccessOrQuit(Dns::TxtEntry::AppendEntries(kTxtEntries, GetArrayLength(kTxtEntries), *message)); in TestDnsTxtEntry()
|
D | test_dns_client.cpp | 673 VerifyOrQuit(sAddressInfo.mNumHostAddresses == GetArrayLength(kAddresses)); in TestDnsClient()
|
/openthread-latest/src/core/thread/ |
D | mle_types.cpp | 120 if (powerSupply < GetArrayLength(kPowerSupplyIncs)) in CalculateLeaderWeight() 213 return (aRole < GetArrayLength(kRoleStrings)) ? kRoleStrings[aRole] : "invalid"; in RoleToString()
|
D | network_diagnostic.cpp | 1117 uint16_t addrListLength = GetArrayLength(aTlvInfo.mData.mIp6AddrList.mList); in GetNextDiagTlv() 1171 uint16_t childInfoLength = GetArrayLength(aTlvInfo.mData.mChildTable.mTable); in GetNextDiagTlv() 1205 … static_cast<uint8_t>(Min(tlvLength, GetArrayLength(aTlvInfo.mData.mChannelPages.m8))); in GetNextDiagTlv()
|
/openthread-latest/src/core/common/ |
D | error.cpp | 84 return aError < GetArrayLength(kErrorStrings) ? kErrorStrings[aError] : "UnknownErrorType"; in ErrorToString()
|
D | array.hpp | 59 template <typename Type, uint16_t kArrayLength> constexpr inline uint16_t GetArrayLength(const Type… in GetArrayLength() function
|
D | notifier.cpp | 252 for (uint8_t index = 0; index < GetArrayLength(kEventStrings); index++) in EventToString()
|
D | settings.cpp | 217 void Settings::Init(void) { Get<SettingsDriver>().Init(kSensitiveKeys, GetArrayLength(kSensitiveKey… in Init()
|
/openthread-latest/src/core/net/ |
D | dhcp6_server.cpp | 304 for (uint16_t i = 0; i < GetArrayLength(mPrefixAgents); i++) in ProcessIaAddress() 384 for (uint16_t i = 0; i < GetArrayLength(mPrefixAgents); i++) in AppendIaNa() 424 for (uint16_t i = 0; i < GetArrayLength(mPrefixAgents); i++) in AppendIaAddress()
|
D | ip6_address.cpp | 97 for (uint16_t i = byteLength; i < GetArrayLength(mPrefix.mFields.m8); i++) in Tidy() 666 AppendHexWords(aWriter, static_cast<uint8_t>(GetArrayLength(mFields.m16))); in ToString()
|
D | dns_client.cpp | 704 /* kIp6AddressQuery -> */ GetArrayLength(kIp6AddressQueryRecordTypes), // AAAA record 706 /* kIp4AddressQuery -> */ GetArrayLength(kIp4AddressQueryRecordTypes), // A record 709 /* kBrowseQuery -> */ GetArrayLength(kBrowseQueryRecordTypes), // PTR record 710 /* kServiceQuerySrvTxt -> */ GetArrayLength(kServiceQueryRecordTypes), // SRV and TXT records
|
D | dns_dso.cpp | 634 … blockLength = kBlockLengths[Random::NonCrypto::GetUint8InRange(0, GetArrayLength(kBlockLengths))]; in AppendPadding()
|
/openthread-latest/src/core/backbone_router/ |
D | multicast_listeners_table.cpp | 64 VerifyOrExit(mNumValidListeners < GetArrayLength(mListeners), error = kErrorNoBufs); in Add()
|
/openthread-latest/src/core/radio/ |
D | trel_interface.cpp | 163 SuccessOrAssert(Dns::TxtEntry::AppendEntries(txtEntries, GetArrayLength(txtEntries), txtData)); in RegisterService()
|
/openthread-latest/src/core/meshcop/ |
D | joiner.cpp | 312 for (; mJoinerRouterIndex < GetArrayLength(mJoinerRouters); mJoinerRouterIndex++) in TryNextJoinerRouter()
|
D | commissioner.cpp | 497 while (aIterator < GetArrayLength(mJoiners)) in GetNextJoinerInfo()
|