Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/MdeModulePkg/Library/BaseSortLib/
DBaseSortLib.c56 UINTN NextSwapLocation; in QuickSortWorker() local
68 NextSwapLocation = 0; in QuickSortWorker()
90 CopyMem (Buffer, (UINT8*)BufferToSort+(NextSwapLocation*ElementSize), ElementSize); in QuickSortWorker()
91 …CopyMem ((UINT8*)BufferToSort+(NextSwapLocation*ElementSize), (UINT8*)BufferToSort+((LoopCount)*El… in QuickSortWorker()
97 NextSwapLocation++; in QuickSortWorker()
104 CopyMem (Pivot, (UINT8*)BufferToSort+(NextSwapLocation*ElementSize), ElementSize); in QuickSortWorker()
105 CopyMem ((UINT8*)BufferToSort+(NextSwapLocation*ElementSize), Buffer, ElementSize); in QuickSortWorker()
111 if (NextSwapLocation >= 2) { in QuickSortWorker()
114 NextSwapLocation, in QuickSortWorker()
120 if ((Count - NextSwapLocation - 1) >= 2) { in QuickSortWorker()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiSortLib/
DUefiSortLib.c72 UINTN NextSwapLocation; in QuickSortWorker() local
84 NextSwapLocation = 0; in QuickSortWorker()
106 CopyMem (Buffer, (UINT8*)BufferToSort+(NextSwapLocation*ElementSize), ElementSize); in QuickSortWorker()
107 …CopyMem ((UINT8*)BufferToSort+(NextSwapLocation*ElementSize), (UINT8*)BufferToSort+((LoopCount)*El… in QuickSortWorker()
113 NextSwapLocation++; in QuickSortWorker()
120 CopyMem (Pivot, (UINT8*)BufferToSort+(NextSwapLocation*ElementSize), ElementSize); in QuickSortWorker()
121 CopyMem ((UINT8*)BufferToSort+(NextSwapLocation*ElementSize), Buffer, ElementSize); in QuickSortWorker()
127 if (NextSwapLocation >= 2) { in QuickSortWorker()
130 NextSwapLocation, in QuickSortWorker()
136 if ((Count - NextSwapLocation - 1) >= 2) { in QuickSortWorker()
[all …]
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/SysCall/
DCrtWrapper.c46 UINTN NextSwapLocation; in QuickSortWorker() local
56 NextSwapLocation = 0; in QuickSortWorker()
76 CopyMem (Buffer, (UINT8 *)BufferToSort + (NextSwapLocation * ElementSize), ElementSize); in QuickSortWorker()
77 …CopyMem ((UINT8 *)BufferToSort + (NextSwapLocation * ElementSize), (UINT8 *)BufferToSort + ((LoopC… in QuickSortWorker()
83 NextSwapLocation++; in QuickSortWorker()
90 CopyMem (Pivot, (UINT8 *)BufferToSort + (NextSwapLocation * ElementSize), ElementSize); in QuickSortWorker()
91 CopyMem ((UINT8 *)BufferToSort + (NextSwapLocation * ElementSize), Buffer, ElementSize); in QuickSortWorker()
99 NextSwapLocation, in QuickSortWorker()
106 (UINT8 *)BufferToSort + (NextSwapLocation + 1) * ElementSize, in QuickSortWorker()
107 Count - NextSwapLocation - 1, in QuickSortWorker()