/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...] |
/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...] |
/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/base/core/java/android/util/ |
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...] |
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...] |
/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...] |
/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;
|
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...] |
/external/clang/test/Analysis/ |
NSContainers.m | 103 NSMutableArray *marray = [[NSMutableArray alloc] init]; 104 [marray addObject:0]; // expected-warning {{Argument to 'NSMutableArray' method 'addObject:' cannot be nil}} 108 NSMutableArray *marray = [[NSMutableArray alloc] init]; 109 [marray insertObject:0 atIndex:1]; // expected-warning {{Argument to 'NSMutableArray' method 'insertObject:atIndex:' cannot be nil}} 113 NSMutableArray *marray = [[NSMutableArray alloc] init]; 114 [marray replaceObjectAtIndex:1 withObject:0]; // expected-warning {{Argument to 'NSMutableArray' method 'replaceObjectAtIndex:withObject:' cannot be nil}} 118 NSMutableArray *marray = [[NSMutableArray alloc] init]; 119 [marray setObject:0 atIndexedSubscript:1]; // expected-warning {{Argument to 'NSMutableArray' method 'setObject:atIndexedSubscript:' cannot be nil}} 123 NSMutableArray *marray = [[NSMutableArray alloc] init]; 124 marray[1] = 0; // expected-warning {{Array element cannot be nil} [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.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...] |
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...] |
/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;
|
/external/clang/test/CodeGen/ |
mult-alt-generic.c | 15 int marray[2]; variable 134 asm("foo %1,%0" : "=r" (out0) : "X" (marray)); 147 asm("foo %1,%0" : "=r" (out0) : "p" (marray)); 267 asm("foo %1,%0" : "=r,r" (out0) : "r,X" (marray)); 280 asm("foo %1,%0" : "=r,r" (out0) : "r,p" (marray));
|
/external/llvm/test/CodeGen/ARM/ |
mult-alt-generic-arm.ll | 8 @marray = common global [2 x i32] zeroinitializer, align 4 148 %3 = call i32 asm "foo $1,$0", "=r,X"(i32* getelementptr inbounds ([2 x i32]* @marray, i32 0, i32 0)) nounwind 162 %0 = call i32 asm "foo $1,$0", "=r,r"(i32* getelementptr inbounds ([2 x i32]* @marray, i32 0, i32 0)) nounwind 306 %3 = call i32 asm "foo $1,$0", "=r|r,r|X"(i32* getelementptr inbounds ([2 x i32]* @marray, i32 0, i32 0)) nounwind 320 %0 = call i32 asm "foo $1,$0", "=r|r,r|r"(i32* getelementptr inbounds ([2 x i32]* @marray, i32 0, i32 0)) nounwind
|
/external/llvm/test/CodeGen/MSP430/ |
mult-alt-generic-msp430.ll | 8 @marray = common global [2 x i16] zeroinitializer, align 2 148 %3 = call i16 asm "foo $1,$0", "=r,X"(i16* getelementptr inbounds ([2 x i16]* @marray, i32 0, i32 0)) nounwind 162 %0 = call i16 asm "foo $1,$0", "=r,r"(i16* getelementptr inbounds ([2 x i16]* @marray, i32 0, i32 0)) nounwind 306 %3 = call i16 asm "foo $1,$0", "=r|r,r|X"(i16* getelementptr inbounds ([2 x i16]* @marray, i32 0, i32 0)) nounwind 320 %0 = call i16 asm "foo $1,$0", "=r|r,r|r"(i16* getelementptr inbounds ([2 x i16]* @marray, i32 0, i32 0)) nounwind
|
/external/llvm/test/CodeGen/PowerPC/ |
mult-alt-generic-powerpc.ll | 8 @marray = common global [2 x i32] zeroinitializer, align 4 148 %3 = call i32 asm "foo $1,$0", "=r,X"(i32* getelementptr inbounds ([2 x i32]* @marray, i32 0, i32 0)) nounwind 161 %0 = call i32 asm "foo $1,$0", "=r,r"(i32* getelementptr inbounds ([2 x i32]* @marray, i32 0, i32 0)) nounwind 305 %3 = call i32 asm "foo $1,$0", "=r|r,r|X"(i32* getelementptr inbounds ([2 x i32]* @marray, i32 0, i32 0)) nounwind 318 %0 = call i32 asm "foo $1,$0", "=r|r,r|r"(i32* getelementptr inbounds ([2 x i32]* @marray, i32 0, i32 0)) nounwind
|