HomeSort by relevance Sort by last modified time
    Searched refs:mCapacity (Results 1 - 15 of 15) sorted by null

  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
BoundedTreeSet.java 29 private final int mCapacity;
32 mCapacity = capacity;
37 if (size() < mCapacity) return super.add(e);
  /frameworks/av/media/libstagefright/
SkipCutBuffer.cpp 32 mCapacity = cut + 4096;
33 mCutBuffer = new char[mCapacity];
34 ALOGV("skipcutbuffer %d %d %d", skip, cut, mCapacity);
101 if (sizeused < 0) sizeused += mCapacity;
106 size_t available = mCapacity - sizeused - 32;
108 int32_t newcapacity = mCapacity + (num - available);
110 memcpy(newbuffer, mCutBuffer, mCapacity);
112 mCapacity = newcapacity;
117 size_t copyfirst = (mCapacity - mWriteHead);
124 CHECK_LE(mWriteHead, mCapacity);
    [all...]
  /frameworks/av/media/libstagefright/foundation/
ABuffer.cpp 27 mCapacity(capacity),
36 mCapacity(capacity),
57 CHECK_LE(offset, mCapacity);
58 CHECK_LE(offset + size, mCapacity);
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
dic_node_priority_queue.h 32 : mCapacity(capacity), mMaxSize(capacity), mDicNodesBuf(),
34 mDicNodesBuf.resize(mCapacity + 1);
35 mUnusedNodeIndices.resize(mCapacity + 1);
51 ASSERT(maxSize <= mCapacity);
52 mMaxSize = min(maxSize, mCapacity);
56 clearAndResize(mCapacity);
64 ASSERT(maxSize <= mCapacity);
69 for (int i = 0; i < mCapacity + 1; ++i) {
72 mUnusedNodeIndices[i] = i == mCapacity ? NOT_A_NODE_ID : static_cast<int>(i) + 1;
103 ASSERT(index >= 0 && index < (mCapacity + 1))
    [all...]
  /cts/suite/audio_quality/lib/include/audio/
Buffer.h 40 return mCapacity;
63 ASSERT(len <= mCapacity);
123 size_t mCapacity;
  /cts/suite/audio_quality/lib/src/
RWBuffer.h 29 : mCapacity(capacity),
60 ASSERT((mWrPoint + sizeToWrite) <= mCapacity);
95 int mCapacity;
  /frameworks/av/include/media/stagefright/
SkipCutBuffer.h 54 int32_t mCapacity;
  /frameworks/av/include/media/stagefright/foundation/
ABuffer.h 39 size_t capacity() const { return mCapacity; }
58 size_t mCapacity;
  /system/core/libutils/
BasicHashtable.cpp 32 determineCapacity(minimumInitialCapacity, mLoadFactor, &mBucketCount, &mCapacity);
37 mCapacity(other.mCapacity), mLoadFactor(other.mLoadFactor),
69 mCapacity = other.mCapacity;
174 if (mFilledBuckets >= mCapacity) {
175 rehash(mCapacity * 2, mLoadFactor);
209 if (newBucketCount != mBucketCount || newCapacity != mCapacity) {
240 mCapacity = newCapacity;
  /system/extras/tests/sdcard/
stopwatch.h 137 size_t mCapacity;
stopwatch.cpp 55 : mName(strdup(name)), mNum(0), mData(NULL), mDataLen(0), mCapacity(capacity * 2),
64 mData = (Measurement *) malloc(mCapacity * sizeof(Measurement));
151 if (mDataLen >= mCapacity)
153 mCapacity *= 2;
155 mCapacity, mName);
156 mData = (Measurement *)realloc(mData, mCapacity * sizeof(Measurement));
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
FileCache.java 56 private long mCapacity;
91 mCapacity = capacity;
110 if (entry.size >= mCapacity) {
125 if (mTotalBytes > mCapacity) freeSomeSpaceIfNeed(MAX_DELETE_COUNT);
211 if (mTotalBytes > mCapacity) freeSomeSpaceIfNeed(MAX_DELETE_COUNT);
224 && mTotalBytes > mCapacity && cursor.moveToNext()) {
  /system/core/include/utils/
BasicHashtable.h 76 size_t mCapacity; // number of buckets that can be filled before exceeding load factor
212 return mCapacity;
337 return mCapacity > mFilledBuckets;
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
DownloadCache.java 76 private final long mCapacity;
84 mCapacity = capacity;
159 if (mTotalBytes <= mCapacity) return;
164 && mTotalBytes > mCapacity && cursor.moveToNext()) {
220 if (mTotalBytes > mCapacity) freeSomeSpaceIfNeed(MAX_DELETE_COUNT);
  /cts/suite/audio_quality/lib/src/audio/
Buffer.cpp 25 : mCapacity(capacity),
42 //LOGV("~Buffer %d", mCapacity);

Completed in 332 milliseconds