Lines Matching refs:mSize

80     int mSize;
84 final int N = mSize;
122 final int N = mSize;
260 mSize = 0;
286 if (mSize != 0) {
287 freeArrays(mHashes, mArray, mSize);
290 mSize = 0;
303 if (mSize > 0) {
304 System.arraycopy(ohashes, 0, mHashes, 0, mSize);
305 System.arraycopy(oarray, 0, mArray, 0, mSize);
307 freeArrays(ohashes, oarray, mSize);
347 return mSize <= 0;
375 if (mSize >= mHashes.length) {
376 final int n = mSize >= (BASE_SIZE * 2) ? (mSize + (mSize >> 1))
377 : (mSize >= BASE_SIZE ? (BASE_SIZE * 2) : BASE_SIZE);
386 if (DEBUG) Log.d(TAG, "add: copy 0-" + mSize + " to 0");
391 freeArrays(ohashes, oarray, mSize);
394 if (index < mSize) {
396 Log.d(TAG, "add: move " + index + "-" + (mSize - index) + " to " + (index + 1));
398 System.arraycopy(mHashes, index, mHashes, index + 1, mSize - index);
399 System.arraycopy(mArray, index, mArray, index + 1, mSize - index);
404 mSize++;
415 final int index = mSize;
433 mSize = index + 1;
443 final int N = array.mSize;
444 ensureCapacity(mSize + N);
445 if (mSize == 0) {
449 mSize = N;
481 if (mSize <= 1) {
484 freeArrays(mHashes, mArray, mSize);
487 mSize = 0;
489 if (mHashes.length > (BASE_SIZE * 2) && mSize < mHashes.length / 3) {
493 final int n = mSize > (BASE_SIZE * 2) ? (mSize + (mSize >> 1)) : (BASE_SIZE * 2);
501 mSize--;
507 if (index < mSize) {
509 Log.d(TAG, "remove: copy from " + (index + 1) + "-" + mSize
512 System.arraycopy(ohashes, index + 1, mHashes, index, mSize - index);
513 System.arraycopy(oarray, index + 1, mArray, index, mSize - index);
516 mSize--;
517 if (index < mSize) {
519 Log.d(TAG, "remove: move " + (index + 1) + "-" + mSize + " to " + index);
521 System.arraycopy(mHashes, index + 1, mHashes, index, mSize - index);
522 System.arraycopy(mArray, index + 1, mArray, index, mSize - index);
524 mArray[mSize] = null;
539 final int N = array.mSize;
543 final int originalSize = mSize;
547 return originalSize != mSize;
555 return mSize;
560 Object[] result = new Object[mSize];
561 System.arraycopy(mArray, 0, result, 0, mSize);
567 if (array.length < mSize) {
569 (T[]) Array.newInstance(array.getClass().getComponentType(), mSize);
572 System.arraycopy(mArray, 0, array, 0, mSize);
573 if (array.length > mSize) {
574 array[mSize] = null;
600 for (int i = 0; i < mSize; i++) {
623 for (int i = 0, s = mSize; i < s; i++) {
642 StringBuilder buffer = new StringBuilder(mSize * 14);
644 for (int i = 0; i < mSize; i++) {
669 return mSize;
751 ensureCapacity(mSize + collection.size());
782 for (int i = mSize - 1; i >= 0; i--) {