Searched refs:fMaxBytes (Results 1 – 3 of 3) sorted by relevance
66 fMaxBytes = bytes; in setLimit()94 fBudgetedBytes, "free", fMaxBytes - fBudgetedBytes); in insertResource()123 fBudgetedBytes, "free", fMaxBytes - fBudgetedBytes); in removeResource()435 fBudgetedBytes, "free", fMaxBytes - fBudgetedBytes); in didChangeBudgetStatus()553 if (desiredHeadroomBytes > fMaxBytes) { in purgeToMakeHeadroom()568 if (projectedBudget + desiredHeadroomBytes <= fMaxBytes) { in purgeToMakeHeadroom()624 const size_t cachedByteCount = fMaxBytes; in purgeUnlockedResources()625 fMaxBytes = tmpByteBudget; in purgeUnlockedResources()627 fMaxBytes = cachedByteCount; in purgeUnlockedResources()755 float byteUtilization = (100.f * fBudgetedBytes) / fMaxBytes; in dumpStats()[all …]
122 size_t getMaxResourceBytes() const { return fMaxBytes; } in getMaxResourceBytes()190 bool overBudget() const { return fBudgetedBytes > fMaxBytes; } in overBudget()312 bool wouldFit(size_t bytes) const { return fBudgetedBytes+bytes <= fMaxBytes; } in wouldFit()373 size_t fMaxBytes = kDefaultMaxSize; variable
33 CacheImpl(size_t maxBytes) : fMaxBytes(maxBytes), fCurrentBytes(0) { } in CacheImpl()86 while (fCurrentBytes > fMaxBytes) { in set()147 size_t fMaxBytes; member in __anond70306a80311::CacheImpl