Home | History | Annotate | Download | only in BaseSortLib

Lines Matching defs:ElementSize

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

42 @param[in] Buffer Buffer of size ElementSize for use in swapping
49 IN CONST UINTN ElementSize,
63 || ElementSize < 1
73 Pivot = ((UINT8*)BufferToSort+((Count-1)*ElementSize));
86 if (CompareFunction((VOID*)((UINT8*)BufferToSort+((LoopCount)*ElementSize)),Pivot) <= 0){
90 CopyMem (Buffer, (UINT8*)BufferToSort+(NextSwapLocation*ElementSize), ElementSize);
91 CopyMem ((UINT8*)BufferToSort+(NextSwapLocation*ElementSize), (UINT8*)BufferToSort+((LoopCount)*ElementSize), ElementSize);
92 CopyMem ((UINT8*)BufferToSort+((LoopCount)*ElementSize), Buffer, ElementSize);
103 CopyMem (Buffer, Pivot, ElementSize);
104 CopyMem (Pivot, (UINT8*)BufferToSort+(NextSwapLocation*ElementSize), ElementSize);
105 CopyMem ((UINT8*)BufferToSort+(NextSwapLocation*ElementSize), Buffer, ElementSize);
115 ElementSize,
122 (UINT8 *)BufferToSort + (NextSwapLocation+1) * ElementSize,
124 ElementSize,
144 @param[in] ElementSize Size of an element in bytes
153 IN CONST UINTN ElementSize,
162 Buffer = AllocateZeroPool(ElementSize);
168 ElementSize,