Home
last modified time | relevance | path

Searched refs:Prev (Results 1 – 2 of 2) sorted by relevance

/openthread-2.7.6/src/core/common/
Dmessage.cpp107 OT_ASSERT(aMessage->Next() == nullptr && aMessage->Prev() == nullptr); in Free()
752 OT_ASSERT((aMessage.Next() == nullptr) && (aMessage.Prev() == nullptr)); in Enqueue()
759 aMessage.Prev() = &aMessage; in Enqueue()
768 aMessage.Prev() = GetTail(); in Enqueue()
770 head->Prev() = &aMessage; in Enqueue()
783 OT_ASSERT((aMessage.Next() != nullptr) && (aMessage.Prev() != nullptr)); in Dequeue()
787 SetTail(GetTail()->Prev()); in Dequeue()
795 aMessage.Prev()->Next() = aMessage.Next(); in Dequeue()
796 aMessage.Next()->Prev() = aMessage.Prev(); in Dequeue()
798 aMessage.Prev() = nullptr; in Dequeue()
[all …]
Dmessage.hpp1320 Message *&Prev(void) { return GetMetadata().mPrev; } in Prev() function in ot::Message