Home
last modified time | relevance | path

Searched refs:getResourceCount (Results 1 – 7 of 7) sorted by relevance

/external/skia/tests/
DResourceCacheTest.cpp342 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in Mock()
369 REPORTER_ASSERT(reporter, 4 == cache->getResourceCount()); in test_no_key()
381 REPORTER_ASSERT(reporter, 3 == cache->getResourceCount()); in test_no_key()
387 REPORTER_ASSERT(reporter, 2 == cache->getResourceCount()); in test_no_key()
393 REPORTER_ASSERT(reporter, 1 == cache->getResourceCount()); in test_no_key()
398 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount()); in test_no_key()
437 REPORTER_ASSERT(reporter, 4 == cache->getResourceCount()); in test_budgeting()
447 REPORTER_ASSERT(reporter, 4 == cache->getResourceCount()); in test_budgeting()
457 REPORTER_ASSERT(reporter, 3 == cache->getResourceCount()); in test_budgeting()
466 REPORTER_ASSERT(reporter, 3 == cache->getResourceCount()); in test_budgeting()
[all …]
/external/skia/bench/
DGrResourceCacheBench.cpp84 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in onDraw()
90 SkASSERT(CACHE_SIZE_COUNT == cache->getResourceCount()); in onDraw()
130 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in onDelayedSetup()
142 SkASSERT(CACHE_SIZE_COUNT == cache->getResourceCount()); in onDraw()
/external/skia/src/gpu/
DGrResourceCache.cpp136 fHighWaterCount = SkTMax(this->getResourceCount(), fHighWaterCount); in insertResource()
204 SkASSERT(!this->getResourceCount()); in abandonAll()
228 SkASSERT(!this->getResourceCount()); in releaseAll()
399 SkDEBUGCODE(int beforeCount = this->getResourceCount();) in notifyCntReachedZero()
402 SkASSERT(this->getResourceCount() < beforeCount); in notifyCntReachedZero()
541 int count = this->getResourceCount(); in getNextTimestamp()
595 SkASSERT(count == this->getResourceCount()); in getNextTimestamp()
704 SkASSERT(fCount == this->getResourceCount()); in validate()
DGrResourceCache.h80 int getResourceCount() const { in getResourceCount() function
DGrTest.cpp202 stats->fTotal = this->getResourceCount(); in getStats()
/external/llvm/include/llvm/CodeGen/
DMachineScheduler.h684 unsigned getResourceCount(unsigned ResIdx) const { in getResourceCount() function
693 return getResourceCount(ZoneCritResIdx); in getCriticalCount()
/external/llvm/lib/CodeGen/
DMachineScheduler.cpp1834 unsigned OtherCount = getResourceCount(PIdx) + Rem->RemainingCounts[PIdx]; in getOtherResourceCount()
1954 if (ZoneCritResIdx != PIdx && (getResourceCount(PIdx) > getCriticalCount())) { in countResource()
1958 << getResourceCount(PIdx) / SchedModel->getLatencyFactor() << "c\n"); in countResource()
2026 if ((int)(ScaledMOps - getResourceCount(ZoneCritResIdx)) in bumpNode()
2179 ResCount = getResourceCount(ZoneCritResIdx); in dumpScheduledState()