Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/StdLib/LibC/Containers/Queues/
DFifo.c218 UINT32 SizeOfElement; in FIFO_Enqueue() local
229SizeOfElement = Self->ElementSize; // Size of Elements, in by… in FIFO_Enqueue()
233 …QPtr = (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()
242 …QPtr += SizeOfElement; // Otherwise, point to next … in FIFO_Enqueue()
244 …ElemPtr += SizeOfElement; // And also point to next … in FIFO_Enqueue()
281 UINT32 SizeOfElement; in FIFO_Dequeue() local
292SizeOfElement = Self->ElementSize; // Get size of this FIFO's eleme… in FIFO_Dequeue()
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()
[all …]