Home | History | Annotate | Download | only in UefiSortLib

Lines Matching defs:ElementSize

55   @param[in] ElementSize         Size of an element in bytes

58 @param[in] Buffer Buffer of size ElementSize for use in swapping
65 IN CONST UINTN ElementSize,
79 || ElementSize < 1
89 Pivot = ((UINT8*)BufferToSort+((Count-1)*ElementSize));
102 if (CompareFunction((VOID*)((UINT8*)BufferToSort+((LoopCount)*ElementSize)),Pivot) <= 0){
106 CopyMem (Buffer, (UINT8*)BufferToSort+(NextSwapLocation*ElementSize), ElementSize);
107 CopyMem ((UINT8*)BufferToSort+(NextSwapLocation*ElementSize), (UINT8*)BufferToSort+((LoopCount)*ElementSize), ElementSize);
108 CopyMem ((UINT8*)BufferToSort+((LoopCount)*ElementSize), Buffer, ElementSize);
119 CopyMem (Buffer, Pivot, ElementSize);
120 CopyMem (Pivot, (UINT8*)BufferToSort+(NextSwapLocation*ElementSize), ElementSize);
121 CopyMem ((UINT8*)BufferToSort+(NextSwapLocation*ElementSize), Buffer, ElementSize);
131 ElementSize,
138 (UINT8 *)BufferToSort + (NextSwapLocation+1) * ElementSize,
140 ElementSize,
161 @param[in] ElementSize Size of an element in bytes
170 IN CONST UINTN ElementSize,
179 Buffer = AllocateZeroPool(ElementSize);
185 ElementSize,