/openthread-2.7.6/src/core/common/ |
D | code_utils.hpp | 51 #define OT_ARRAY_LENGTH(aArray) (sizeof(aArray) / sizeof(aArray[0])) macro 64 #define OT_ARRAY_END(aArray) (&aArray[OT_ARRAY_LENGTH(aArray)])
|
D | error.cpp | 83 return aError < OT_ARRAY_LENGTH(kErrorStrings) ? kErrorStrings[aError] : "UnknownErrorType"; in ErrorToString()
|
D | logging.cpp | 78 if (aLogRegion < OT_ARRAY_LENGTH(kRegionPrefixStrings)) in Log() 315 return ((aLogLevel >= 0) && (aLogLevel < static_cast<int>(OT_ARRAY_LENGTH(kLevelStrings)))) in otLogLevelToPrefixString()
|
D | notifier.cpp | 289 for (uint8_t index = 0; index < OT_ARRAY_LENGTH(kEventStrings); index++) in EventToString()
|
D | settings.cpp | 196 Get<SettingsDriver>().SetCriticalKeys(kCriticalKeys, OT_ARRAY_LENGTH(kCriticalKeys)); in Init()
|
/openthread-2.7.6/src/core/utils/ |
D | srp_client_buffers.hpp | 167 aArrayLength = OT_ARRAY_LENGTH(mSubTypeLabels); in GetSubTypeLabelsArray() 215 aArrayLength = OT_ARRAY_LENGTH(mHostAddresses); in GetHostAddressesArray()
|
D | slaac_address.cpp | 247 OT_ARRAY_LENGTH(mAddresses)); in Update()
|
/openthread-2.7.6/src/core/mac/ |
D | mac_filter.cpp | 125 for (; aIterator < OT_ARRAY_LENGTH(mFilterEntries); aIterator++) in GetNextAddress() 187 for (; aIterator < OT_ARRAY_LENGTH(mFilterEntries); aIterator++) in GetNextRssIn() 202 if ((aIterator == OT_ARRAY_LENGTH(mFilterEntries)) && (mDefaultRssIn != kFixedRssDisabled)) in GetNextRssIn()
|
/openthread-2.7.6/src/ncp/ |
D | ncp_base_dispatcher.cpp | 383 static_assert(AreHandlerEntriesSorted(sHandlerEntries, OT_ARRAY_LENGTH(sHandlerEntries)), in FindGetPropertyHandler() 386 return FindPropertyHandler(sHandlerEntries, OT_ARRAY_LENGTH(sHandlerEntries), aKey); in FindGetPropertyHandler() 635 static_assert(AreHandlerEntriesSorted(sHandlerEntries, OT_ARRAY_LENGTH(sHandlerEntries)), in FindSetPropertyHandler() 638 return FindPropertyHandler(sHandlerEntries, OT_ARRAY_LENGTH(sHandlerEntries), aKey); in FindSetPropertyHandler() 688 static_assert(AreHandlerEntriesSorted(sHandlerEntries, OT_ARRAY_LENGTH(sHandlerEntries)), in FindInsertPropertyHandler() 691 return FindPropertyHandler(sHandlerEntries, OT_ARRAY_LENGTH(sHandlerEntries), aKey); in FindInsertPropertyHandler() 741 static_assert(AreHandlerEntriesSorted(sHandlerEntries, OT_ARRAY_LENGTH(sHandlerEntries)), in FindRemovePropertyHandler() 744 return FindPropertyHandler(sHandlerEntries, OT_ARRAY_LENGTH(sHandlerEntries), aKey); in FindRemovePropertyHandler()
|
D | changed_props_set.cpp | 102 static_assert(OT_ARRAY_LENGTH(mSupportedProps) <= sizeof(mChangedSet) * CHAR_BIT, in GetNumEntries() 105 return OT_ARRAY_LENGTH(mSupportedProps); in GetNumEntries()
|
/openthread-2.7.6/tests/unit/ |
D | test_hmac_sha256.cpp | 90 uint16_t offsets[OT_ARRAY_LENGTH(kTestCases)]; in TestSha256() 232 uint16_t offsets[OT_ARRAY_LENGTH(kTestCases)]; in TestHmacSha256()
|
D | test_child_table.cpp | 293 const uint16_t testListLength = OT_ARRAY_LENGTH(testChildList); in TestChildTable()
|
D | test_link_quality.cpp | 415 for (uint16_t testRound = 0; testRound < OT_ARRAY_LENGTH(kWeightLimit) * 2; testRound++) in TestSuccessRateTracker()
|
/openthread-2.7.6/src/posix/ |
D | main.c | 279 …VerifyOrDie(aConfig->mPlatformConfig.mRadioUrlNum < OT_ARRAY_LENGTH(aConfig->mPlatformConfig.mRadi… in ParseArg() 392 otCliSetUserCommands(kCommands, OT_ARRAY_LENGTH(kCommands), instance); in main()
|
/openthread-2.7.6/examples/apps/cli/ |
D | main.c | 134 otCliSetUserCommands(kCommands, OT_ARRAY_LENGTH(kCommands), instance); in main()
|
/openthread-2.7.6/src/core/net/ |
D | dhcp6_server.cpp | 321 for (uint16_t i = 0; i < OT_ARRAY_LENGTH(mPrefixAgents); i++) in ProcessIaAddress() 401 for (uint16_t i = 0; i < OT_ARRAY_LENGTH(mPrefixAgents); i++) in AppendIaNa() 441 for (uint16_t i = 0; i < OT_ARRAY_LENGTH(mPrefixAgents); i++) in AppendIaAddress()
|
D | dns_client.cpp | 535 /* kIp6AddressQuery -> */ OT_ARRAY_LENGTH(kIp6AddressQueryRecordTypes), // AAAA records 537 /* kIp4AddressQuery -> */ OT_ARRAY_LENGTH(kIp4AddressQueryRecordTypes), // A records 540 /* kBrowseQuery -> */ OT_ARRAY_LENGTH(kBrowseQueryRecordTypes), // PTR records 541 /* kServiceQuery -> */ OT_ARRAY_LENGTH(kServiceQueryRecordTypes), // SRV and TXT records
|
D | ip6_address.cpp | 647 AppendHexWords(aWriter, OT_ARRAY_LENGTH(mFields.m16)); in ToString()
|
/openthread-2.7.6/src/cli/ |
D | cli_tcp.cpp | 236 toSendOut = OT_MIN(OT_ARRAY_LENGTH(mBenchmarkLinks), mBenchmarkLinksLeft); in ProcessBenchmark() 397 if (mBenchmarkLinksLeft >= OT_ARRAY_LENGTH(mBenchmarkLinks)) in HandleTcpSendDone()
|
/openthread-2.7.6/src/core/backbone_router/ |
D | multicast_listeners_table.cpp | 69 VerifyOrExit(mNumValidListeners < OT_ARRAY_LENGTH(mListeners), error = kErrorNoBufs); in Add()
|
/openthread-2.7.6/src/posix/platform/ |
D | hdlc_interface.cpp | 626 … index < OT_ARRAY_LENGTH(argv) && (arg = aRadioUrl.GetValue("forkpty-arg", arg)) != nullptr; in ForkPty() 631 if (index < OT_ARRAY_LENGTH(argv)) in ForkPty()
|
D | trel_udp6.cpp | 415 for (uint16_t index = 0; index < OT_ARRAY_LENGTH(sTxPacketPool); index++) in InitPacketQueue()
|
/openthread-2.7.6/src/core/thread/ |
D | topology.cpp | 213 …return static_cast<uint8_t>(aState) < OT_ARRAY_LENGTH(kStateStrings) ? kStateStrings[aState] : "Un… in StateToString()
|
/openthread-2.7.6/src/core/radio/ |
D | trel_link.cpp | 459 …return (static_cast<uint8_t>(aState) < OT_ARRAY_LENGTH(kStateStrings)) ? kStateStrings[aState] : "… in StateToString()
|
/openthread-2.7.6/src/core/meshcop/ |
D | joiner.cpp | 344 for (; mJoinerRouterIndex < OT_ARRAY_LENGTH(mJoinerRouters); mJoinerRouterIndex++) in TryNextJoinerRouter()
|