Home
last modified time | relevance | path

Searched refs:mMaxTotalSize (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/opengl/libs/EGL/
DBlobCache.cpp42 : mMaxTotalSize(maxTotalSize), in BlobCache()
69 if (mMaxTotalSize < keySize + valueSize) { in set()
72 keySize + valueSize, mMaxTotalSize); in set()
95 if (mMaxTotalSize < newTotalSize) { in set()
105 keySize + valueSize, mMaxTotalSize); in set()
118 if (mMaxTotalSize < newTotalSize) { in set()
127 keySize + valueSize, mMaxTotalSize); in set()
304 while (mTotalSize > mMaxTotalSize / 2) { in clean()
313 return mTotalSize > mMaxTotalSize / 2; in isCleanable()
DBlobCache.h131 const size_t mMaxTotalSize;
DMultifileBlobCache.cpp71 mMaxTotalSize(maxTotalSize), in MultifileBlobCache()
324 if (getTotalSize() + fileSize > mMaxTotalSize || getTotalEntries() + 1 > mMaxTotalEntries) { in set()
810 mMaxTotalSize / kCacheLimitDivisor, mMaxTotalEntries / kCacheLimitDivisor); in trimCache()
811 if (!applyLRU(mMaxTotalSize / kCacheLimitDivisor, mMaxTotalEntries / kCacheLimitDivisor)) { in trimCache()
DFileBlobCache.cpp80 if (fileSize > mMaxTotalSize * 2) { in FileBlobCache()
DMultifileBlobCache.h160 size_t mMaxTotalSize; variable