Searched refs:newEntrySize (Results 1 – 2 of 2) sorted by relevance
114 size_t newEntrySize = keySize + valueSize; in set() local115 size_t newTotalSize = mTotalSize + newEntrySize; in set()119 if (!clean(newEntrySize, NoEntry)) { in set()359 size_t BlobCache::findDownTo(size_t newEntrySize, size_t onBehalfOf) { in findDownTo() argument369 return mMaxTotalSize - (newEntrySize - oldEntrySize()); in findDownTo()371 return std::min(mMaxTotalSize - (newEntrySize - oldEntrySize()), mMaxTotalSize / 2); in findDownTo()391 bool BlobCache::clean(size_t newEntrySize, size_t onBehalfOf) { in clean() argument394 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);