Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/StdLib/LibC/Containers/Queues/
DFifo.c216 uintptr_t QPtr; in FIFO_Enqueue() local
233QPtr = (uintptr_t)Self->Queue + (SizeOfElement * Windex); // Addr. in FIFO to write,… in FIFO_Enqueue()
236 …(void)CopyMem((void *)QPtr, (const void *)ElemPtr, SizeOfElement); // Copy an element into th… in FIFO_Enqueue()
239QPtr = (uintptr_t)Self->Queue; // Go to the beginning in FIFO_Enqueue()
242QPtr += SizeOfElement; // Otherwise, point to next … in FIFO_Enqueue()
279 UINTN QPtr; in FIFO_Dequeue() local
295 QPtr = (UINTN)Self->Queue + (RDex * SizeOfElement); // Point to Read location in FIFO in FIFO_Dequeue()
297 …(void)CopyMem(pElement, (const void *)QPtr, SizeOfElement); // Copy element from FIFO to caller'… in FIFO_Dequeue()
300QPtr = (UINTN)Self->Queue; // Point back to beginning of da… in FIFO_Dequeue()
303QPtr += SizeOfElement; // Point to the next element in FIFO in FIFO_Dequeue()