/external/skia/tests/ |
D | TextureProxyTest.cpp | 132 int startCacheCount = cache->getResourceCount(); in basic_test() 147 REPORTER_ASSERT(reporter, startCacheCount == cache->getResourceCount()); in basic_test() 182 REPORTER_ASSERT(reporter, expectedCacheCount == cache->getResourceCount()); in basic_test() 188 REPORTER_ASSERT(reporter, expectedCacheCount == cache->getResourceCount()); in basic_test() 196 REPORTER_ASSERT(reporter, expectedCacheCount == cache->getResourceCount()); in basic_test() 202 REPORTER_ASSERT(reporter, expectedCacheCount == cache->getResourceCount()); in basic_test() 212 REPORTER_ASSERT(reporter, expectedCacheCount == cache->getResourceCount()); in basic_test() 224 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount()); in invalidation_test() 236 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount()); in invalidation_test() 241 REPORTER_ASSERT(reporter, 1 == cache->getResourceCount()); in invalidation_test() [all …]
|
D | ResourceCacheTest.cpp | 357 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in Mock() 385 REPORTER_ASSERT(reporter, 4 == cache->getResourceCount()); in test_no_key() 397 REPORTER_ASSERT(reporter, 3 == cache->getResourceCount()); in test_no_key() 403 REPORTER_ASSERT(reporter, 2 == cache->getResourceCount()); in test_no_key() 409 REPORTER_ASSERT(reporter, 1 == cache->getResourceCount()); in test_no_key() 414 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount()); in test_no_key() 455 REPORTER_ASSERT(reporter, 4 == cache->getResourceCount()); in test_purge_unlocked() 470 REPORTER_ASSERT(reporter, 4 == cache->getResourceCount()); in test_purge_unlocked() 478 REPORTER_ASSERT(reporter, 2 == cache->getResourceCount()); in test_purge_unlocked() 486 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount()); in test_purge_unlocked() [all …]
|
/external/skqp/tests/ |
D | TextureProxyTest.cpp | 132 int startCacheCount = cache->getResourceCount(); in basic_test() 147 REPORTER_ASSERT(reporter, startCacheCount == cache->getResourceCount()); in basic_test() 182 REPORTER_ASSERT(reporter, expectedCacheCount == cache->getResourceCount()); in basic_test() 188 REPORTER_ASSERT(reporter, expectedCacheCount == cache->getResourceCount()); in basic_test() 196 REPORTER_ASSERT(reporter, expectedCacheCount == cache->getResourceCount()); in basic_test() 202 REPORTER_ASSERT(reporter, expectedCacheCount == cache->getResourceCount()); in basic_test() 212 REPORTER_ASSERT(reporter, expectedCacheCount == cache->getResourceCount()); in basic_test() 224 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount()); in invalidation_test() 236 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount()); in invalidation_test() 241 REPORTER_ASSERT(reporter, 1 == cache->getResourceCount()); in invalidation_test() [all …]
|
D | ResourceCacheTest.cpp | 357 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in Mock() 385 REPORTER_ASSERT(reporter, 4 == cache->getResourceCount()); in test_no_key() 397 REPORTER_ASSERT(reporter, 3 == cache->getResourceCount()); in test_no_key() 403 REPORTER_ASSERT(reporter, 2 == cache->getResourceCount()); in test_no_key() 409 REPORTER_ASSERT(reporter, 1 == cache->getResourceCount()); in test_no_key() 414 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount()); in test_no_key() 455 REPORTER_ASSERT(reporter, 4 == cache->getResourceCount()); in test_purge_unlocked() 470 REPORTER_ASSERT(reporter, 4 == cache->getResourceCount()); in test_purge_unlocked() 478 REPORTER_ASSERT(reporter, 2 == cache->getResourceCount()); in test_purge_unlocked() 486 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount()); in test_purge_unlocked() [all …]
|
/external/skia/bench/ |
D | GrResourceCacheBench.cpp | 83 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in onDraw() 89 SkASSERT(CACHE_SIZE_COUNT == cache->getResourceCount()); in onDraw() 129 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in onDelayedSetup() 141 SkASSERT(CACHE_SIZE_COUNT == cache->getResourceCount()); in onDraw()
|
/external/skqp/bench/ |
D | GrResourceCacheBench.cpp | 83 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in onDraw() 89 SkASSERT(CACHE_SIZE_COUNT == cache->getResourceCount()); in onDraw() 129 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in onDelayedSetup() 141 SkASSERT(CACHE_SIZE_COUNT == cache->getResourceCount()); in onDraw()
|
/external/skia/src/gpu/ |
D | GrResourceCache.cpp | 163 fHighWaterCount = SkTMax(this->getResourceCount(), fHighWaterCount); in insertResource() 239 SkASSERT(!this->getResourceCount()); in abandonAll() 276 SkASSERT(!this->getResourceCount()); in releaseAll() 486 SkDEBUGCODE(int beforeCount = this->getResourceCount();) in notifyCntReachedZero() 489 SkASSERT(this->getResourceCount() < beforeCount); in notifyCntReachedZero() 694 int count = this->getResourceCount(); in getNextTimestamp() 743 SkASSERT(count == this->getResourceCount()); in getNextTimestamp() 765 stats->fTotal = this->getResourceCount(); in getStats() 910 SkASSERT(fCount == this->getResourceCount()); in validate()
|
D | GrTexture.cpp | 61 int preCount = cache->getResourceCount(); in StealBackendTexture() 73 int postCount = cache->getResourceCount(); in StealBackendTexture()
|
D | GrResourceCache.h | 80 int getResourceCount() const { in getResourceCount() function
|
/external/skqp/src/gpu/ |
D | GrResourceCache.cpp | 125 fHighWaterCount = SkTMax(this->getResourceCount(), fHighWaterCount); in insertResource() 202 SkASSERT(!this->getResourceCount()); in abandonAll() 242 SkASSERT(!this->getResourceCount()); in releaseAll() 452 SkDEBUGCODE(int beforeCount = this->getResourceCount();) in notifyCntReachedZero() 455 SkASSERT(this->getResourceCount() < beforeCount); in notifyCntReachedZero() 653 int count = this->getResourceCount(); in getNextTimestamp() 702 SkASSERT(count == this->getResourceCount()); in getNextTimestamp() 819 SkASSERT(fCount == this->getResourceCount()); in validate()
|
D | GrTexture.cpp | 61 int preCount = cache->getResourceCount(); in StealBackendTexture() 73 int postCount = cache->getResourceCount(); in StealBackendTexture()
|
D | GrResourceCache.h | 79 int getResourceCount() const { in getResourceCount() function
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineScheduler.h | 692 unsigned getResourceCount(unsigned ResIdx) const { in getResourceCount() function 701 return getResourceCount(ZoneCritResIdx); in getCriticalCount()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | MachineScheduler.h | 723 unsigned getResourceCount(unsigned ResIdx) const { in getResourceCount() function 732 return getResourceCount(ZoneCritResIdx); in getCriticalCount()
|
/external/skqp/tools/gpu/ |
D | GrTest.cpp | 142 stats->fTotal = this->getResourceCount(); in getStats()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | MachineScheduler.cpp | 2013 unsigned OtherCount = getResourceCount(PIdx) + Rem->RemainingCounts[PIdx]; in getOtherResourceCount() 2118 if (ZoneCritResIdx != PIdx && (getResourceCount(PIdx) > getCriticalCount())) { in countResource() 2122 << getResourceCount(PIdx) / SchedModel->getLatencyFactor() in countResource() 2191 if ((int)(ScaledMOps - getResourceCount(ZoneCritResIdx)) in bumpNode() 2361 ResCount = getResourceCount(ZoneCritResIdx); in dumpScheduledState()
|
/external/llvm/lib/CodeGen/ |
D | MachineScheduler.cpp | 1928 unsigned OtherCount = getResourceCount(PIdx) + Rem->RemainingCounts[PIdx]; in getOtherResourceCount() 2048 if (ZoneCritResIdx != PIdx && (getResourceCount(PIdx) > getCriticalCount())) { in countResource() 2052 << getResourceCount(PIdx) / SchedModel->getLatencyFactor() << "c\n"); in countResource() 2120 if ((int)(ScaledMOps - getResourceCount(ZoneCritResIdx)) in bumpNode() 2278 ResCount = getResourceCount(ZoneCritResIdx); in dumpScheduledState()
|