Home
last modified time | relevance | path

Searched refs:GetArrayLength (Results 1 – 25 of 26) sorted by relevance

12

/openthread-latest/src/core/mac/
Dmac_filter.cpp125 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/
Dsrp_client_buffers.hpp156 aArrayLength = GetArrayLength(mSubTypeLabels); in GetSubTypeLabelsArray()
201 aArrayLength = static_cast<uint8_t>(GetArrayLength(mHostAddresses)); in GetHostAddressesArray()
/openthread-latest/tests/unit/
Dtest_network_data.cpp182 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()
Dtest_hmac_sha256.cpp91 uint16_t offsets[GetArrayLength(kTestCases)]; in TestSha256()
232 uint16_t offsets[GetArrayLength(kTestCases)]; in TestHmacSha256()
Dtest_link_metrics_manager.cpp108 const uint16_t testListLength = GetArrayLength(mTestChildList); in TestLinkMetricsManager()
Dtest_child_table.cpp294 const uint16_t testListLength = GetArrayLength(testChildList); in TestChildTable()
Dtest_link_quality.cpp411 for (uint16_t testRound = 0; testRound < GetArrayLength(kWeightLimit) * 2; testRound++) in TestSuccessRateTracker()
Dtest_ip_address.cpp738 for (uint16_t i = 0; i < GetArrayLength(test.prefixStringAfterTidy); i++) in TestIp6PrefixTidy()
Dtest_timer.cpp577 for (i = 0; i < GetArrayLength(kTimeShift); i++) in TestTenTimers()
Dtest_dns.cpp1459 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()
Dtest_dns_client.cpp673 VerifyOrQuit(sAddressInfo.mNumHostAddresses == GetArrayLength(kAddresses)); in TestDnsClient()
/openthread-latest/src/core/thread/
Dmle_types.cpp120 if (powerSupply < GetArrayLength(kPowerSupplyIncs)) in CalculateLeaderWeight()
213 return (aRole < GetArrayLength(kRoleStrings)) ? kRoleStrings[aRole] : "invalid"; in RoleToString()
Dnetwork_diagnostic.cpp1117 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/
Derror.cpp84 return aError < GetArrayLength(kErrorStrings) ? kErrorStrings[aError] : "UnknownErrorType"; in ErrorToString()
Darray.hpp59 template <typename Type, uint16_t kArrayLength> constexpr inline uint16_t GetArrayLength(const Type… in GetArrayLength() function
Dnotifier.cpp252 for (uint8_t index = 0; index < GetArrayLength(kEventStrings); index++) in EventToString()
Dsettings.cpp217 void Settings::Init(void) { Get<SettingsDriver>().Init(kSensitiveKeys, GetArrayLength(kSensitiveKey… in Init()
/openthread-latest/src/core/net/
Ddhcp6_server.cpp304 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()
Dip6_address.cpp97 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()
Ddns_client.cpp704 /* 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
Ddns_dso.cpp634 … blockLength = kBlockLengths[Random::NonCrypto::GetUint8InRange(0, GetArrayLength(kBlockLengths))]; in AppendPadding()
/openthread-latest/src/core/backbone_router/
Dmulticast_listeners_table.cpp64 VerifyOrExit(mNumValidListeners < GetArrayLength(mListeners), error = kErrorNoBufs); in Add()
/openthread-latest/src/core/radio/
Dtrel_interface.cpp163 SuccessOrAssert(Dns::TxtEntry::AppendEntries(txtEntries, GetArrayLength(txtEntries), txtData)); in RegisterService()
/openthread-latest/src/core/meshcop/
Djoiner.cpp312 for (; mJoinerRouterIndex < GetArrayLength(mJoinerRouters); mJoinerRouterIndex++) in TryNextJoinerRouter()
Dcommissioner.cpp497 while (aIterator < GetArrayLength(mJoiners)) in GetNextJoinerInfo()

12