Searched refs:fMaxBytes (Results 1 – 3 of 3) sorted by relevance
33 CacheImpl(size_t maxBytes) : fMaxBytes(maxBytes), fCurrentBytes(0) { } in CacheImpl()86 while (fCurrentBytes > fMaxBytes) { in set()147 size_t fMaxBytes; member in __anon3f8961750311::CacheImpl
127 size_t getMaxResourceBytes() const { return fMaxBytes; } in getMaxResourceBytes()209 bool overBudget() const { return fBudgetedBytes > fMaxBytes; } in overBudget()310 bool wouldFit(size_t bytes) const { return fBudgetedBytes+bytes <= fMaxBytes; } in wouldFit()396 size_t fMaxBytes = kDefaultMaxSize; variable
129 fMaxBytes = bytes; in setLimit()160 fBudgetedBytes, "free", fMaxBytes - fBudgetedBytes); in insertResource()189 fBudgetedBytes, "free", fMaxBytes - fBudgetedBytes); in removeResource()602 fBudgetedBytes, "free", fMaxBytes - fBudgetedBytes); in didChangeBudgetStatus()778 if (desiredHeadroomBytes > fMaxBytes) { in purgeToMakeHeadroom()793 if (projectedBudget + desiredHeadroomBytes <= fMaxBytes) { in purgeToMakeHeadroom()849 const size_t cachedByteCount = fMaxBytes; in purgeUnlockedResources()850 fMaxBytes = tmpByteBudget; in purgeUnlockedResources()852 fMaxBytes = cachedByteCount; in purgeUnlockedResources()1019 float byteUtilization = (100.f * fBudgetedBytes) / fMaxBytes; in dumpStats()[all …]