Searched refs:mCapacity (Results 1 – 9 of 9) sorted by relevance
96 releaseToParent = (mParentTickets.size() == mCapacity); in close()145 private int mCapacity; field in ReservableTicketPool152 mCapacity = 0; in ReservableTicketPool()219 mCapacity += additionalCapacity; in reserveCapacity()249 if (capacityToRelease > mCapacity) { in releaseCapacity()250 capacityToRelease = mCapacity; in releaseCapacity()253 mCapacity -= capacityToRelease; in releaseCapacity()279 releaseCapacity(mCapacity); in releaseAllCapacity()339 if (tickets > mCapacity) { in tryAcquireAtomically()383 if (waiter.getRequestedTicketCount() > mCapacity) { in abortWaitersOnCapacityDecrease()
56 private long mCapacity; field in FileCache91 mCapacity = capacity; in FileCache()110 if (entry.size >= mCapacity) { in store()125 if (mTotalBytes > mCapacity) freeSomeSpaceIfNeed(MAX_DELETE_COUNT); in store()211 if (mTotalBytes > mCapacity) freeSomeSpaceIfNeed(MAX_DELETE_COUNT); in initialize()224 && mTotalBytes > mCapacity && cursor.moveToNext()) { in freeSomeSpaceIfNeed()
37 private final int mCapacity; field in SuggestionResults49 mCapacity = capacity; in SuggestionResults()61 if (size() < mCapacity) return super.add(e); in add()
36 private final int mCapacity; field in AllocatingImageStream60 mCapacity = capacity; in AllocatingImageStream()69 mTicketPool.reserveCapacity(mCapacity); in allocate()
76 private final long mCapacity; field in DownloadCache84 mCapacity = capacity; in DownloadCache()159 if (mTotalBytes <= mCapacity) return; in freeSomeSpaceIfNeed()164 && mTotalBytes > mCapacity && cursor.moveToNext()) { in freeSomeSpaceIfNeed()220 if (mTotalBytes > mCapacity) freeSomeSpaceIfNeed(MAX_DELETE_COUNT); in initialize()
55 : mCapacity(size), mValidityTimeMs(time) {} in mCapacity() function63 const size_t mCapacity; variable
100 : mCapacity(size), mStatsData(ipSockAddr) {} in StatsRecords()106 if (mRecords.size() > mCapacity) { in push()
92 size_t mCapacity; variable
64 if (mQueue.size() > mCapacity) { in push()