Home
last modified time | relevance | path

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

12345678910

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DThreadPool.cpp91 ThreadPool Pool; in TEST_F() local
93 Pool.async([this, &checked_in] { in TEST_F()
100 Pool.wait(); in TEST_F()
111 ThreadPool Pool; in TEST_F() local
113 Pool.async(TestFunc, std::ref(checked_in), i); in TEST_F()
115 Pool.wait(); in TEST_F()
121 ThreadPool Pool; in TEST_F() local
123 Pool.async([this, &i] { in TEST_F()
127 Pool.async([&i] { ++i; }); in TEST_F()
130 Pool.wait(); in TEST_F()
[all …]
/external/llvm/unittests/Support/
DThreadPool.cpp93 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/
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 …]
/external/mesa3d/src/gallium/state_trackers/nine/
Dtexture9.c46 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()
157 } else if (Pool != D3DPOOL_DEFAULT) { in NineTexture9_ctor()
177 hr = NineBaseTexture9_ctor(&This->base, pParams, NULL, D3DRTYPE_TEXTURE, Format, Pool, Usage); in NineTexture9_ctor()
189 sfdesc.Pool = Pool; in NineTexture9_ctor()
[all …]
Dcubetexture9.c39 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()
109 if (Pool != D3DPOOL_DEFAULT) { in NineCubeTexture9_ctor()
124 Format, Pool, Usage); in NineCubeTexture9_ctor()
136 sfdesc.Pool = Pool; in NineCubeTexture9_ctor()
342 D3DPOOL Pool, in NineCubeTexture9_new() argument
348 Usage, Format, Pool, pSharedHandle); in NineCubeTexture9_new()
Dvolumetexture9.c36 D3DPOOL Pool, in NineVolumeTexture9_ctor() argument
49 Usage, Format, Pool, pSharedHandle); in NineVolumeTexture9_ctor()
63 Pool == D3DPOOL_SCRATCH); in NineVolumeTexture9_ctor()
108 D3DRTYPE_VOLUMETEXTURE, Format, Pool, Usage); in NineVolumeTexture9_ctor()
115 voldesc.Pool = Pool; in NineVolumeTexture9_ctor()
283 D3DPOOL Pool, in NineVolumeTexture9_new() argument
289 Usage, Format, Pool, pSharedHandle); in NineVolumeTexture9_new()
Dbuffer9.c46 D3DPOOL Pool ) in NineBuffer9_ctor() argument
51 DBG("This=%p Size=0x%x Usage=%x Pool=%u\n", This, Size, Usage, Pool); in NineBuffer9_ctor()
53 user_assert(Pool != D3DPOOL_SCRATCH, D3DERR_INVALIDCALL); in NineBuffer9_ctor()
86 if (Pool == D3DPOOL_SYSTEMMEM) in NineBuffer9_ctor()
88 else if (Pool == D3DPOOL_MANAGED) in NineBuffer9_ctor()
126 Type, Pool, Usage); in NineBuffer9_ctor()
131 if (Pool == D3DPOOL_MANAGED) { in NineBuffer9_ctor()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DAddressPool.cpp23 Pool.insert(std::make_pair(Sym, AddressPoolEntry(Pool.size(), TLS))); in getIndex()
35 + AddrSize * Pool.size(); // entries in emitHeader()
47 if (Pool.empty()) in emit()
54 SmallVector<const MCExpr *, 64> Entries(Pool.size()); in emit()
56 for (const auto &I : Pool) in emit()
DDwarfStringPool.cpp24 : Pool(A), Prefix(Prefix), in DwarfStringPool()
29 auto I = Pool.insert(std::make_pair(Str, EntryTy())); in getEntry()
32 Entry.Index = Pool.size() - 1; in getEntry()
66 if (Pool.empty()) in emit()
74 SmallVector<const StringMapEntry<EntryTy> *, 64> Entries(Pool.size()); in emit()
76 for (const auto &E : Pool) in emit()
DDwarfStringPool.h30 StringMap<EntryTy, BumpPtrAllocator &> Pool; variable
47 bool empty() const { return Pool.empty(); } in empty()
49 unsigned size() const { return Pool.size(); } in size()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfStringPool.cpp19 : 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()
DAddressPool.cpp22 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/Orc/
DSymbolStringPool.h46 PoolMap Pool; variable
118 assert(Pool.empty() && "Dangling references at pool destruction time"); in ~SymbolStringPool()
126 std::tie(I, Added) = Pool.try_emplace(S, 0); in intern()
132 for (auto I = Pool.begin(), E = Pool.end(); I != E;) { in clearDeadEntries()
135 Pool.erase(Tmp); in clearDeadEntries()
141 return Pool.empty(); in empty()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DManagedStringPool.h27 SmallVector<std::string *, 8> Pool; variable
33 SmallVectorImpl<std::string *>::iterator Current = Pool.begin(); in ~ManagedStringPool()
34 while (Current != Pool.end()) { in ~ManagedStringPool()
42 Pool.push_back(Str); in getManagedString()
/external/llvm/lib/Target/NVPTX/
DManagedStringPool.h27 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/clang/tools/libclang/
DCXString.cpp130 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/v8/tools/testrunner/local/
Dpool_unittest.py15 from testrunner.local.pool import Pool
25 pool = Pool(3)
35 pool = Pool(3)
49 pool = Pool(3)
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/PBQP/
DCostAllocator.h37 PoolEntry(ValuePool &Pool, ValueKeyT Value) in PoolEntry() argument
38 : Pool(Pool), Value(std::move(Value)) {} in PoolEntry()
40 ~PoolEntry() { Pool.removeEntry(this); } in ~PoolEntry()
45 ValuePool &Pool;
/external/llvm/include/llvm/CodeGen/PBQP/
DCostAllocator.h38 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;
/external/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::__anon0790dc650111::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/syzkaller/vm/
Dvm.go32 type Pool struct { struct
33 impl vmimpl.Pool argument
52 func Create(cfg *mgrconfig.Config, debug bool) (*Pool, error) {
68 return &Pool{
74 func (pool *Pool) Count() int { argument
78 func (pool *Pool) Create(index int) (*Instance, error) { argument
/external/toolchain-utils/bestflags/
Dsteering.py55 for task in [task for task in generation.Pool() if task not in cache]:
106 assert new_generation.Pool()
110 for new_task in new_generation.Pool():
Diterative_elimination.py112 for curr in [curr for curr in self.Pool() if curr != parent]:
135 for curr in [curr for curr in self.Pool() if curr != parent_task]:
174 parent = next(task for task in self.Pool() if task == self._parent_task)
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DStringPool.h47 StringPool *Pool; ///< So the string can remove itself. member
51 PooledString() : Pool(0), Refcount(0) { } in PooledString()
107 S->getValue().Pool->InternTable.remove(S); in clear()
/external/llvm/include/llvm/Support/
DStringPool.h46 StringPool *Pool; ///< So the string can remove itself. member
50 PooledString() : Pool(nullptr), Refcount(0) { } in PooledString()
106 S->getValue().Pool->InternTable.remove(S); in clear()

12345678910