/frameworks/native/libs/utils/ |
StringArray.cpp | 32 : mMax(0), mCurrent(0), mArray(NULL) 38 delete[] mArray[i]; 39 delete[] mArray; 58 memcpy(tmp, mArray, mCurrent * sizeof(char*)); 59 delete[] mArray; 60 mArray = tmp; 64 mArray[mCurrent] = new char[len+1]; 65 memcpy(mArray[mCurrent], str, len+1); 77 delete[] mArray[idx]; 79 memmove(&mArray[idx], &mArray[idx+1] [all...] |
/frameworks/base/graphics/java/android/graphics/ |
ColorMatrix.java | 38 private final float[] mArray = new float[20]; 52 System.arraycopy(src, 0, mArray, 0, 20); 59 System.arraycopy(src.mArray, 0, mArray, 0, 20); 65 public final float[] getArray() { return mArray; } 75 final float[] a = mArray; 87 System.arraycopy(src.mArray, 0, mArray, 0, 20); 94 System.arraycopy(src, 0, mArray, 0, 20); 102 final float[] a = mArray; [all...] |
/libcore/benchmarks/src/benchmarks/ |
ArrayIterationBenchmark.java | 27 Foo[] mArray = new Foo[27]; 29 for (int i = 0; i < mArray.length; ++i) mArray[i] = new Foo(); 34 for (int i = 0; i < mArray.length; i++) { 35 sum += mArray[i].mSplat; 42 Foo[] localArray = mArray; 53 for (Foo a: mArray) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
ResizableIntArray.java | 23 private int[] mArray; 32 return mArray[index]; 39 mArray[index] = val; 49 mArray[currentLength] = val; 54 * Calculate the new capacity of {@code mArray}. 55 * @param minimumCapacity the minimum capacity that the {@code mArray} should have. 56 * @return the new capacity that the {@code mArray} should have. Returns zero when there is no 57 * need to expand {@code mArray}. 60 final int currentCapcity = mArray.length; 73 mArray = Arrays.copyOf(mArray, newCapacity) [all...] |
/frameworks/base/obex/javax/obex/ |
PrivateOutputStream.java | 48 private ByteArrayOutputStream mArray; 60 mArray = new ByteArrayOutputStream(); 70 return mArray.size(); 85 mArray.write(b); 86 if (mArray.size() == mMaxPacketSize) { 110 while ((mArray.size() + remainLength) >= mMaxPacketSize) { 111 int bufferLeft = mMaxPacketSize - mArray.size(); 112 mArray.write(buffer, offset1, bufferLeft); 118 mArray.write(buffer, offset1, remainLength); 128 if (mArray.size() > 0) [all...] |
ApplicationParameter.java | 40 private byte[] mArray; 112 mArray = new byte[mMaxLength]; 119 System.arraycopy(mArray, 0, array_tmp, 0, mLength); 120 mArray = array_tmp; 123 mArray[mLength++] = tag; 124 mArray[mLength++] = len; 125 System.arraycopy(value, 0, mArray, mLength, len); 131 System.arraycopy(mArray, 0, para, 0, mLength);
|
/frameworks/base/core/java/android/webkit/ |
WebBackForwardListClassic.java | 28 private ArrayList<WebHistoryItemClassic> mArray; 36 mArray = new ArrayList<WebHistoryItemClassic>(); 52 return mArray.get(index); 56 return mArray.size(); 88 final int size = mArray.size(); 92 final WebHistoryItem h = mArray.remove(i); 96 mArray.add((WebHistoryItemClassic) item); 108 mArray.clear(); 124 final WebHistoryItem h = mArray.remove(index); 139 l.mArray = new ArrayList<WebHistoryItemClassic>(size) [all...] |
ByteArrayBuilder.java | 54 if (c.mLength == c.mArray.length) { 59 int amount = Math.min(length, c.mArray.length - c.mLength); 60 System.arraycopy(array, offset, c.mArray, c.mLength, amount); 132 public byte[] mArray; 136 mArray = new byte[length];
|
KeyStoreHandler.java | 68 System.arraycopy(c.mArray, 0, cert, offset, c.mLength);
|
/frameworks/native/include/utils/ |
StringArray.h | 66 return (unsigned(idx) >= unsigned(mCurrent)) ? NULL : mArray[idx]; 78 char** mArray;
|
/frameworks/wilhelm/src/itf/ |
IBufferQueue.c | 59 if ((newRear = oldRear + 1) == &thiz->mArray[thiz->mNumBuffers + 1]) { 60 newRear = thiz->mArray; 94 thiz->mFront = &thiz->mArray[0]; 95 thiz->mRear = &thiz->mArray[0]; 183 thiz->mArray = NULL; 205 if ((NULL != thiz->mArray) && (thiz->mArray != thiz->mTypical)) { 206 free(thiz->mArray); 207 thiz->mArray = NULL;
|
IOutputMixExt.c | 73 audioPlayer->mBufferQueue.mFront = &audioPlayer->mBufferQueue.mArray[0]; 74 audioPlayer->mBufferQueue.mRear = &audioPlayer->mBufferQueue.mArray[0]; 281 if (++newFront == &bufferQueue->mArray[bufferQueue->mNumBuffers + 1]) { 282 newFront = bufferQueue->mArray;
|
IEngine.c | 25 // inline allocation of circular mArray, up to a typical max 27 ap->mBufferQueue.mArray = ap->mBufferQueue.mTypical; 35 ap->mBufferQueue.mArray = (BufferHeader *) 37 if (NULL == ap->mBufferQueue.mArray) { 41 ap->mBufferQueue.mFront = ap->mBufferQueue.mArray; 42 ap->mBufferQueue.mRear = ap->mBufferQueue.mArray; 492 // inline allocation of circular Buffer Queue mArray, up to a typical max 494 thiz->mBufferQueue.mArray = thiz->mBufferQueue.mTypical; 503 thiz->mBufferQueue.mArray = (BufferHeader *) malloc((thiz->mBufferQueue. 505 if (NULL == thiz->mBufferQueue.mArray) { [all...] |
/hardware/qcom/media/mm-video/vidc/venc/inc/ |
omx_video_base.h | 133 #define BITMASK_CLEAR(mArray,mIndex) (mArray)[BITMASK_OFFSET(mIndex)] \ 135 #define BITMASK_SET(mArray,mIndex) (mArray)[BITMASK_OFFSET(mIndex)] \ 137 #define BITMASK_PRESENT(mArray,mIndex) ((mArray)[BITMASK_OFFSET(mIndex)] \ 139 #define BITMASK_ABSENT(mArray,mIndex) (((mArray)[BITMASK_OFFSET(mIndex)] \ 141 #define BITMASK_PRESENT(mArray,mIndex) ((mArray)[BITMASK_OFFSET(mIndex)] [all...] |
/hardware/qcom/media/mm-video/vidc/vdec/inc/ |
omx_vdec.h | 167 #define BITMASK_CLEAR(mArray,mIndex) (mArray)[BITMASK_OFFSET(mIndex)] \ 169 #define BITMASK_SET(mArray,mIndex) (mArray)[BITMASK_OFFSET(mIndex)] \ 171 #define BITMASK_PRESENT(mArray,mIndex) ((mArray)[BITMASK_OFFSET(mIndex)] \ 173 #define BITMASK_ABSENT(mArray,mIndex) (((mArray)[BITMASK_OFFSET(mIndex)] \ 175 #define BITMASK_PRESENT(mArray,mIndex) ((mArray)[BITMASK_OFFSET(mIndex)] [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
Bridge.java | 121 private int[] mArray; 128 mArray = a; 132 mArray = a; 137 return Arrays.hashCode(mArray); 147 if (!Arrays.equals(mArray, other.mArray)) return false;
|
/device/asus/grouper/keymaster/ |
keymaster_grouper.cpp | 79 mArray(array), mLength(len) { 84 mArray = new CK_BYTE[len]; 88 if (mArray != NULL) { 89 delete[] mArray; 94 return mArray; 106 CK_BYTE* array = mArray; 107 mArray = NULL; 112 CK_BYTE* mArray;
|
/device/asus/grouper/self-extractors/nvidia/staging/keymaster/ |
keymaster_grouper.cpp | 79 mArray(array), mLength(len) { 84 mArray = new CK_BYTE[len]; 88 if (mArray != NULL) { 89 delete[] mArray; 94 return mArray; 106 CK_BYTE* array = mArray; 107 mArray = NULL; 112 CK_BYTE* mArray;
|
/device/asus/tilapia/self-extractors/nvidia/staging/keymaster/ |
keymaster_grouper.cpp | 79 mArray(array), mLength(len) { 84 mArray = new CK_BYTE[len]; 88 if (mArray != NULL) { 89 delete[] mArray; 94 return mArray; 106 CK_BYTE* array = mArray; 107 mArray = NULL; 112 CK_BYTE* mArray;
|
/device/samsung/tuna/keymaster/ |
keymaster_tuna.cpp | 79 mArray(array), mLength(len) { 84 mArray = new CK_BYTE[len]; 88 if (mArray != NULL) { 89 delete[] mArray; 94 return mArray; 102 CK_BYTE* array = mArray; 103 mArray = NULL; 108 CK_BYTE* mArray;
|
/frameworks/wilhelm/src/android/ |
AudioRecorder_to_android.cpp | 247 if (newFront == &ar->mBufferQueue.mArray[ar->mBufferQueue.mNumBuffers + 1]) { 248 newFront = ar->mBufferQueue.mArray;
|
AudioPlayer_to_android.cpp | 135 if (newFront == &ap->mBufferQueue.mArray[ap->mBufferQueue.mNumBuffers + 1]) { 136 newFront = ap->mBufferQueue.mArray; [all...] |
/frameworks/wilhelm/src/ |
itfstruct.h | 236 BufferHeader *mArray;
|
/prebuilts/devtools/tools/lib/ |
ddmlib.jar | |
/prebuilts/misc/common/ddmlib/ |
ddmlib-prebuilt.jar | |