Searched refs:newEntrySize (Results 1 – 2 of 2) sorted by relevance
116 size_t newEntrySize = keySize + valueSize; in set() local117 size_t newTotalSize = mTotalSize + newEntrySize; in set()121 if (!clean(newEntrySize, NoEntry)) { in set()362 size_t BlobCache::findDownTo(size_t newEntrySize, size_t onBehalfOf) { in findDownTo() argument372 return mMaxTotalSize - (newEntrySize - oldEntrySize()); in findDownTo()374 return std::min(mMaxTotalSize - (newEntrySize - oldEntrySize()), mMaxTotalSize / 2); in findDownTo()394 bool BlobCache::clean(size_t newEntrySize, size_t onBehalfOf) { in clean() argument397 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);