Searched refs:newEntrySize (Results 1 – 2 of 2) sorted by relevance
117 size_t newEntrySize = keySize + valueSize; in set() local118 size_t newTotalSize = mTotalSize + newEntrySize; in set()122 if (!clean(newEntrySize, NoEntry)) { in set()363 size_t BlobCache::findDownTo(size_t newEntrySize, size_t onBehalfOf) { in findDownTo() argument373 return mMaxTotalSize - (newEntrySize - oldEntrySize()); in findDownTo()375 return std::min(mMaxTotalSize - (newEntrySize - oldEntrySize()), mMaxTotalSize / 2); in findDownTo()395 bool BlobCache::clean(size_t newEntrySize, size_t onBehalfOf) { in clean() argument398 const size_t downTo = findDownTo(newEntrySize, onBehalfOf); in clean()
188 bool clean(size_t newEntrySize, size_t onBehalfOf);202 size_t findDownTo(size_t newEntrySize, size_t onBehalfOf);