Searched refs:mMaxTotalSize (Results 1 – 7 of 7) sorted by relevance
/frameworks/ml/nn/driver/cache/BlobCache/ |
D | BlobCache.cpp | 63 mMaxTotalSize(maxTotalSize), in BlobCache() 90 if (mMaxTotalSize < keySize + valueSize) { in set() 93 keySize + valueSize, mMaxTotalSize); in set() 116 if (mMaxTotalSize < newTotalSize) { in set() 132 keySize + valueSize, mMaxTotalSize); in set() 145 if (mMaxTotalSize < newTotalSize) { in set() 161 keySize + valueSize, mMaxTotalSize); in set() 367 return mMaxTotalSize / 2; in findDownTo() 369 return mMaxTotalSize - (newEntrySize - oldEntrySize()); in findDownTo() 371 return std::min(mMaxTotalSize - (newEntrySize - oldEntrySize()), mMaxTotalSize / 2); in findDownTo() [all …]
|
D | BlobCache.h | 323 const size_t mMaxTotalSize; variable
|
/frameworks/native/opengl/libs/EGL/ |
D | BlobCache.cpp | 40 mMaxTotalSize(maxTotalSize), in BlobCache() 67 if (mMaxTotalSize < keySize + valueSize) { in set() 69 "large: %zu (limit: %zu)", keySize + valueSize, mMaxTotalSize); in set() 91 if (mMaxTotalSize < newTotalSize) { in set() 100 keySize + valueSize, mMaxTotalSize); in set() 113 if (mMaxTotalSize < newTotalSize) { in set() 121 keySize + valueSize, mMaxTotalSize); in set() 295 while (mTotalSize > mMaxTotalSize / 2) { in clean() 304 return mTotalSize > mMaxTotalSize / 2; in isCleanable()
|
D | BlobCache.h | 110 const size_t mMaxTotalSize;
|
D | FileBlobCache.cpp | 75 if (fileSize > mMaxTotalSize * 2) { in FileBlobCache()
|
/frameworks/ml/nn/driver/cache/nnCache/ |
D | nnCache.cpp | 47 mMaxTotalSize(0), in NNCache() 65 mMaxTotalSize = maxTotalSize; in initialize() 141 mBlobCache.reset(new BlobCache(mMaxKeySize, mMaxValueSize, mMaxTotalSize, mPolicy)); in getBlobCacheLocked() 249 if (fileSize > mMaxTotalSize * 2) { in loadBlobCacheLocked()
|
D | nnCache.h | 120 size_t mMaxTotalSize; variable
|