/frameworks/base/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...] |
/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/ |
WebBackForwardList.java | 31 private ArrayList<WebHistoryItem> mArray; 42 mArray = new ArrayList<WebHistoryItem>(); 73 return mArray.get(index); 81 return mArray.size(); 113 final int size = mArray.size(); 117 final WebHistoryItem h = mArray.remove(i); 121 mArray.add(item); 133 mArray.clear(); 149 final WebHistoryItem h = mArray.remove(index); 169 l.mArray = new ArrayList<WebHistoryItem>(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);
|
WebViewWorker.java | 162 cache.outStream.write(data.mChunk.mArray, 0,
|
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
MultiLineReceiver.java | 36 private final ArrayList<String> mArray = new ArrayList<String>(); 69 mArray.clear(); 87 mArray.add(line); 93 if (mArray.size() > 0) { 96 String[] lines = mArray.toArray(new String[mArray.size()]);
|
/system/media/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; 510 // inline allocation of circular Buffer Queue mArray, up to a typical max 512 thiz->mBufferQueue.mArray = thiz->mBufferQueue.mTypical; 521 thiz->mBufferQueue.mArray = (BufferHeader *) malloc((thiz->mBufferQueue. 523 if (NULL == thiz->mBufferQueue.mArray) { [all...] |
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;
|
/hardware/qcom/media/mm-video/vidc/venc/inc/ |
omx_video_base.h | 107 #define BITMASK_CLEAR(mArray,mIndex) (mArray)[BITMASK_OFFSET(mIndex)] \ 109 #define BITMASK_SET(mArray,mIndex) (mArray)[BITMASK_OFFSET(mIndex)] \ 111 #define BITMASK_PRESENT(mArray,mIndex) ((mArray)[BITMASK_OFFSET(mIndex)] \ 113 #define BITMASK_ABSENT(mArray,mIndex) (((mArray)[BITMASK_OFFSET(mIndex)] \ 115 #define BITMASK_PRESENT(mArray,mIndex) ((mArray)[BITMASK_OFFSET(mIndex)] [all...] |
/frameworks/base/include/utils/ |
StringArray.h | 66 return (unsigned(idx) >= unsigned(mCurrent)) ? NULL : mArray[idx]; 78 char** mArray;
|
/hardware/qcom/media/mm-video/vidc/vdec/inc/ |
omx_vdec.h | 119 #define BITMASK_CLEAR(mArray,mIndex) (mArray)[BITMASK_OFFSET(mIndex)] \ 121 #define BITMASK_SET(mArray,mIndex) (mArray)[BITMASK_OFFSET(mIndex)] \ 123 #define BITMASK_PRESENT(mArray,mIndex) ((mArray)[BITMASK_OFFSET(mIndex)] \ 125 #define BITMASK_ABSENT(mArray,mIndex) (((mArray)[BITMASK_OFFSET(mIndex)] \ 127 #define BITMASK_PRESENT(mArray,mIndex) ((mArray)[BITMASK_OFFSET(mIndex)] [all...] |
/external/clang/test/CodeGen/ |
mult-alt-generic.c | 17 int marray[2]; variable 136 asm("foo %1,%0" : "=r" (out0) : "X" (marray)); 149 asm("foo %1,%0" : "=r" (out0) : "p" (marray)); 269 asm("foo %1,%0" : "=r,r" (out0) : "r,X" (marray)); 282 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
|
mult-alt-generic-powerpc64.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
|
/external/llvm/test/CodeGen/SPARC/ |
mult-alt-generic-sparc.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/X86/ |
mult-alt-generic-i686.ll | 8 @marray = common global [2 x i32] zeroinitializer, align 4 148 %3 = call i32 asm "foo $1,$0", "=r,X,~{dirflag},~{fpsr},~{flags}"(i32* getelementptr inbounds ([2 x i32]* @marray, i32 0, i32 0)) nounwind 161 %0 = call i32 asm "foo $1,$0", "=r,im,~{dirflag},~{fpsr},~{flags}"(i32* getelementptr inbounds ([2 x i32]* @marray, i32 0, i32 0)) nounwind 305 %3 = call i32 asm "foo $1,$0", "=r|r,r|X,~{dirflag},~{fpsr},~{flags}"(i32* getelementptr inbounds ([2 x i32]* @marray, i32 0, i32 0)) nounwind 318 %0 = call i32 asm "foo $1,$0", "=r|r,r|im,~{dirflag},~{fpsr},~{flags}"(i32* getelementptr inbounds ([2 x i32]* @marray, i32 0, i32 0)) nounwind
|
mult-alt-generic-x86_64.ll | 8 @marray = common global [2 x i32] zeroinitializer, align 4 148 %3 = call i32 asm "foo $1,$0", "=r,X,~{dirflag},~{fpsr},~{flags}"(i32* getelementptr inbounds ([2 x i32]* @marray, i32 0, i32 0)) nounwind 161 %0 = call i32 asm "foo $1,$0", "=r,im,~{dirflag},~{fpsr},~{flags}"(i32* getelementptr inbounds ([2 x i32]* @marray, i32 0, i32 0)) nounwind 305 %3 = call i32 asm "foo $1,$0", "=r|r,r|X,~{dirflag},~{fpsr},~{flags}"(i32* getelementptr inbounds ([2 x i32]* @marray, i32 0, i32 0)) nounwind 318 %0 = call i32 asm "foo $1,$0", "=r|r,r|im,~{dirflag},~{fpsr},~{flags}"(i32* getelementptr inbounds ([2 x i32]* @marray, i32 0, i32 0)) nounwind
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
Bridge.java | 114 private int[] mArray; 121 mArray = a; 125 mArray = a; 130 return Arrays.hashCode(mArray); 140 if (!Arrays.equals(mArray, other.mArray)) return false;
|
/frameworks/base/docs/html/guide/practices/design/ |
performance.jd | 227 Foo[] mArray = ... 231 for (int i = 0; i < mArray.length; ++i) { 232 sum += mArray[i].mSplat; 238 Foo[] localArray = mArray; 248 for (Foo a : mArray) {
|