Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/MdeModulePkg/Library/BaseSortLib/
DBaseSortLib.c47 IN OUT VOID *BufferToSort, in QuickSortWorker() argument
58 ASSERT(BufferToSort != NULL); in QuickSortWorker()
73 Pivot = ((UINT8*)BufferToSort+((Count-1)*ElementSize)); in QuickSortWorker()
86 if (CompareFunction((VOID*)((UINT8*)BufferToSort+((LoopCount)*ElementSize)),Pivot) <= 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()
92 CopyMem ((UINT8*)BufferToSort+((LoopCount)*ElementSize), Buffer, ElementSize); in QuickSortWorker()
104 CopyMem (Pivot, (UINT8*)BufferToSort+(NextSwapLocation*ElementSize), ElementSize); in QuickSortWorker()
105 CopyMem ((UINT8*)BufferToSort+(NextSwapLocation*ElementSize), Buffer, ElementSize); in QuickSortWorker()
113 BufferToSort, in QuickSortWorker()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiSortLib/
DUefiSortLib.c63 IN OUT VOID *BufferToSort, in QuickSortWorker() argument
74 ASSERT(BufferToSort != NULL); in QuickSortWorker()
89 Pivot = ((UINT8*)BufferToSort+((Count-1)*ElementSize)); in QuickSortWorker()
102 if (CompareFunction((VOID*)((UINT8*)BufferToSort+((LoopCount)*ElementSize)),Pivot) <= 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()
108 CopyMem ((UINT8*)BufferToSort+((LoopCount)*ElementSize), Buffer, ElementSize); in QuickSortWorker()
120 CopyMem (Pivot, (UINT8*)BufferToSort+(NextSwapLocation*ElementSize), ElementSize); in QuickSortWorker()
121 CopyMem ((UINT8*)BufferToSort+(NextSwapLocation*ElementSize), Buffer, ElementSize); in QuickSortWorker()
129 BufferToSort, in QuickSortWorker()
[all …]
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/SysCall/
DCrtWrapper.c37 IN OUT VOID *BufferToSort, in QuickSortWorker() argument
48 ASSERT(BufferToSort != NULL); in QuickSortWorker()
61 Pivot = ((UINT8 *)BufferToSort + ((Count - 1) * ElementSize)); in QuickSortWorker()
72 … if (CompareFunction ((VOID *)((UINT8 *)BufferToSort + ((LoopCount) * ElementSize)), Pivot) <= 0) { in QuickSortWorker()
76 CopyMem (Buffer, (UINT8 *)BufferToSort + (NextSwapLocation * ElementSize), ElementSize); in QuickSortWorker()
77 …CopyMem ((UINT8 *)BufferToSort + (NextSwapLocation * ElementSize), (UINT8 *)BufferToSort + ((LoopC… in QuickSortWorker()
78 CopyMem ((UINT8 *)BufferToSort + ((LoopCount) * ElementSize), Buffer, ElementSize); in QuickSortWorker()
90 CopyMem (Pivot, (UINT8 *)BufferToSort + (NextSwapLocation * ElementSize), ElementSize); in QuickSortWorker()
91 CopyMem ((UINT8 *)BufferToSort + (NextSwapLocation * ElementSize), Buffer, ElementSize); in QuickSortWorker()
98 BufferToSort, in QuickSortWorker()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Library/
DSortLib.h55 IN OUT VOID *BufferToSort,