Home
last modified time | relevance | path

Searched refs:mNext (Results 1 – 25 of 52) sorted by relevance

123

/openthread-3.5.0/src/core/common/
Dtasklet.cpp56 mTail->mNext = mTail; in PostTasklet()
61 aTasklet.mNext = mTail->mNext; in PostTasklet()
62 mTail->mNext = &aTasklet; in PostTasklet()
81 Tasklet *tasklet = tail->mNext; in ProcessQueuedTasklets()
89 tail->mNext = tasklet->mNext; in ProcessQueuedTasklets()
92 tasklet->mNext = nullptr; in ProcessQueuedTasklets()
Dtasklet.hpp124 , mNext(nullptr) in Tasklet()
143 bool IsPosted(void) const { return (mNext != nullptr); } in IsPosted()
149 Tasklet *mNext; member in ot::Tasklet
Dtimer.hpp102 bool IsRunning(void) const { return (mNext != this); } in IsRunning()
134 , mNext(this) in Timer()
143 Timer *mNext; member in ot::Timer
Dlinked_list.hpp78 … *GetNext(void) const { return static_cast<const Type *>(static_cast<const Type *>(this)->mNext); } in GetNext()
86 Type *GetNext(void) { return static_cast<Type *>(static_cast<Type *>(this)->mNext); } in GetNext()
94 void SetNext(Type *aNext) { static_cast<Type *>(this)->mNext = aNext; } in SetNext()
Dmessage.hpp190 Message *mNext; // Next message in a doubly linked list. member
1358 : mNext(nullptr) in Iterator()
1364 , mNext(NextMessage(aMessage)) in Iterator()
1372 Message *mNext; member in ot::Message::Iterator
1415 Message *&Next(void) { return GetMetadata().mNext; } in Next()
1416 Message *const &Next(void) const { return GetMetadata().mNext; } in Next()
/openthread-3.5.0/tests/unit/
Dtest_heap.cpp85 Node *mNext; in TestAllocateRandomly() member
102 last->mNext = static_cast<Node *>(heap.CAlloc(1, size)); in TestAllocateRandomly()
105 if (last->mNext == nullptr) in TestAllocateRandomly()
110 …VerifyOrQuit(last->mNext->mNext == nullptr, "TestAllocateRandomly memory not initialized to zero!"… in TestAllocateRandomly()
111 last = last->mNext; in TestAllocateRandomly()
126 prev = prev->mNext; in TestAllocateRandomly()
129 Node *curr = prev->mNext; in TestAllocateRandomly()
131 prev->mNext = curr->mNext; in TestAllocateRandomly()
143 last = head.mNext; in TestAllocateRandomly()
147 Node *next = last->mNext; in TestAllocateRandomly()
Dtest_toolchain_c.c41 uint32_t otNetifAddress_offset_mNext_c() { return offsetof(otNetifAddress, mNext); } in otNetifAddress_offset_mNext_c()
Dtest_pool.cpp40 EntryBase *mNext; member
/openthread-3.5.0/src/posix/platform/
Dmainloop.cpp41 assert(aSource.mNext == nullptr); in Add()
43 aSource.mNext = mSources; in Add()
49 for (Source **pnext = &mSources; *pnext != nullptr; pnext = &(*pnext)->mNext) in Remove()
53 *pnext = aSource.mNext; in Remove()
58 aSource.mNext = nullptr; in Remove()
63 for (Source *source = mSources; source != nullptr; source = source->mNext) in Update()
71 for (Source *source = mSources; source != nullptr; source = source->mNext) in Process()
Dtrel.cpp59 struct TxPacket *mNext; member
237 packet->mNext = sFreeTxPacketHead; in InitPacketQueue()
246 TxPacket *packet = sTxPacketQueueTail->mNext; // tail->mNext is the head of the list. in SendQueuedPackets()
263 sTxPacketQueueTail->mNext = packet->mNext; in SendQueuedPackets()
268 packet->mNext = sFreeTxPacketHead; in SendQueuedPackets()
282 sFreeTxPacketHead = sFreeTxPacketHead->mNext; in EnqueuePacket()
292 packet->mNext = packet; in EnqueuePacket()
297 packet->mNext = sTxPacketQueueTail->mNext; in EnqueuePacket()
298 sTxPacketQueueTail->mNext = packet; in EnqueuePacket()
Dmainloop.hpp75 Source *mNext = nullptr; member in ot::Posix::Mainloop::Source
/openthread-3.5.0/third_party/tcplp/lib/
Dlbuf.c47 newentry->mNext = NULL; in lbuf_append()
49 tail->mNext = newentry; in lbuf_append()
52 newentry->mNext = NULL; in lbuf_append()
78 curr = curr->mNext; in lbuf_pop()
99 curr = curr->mNext; in lbuf_getrange()
106 curr = curr->mNext; in lbuf_getrange()
Dcbuf.c272 first->mNext = NULL; in cbuf_reference()
276 first->mNext = second; in cbuf_reference()
280 second->mNext = NULL; in cbuf_reference()
/openthread-3.5.0/src/core/net/
Dnd_agent.hpp76 void FreeAloc(void) { mAloc.mNext = &mAloc; } in FreeAloc()
77 bool IsAlocInUse(void) const { return mAloc.mNext != &mAloc; } in IsAlocInUse()
Dnetif.hpp255 …onst MulticastAddress *GetNext(void) const { return static_cast<const MulticastAddress *>(mNext); } in GetNext()
263 … MulticastAddress *GetNext(void) { return static_cast<MulticastAddress *>(AsNonConst(mNext)); } in GetNext()
349 …ticastAddress *GetNext(void) { return static_cast<ExternalMulticastAddress *>(AsNonConst(mNext)); } in GetNext()
Dtcp6_ext.cpp116 dataSendLink.mNext = nullptr; in Write()
151 wrappedDataSendLink.mNext = nullptr; in Write()
/openthread-3.5.0/src/core/utils/
Dsrp_client_buffers.hpp174 … ServiceEntry *GetNext(void) { return reinterpret_cast<ServiceEntry *>(mService.mNext); } in GetNext()
175 …erviceEntry *GetNext(void) const { return reinterpret_cast<const ServiceEntry *>(mService.mNext); } in GetNext()
176 …void SetNext(ServiceEntry *aEntry) { mService.mNext = reinterpret_cast<Srp::Client::Service *>(aEn… in SetNext()
Dlink_metrics_manager.hpp135 Subject *mNext; member
/openthread-3.5.0/include/openthread/
Dtcp.h65 …struct otLinkedBuffer *mNext; ///< Pointer to the next linked buffer in the chain, or NULL if it… member
251 struct otTcpEndpoint *mNext; ///< A pointer to the next TCP endpoint (internal use only) member
681 struct otTcpListener *mNext; ///< A pointer to the next TCP listener (internal use only) member
Dudp.h71 struct otUdpReceiver *mNext; ///< A pointer to the next UDP receiver (internal use only). member
130 struct otUdpSocket *mNext; ///< A pointer to the next UDP socket (internal use only). member
Dicmp6.h134 struct otIcmp6Handler *mNext; ///< A pointer to the next handler in the list. member
Dip6.h189 …struct otNetifAddress *mNext; ///< A pointer to the next network interface addre… member
199 …const struct otNetifMulticastAddress *mNext; ///< A pointer to the next network interface multi… member
/openthread-3.5.0/third_party/tcplp/lib/test/
Dtest_all.c86 if (first.mNext != NULL) { in cbuf_test()
87 assert(first.mNext == &second); in cbuf_test()
89 assert(second.mNext == NULL); in cbuf_test()
/openthread-3.5.0/include/openthread/platform/
Dmessagepool.h62 struct otMessageBuffer *mNext; ///< Pointer to the next buffer. member
/openthread-3.5.0/src/core/coap/
Dcoap.hpp216 mNext = nullptr; in ResourceBlockWise()
241 …return static_cast<const ResourceBlockWise *>(static_cast<const ResourceBlockWise *>(this)->mNext); in GetNext()
252 return static_cast<ResourceBlockWise *>(static_cast<ResourceBlockWise *>(this)->mNext); in GetNext()
261 … void SetNext(ResourceBlockWise *aNext) { static_cast<ResourceBlockWise *>(this)->mNext = aNext; } in SetNext()

123