Home
last modified time | relevance | path

Searched refs:fPool (Results 1 – 24 of 24) sorted by relevance

/external/skia/tools/
DAutoreleasePool.mm14 fPool = (void*)[[NSAutoreleasePool alloc] init];
18 [(NSAutoreleasePool*)fPool release];
19 fPool = nullptr;
23 [(NSAutoreleasePool*)fPool drain];
24 fPool = (void*)[[NSAutoreleasePool alloc] init];
DAutoreleasePool.h24 void* fPool;
/external/skqp/src/gpu/vk/
DGrVkDescriptorSetManager.cpp89 ds = new GrVkDescriptorSet(vkDS, fPoolManager.fPool, handle); in getDescriptorSet()
196 , fPool(nullptr) { in DescriptorPoolManager()
275 if (fPool) { in getNewPool()
276 fPool->unref(gpu); in getNewPool()
285 fPool = gpu->resourceProvider().findOrCreateCompatibleDescriptorPool(fDescType, in getNewPool()
287 SkASSERT(fPool); in getNewPool()
305 dsAllocateInfo.descriptorPool = fPool->descPool(); in getNewDescriptorSet()
320 if (fPool) { in freeGPUResources()
321 fPool->unref(gpu); in freeGPUResources()
322 fPool = nullptr; in freeGPUResources()
[all …]
DGrVkDescriptorSet.cpp18 , fPool(pool) in GrVkDescriptorSet()
20 fPool->ref(); in GrVkDescriptorSet()
24 fPool->unref(gpu); in freeGPUData()
32 fPool->unrefAndAbandon(); in abandonGPUData()
DGrVkDescriptorSetManager.h60 SkASSERT(!fPool); in ~DescriptorPoolManager()
73 GrVkDescriptorPool* fPool; member
DGrVkDescriptorSet.h40 SkDEBUGCODE(mutable) GrVkDescriptorPool* fPool;
/external/skia/src/gpu/vk/
DGrVkDescriptorSetManager.cpp245 ds = new GrVkDescriptorSet(gpu, vkDS, fPoolManager.fPool, handle); in getDescriptorSet()
313 , fPool(nullptr) { in DescriptorPoolManager()
317 if (fPool) { in getNewPool()
318 fPool->unref(); in getNewPool()
327 fPool = gpu->resourceProvider().findOrCreateCompatibleDescriptorPool(fDescType, in getNewPool()
329 return SkToBool(fPool); in getNewPool()
338 if (!fPool || fCurrentDescriptorCount > fMaxDescriptors) { in getNewDescriptorSet()
349 dsAllocateInfo.descriptorPool = fPool->descPool(); in getNewDescriptorSet()
366 if (fPool) { in freeGPUResources()
367 fPool->unref(); in freeGPUResources()
[all …]
DGrVkDescriptorSet.cpp20 , fPool(pool) in GrVkDescriptorSet()
22 fPool->ref(); in GrVkDescriptorSet()
26 fPool->unref(); in freeGPUData()
DGrVkDescriptorSetManager.h59 SkASSERT(!fPool); in ~DescriptorPoolManager()
71 GrVkDescriptorPool* fPool; member
DGrVkDescriptorSet.h40 SkDEBUGCODE(mutable) GrVkDescriptorPool* fPool;
/external/icu/icu4c/source/common/
Dcmemory.h711 MemoryPool() : fCount(0), fPool() {} in MemoryPool()
715 delete fPool[i]; in ~MemoryPool() local
723 fPool(std::move(other.fPool)) { in MemoryPool()
735 std::swap(fPool, other.fPool);
748 int32_t capacity = fPool.getCapacity(); in create()
750 fPool.resize(capacity == stackCapacity ? 4 * capacity : 2 * capacity, in create()
754 return fPool[fCount++] = new T(std::forward<Args>(args)...); in create()
778 MaybeStackArray<T*, stackCapacity> fPool; variable
819 return this->fPool.getAlias(); in getAlias()
823 return this->fPool.getAlias(); in getAlias()
[all …]
Duresimp.h52 UResourceDataEntry *fPool; member
Duresbund.cpp160 if(entry->fPool != NULL) { in free_entry()
161 --entry->fPool->fCountExisting; in free_entry()
245 (void*)resB->fPool, in ures_dumpCacheContents()
378 r->fPool = getPoolEntry(r->fPath, status); in init_entry()
380 const int32_t *poolIndexes = r->fPool->fData.pRoot + 1; in init_entry()
383 r->fData.poolBundleStrings = r->fPool->fData.p16BitUnits; in init_entry()
/external/icu/libicu/cts_headers/
Dcmemory.h711 MemoryPool() : fCount(0), fPool() {} in MemoryPool()
715 delete fPool[i]; in ~MemoryPool() local
723 fPool(std::move(other.fPool)) { in MemoryPool()
735 std::swap(fPool, other.fPool);
748 int32_t capacity = fPool.getCapacity(); in create()
750 fPool.resize(capacity == stackCapacity ? 4 * capacity : 2 * capacity, in create()
754 return fPool[fCount++] = new T(std::forward<Args>(args)...); in create()
778 MaybeStackArray<T*, stackCapacity> fPool; variable
819 return this->fPool.getAlias(); in getAlias()
823 return this->fPool.getAlias(); in getAlias()
[all …]
Duresimp.h52 UResourceDataEntry *fPool; member
/external/skqp/src/lazy/
DSkDiscardableMemoryPool.cpp89 sk_sp<DiscardableMemoryPool> fPool; member in __anon84d28adc0111::PoolDiscardableMemory
98 : fPool(std::move(pool)), fLocked(true), fPointer(std::move(pointer)), fBytes(bytes) { in PoolDiscardableMemory()
99 SkASSERT(fPool != nullptr); in PoolDiscardableMemory()
106 fPool->removeFromPool(this); in ~PoolDiscardableMemory()
111 return fPool->lock(this); in lock()
121 fPool->unlock(this); in unlock()
/external/skia/src/lazy/
DSkDiscardableMemoryPool.cpp88 sk_sp<DiscardableMemoryPool> fPool; member in __anon05bb27650111::PoolDiscardableMemory
97 : fPool(std::move(pool)), fLocked(true), fPointer(std::move(pointer)), fBytes(bytes) { in PoolDiscardableMemory()
98 SkASSERT(fPool != nullptr); in PoolDiscardableMemory()
105 fPool->removeFromPool(this); in ~PoolDiscardableMemory()
110 return fPool->lock(this); in lock()
120 fPool->unlock(this); in unlock()
/external/skia/src/sksl/ir/
DSkSLProgram.h100 , fPool(std::move(pool)) in Program()
112 if (fPool) { in ~Program()
113 fPool->attachToThread(); in ~Program()
119 if (fPool) { in ~Program()
120 fPool->detachFromThread(); in ~Program()
210 std::unique_ptr<Pool> fPool; member
/external/icu/icu4c/source/test/intltest/
Dsimplethread.cpp39 ThreadPoolThread(ThreadPoolBase *pool, int32_t threadNum) : fPool(pool), fNum(threadNum) {} in ThreadPoolThread()
40 virtual void run() {fPool->callFn(fNum); } in run()
41 ThreadPoolBase *fPool; member in ThreadPoolThread
/external/skia/src/sksl/dsl/priv/
DDSLWriter.cpp52 fPool = Pool::Create(); in DSLWriter()
53 fPool->attachToThread(); in DSLWriter()
70 if (fPool) { in ~DSLWriter()
71 fPool->detachFromThread(); in ~DSLWriter()
271 Pool* pool = Instance().fPool.get(); in ReleaseProgram()
279 std::move(instance.fPool), in ReleaseProgram()
DDSLWriter.h225 std::unique_ptr<Pool> fPool; variable
/external/skqp/tests/
DGrMemoryPoolTest.cpp233 AutoPoolReleaser(GrMemoryPool& pool): fPool(pool) { in AutoPoolReleaser()
237 fPool.release(ptr); in ~AutoPoolReleaser()
244 GrMemoryPool& fPool; member in AutoPoolReleaser
/external/skia/tests/
DGrMemoryPoolTest.cpp236 AutoPoolReleaser(GrMemoryPool& pool): fPool(pool) { in AutoPoolReleaser()
240 fPool.release(ptr); in ~AutoPoolReleaser()
247 GrMemoryPool& fPool; member in AutoPoolReleaser
/external/skia/src/sksl/
DSkSLCompiler.cpp506 if (program->fPool) { in convertProgram()
507 program->fPool->detachFromThread(); in convertProgram()