/external/armnn/src/dynamic/sample/ |
D | SampleMemoryManager.cpp | 19 SampleMemoryManager::Pool* SampleMemoryManager::Manage(unsigned int numBytes) in Manage() 23 Pool* res = m_FreePools.back(); in Manage() 30 m_Pools.push_front(Pool(numBytes)); in Manage() 35 void SampleMemoryManager::Allocate(SampleMemoryManager::Pool* pool) in Allocate() 40 void* SampleMemoryManager::GetPointer(SampleMemoryManager::Pool* pool) in GetPointer() 47 for (Pool &pool: m_Pools) in Acquire() 55 for (Pool &pool: m_Pools) in Release() 61 SampleMemoryManager::Pool::Pool(unsigned int numBytes) in Pool() function in sdb::SampleMemoryManager::Pool 66 SampleMemoryManager::Pool::~Pool() in ~Pool() 74 void* SampleMemoryManager::Pool::GetPointer() in GetPointer() [all …]
|
D | SampleMemoryManager.hpp | 22 class Pool; 24 Pool* Manage(unsigned int numBytes); 26 void Allocate(Pool *pool); 28 void* GetPointer(Pool *pool); 33 class Pool class in sdb::SampleMemoryManager 36 Pool(unsigned int numBytes); 37 ~Pool(); 55 std::forward_list<Pool> m_Pools; 56 std::vector<Pool*> m_FreePools;
|
/external/armnn/src/backends/reference/ |
D | RefMemoryManager.cpp | 20 RefMemoryManager::Pool* RefMemoryManager::Manage(unsigned int numBytes) in Manage() 24 Pool* res = m_FreePools.back(); in Manage() 31 m_Pools.push_front(Pool(numBytes)); in Manage() 36 void RefMemoryManager::Allocate(RefMemoryManager::Pool* pool) in Allocate() 42 void* RefMemoryManager::GetPointer(RefMemoryManager::Pool* pool) in GetPointer() 49 for (Pool &pool: m_Pools) in Acquire() 57 for (Pool &pool: m_Pools) in Release() 63 RefMemoryManager::Pool::Pool(unsigned int numBytes) in Pool() function in armnn::RefMemoryManager::Pool 68 RefMemoryManager::Pool::~Pool() in ~Pool() 76 void* RefMemoryManager::Pool::GetPointer() in GetPointer() [all …]
|
D | RefMemoryManager.hpp | 22 class Pool; 24 Pool* Manage(unsigned int numBytes); 26 void Allocate(Pool *pool); 28 void* GetPointer(Pool *pool); 33 class Pool class in armnn::RefMemoryManager 36 Pool(unsigned int numBytes); 37 ~Pool(); 55 std::forward_list<Pool> m_Pools; 56 std::vector<Pool*> m_FreePools;
|
/external/llvm/unittests/Support/ |
D | ThreadPool.cpp | 93 ThreadPool Pool; in TEST_F() local 95 Pool.async([this, &checked_in, i] { in TEST_F() 102 Pool.wait(); in TEST_F() 113 ThreadPool Pool; in TEST_F() local 115 Pool.async(TestFunc, std::ref(checked_in), i); in TEST_F() 117 Pool.wait(); in TEST_F() 123 ThreadPool Pool; in TEST_F() local 125 Pool.async([this, &i] { in TEST_F() 129 Pool.async([&i] { ++i; }); in TEST_F() 132 Pool.wait(); in TEST_F() [all …]
|
/external/grpc-grpc/src/ruby/spec/generic/ |
D | rpc_server_pool_spec.rb | 20 Pool = GRPC::Pool constant 24 expect { Pool.new(0) }.to raise_error 25 expect { Pool.new(-1) }.to raise_error 26 expect { Pool.new(Object.new) }.to raise_error 30 expect { Pool.new(1) }.not_to raise_error 36 p = Pool.new(1) 41 p = Pool.new(5) 70 p = Pool.new(1) 77 p = Pool.new(1) 89 p = Pool.new(1) [all …]
|
/external/skia/src/sksl/ |
D | SkSLPool.cpp | 26 Pool::~Pool() { in ~Pool() 38 std::unique_ptr<Pool> Pool::Create() { in Create() 39 auto pool = std::unique_ptr<Pool>(new Pool); in Create() 45 bool Pool::IsAttached() { in IsAttached() 49 void Pool::attachToThread() { in attachToThread() 55 void Pool::detachFromThread() { in detachFromThread() 63 void* Pool::AllocMemory(size_t size) { in AllocMemory() 78 void Pool::FreeMemory(void* ptr) { in FreeMemory()
|
D | SkSLPool.h | 24 class Pool { 26 ~Pool(); 32 static std::unique_ptr<Pool> Create(); 53 Pool() = default; // use Create to make a pool 64 return Pool::AllocMemory(size); in new() 68 Pool::FreeMemory(ptr); in delete() 77 AutoAttachPoolToThread(Pool* p) : fPool(p) { in AutoAttachPoolToThread() 89 Pool* fPool = nullptr;
|
/external/swiftshader/third_party/marl/include/marl/ |
D | pool.h | 45 class Pool { 74 Pool() = default; 103 using Loan = typename Pool<T>::Loan; 109 T* Pool<T>::Item::get() { in get() 114 void Pool<T>::Item::construct() { in construct() 119 void Pool<T>::Item::destruct() { in destruct() 127 Pool<T>::Loan::Loan(Item* item, const std::shared_ptr<Storage>& storage) in Loan() 133 Pool<T>::Loan::Loan(const Loan& other) in Loan() 141 Pool<T>::Loan::Loan(Loan&& other) : item(other.item), storage(other.storage) { in Loan() 147 Pool<T>::Loan::~Loan() { in ~Loan() [all …]
|
/external/rust/crates/regex/src/ |
D | pool.rs | 103 pub struct Pool<T> { struct 154 unsafe impl<T: Send> Sync for Pool<T> {} implementation 156 impl<T: ::std::fmt::Debug> ::std::fmt::Debug for Pool<T> { implementation 173 pool: &'a Pool<T>, 179 impl<T: Send> Pool<T> { implementation 182 pub fn new(create: CreateFn<T>) -> Pool<T> { in new() 185 Pool { stack: Mutex::new(vec![]), create, owner, owner_val } in new() 290 has_oibits::<Pool<ProgramCache>>(); in oibits() 301 let pool: Arc<Pool<RefCell<Vec<char>>>> = in thread_owner_optimization() 302 Arc::new(Pool::new(Box::new(|| RefCell::new(vec!['a'])))); in thread_owner_optimization()
|
/external/armnn/src/backends/reference/test/ |
D | RefMemoryManagerTests.cpp | 12 using Pool = RefMemoryManager::Pool; typedef 18 Pool* pool = memoryManager.Manage(10); in BOOST_AUTO_TEST_CASE() 33 Pool* pool1 = memoryManager.Manage(10); in BOOST_AUTO_TEST_CASE() 34 Pool* pool2 = memoryManager.Manage(5); in BOOST_AUTO_TEST_CASE()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | DwarfStringPool.cpp | 19 : Pool(A), Prefix(Prefix), in DwarfStringPool() 24 auto I = Pool.insert(std::make_pair(Str, EntryTy())); in getEntry() 27 Entry.Index = Pool.size() - 1; in getEntry() 39 if (Pool.empty()) in emit() 47 SmallVector<const StringMapEntry<EntryTy> *, 64> Entries(Pool.size()); in emit() 49 for (const auto &E : Pool) in emit()
|
D | AddressPool.cpp | 22 Pool.insert(std::make_pair(Sym, AddressPoolEntry(Pool.size(), TLS))); in getIndex() 28 if (Pool.empty()) in emit() 35 SmallVector<const MCExpr *, 64> Entries(Pool.size()); in emit() 37 for (const auto &I : Pool) in emit()
|
/external/mesa3d/src/gallium/frontends/nine/ |
D | texture9.c | 46 D3DPOOL Pool, in NineTexture9_ctor() argument 61 d3dformat_to_string(Format), nine_D3DPOOL_to_str(Pool), pSharedHandle); in NineTexture9_ctor() 71 (Pool == D3DPOOL_SYSTEMMEM && Levels == 1) || in NineTexture9_ctor() 72 Pool == D3DPOOL_DEFAULT, D3DERR_INVALIDCALL); in NineTexture9_ctor() 75 (Pool != D3DPOOL_SYSTEMMEM && Pool != D3DPOOL_SCRATCH && Levels <= 1), in NineTexture9_ctor() 93 if (pSharedHandle && Pool == D3DPOOL_DEFAULT) { in NineTexture9_ctor() 110 Pool == D3DPOOL_SCRATCH); in NineTexture9_ctor() 158 } else if (Pool != D3DPOOL_DEFAULT) { in NineTexture9_ctor() 178 hr = NineBaseTexture9_ctor(&This->base, pParams, NULL, D3DRTYPE_TEXTURE, Format, Pool, Usage); in NineTexture9_ctor() 190 sfdesc.Pool = Pool; in NineTexture9_ctor() [all …]
|
D | cubetexture9.c | 39 D3DPOOL Pool, in NineCubeTexture9_ctor() argument 54 Format, Pool, pSharedHandle); in NineCubeTexture9_ctor() 62 (Pool != D3DPOOL_SYSTEMMEM && Levels <= 1), D3DERR_INVALIDCALL); in NineCubeTexture9_ctor() 69 Pool == D3DPOOL_SCRATCH); in NineCubeTexture9_ctor() 110 if (Pool != D3DPOOL_DEFAULT) { in NineCubeTexture9_ctor() 125 Format, Pool, Usage); in NineCubeTexture9_ctor() 137 sfdesc.Pool = Pool; in NineCubeTexture9_ctor() 343 D3DPOOL Pool, in NineCubeTexture9_new() argument 349 Usage, Format, Pool, pSharedHandle); in NineCubeTexture9_new()
|
/external/llvm/lib/Target/NVPTX/ |
D | ManagedStringPool.h | 27 SmallVector<std::string *, 8> Pool; variable 32 SmallVectorImpl<std::string *>::iterator Current = Pool.begin(); in ~ManagedStringPool() 33 while (Current != Pool.end()) { in ~ManagedStringPool() 41 Pool.push_back(Str); in getManagedString()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | ManagedStringPool.h | 26 SmallVector<std::string *, 8> Pool; variable 32 SmallVectorImpl<std::string *>::iterator Current = Pool.begin(); in ~ManagedStringPool() 33 while (Current != Pool.end()) { in ~ManagedStringPool() 41 Pool.push_back(Str); in getManagedString()
|
/external/rust/crates/vulkano/src/memory/pool/ |
D | pool.rs | 38 Mutex<HashMap<(u32, AllocLayout, MappingRequirement), Pool, BuildHasherDefault<FnvHasher>>>, 70 &Pool::HostVisible(ref pool) => { in generic_allocation() 78 &Pool::NonHostVisible(ref pool) => { in generic_allocation() 91 entry.insert(Pool::HostVisible(pool.clone())); in generic_allocation() 101 entry.insert(Pool::NonHostVisible(pool.clone())); in generic_allocation() 130 &Pool::HostVisible(ref pool) => { in generit_allocation_with_exportable_fd() 139 &Pool::NonHostVisible(ref pool) => { in generit_allocation_with_exportable_fd() 154 entry.insert(Pool::HostVisible(pool.clone())); in generit_allocation_with_exportable_fd() 165 entry.insert(Pool::NonHostVisible(pool.clone())); in generit_allocation_with_exportable_fd() 222 enum Pool { enum
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/ |
D | SymbolStringPool.h | 46 PoolMap Pool; variable 146 assert(Pool.empty() && "Dangling references at pool destruction time"); 154 std::tie(I, Added) = Pool.try_emplace(S, 0); 160 for (auto I = Pool.begin(), E = Pool.end(); I != E;) { 163 Pool.erase(Tmp); 169 return Pool.empty();
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/ |
D | DwarfStringPool.cpp | 23 : Pool(A), Prefix(Prefix), in DwarfStringPool() 28 auto I = Pool.insert(std::make_pair(Str, EntryTy())); in getEntryImpl() 79 if (Pool.empty()) in emit() 87 Entries.reserve(Pool.size()); in emit() 89 for (const auto &E : Pool) in emit() 117 for (const auto &Entry : Pool) { in emit()
|
D | AddressPool.cpp | 22 Pool.insert(std::make_pair(Sym, AddressPoolEntry(Pool.size(), TLS))); in getIndex() 64 SmallVector<const MCExpr *, 64> Entries(Pool.size()); in emit() 66 for (const auto &I : Pool) in emit()
|
/external/clang/tools/libclang/ |
D | CXString.cpp | 130 for (std::vector<CXStringBuf *>::iterator I = Pool.begin(), E = Pool.end(); in ~CXStringPool() 137 if (Pool.empty()) in getCXStringBuf() 140 CXStringBuf *Buf = Pool.back(); in getCXStringBuf() 142 Pool.pop_back(); in getCXStringBuf() 151 TU->StringPool->Pool.push_back(this); in dispose()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceGlobalContext.cpp | 141 auto Iter = Pool.find(Key); in getOrAdd() 142 if (Iter != Pool.end()) { in getOrAdd() 147 Pool[Key] = Result; in getOrAdd() 153 Constants.reserve(Pool.size()); in getConstantPool() 154 for (auto &I : Pool) in getConstantPool() 162 size_t size() const { return Pool.size(); } in size() 174 ContainerType Pool; member in Ice::__anon65ea7d110111::TypePool 183 UndefPool() : Pool(IceType_NUM) {} in UndefPool() 186 if (Pool[Ty] == nullptr) in getOrAdd() 187 Pool[Ty] = ConstantUndef::create(Ctx, Ty); in getOrAdd() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/PBQP/ |
D | CostAllocator.h | 36 PoolEntry(ValuePool &Pool, ValueKeyT Value) in PoolEntry() argument 37 : Pool(Pool), Value(std::move(Value)) {} in PoolEntry() 39 ~PoolEntry() { Pool.removeEntry(this); } in ~PoolEntry() 44 ValuePool &Pool;
|
/external/llvm/include/llvm/CodeGen/PBQP/ |
D | CostAllocator.h | 38 PoolEntry(ValuePool &Pool, ValueKeyT Value) in PoolEntry() argument 39 : Pool(Pool), Value(std::move(Value)) {} in PoolEntry() 40 ~PoolEntry() { Pool.removeEntry(this); } in ~PoolEntry() 43 ValuePool &Pool;
|