Home
last modified time | relevance | path

Searched refs:aQueue (Results 1 – 3 of 3) sorted by relevance

/openthread-3.6.0/src/core/api/
Dmessage_api.cpp116 void otMessageQueueInit(otMessageQueue *aQueue) in otMessageQueueInit() argument
118 AssertPointerIsNotNull(aQueue); in otMessageQueueInit()
120 aQueue->mData = nullptr; in otMessageQueueInit()
123 void otMessageQueueEnqueue(otMessageQueue *aQueue, otMessage *aMessage) in otMessageQueueEnqueue() argument
125 AsCoreType(aQueue).Enqueue(AsCoreType(aMessage)); in otMessageQueueEnqueue()
128 void otMessageQueueEnqueueAtHead(otMessageQueue *aQueue, otMessage *aMessage) in otMessageQueueEnqueueAtHead() argument
130 AsCoreType(aQueue).Enqueue(AsCoreType(aMessage), MessageQueue::kQueuePositionHead); in otMessageQueueEnqueueAtHead()
133 void otMessageQueueDequeue(otMessageQueue *aQueue, otMessage *aMessage) in otMessageQueueDequeue() argument
135 AsCoreType(aQueue).Dequeue(AsCoreType(aMessage)); in otMessageQueueDequeue()
138 otMessage *otMessageQueueGetHead(otMessageQueue *aQueue) { return AsCoreType(aQueue).GetHead(); } in otMessageQueueGetHead() argument
[all …]
/openthread-3.6.0/include/openthread/
Dmessage.h392 void otMessageQueueInit(otMessageQueue *aQueue);
401 void otMessageQueueEnqueue(otMessageQueue *aQueue, otMessage *aMessage);
410 void otMessageQueueEnqueueAtHead(otMessageQueue *aQueue, otMessage *aMessage);
419 void otMessageQueueDequeue(otMessageQueue *aQueue, otMessage *aMessage);
429 otMessage *otMessageQueueGetHead(otMessageQueue *aQueue);
441 otMessage *otMessageQueueGetNext(otMessageQueue *aQueue, const otMessage *aMessage);
/openthread-3.6.0/tests/unit/
Dtest_message_queue.cpp250 void VerifyMessageQueueContentUsingOtApi(otMessageQueue *aQueue, int aExpectedLength, ...) in VerifyMessageQueueContentUsingOtApi() argument
260 message = otMessageQueueGetHead(aQueue); in VerifyMessageQueueContentUsingOtApi()
265 for (message = otMessageQueueGetHead(aQueue); message != nullptr; in VerifyMessageQueueContentUsingOtApi()
266 message = otMessageQueueGetNext(aQueue, message)) in VerifyMessageQueueContentUsingOtApi()