Home
last modified time | relevance | path

Searched refs:Pool (Results 1 – 25 of 144) sorted by relevance

123456

/third_party/grpc/src/ruby/spec/generic/
Drpc_server_pool_spec.rb20 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 …]
/third_party/skia/src/sksl/
DSkSLPool.cpp26 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()
DSkSLPool.h24 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;
DSkSLContext.cpp17 SkASSERT(!Pool::IsAttached()); in Context()
21 SkASSERT(!Pool::IsAttached()); in ~Context()
/third_party/gn/src/gn/
Dpool.cc11 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()
Dpool.h17 class Pool : public Item {
20 ~Pool() override;
23 Pool* AsPool() override;
24 const Pool* AsPool() const override;
38 DISALLOW_COPY_AND_ASSIGN(Pool);
Daction_values.h16 class Pool; variable
56 const LabelPtrPair<Pool>& pool() const { return pool_; } in pool()
57 void set_pool(LabelPtrPair<Pool> pool) { pool_ = std::move(pool); } in set_pool()
65 LabelPtrPair<Pool> pool_;
Ditem.h17 class Pool; variable
47 virtual Pool* AsPool();
48 virtual const Pool* AsPool() const;
Dninja_build_writer_unittest.cc94 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()
Dtool.h20 class Pool; variable
196 const LabelPtrPair<Pool>& pool() const { return pool_; } in pool()
197 void set_pool(LabelPtrPair<Pool> pool) { pool_ = std::move(pool); } in set_pool()
248 LabelPtrPair<Pool>* field,
272 LabelPtrPair<Pool> pool_;
Ditem.cc26 Pool* Item::AsPool() { in AsPool()
29 const Pool* Item::AsPool() const { in AsPool()
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/
Dpool.h45 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/ninja/src/
Dstate.h40 struct Pool { struct
41 Pool(const string& name, int depth) in Pool() argument
86 static Pool kDefaultPool; argument
87 static Pool kConsolePool;
92 void AddPool(Pool* pool);
93 Pool* LookupPool(const string& pool_name);
122 map<string, Pool*> pools_;
Dstate.cc26 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(set<Edge*>* ready_queue) { in RetrieveReadyEdges()
54 void Pool::Dump() const { in Dump()
65 bool Pool::WeightedEdgeCmp(const Edge* a, const Edge* b) { in WeightedEdgeCmp()
72 Pool State::kDefaultPool("", 0);
73 Pool State::kConsolePool("console", 1);
82 void State::AddPool(Pool* pool) { in AddPool()
87 Pool* State::LookupPool(const string& pool_name) { in LookupPool()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DManagedStringPool.h26 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/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DSymbolStringPool.h46 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/
DDwarfStringPool.cpp23 : 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()
DAddressPool.cpp22 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()
DDwarfStringPool.h29 StringMap<EntryTy, BumpPtrAllocator &> Pool; variable
49 bool empty() const { return Pool.empty(); } in empty()
51 unsigned size() const { return Pool.size(); } in size()
DAddressPool.h30 DenseMap<const MCSymbol *, AddressPoolEntry> Pool; variable
47 bool isEmpty() { return Pool.empty(); } in isEmpty()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/PBQP/
DCostAllocator.h36 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/third_party/subzero/src/
DIceGlobalContext.cpp141 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::__anon728e76b00111::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/
DD3D12MemAlloc.h699 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/src/Device/
DRenderer.hpp123 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;
/third_party/nghttp2/src/
Dmemchunk.h74 template <typename T> struct Pool { struct
75 Pool() : pool(nullptr), freelist(nullptr), poolsize(0), freelistsize(0) {} in Pool() argument
76 ~Pool() { clear(); } in ~Pool() argument
115 Memchunks(Pool<Memchunk> *pool) in Memchunks() argument
331 Pool<Memchunk> *pool;
338 PeekMemchunks(Pool<Memchunk> *pool) in PeekMemchunks()
457 using MemchunkPool = Pool<Memchunk16K>;
479 MemchunkBuffer(Pool<Memchunk> *pool) : pool(pool), chunk(nullptr) {} in MemchunkBuffer()
566 Pool<Memchunk> *pool;

123456