Home
last modified time | relevance | path

Searched refs:mMaxEntries (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DBlobCache.java112 private int mMaxEntries; field in BlobCache
212 mMaxEntries = readInt(buf, IH_MAX_ENTRIES); in loadIndex()
225 if (mMaxEntries <= 0) { in loadIndex()
237 if (mActiveEntries < 0 || mActiveEntries > mMaxEntries) { in loadIndex()
246 INDEX_HEADER_SIZE + mMaxEntries * 12 * 2) { in loadIndex()
294 mInactiveHashStart += mMaxEntries * 12; in setActiveVariables()
296 mActiveHashStart += mMaxEntries * 12; in setActiveVariables()
354 for (int count = mMaxEntries * 12; count > 0;) { in clearHash()
368 || mActiveEntries * 2 >= mMaxEntries) { in insert()
461 || mActiveEntries * 2 >= mMaxEntries) { in lookup()
[all …]
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/include/netdutils/
DLog.h114 Log(const std::string& tag, size_t maxEntries) : mTag(tag), mMaxEntries(maxEntries) {} in Log()
191 const size_t mMaxEntries; variable
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/
DLog.cpp212 while (mEntries.size() > mMaxEntries) mEntries.pop_front(); in record()