/device/linaro/bootloader/edk2/MdeModulePkg/Library/BaseSortLib/ |
BaseSortLib.c | 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); [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiSortLib/ |
UefiSortLib.c | 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); [all...] |
/external/llvm/include/llvm/ADT/ |
SparseBitVector.h | 42 template <unsigned ElementSize = 128> 44 : public ilist_node<SparseBitVectorElement<ElementSize> > { 50 BITWORDS_PER_ELEMENT = (ElementSize + BITWORD_SIZE - 1) / BITWORD_SIZE, 51 BITS_PER_ELEMENT = ElementSize 247 template <unsigned ElementSize> 248 struct ilist_traits<SparseBitVectorElement<ElementSize> > 249 : public ilist_default_traits<SparseBitVectorElement<ElementSize> > { 250 typedef SparseBitVectorElement<ElementSize> Element; 263 template <unsigned ElementSize = 128> 265 typedef ilist<SparseBitVectorElement<ElementSize> > ElementList [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
SparseBitVector.h | 43 template <unsigned ElementSize = 128> 45 : public ilist_node<SparseBitVectorElement<ElementSize> > { 50 BITWORDS_PER_ELEMENT = (ElementSize + BITWORD_SIZE - 1) / BITWORD_SIZE, 51 BITS_PER_ELEMENT = ElementSize 278 template <unsigned ElementSize = 128> 280 typedef ilist<SparseBitVectorElement<ElementSize> > ElementList; 284 BITWORD_SIZE = SparseBitVectorElement<ElementSize>::BITWORD_SIZE 328 const SparseBitVector<ElementSize> *BitVector; 340 typename SparseBitVectorElement<ElementSize>::BitWord Bits; 351 BitNumber = Iter->index() * ElementSize; [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/ADT/ |
SparseBitVector.h | 42 template <unsigned ElementSize = 128> struct SparseBitVectorElement { 48 BITWORDS_PER_ELEMENT = (ElementSize + BITWORD_SIZE - 1) / BITWORD_SIZE, 49 BITS_PER_ELEMENT = ElementSize 255 template <unsigned ElementSize = 128> 257 typedef std::list<SparseBitVectorElement<ElementSize>> ElementList; 261 BITWORD_SIZE = SparseBitVectorElement<ElementSize>::BITWORD_SIZE 305 const SparseBitVector<ElementSize> *BitVector = nullptr; 317 typename SparseBitVectorElement<ElementSize>::BitWord Bits; 328 BitNumber = Iter->index() * ElementSize; 331 WordNumber = (BitNumber % ElementSize) / BITWORD_SIZE [all...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/ADT/ |
SparseBitVector.h | 42 template <unsigned ElementSize = 128> struct SparseBitVectorElement { 48 BITWORDS_PER_ELEMENT = (ElementSize + BITWORD_SIZE - 1) / BITWORD_SIZE, 49 BITS_PER_ELEMENT = ElementSize 255 template <unsigned ElementSize = 128> 257 using ElementList = std::list<SparseBitVectorElement<ElementSize>>; 261 BITWORD_SIZE = SparseBitVectorElement<ElementSize>::BITWORD_SIZE 305 const SparseBitVector<ElementSize> *BitVector = nullptr; 317 typename SparseBitVectorElement<ElementSize>::BitWord Bits; 328 BitNumber = Iter->index() * ElementSize; 331 WordNumber = (BitNumber % ElementSize) / BITWORD_SIZE [all...] |
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/ADT/ |
SparseBitVector.h | 42 template <unsigned ElementSize = 128> struct SparseBitVectorElement { 48 BITWORDS_PER_ELEMENT = (ElementSize + BITWORD_SIZE - 1) / BITWORD_SIZE, 49 BITS_PER_ELEMENT = ElementSize 255 template <unsigned ElementSize = 128> 257 using ElementList = std::list<SparseBitVectorElement<ElementSize>>; 261 BITWORD_SIZE = SparseBitVectorElement<ElementSize>::BITWORD_SIZE 305 const SparseBitVector<ElementSize> *BitVector = nullptr; 317 typename SparseBitVectorElement<ElementSize>::BitWord Bits; 328 BitNumber = Iter->index() * ElementSize; 331 WordNumber = (BitNumber % ElementSize) / BITWORD_SIZE [all...] |
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/ADT/ |
SparseBitVector.h | 42 template <unsigned ElementSize = 128> struct SparseBitVectorElement { 48 BITWORDS_PER_ELEMENT = (ElementSize + BITWORD_SIZE - 1) / BITWORD_SIZE, 49 BITS_PER_ELEMENT = ElementSize 255 template <unsigned ElementSize = 128> 257 using ElementList = std::list<SparseBitVectorElement<ElementSize>>; 261 BITWORD_SIZE = SparseBitVectorElement<ElementSize>::BITWORD_SIZE 305 const SparseBitVector<ElementSize> *BitVector = nullptr; 317 typename SparseBitVectorElement<ElementSize>::BitWord Bits; 328 BitNumber = Iter->index() * ElementSize; 331 WordNumber = (BitNumber % ElementSize) / BITWORD_SIZE [all...] |
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/ADT/ |
SparseBitVector.h | 42 template <unsigned ElementSize = 128> struct SparseBitVectorElement { 48 BITWORDS_PER_ELEMENT = (ElementSize + BITWORD_SIZE - 1) / BITWORD_SIZE, 49 BITS_PER_ELEMENT = ElementSize 255 template <unsigned ElementSize = 128> 257 using ElementList = std::list<SparseBitVectorElement<ElementSize>>; 261 BITWORD_SIZE = SparseBitVectorElement<ElementSize>::BITWORD_SIZE 305 const SparseBitVector<ElementSize> *BitVector = nullptr; 317 typename SparseBitVectorElement<ElementSize>::BitWord Bits; 328 BitNumber = Iter->index() * ElementSize; 331 WordNumber = (BitNumber % ElementSize) / BITWORD_SIZE [all...] |
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/ADT/ |
SparseBitVector.h | 42 template <unsigned ElementSize = 128> struct SparseBitVectorElement { 48 BITWORDS_PER_ELEMENT = (ElementSize + BITWORD_SIZE - 1) / BITWORD_SIZE, 49 BITS_PER_ELEMENT = ElementSize 255 template <unsigned ElementSize = 128> 257 using ElementList = std::list<SparseBitVectorElement<ElementSize>>; 261 BITWORD_SIZE = SparseBitVectorElement<ElementSize>::BITWORD_SIZE 305 const SparseBitVector<ElementSize> *BitVector = nullptr; 317 typename SparseBitVectorElement<ElementSize>::BitWord Bits; 328 BitNumber = Iter->index() * ElementSize; 331 WordNumber = (BitNumber % ElementSize) / BITWORD_SIZE [all...] |
/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/ADT/ |
SparseBitVector.h | 42 template <unsigned ElementSize = 128> struct SparseBitVectorElement { 48 BITWORDS_PER_ELEMENT = (ElementSize + BITWORD_SIZE - 1) / BITWORD_SIZE, 49 BITS_PER_ELEMENT = ElementSize 255 template <unsigned ElementSize = 128> 257 using ElementList = std::list<SparseBitVectorElement<ElementSize>>; 261 BITWORD_SIZE = SparseBitVectorElement<ElementSize>::BITWORD_SIZE 305 const SparseBitVector<ElementSize> *BitVector = nullptr; 317 typename SparseBitVectorElement<ElementSize>::BitWord Bits; 328 BitNumber = Iter->index() * ElementSize; 331 WordNumber = (BitNumber % ElementSize) / BITWORD_SIZE [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/ADT/ |
SparseBitVector.h | 42 template <unsigned ElementSize = 128> struct SparseBitVectorElement { 48 BITWORDS_PER_ELEMENT = (ElementSize + BITWORD_SIZE - 1) / BITWORD_SIZE, 49 BITS_PER_ELEMENT = ElementSize 255 template <unsigned ElementSize = 128> 257 typedef std::list<SparseBitVectorElement<ElementSize>> ElementList; 261 BITWORD_SIZE = SparseBitVectorElement<ElementSize>::BITWORD_SIZE 305 const SparseBitVector<ElementSize> *BitVector = nullptr; 317 typename SparseBitVectorElement<ElementSize>::BitWord Bits; 328 BitNumber = Iter->index() * ElementSize; 331 WordNumber = (BitNumber % ElementSize) / BITWORD_SIZE [all...] |
/prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/ADT/ |
SparseBitVector.h | 42 template <unsigned ElementSize = 128> struct SparseBitVectorElement { 48 BITWORDS_PER_ELEMENT = (ElementSize + BITWORD_SIZE - 1) / BITWORD_SIZE, 49 BITS_PER_ELEMENT = ElementSize 255 template <unsigned ElementSize = 128> 257 using ElementList = std::list<SparseBitVectorElement<ElementSize>>; 261 BITWORD_SIZE = SparseBitVectorElement<ElementSize>::BITWORD_SIZE 305 const SparseBitVector<ElementSize> *BitVector = nullptr; 317 typename SparseBitVectorElement<ElementSize>::BitWord Bits; 328 BitNumber = Iter->index() * ElementSize; 331 WordNumber = (BitNumber % ElementSize) / BITWORD_SIZE [all...] |
/prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/ADT/ |
SparseBitVector.h | 42 template <unsigned ElementSize = 128> struct SparseBitVectorElement { 48 BITWORDS_PER_ELEMENT = (ElementSize + BITWORD_SIZE - 1) / BITWORD_SIZE, 49 BITS_PER_ELEMENT = ElementSize 255 template <unsigned ElementSize = 128> 257 using ElementList = std::list<SparseBitVectorElement<ElementSize>>; 261 BITWORD_SIZE = SparseBitVectorElement<ElementSize>::BITWORD_SIZE 305 const SparseBitVector<ElementSize> *BitVector = nullptr; 317 typename SparseBitVectorElement<ElementSize>::BitWord Bits; 328 BitNumber = Iter->index() * ElementSize; 331 WordNumber = (BitNumber % ElementSize) / BITWORD_SIZE [all...] |
/prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/ADT/ |
SparseBitVector.h | 42 template <unsigned ElementSize = 128> struct SparseBitVectorElement { 48 BITWORDS_PER_ELEMENT = (ElementSize + BITWORD_SIZE - 1) / BITWORD_SIZE, 49 BITS_PER_ELEMENT = ElementSize 255 template <unsigned ElementSize = 128> 257 using ElementList = std::list<SparseBitVectorElement<ElementSize>>; 261 BITWORD_SIZE = SparseBitVectorElement<ElementSize>::BITWORD_SIZE 305 const SparseBitVector<ElementSize> *BitVector = nullptr; 317 typename SparseBitVectorElement<ElementSize>::BitWord Bits; 328 BitNumber = Iter->index() * ElementSize; 331 WordNumber = (BitNumber % ElementSize) / BITWORD_SIZE [all...] |
/prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/ADT/ |
SparseBitVector.h | 42 template <unsigned ElementSize = 128> struct SparseBitVectorElement { 48 BITWORDS_PER_ELEMENT = (ElementSize + BITWORD_SIZE - 1) / BITWORD_SIZE, 49 BITS_PER_ELEMENT = ElementSize 255 template <unsigned ElementSize = 128> 257 using ElementList = std::list<SparseBitVectorElement<ElementSize>>; 261 BITWORD_SIZE = SparseBitVectorElement<ElementSize>::BITWORD_SIZE 305 const SparseBitVector<ElementSize> *BitVector = nullptr; 317 typename SparseBitVectorElement<ElementSize>::BitWord Bits; 328 BitNumber = Iter->index() * ElementSize; 331 WordNumber = (BitNumber % ElementSize) / BITWORD_SIZE [all...] |
/prebuilts/clang/host/linux-x86/clang-4639204/include/llvm/ADT/ |
SparseBitVector.h | 42 template <unsigned ElementSize = 128> struct SparseBitVectorElement { 48 BITWORDS_PER_ELEMENT = (ElementSize + BITWORD_SIZE - 1) / BITWORD_SIZE, 49 BITS_PER_ELEMENT = ElementSize 255 template <unsigned ElementSize = 128> 257 using ElementList = std::list<SparseBitVectorElement<ElementSize>>; 261 BITWORD_SIZE = SparseBitVectorElement<ElementSize>::BITWORD_SIZE 305 const SparseBitVector<ElementSize> *BitVector = nullptr; 317 typename SparseBitVectorElement<ElementSize>::BitWord Bits; 328 BitNumber = Iter->index() * ElementSize; 331 WordNumber = (BitNumber % ElementSize) / BITWORD_SIZE [all...] |
/prebuilts/clang/host/linux-x86/clang-4691093/include/llvm/ADT/ |
SparseBitVector.h | 42 template <unsigned ElementSize = 128> struct SparseBitVectorElement { 48 BITWORDS_PER_ELEMENT = (ElementSize + BITWORD_SIZE - 1) / BITWORD_SIZE, 49 BITS_PER_ELEMENT = ElementSize 255 template <unsigned ElementSize = 128> 257 using ElementList = std::list<SparseBitVectorElement<ElementSize>>; 261 BITWORD_SIZE = SparseBitVectorElement<ElementSize>::BITWORD_SIZE 305 const SparseBitVector<ElementSize> *BitVector = nullptr; 317 typename SparseBitVectorElement<ElementSize>::BitWord Bits; 328 BitNumber = Iter->index() * ElementSize; 331 WordNumber = (BitNumber % ElementSize) / BITWORD_SIZE [all...] |
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/SysCall/ |
CrtWrapper.c | 39 IN CONST UINTN ElementSize,
52 if (Count < 2 || ElementSize < 1) {
61 Pivot = ((UINT8 *)BufferToSort + ((Count - 1) * ElementSize));
72 if (CompareFunction ((VOID *)((UINT8 *)BufferToSort + ((LoopCount) * ElementSize)), Pivot) <= 0) {
76 CopyMem (Buffer, (UINT8 *)BufferToSort + (NextSwapLocation * ElementSize), ElementSize);
77 CopyMem ((UINT8 *)BufferToSort + (NextSwapLocation * ElementSize), (UINT8 *)BufferToSort + ((LoopCount) * ElementSize), ElementSize);
78 CopyMem ((UINT8 *)BufferToSort + ((LoopCount) * ElementSize), Buffer, ElementSize); [all...] |
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/CodeGen/ |
RuntimeLibcalls.h | 67 Libcall getMEMCPY_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize); 72 Libcall getMEMMOVE_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize); 77 Libcall getMEMSET_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize);
|
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/CodeGen/ |
RuntimeLibcalls.h | 67 Libcall getMEMCPY_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize); 72 Libcall getMEMMOVE_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize); 77 Libcall getMEMSET_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize);
|
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/CodeGen/ |
RuntimeLibcalls.h | 67 Libcall getMEMCPY_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize); 72 Libcall getMEMMOVE_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize); 77 Libcall getMEMSET_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize);
|
/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/CodeGen/ |
RuntimeLibcalls.h | 67 Libcall getMEMCPY_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize); 72 Libcall getMEMMOVE_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize); 77 Libcall getMEMSET_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize);
|
/prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/CodeGen/ |
RuntimeLibcalls.h | 67 Libcall getMEMCPY_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize); 72 Libcall getMEMMOVE_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize); 77 Libcall getMEMSET_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize);
|
/prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/CodeGen/ |
RuntimeLibcalls.h | 67 Libcall getMEMCPY_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize); 72 Libcall getMEMMOVE_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize); 77 Libcall getMEMSET_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize);
|