Home
last modified time | relevance | path

Searched refs:mCapacity (Results 1 – 4 of 4) sorted by relevance

/system/extras/tests/sdcard/
Dstopwatch.cpp55 : mName(strdup(name)), mNum(0), mData(NULL), mDataLen(0), mCapacity(capacity * 2), in StopWatch()
64 mData = (Measurement *) malloc(mCapacity * sizeof(Measurement)); in StopWatch()
151 if (mDataLen >= mCapacity) in checkCapacity()
153 mCapacity *= 2; in checkCapacity()
155 mCapacity, mName); in checkCapacity()
156 mData = (Measurement *)realloc(mData, mCapacity * sizeof(Measurement)); in checkCapacity()
Dstopwatch.h137 size_t mCapacity; variable
/system/core/libutils/
DBasicHashtable.cpp32 determineCapacity(minimumInitialCapacity, mLoadFactor, &mBucketCount, &mCapacity); in BasicHashtableImpl()
37 mCapacity(other.mCapacity), mLoadFactor(other.mLoadFactor), in BasicHashtableImpl()
69 mCapacity = other.mCapacity; in setTo()
174 if (mFilledBuckets >= mCapacity) { in add()
175 rehash(mCapacity * 2, mLoadFactor); in add()
209 if (newBucketCount != mBucketCount || newCapacity != mCapacity) { in rehash()
240 mCapacity = newCapacity; in rehash()
/system/core/include/utils/
DBasicHashtable.h76 size_t mCapacity; // number of buckets that can be filled before exceeding load factor variable
212 return mCapacity; in capacity()
337 return mCapacity > mFilledBuckets; in hasMoreRoom()