/third_party/skia/src/sksl/ |
H A D | SkSLPool.cpp | 26 Pool::~Pool() { in ~Pool() 35 VLOG("DELETE Pool:0x%016llX\n", (uint64_t)fMemPool.get()); in ~Pool() 38 std::unique_ptr<Pool> Pool::Create() { in Create() 39 auto pool = std::unique_ptr<Pool>(new Pool); in Create() 41 VLOG("CREATE Pool:0x%016llX\n", (uint64_t)pool->fMemPool.get()); in Create() 45 bool Pool::IsAttached() { in IsAttached() 49 void Pool [all...] |
H A D | SkSLPool.h | 24 class SK_API Pool { class 26 ~Pool(); 32 static std::unique_ptr<Pool> Create(); 53 Pool() = default; // use Create to make a pool 64 return Pool::AllocMemory(size); in operator new() 68 Pool::FreeMemory(ptr); in operator delete() 77 AutoAttachPoolToThread(Pool* p) : fPool(p) { in AutoAttachPoolToThread() 89 Pool* fPool = nullptr;
|
H A D | SkSLContext.cpp | 17 SkASSERT(!Pool::IsAttached()); in Context() 21 SkASSERT(!Pool::IsAttached()); in ~Context()
|
/third_party/gn/src/gn/ |
H A D | pool.h | 16 class Pool : public Item { class 19 ~Pool() override; 22 Pool* AsPool() override; 23 const Pool* AsPool() const override; 37 Pool(const Pool&) = delete; 38 Pool& operator=(const Pool&) = delete;
|
H A D | pool.cc | 11 Pool::~Pool() = default; 13 Pool* Pool::AsPool() { in AsPool() 17 const Pool* Pool::AsPool() const { in AsPool() 21 std::string Pool::GetNinjaName(const Label& default_toolchain) const { in GetNinjaName() 27 std::string Pool::GetNinjaName(bool include_toolchain) const { in GetNinjaName()
|
H A D | item.h | 18 class Pool; 51 virtual Pool* AsPool(); 52 virtual const Pool* AsPool() const;
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/ |
H A D | pool.h | 30 // Call the Pool items constructor on borrow(), and destruct the item 34 // Construct and destruct all items once for the lifetime of the Pool. 40 // Pool<T> 43 // Pool is the abstract base class for BoundedPool<> and UnboundedPool<>. 45 class Pool { class 74 Pool() = default; 101 // Loan<T> is an alias to Pool<T>::Loan. 103 using Loan = typename Pool<T>::Loan; 106 // Pool<T>::Item 109 T* Pool< [all...] |
/third_party/ninja/src/ |
H A D | state.cc | 26 void Pool::EdgeScheduled(const Edge& edge) { in EdgeScheduled() 31 void Pool::EdgeFinished(const Edge& edge) { in EdgeFinished() 36 void Pool::DelayEdge(Edge* edge) { in DelayEdge() 41 void Pool::RetrieveReadyEdges(EdgeSet* ready_queue) { in RetrieveReadyEdges() 54 void Pool::Dump() const { in Dump() 64 Pool State::kDefaultPool("", 0); 65 Pool State::kConsolePool("console", 1); 74 void State::AddPool(Pool* pool) { in AddPool() 79 Pool* State::LookupPool(const string& pool_name) { in LookupPool() 80 map<string, Pool*> in LookupPool() [all...] |
H A D | state.h | 33 /// Pools are scoped to a State. Edges within a State will share Pools. A Pool 36 /// exceed the depth of the Pool, the Pool will enqueue the Edge instead of 37 /// allowing the Plan to schedule it. The Pool will relinquish queued Edges when 40 struct Pool { struct 41 Pool(const std::string& name, int depth) in Pool() function 50 /// true if the Pool might delay this edge 53 /// informs this Pool that the given edge is committed to be run. 54 /// Pool will count this edge as using resources from this pool. 57 /// informs this Pool tha [all...] |
/third_party/rust/crates/regex/src/ |
H A D | pool.rs | 20 // fast because a Box<T> is much smaller than the T we use with a Pool in this 97 /// A Pool<T> impls Sync when T is Send (even if it's not Sync). This means 103 pub struct Pool<T> { structure names 104 /// A stack of T values to hand out. These are used when a Pool is 120 /// the Pool. 124 // SAFETY: Since we want to use a Pool from multiple threads simultaneously 125 // behind an Arc, we need for it to be Sync. In cases where T is sync, Pool<T> 126 // would be Sync. However, since we use a Pool to store mutable scratch space, 128 // Sync. So what we *really* want is for our Pool<T> to by Sync even when T is 131 // The only non-sync aspect of a Pool i 179 impl<T: Send> Pool<T> { fmt() impls [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/ |
H A D | SymbolStringPool.h | 46 PoolMap Pool; member in llvm::orc::SymbolStringPool 146 assert(Pool.empty() && "Dangling references at pool destruction time"); in ~SymbolStringPool() 154 std::tie(I, Added) = Pool.try_emplace(S, 0); in intern() 160 for (auto I = Pool.begin(), E = Pool.end(); I != E;) { in clearDeadEntries() 163 Pool.erase(Tmp); in clearDeadEntries() 169 return Pool.empty(); in empty()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
H A D | ManagedStringPool.h | 1 //===-- ManagedStringPool.h - Managed String Pool ---------------*- C++ -*-===// 26 SmallVector<std::string *, 8> Pool; member in llvm::ManagedStringPool 32 SmallVectorImpl<std::string *>::iterator Current = Pool.begin(); in ~ManagedStringPool() 33 while (Current != Pool.end()) { in ~ManagedStringPool() 41 Pool.push_back(Str); in getManagedString()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/ |
H A 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()
|
H A 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()
|
H A D | DwarfStringPool.h | 29 StringMap<EntryTy, BumpPtrAllocator &> Pool; 49 bool empty() const { return Pool.empty(); } in empty() 51 unsigned size() const { return Pool.size(); } in size()
|
/third_party/mesa3d/src/gallium/frontends/nine/ |
H A D | texture9.c | 47 D3DPOOL Pool, in NineTexture9_ctor() 61 DBG("(%p) Width=%u Height=%u Levels=%u Usage=%s Format=%s Pool=%s " in NineTexture9_ctor() 64 d3dformat_to_string(Format), nine_D3DPOOL_to_str(Pool), pSharedHandle); in NineTexture9_ctor() 74 (Pool == D3DPOOL_SYSTEMMEM && Levels == 1) || in NineTexture9_ctor() 75 Pool == D3DPOOL_DEFAULT, D3DERR_INVALIDCALL); in NineTexture9_ctor() 78 (Pool != D3DPOOL_SYSTEMMEM && Pool != D3DPOOL_SCRATCH && Levels <= 1), in NineTexture9_ctor() 96 if (pSharedHandle && Pool == D3DPOOL_DEFAULT) { in NineTexture9_ctor() 113 Pool == D3DPOOL_SCRATCH); in NineTexture9_ctor() 155 hr = NineBaseTexture9_ctor(&This->base, pParams, NULL, D3DRTYPE_TEXTURE, Format, Pool, Usag in NineTexture9_ctor() 42 NineTexture9_ctor( struct NineTexture9 *This, struct NineUnknownParams *pParams, UINT Width, UINT Height, UINT Levels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, HANDLE *pSharedHandle ) NineTexture9_ctor() argument 381 NineTexture9_new( struct NineDevice9 *pDevice, UINT Width, UINT Height, UINT Levels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, struct NineTexture9 **ppOut, HANDLE *pSharedHandle ) NineTexture9_new() argument [all...] |
H A D | volumetexture9.c | 36 D3DPOOL Pool, in NineVolumeTexture9_ctor() 47 "Usage=%d Format=%d Pool=%d pSharedHandle=%p\n", in NineVolumeTexture9_ctor() 49 Usage, Format, Pool, pSharedHandle); in NineVolumeTexture9_ctor() 53 /* user_assert(!pSharedHandle || Pool == D3DPOOL_DEFAULT, D3DERR_INVALIDCALL); */ in NineVolumeTexture9_ctor() 63 Pool == D3DPOOL_SCRATCH); in NineVolumeTexture9_ctor() 106 D3DRTYPE_VOLUMETEXTURE, Format, Pool, Usage); in NineVolumeTexture9_ctor() 117 voldesc.Pool = Pool; in NineVolumeTexture9_ctor() 286 D3DPOOL Pool, in NineVolumeTexture9_new() 292 Usage, Format, Pool, pSharedHandl in NineVolumeTexture9_new() 31 NineVolumeTexture9_ctor( struct NineVolumeTexture9 *This, struct NineUnknownParams *pParams, UINT Width, UINT Height, UINT Depth, UINT Levels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, HANDLE *pSharedHandle ) NineVolumeTexture9_ctor() argument 282 NineVolumeTexture9_new( struct NineDevice9 *pDevice, UINT Width, UINT Height, UINT Depth, UINT Levels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, struct NineVolumeTexture9 **ppOut, HANDLE *pSharedHandle ) NineVolumeTexture9_new() argument [all...] |
H A D | cubetexture9.c | 40 D3DPOOL Pool, in NineCubeTexture9_ctor() 53 "Format=%d Pool=%d pSharedHandle=%p\n", in NineCubeTexture9_ctor() 55 Format, Pool, pSharedHandle); in NineCubeTexture9_ctor() 61 /* user_assert(!pSharedHandle || Pool == D3DPOOL_DEFAULT, D3DERR_INVALIDCALL); */ in NineCubeTexture9_ctor() 65 (Pool != D3DPOOL_SYSTEMMEM && Levels <= 1), D3DERR_INVALIDCALL); in NineCubeTexture9_ctor() 72 Pool == D3DPOOL_SCRATCH); in NineCubeTexture9_ctor() 114 Format, Pool, Usage); in NineCubeTexture9_ctor() 119 if (Pool != D3DPOOL_DEFAULT) { in NineCubeTexture9_ctor() 140 sfdesc.Pool = Pool; in NineCubeTexture9_ctor() 35 NineCubeTexture9_ctor( struct NineCubeTexture9 *This, struct NineUnknownParams *pParams, UINT EdgeLength, UINT Levels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, HANDLE *pSharedHandle ) NineCubeTexture9_ctor() argument 342 NineCubeTexture9_new( struct NineDevice9 *pDevice, UINT EdgeLength, UINT Levels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, struct NineCubeTexture9 **ppOut, HANDLE *pSharedHandle ) NineCubeTexture9_new() argument [all...] |
H A D | volume9.c | 70 (pDesc->Pool != D3DPOOL_MANAGED), D3DERR_INVALIDCALL); in NineVolume9_ctor() 72 assert(pResource || pDesc->Pool != D3DPOOL_DEFAULT); in NineVolume9_ctor() 104 pDesc->Pool == D3DPOOL_SCRATCH); in NineVolume9_ctor() 124 pDesc->Pool == D3DPOOL_DEFAULT && pDesc->Usage & D3DUSAGE_DYNAMIC)) { in NineVolume9_ctor() 203 if (This->desc.Pool == D3DPOOL_MANAGED) in NineVolume9_MarkContainerDirty() 275 user_assert(This->desc.Pool != D3DPOOL_DEFAULT || in NineVolume9_LockBox() 435 assert(This->desc.Pool == D3DPOOL_DEFAULT && in NineVolume9_CopyMemToDefault() 436 From->desc.Pool == D3DPOOL_SYSTEMMEM); in NineVolume9_CopyMemToDefault() 498 assert(This->desc.Pool == D3DPOOL_MANAGED); in NineVolume9_UploadSelf()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/PBQP/ |
H A 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; member in llvm::PBQP::ValuePool::PoolEntry
|
/third_party/node/deps/v8/tools/testrunner/local/ |
H A D | pool_test.py | 15 from testrunner.local.pool import Pool namespace 28 pool = Pool(3) 38 pool = Pool(3) 52 pool = Pool(3)
|
/third_party/skia/third_party/externals/d3d12allocator/src/ |
H A D | D3D12MemAlloc.h | 364 - For custom heaps use D3D12MA::Pool::SetMinBytes.
699 class Pool;
786 Pool* CustomPool;
951 /// \brief Parameters of created D3D12MA::Pool object. To be used with D3D12MA::Allocator::CreatePool.
1000 class Pool
class 1050 Pool(Allocator* allocator, const POOL_DESC &desc);
1051 ~Pool();
1053 D3D12MA_CLASS_NO_COPY(Pool)
1303 Pool** ppPool);
1354 friend class Pool;
[all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
H A 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; 183 UndefPool() : Pool(IceType_NUM) {} in UndefPool() 186 if (Pool[Ty] == nullptr) in getOrAdd() 187 Pool[T in getOrAdd() 192 std::vector<ConstantUndef *> Pool; global() member in Ice::__anon25482::UndefPool 273 auto Pool = Ctx->getConstPool(); dump() local [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Device/ |
H A D | Renderer.hpp | 123 using Pool = marl::BoundedPool<BatchData, MaxBatchCount, marl::PoolPolicy::Preserve>; 135 using Pool = marl::BoundedPool<DrawCall, MaxDrawCount, marl::PoolPolicy::Preserve>; 150 BatchData::Pool *batchDataPool; 222 DrawCall::Pool drawCallPool; 223 DrawCall::BatchData::Pool batchDataPool;
|
/third_party/nghttp2/src/ |
H A D | memchunk.h | 74 template <typename T> struct Pool { struct 75 Pool() : pool(nullptr), freelist(nullptr), poolsize(0), freelistsize(0) {} in Pool() function 76 ~Pool() { clear(); } in ~Pool() 115 Memchunks(Pool<Memchunk> *pool) in Memchunks() 418 Pool<Memchunk> *pool; 428 PeekMemchunks(Pool<Memchunk> *pool) in PeekMemchunks() 547 using MemchunkPool = Pool<Memchunk16K>; 569 MemchunkBuffer(Pool<Memchunk> *pool) : pool(pool), chunk(nullptr) {} in MemchunkBuffer() 656 Pool<Memchunk> *pool;
|