Home
last modified time | relevance | path

Searched refs:OT_ARRAY_END (Results 1 – 12 of 12) sorted by relevance

/openthread-2.7.6/src/lib/hdlc/
Dhdlc.hpp245 if (GetFrame() + aLength <= OT_ARRAY_END(mBuffer)) in SetLength()
276 if (mWriteFrameStart + kHeaderSize + aSkipLength <= OT_ARRAY_END(mBuffer)) in SetSkipLength()
369 OT_ASSERT(aFrame == nullptr || (mBuffer <= aFrame && aFrame < OT_ARRAY_END(mBuffer))); in GetNextSavedFrame()
/openthread-2.7.6/src/core/common/
Dcode_utils.hpp64 #define OT_ARRAY_END(aArray) (&aArray[OT_ARRAY_LENGTH(aArray)]) macro
Dpool.hpp149 …(const Type &aObject) const { return (&mPool[0] <= &aObject) && (&aObject < OT_ARRAY_END(mPool)); } in IsPoolEntry()
/openthread-2.7.6/tests/unit/
Dtest_hkdf_sha256.cpp128 for (const TestVector *test = &kTestVectors[0]; test < OT_ARRAY_END(kTestVectors); test++) in TestHkdfSha256()
/openthread-2.7.6/src/core/backbone_router/
Dndproxy_table.cpp110 mItem = OT_ARRAY_END(table.mProxies); in Iterator()
120 } while (mItem < OT_ARRAY_END(table.mProxies) && !MatchesFilter(*mItem, mFilter)); in Advance()
/openthread-2.7.6/src/core/thread/
Dtopology.cpp468 OT_ASSERT(&mIp6Address[0] <= &aAddress && &aAddress < OT_ARRAY_END(mIp6Address)); in GetAddressMlrState()
481 OT_ASSERT(&mIp6Address[0] <= &aAddress && &aAddress < OT_ARRAY_END(mIp6Address)); in SetAddressMlrState()
Dnetwork_data_publisher.cpp185 return (&mPrefixEntries[0] <= &aEntry) && (&aEntry < OT_ARRAY_END(mPrefixEntries)); in IsAPrefixEntry()
/openthread-2.7.6/src/core/net/
Dip6_address.cpp621 … memcpy(OT_ARRAY_END(mFields.m8) - Ip4::Address::kSize, ip4Addr.GetBytes(), Ip4::Address::kSize); in FromString()
Ddnssd_server.cpp1000 for (; cur < OT_ARRAY_END(mQueryTransactions); cur++) in GetNextQuery()
/openthread-2.7.6/src/core/coap/
Dcoap_message.cpp262 VerifyOrExit(curUriPath + optionLength < OT_ARRAY_END(aUriPath), error = kErrorParse); in ReadUriPathOptions()
Dcoap.cpp1294 …VerifyOrExit(curUriPath + iterator.GetOption()->GetLength() < OT_ARRAY_END(uriPath), error = kErro… in ProcessReceivedRequest()
/openthread-2.7.6/src/core/meshcop/
Djoiner.cpp304 JoinerRouter *end = OT_ARRAY_END(mJoinerRouters); in SaveDiscoveredJoinerRouter()