/external/llvm/lib/Target/NVPTX/ |
ManagedStringPool.h | 1 //===-- ManagedStringPool.h - Managed String Pool ---------------*- C++ -*-===// 10 // The strings allocated from a managed string pool are owned by the string 11 // pool and will be deleted together with the managed string pool. 23 /// ManagedStringPool - The strings allocated from a managed string pool are 24 /// owned by the string pool and will be deleted together with the managed 25 /// string pool. 27 SmallVector<std::string *, 8> Pool; 32 SmallVectorImpl<std::string *>::iterator Current = Pool.begin(); 33 while (Current != Pool.end()) [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
AddressPool.cpp | 22 Pool.insert(std::make_pair(Sym, AddressPoolEntry(Pool.size(), TLS))); 28 if (Pool.empty()) 34 // Order the address pool entries by ID 35 SmallVector<const MCExpr *, 64> Entries(Pool.size()); 37 for (const auto &I : Pool)
|
AddressPool.h | 28 DenseMap<const MCSymbol *, AddressPoolEntry> Pool; 39 /// \brief Returns the index into the address pool with the given 45 bool isEmpty() { return Pool.empty(); }
|
DwarfStringPool.cpp | 19 : Pool(A), Prefix(Prefix), 24 auto I = Pool.insert(std::make_pair(Str, EntryTy())); 27 Entry.Index = Pool.size() - 1; 39 if (Pool.empty()) 45 // Get all of the string pool entries and put them in an array by their ID so 47 SmallVector<const StringMapEntry<EntryTy> *, 64> Entries(Pool.size()); 49 for (const auto &E : Pool)
|
DwarfStringPool.h | 30 StringMap<EntryTy, BumpPtrAllocator &> Pool; 43 bool empty() const { return Pool.empty(); } 45 /// Get a reference to an entry in the string pool.
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciDxe/ |
UsbHcMem.c | 21 Allocate a block of memory to be used by the buffer pool.
23 @param Pool The buffer pool to allocate memory for.
31 IN USBHC_MEM_POOL *Pool,
43 PciIo = Pool->PciIo;
100 if (Pool->Check4G && (Pool->Which4G != USB_HC_HIGH_32BIT (MappedAddr))) {
122 Free the memory block from the memory pool.
124 @param Pool The memory pool to free the block from. [all...] |
UsbHcMem.h | 75 Initialize the memory management pool for the host controller.
82 @retval EFI_SUCCESS The memory pool is initialized.
83 @retval EFI_OUT_OF_RESOURCE Fail to init the memory pool.
95 Release the memory management pool.
97 @param Pool The USB memory pool to free.
99 @retval EFI_SUCCESS The memory pool is freed.
100 @retval EFI_DEVICE_ERROR Failed to free the memory pool.
105 IN USBHC_MEM_POOL *Pool
110 Allocate some memory from the host controller's memory pool
[all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/UhciDxe/ |
UsbHcMem.c | 20 Allocate a block of memory to be used by the buffer pool.
22 @param Pool The buffer pool to allocate memory for.
30 IN USBHC_MEM_POOL *Pool,
42 PciIo = Pool->PciIo;
99 if (Pool->Check4G && (Pool->Which4G != USB_HC_HIGH_32BIT (MappedAddr))) {
121 Free the memory block from the memory pool.
123 @param Pool The memory pool to free the block from. [all...] |
UsbHcMem.h | 75 Initialize the memory management pool for the host controller.
82 @retval EFI_SUCCESS The memory pool is initialized.
83 @retval EFI_OUT_OF_RESOURCE Fail to init the memory pool.
95 Release the memory management pool.
97 @param Pool The USB memory pool to free.
99 @return EFI_SUCCESS The memory pool is freed.
100 @return EFI_DEVICE_ERROR Failed to free the memory pool.
105 IN USBHC_MEM_POOL *Pool
111 Allocate some memory from the host controller's memory pool
[all...] |
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/ |
UsbHcMem.c | 21 Allocate a block of memory to be used by the buffer pool.
23 @param Pool The buffer pool to allocate memory for.
31 IN USBHC_MEM_POOL *Pool,
43 PciIo = Pool->PciIo;
100 if (Pool->Check4G && (Pool->Which4G != USB_HC_HIGH_32BIT (MappedAddr))) {
122 Free the memory block from the memory pool.
124 @param Pool The memory pool to free the block from. [all...] |
UsbHcMem.h | 76 Initialize the memory management pool for the host controller.
83 @retval EFI_SUCCESS The memory pool is initialized.
84 @retval EFI_OUT_OF_RESOURCE Fail to init the memory pool.
96 Release the memory management pool.
98 @param Pool The USB memory pool to free.
100 @retval EFI_SUCCESS The memory pool is freed.
101 @retval EFI_DEVICE_ERROR Failed to free the memory pool.
106 IN USBHC_MEM_POOL *Pool
111 Allocate some memory from the host controller's memory pool
[all...] |
/external/llvm/unittests/Support/ |
ThreadPool.cpp | 93 ThreadPool Pool; 95 Pool.async([this, &checked_in, i] { 102 Pool.wait(); 113 ThreadPool Pool; 115 Pool.async(TestFunc, std::ref(checked_in), i); 117 Pool.wait(); 123 ThreadPool Pool; 125 Pool.async([this, &i] { 129 Pool.async([&i] { ++i; }); 132 Pool.wait() [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/ |
EmmcHcMem.c | 19 Allocate a block of memory to be used by the buffer pool.
83 Free the memory block from the memory pool.
85 @param Pool The memory pool to free the block from.
91 IN EMMC_PEIM_MEM_POOL *Pool,
95 ASSERT ((Pool != NULL) && (Block != NULL));
172 Insert the memory block to the pool's list of the blocks.
174 @param Head The head of the memory pool's block list.
216 Unlink the memory block from the pool's list.
218 @param Head The block list head of the memory's pool. [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/SdBlockIoPei/ |
SdHcMem.c | 19 Allocate a block of memory to be used by the buffer pool.
83 Free the memory block from the memory pool.
85 @param Pool The memory pool to free the block from.
91 IN SD_PEIM_MEM_POOL *Pool,
95 ASSERT ((Pool != NULL) && (Block != NULL));
172 Insert the memory block to the pool's list of the blocks.
174 @param Head The head of the memory pool's block list.
216 Unlink the memory block from the pool's list.
218 @param Head The block list head of the memory's pool. [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ufs/UfsBlockIoPei/ |
UfsHcMem.c | 19 Allocate a block of memory to be used by the buffer pool.
83 Free the memory block from the memory pool.
85 @param Pool The memory pool to free the block from.
91 IN UFS_PEIM_MEM_POOL *Pool,
95 ASSERT ((Pool != NULL) && (Block != NULL));
172 Insert the memory block to the pool's list of the blocks.
174 @param Head The head of the memory pool's block list.
216 Unlink the memory block from the pool's list.
218 @param Head The block list head of the memory's pool. [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciPei/ |
UsbHcMem.c | 21 Allocate a block of memory to be used by the buffer pool.
24 @param Pool The buffer pool to allocate memory for.
33 IN USBHC_MEM_POOL *Pool,
96 if (Pool->Check4G && (Pool->Which4G != USB_HC_HIGH_32BIT (MappedAddr))) {
110 Free the memory block from the memory pool.
112 @param Pool The memory pool to free the block from.
118 IN USBHC_MEM_POOL *Pool,
[all...] |
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Pei/ |
UsbHcMem.c | 21 Allocate a block of memory to be used by the buffer pool.
26 @param Pool The buffer pool to allocate memory for.
34 IN USBHC_MEM_POOL *Pool,
95 if (Pool->Check4G && (Pool->Which4G != USB_HC_HIGH_32BIT (MappedAddr))) {
110 Free the memory block from the memory pool.
112 @param Pool The memory pool to free the block from.
118 IN USBHC_MEM_POOL *Pool,
[all...] |
/external/tensorflow/tensorflow/compiler/xla/service/ |
pool.h | 27 // Pool of values, which are created as needed and destroyed when the `Pool` is 30 class Pool { 33 void operator()(T* ptr) { pool->Deallocate(ptr); } 35 Pool<T>* pool; member in struct:xla::Pool::Deleter 38 // A pointer to a taken element of a `Pool` which returns it to the pool on 42 // Constructs a `Pool` with given factory function, which need not be 44 explicit Pool(std::function<std::unique_ptr<T>()> factory [all...] |
pool_test.cc | 16 #include "tensorflow/compiler/xla/service/pool.h" 26 Pool<int> pool; local 29 auto ptr = pool.Allocate(); 34 auto ptr = pool.Allocate();
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciDxe/ |
UsbHcMem.c | 21 Allocate a block of memory to be used by the buffer pool.
23 @param Pool The buffer pool to allocate memory for.
31 IN USBHC_MEM_POOL *Pool,
43 PciIo = Pool->PciIo;
113 Free the memory block from the memory pool.
115 @param Pool The memory pool to free the block from.
121 IN USBHC_MEM_POOL *Pool,
127 ASSERT ((Pool != NULL) && (Block != NULL)); [all...] |
UsbHcMem.h | 72 Initialize the memory management pool for the host controller.
76 @retval EFI_SUCCESS The memory pool is initialized.
77 @retval EFI_OUT_OF_RESOURCE Fail to init the memory pool.
87 Release the memory management pool.
89 @param Pool The USB memory pool to free.
91 @retval EFI_SUCCESS The memory pool is freed.
92 @retval EFI_DEVICE_ERROR Failed to free the memory pool.
97 IN USBHC_MEM_POOL *Pool
102 Allocate some memory from the host controller's memory pool
[all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Mem/ |
Pool.c | 2 UEFI Memory pool management functions.
76 } POOL;
79 // Pool header for each memory type.
81 POOL mPoolHead[EfiMaxMemoryType];
84 // List of pool header to search for the appropriate memory type.
89 Get pool size table index from the specified size.
91 @param Size The specified size to get index from pool table.
93 @return The index of pool size table.
113 Called to initialize the pool.
136 Look up pool head for specified memory type. [all...] |
/external/v8/tools/testrunner/local/ |
pool_unittest.py | 8 from pool import Pool 18 pool = Pool(3) 19 for result in pool.imap_unordered(Run, [[x] for x in range(0, 10)]): 25 pool = Pool(3) 27 for result in pool.imap_unordered(Run, [[x] for x in range(0, 12)]): 36 pool = Pool(3 [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciPei/ |
UsbHcMem.c | 21 Allocate a block of memory to be used by the buffer pool.
92 Free the memory block from the memory pool.
94 @param Pool The memory pool to free the block from.
100 IN USBHC_MEM_POOL *Pool,
104 ASSERT ((Pool != NULL) && (Block != NULL));
185 @param Pool The memory pool of the host controller.
194 IN USBHC_MEM_POOL *Pool,
205 Head = Pool->Head; [all...] |
/prebuilts/go/darwin-x86/src/runtime/race/testdata/ |
pool_test.go | 14 // Pool randomly drops the argument on the floor during Put. 18 p := &sync.Pool{New: func() interface{} { return make([]byte, 10) }} 34 p := &sync.Pool{New: func() interface{} { return make([]byte, 10) }}
|