Lines Matching refs:mSize

74     int mSize;
78 final int N = mSize;
116 final int N = mSize;
227 mSize = 0;
240 mSize = 0;
259 if (mSize != 0) {
260 freeArrays(mHashes, mArray, mSize);
263 mSize = 0;
276 if (mSize > 0) {
277 System.arraycopy(ohashes, 0, mHashes, 0, mSize);
278 System.arraycopy(oarray, 0, mArray, 0, mSize);
280 freeArrays(ohashes, oarray, mSize);
309 return mSize <= 0;
337 if (mSize >= mHashes.length) {
338 final int n = mSize >= (BASE_SIZE*2) ? (mSize+(mSize>>1))
339 : (mSize >= BASE_SIZE ? (BASE_SIZE*2) : BASE_SIZE);
348 if (DEBUG) Log.d(TAG, "add: copy 0-" + mSize + " to 0");
353 freeArrays(ohashes, oarray, mSize);
356 if (index < mSize) {
357 if (DEBUG) Log.d(TAG, "add: move " + index + "-" + (mSize-index)
359 System.arraycopy(mHashes, index, mHashes, index + 1, mSize - index);
360 System.arraycopy(mArray, index, mArray, index + 1, mSize - index);
365 mSize++;
374 final int N = array.mSize;
375 ensureCapacity(mSize + N);
376 if (mSize == 0) {
380 mSize = N;
412 if (mSize <= 1) {
415 freeArrays(mHashes, mArray, mSize);
418 mSize = 0;
420 if (mHashes.length > (BASE_SIZE*2) && mSize < mHashes.length/3) {
424 final int n = mSize > (BASE_SIZE*2) ? (mSize + (mSize>>1)) : (BASE_SIZE*2);
432 mSize--;
438 if (index < mSize) {
439 if (DEBUG) Log.d(TAG, "remove: copy from " + (index+1) + "-" + mSize
441 System.arraycopy(ohashes, index + 1, mHashes, index, mSize - index);
442 System.arraycopy(oarray, index + 1, mArray, index, mSize - index);
445 mSize--;
446 if (index < mSize) {
447 if (DEBUG) Log.d(TAG, "remove: move " + (index+1) + "-" + mSize
449 System.arraycopy(mHashes, index + 1, mHashes, index, mSize - index);
450 System.arraycopy(mArray, index + 1, mArray, index, mSize - index);
452 mArray[mSize] = null;
463 return mSize;
468 Object[] result = new Object[mSize];
469 System.arraycopy(mArray, 0, result, 0, mSize);
475 if (array.length < mSize) {
477 = (T[]) Array.newInstance(array.getClass().getComponentType(), mSize);
480 System.arraycopy(mArray, 0, array, 0, mSize);
481 if (array.length > mSize) {
482 array[mSize] = null;
508 for (int i=0; i<mSize; i++) {
531 for (int i = 0, s = mSize; i < s; i++) {
550 StringBuilder buffer = new StringBuilder(mSize * 14);
552 for (int i=0; i<mSize; i++) {
577 return mSize;
642 ensureCapacity(mSize + collection.size());
662 for (int i=mSize-1; i>=0; i--) {