/third_party/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;
|
/third_party/skia/third_party/externals/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 …]
|
/third_party/gn/src/gn/ |
D | pool.h | 16 class Pool : public Item { 19 ~Pool() override; 22 Pool* AsPool() override; 23 const Pool* AsPool() const override; 37 Pool(const Pool&) = delete; 38 Pool& operator=(const Pool&) = delete;
|
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()
|
D | action_values.h | 15 class Pool; variable 55 const LabelPtrPair<Pool>& pool() const { return pool_; } in pool() 56 void set_pool(LabelPtrPair<Pool> pool) { pool_ = std::move(pool); } in set_pool() 64 LabelPtrPair<Pool> pool_;
|
D | ninja_build_writer_unittest.cc | 94 Pool other_regular_pool( in TEST_F() 100 ->set_pool(LabelPtrPair<Pool>(&other_regular_pool)); in TEST_F() 104 Pool another_regular_pool( in TEST_F() 117 LabelPtrPair<Pool>(&another_regular_pool)); in TEST_F() 121 Pool console_pool(setup.settings(), Label(SourceDir("//"), "console", in TEST_F() 126 ->set_pool(LabelPtrPair<Pool>(&console_pool)); in TEST_F()
|
D | item.h | 17 class Pool; variable 50 virtual Pool* AsPool(); 51 virtual const Pool* AsPool() const;
|
D | tool.h | 19 class Pool; variable 216 const LabelPtrPair<Pool>& pool() const { return pool_; } in pool() 217 void set_pool(LabelPtrPair<Pool> pool) { pool_ = std::move(pool); } in set_pool() 269 LabelPtrPair<Pool>* field, 296 LabelPtrPair<Pool> pool_;
|
/third_party/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()
|
/third_party/ninja/src/ |
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*>::iterator i = pools_.find(pool_name); in LookupPool() [all …]
|
D | state.h | 40 struct Pool { struct 41 Pool(const std::string& name, int depth) in Pool() argument 93 static Pool kDefaultPool; argument 94 static Pool kConsolePool; 99 void AddPool(Pool* pool); 100 Pool* LookupPool(const std::string& pool_name); 130 std::map<std::string, Pool*> pools_;
|
/third_party/mesa3d/src/gallium/frontends/nine/ |
D | texture9.c | 47 D3DPOOL Pool, in NineTexture9_ctor() argument 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, Usage); in NineTexture9_ctor() 166 } else if (Pool != D3DPOOL_DEFAULT) { in NineTexture9_ctor() 188 sfdesc.Pool = Pool; in NineTexture9_ctor() [all …]
|
D | cubetexture9.c | 40 D3DPOOL Pool, in NineCubeTexture9_ctor() argument 55 Format, Pool, pSharedHandle); 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() 346 D3DPOOL Pool, in NineCubeTexture9_new() argument 352 Usage, Format, Pool, pSharedHandle); in NineCubeTexture9_new()
|
D | volumetexture9.c | 36 D3DPOOL Pool, in NineVolumeTexture9_ctor() argument 49 Usage, Format, Pool, pSharedHandle); 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() argument 292 Usage, Format, Pool, pSharedHandle); in NineVolumeTexture9_new()
|
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/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();
|
/third_party/skia/third_party/externals/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()
|
D | DwarfStringPool.h | 29 StringMap<EntryTy, BumpPtrAllocator &> Pool; variable 49 bool empty() const { return Pool.empty(); } in empty() 51 unsigned size() const { return Pool.size(); } in size()
|
/third_party/skia/third_party/externals/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()
|
/third_party/skia/third_party/externals/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::__anonee155cea0111::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 …]
|
/third_party/skia/third_party/externals/d3d12allocator/src/ |
D | D3D12MemAlloc.h | 699 class Pool; variable 786 Pool* CustomPool; 1000 class Pool 1050 Pool(Allocator* allocator, const POOL_DESC &desc); 1051 ~Pool(); 1053 D3D12MA_CLASS_NO_COPY(Pool) 1303 Pool** ppPool); 1354 friend class Pool; variable
|
/third_party/skia/third_party/externals/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;
|
/third_party/skia/third_party/externals/swiftshader/src/Device/ |
D | Renderer.hpp | 123 using Pool = marl::BoundedPool<BatchData, MaxBatchCount, marl::PoolPolicy::Preserve>; typedef 135 using Pool = marl::BoundedPool<DrawCall, MaxDrawCount, marl::PoolPolicy::Preserve>; typedef 150 BatchData::Pool *batchDataPool; 222 DrawCall::Pool drawCallPool; 223 DrawCall::BatchData::Pool batchDataPool;
|