/frameworks/av/media/libmedia/ |
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...] |
StringArray.h | 66 return (unsigned(idx) >= unsigned(mCurrent)) ? NULL : mArray[idx]; 78 char** mArray;
|
/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...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
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...] |
/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) {
|
/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/support/v4/java/android/support/v4/util/ |
SimpleArrayMap.java | 58 Object[] mArray; 77 if (key.equals(mArray[index<<1])) { 84 if (key.equals(mArray[end << 1])) return end; 89 if (key.equals(mArray[i << 1])) return i; 115 if (null == mArray[index<<1]) { 122 if (null == mArray[end << 1]) return end; 127 if (null == mArray[i << 1]) return i; 142 mArray = array; 156 mArray = array; 169 mArray = new Object[size<<1] [all...] |
ArrayMap.java | 81 return mArray[(index<<1) + offset];
|
/frameworks/base/core/java/android/util/ |
ArraySet.java | 73 Object[] mArray; 93 if (key.equals(mArray[index])) { 100 if (key.equals(mArray[end])) return end; 105 if (key.equals(mArray[i])) return i; 131 if (null == mArray[index]) { 138 if (null == mArray[end]) return end; 143 if (null == mArray[i]) return i; 158 mArray = array; 172 mArray = array; 185 mArray = new Object[size] [all...] |
ArrayMap.java | 82 Object[] mArray; 102 if (key.equals(mArray[index<<1])) { 109 if (key.equals(mArray[end << 1])) return end; 114 if (key.equals(mArray[i << 1])) return i; 140 if (null == mArray[index<<1]) { 147 if (null == mArray[end << 1]) return end; 152 if (null == mArray[i << 1]) return i; 170 mArray = array; 184 mArray = array; 197 mArray = new Object[size<<1] [all...] |
/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; 495 // inline allocation of circular Buffer Queue mArray, up to a typical max 497 thiz->mBufferQueue.mArray = thiz->mBufferQueue.mTypical; 506 thiz->mBufferQueue.mArray = (BufferHeader *) malloc((thiz->mBufferQueue. 508 if (NULL == thiz->mBufferQueue.mArray) { [all...] |
/hardware/qcom/media/mm-video-legacy/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-v4l2/vidc/venc/inc/ |
omx_video_base.h | 129 #define BITMASK_CLEAR(mArray,mIndex) (mArray)[BITMASK_OFFSET(mIndex)] \ 131 #define BITMASK_SET(mArray,mIndex) (mArray)[BITMASK_OFFSET(mIndex)] \ 133 #define BITMASK_PRESENT(mArray,mIndex) ((mArray)[BITMASK_OFFSET(mIndex)] \ 135 #define BITMASK_ABSENT(mArray,mIndex) (((mArray)[BITMASK_OFFSET(mIndex)] \ 137 #define BITMASK_PRESENT(mArray,mIndex) ((mArray)[BITMASK_OFFSET(mIndex)] [all...] |
/hardware/qcom/media/mm-video-legacy/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...] |
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/inc/ |
omx_vdec_hevc.h | 155 #define BITMASK_CLEAR(mArray,mIndex) (mArray)[BITMASK_OFFSET(mIndex)] \ 157 #define BITMASK_SET(mArray,mIndex) (mArray)[BITMASK_OFFSET(mIndex)] \ 159 #define BITMASK_PRESENT(mArray,mIndex) ((mArray)[BITMASK_OFFSET(mIndex)] \ 161 #define BITMASK_ABSENT(mArray,mIndex) (((mArray)[BITMASK_OFFSET(mIndex)] \ 163 #define BITMASK_PRESENT(mArray,mIndex) ((mArray)[BITMASK_OFFSET(mIndex)] [all...] |
omx_vdec.h | 161 #define BITMASK_CLEAR(mArray,mIndex) (mArray)[BITMASK_OFFSET(mIndex)] \ 163 #define BITMASK_SET(mArray,mIndex) (mArray)[BITMASK_OFFSET(mIndex)] \ 165 #define BITMASK_PRESENT(mArray,mIndex) ((mArray)[BITMASK_OFFSET(mIndex)] \ 167 #define BITMASK_ABSENT(mArray,mIndex) (((mArray)[BITMASK_OFFSET(mIndex)] \ 169 #define BITMASK_PRESENT(mArray,mIndex) ((mArray)[BITMASK_OFFSET(mIndex)] [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
Bridge.java | 124 private int[] mArray; 131 mArray = a; 135 mArray = a; 140 return Arrays.hashCode(mArray); 150 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;
|
/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...] |