/packages/apps/Email/src/com/android/email/ |
FixedLengthInputStream.java | 29 private final int mLength; 34 this.mLength = length; 39 return mLength - mCount; 44 if (mCount < mLength) { 54 if (mCount < mLength) { 55 int d = mIn.read(b, offset, Math.min(mLength - mCount, length)); 73 return mLength; 78 return String.format("FixedLengthInputStream(in=%s, length=%d)", mIn.toString(), mLength);
|
/frameworks/base/obex/javax/obex/ |
ApplicationParameter.java | 42 private int mLength; 113 mLength = 0; 117 if ((mLength + len + 2) > mMaxLength) { 118 byte[] array_tmp = new byte[mLength + 4 * len]; 119 System.arraycopy(mArray, 0, array_tmp, 0, mLength); 121 mMaxLength = mLength + 4 * len; 123 mArray[mLength++] = tag; 124 mArray[mLength++] = len; 125 System.arraycopy(value, 0, mArray, mLength, len); 126 mLength += len [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
ResizableIntArray.java | 24 private int mLength; 31 if (index < mLength) { 34 throw new ArrayIndexOutOfBoundsException("length=" + mLength + "; index=" + index); 38 if (index < mLength) { 41 mLength = index; 47 final int currentLength = mLength; 50 mLength = currentLength + 1; 78 return mLength; 83 mLength = newLength; 89 mLength = 0 [all...] |
AssetFileAddress.java | 30 public final long mLength; 35 mLength = length;
|
/external/astl/src/ |
string.cpp | 57 // mCapacity is either mLength or the number of bytes reserved using 60 // mLength is the number of char in the string, excluding the terminating '\0'. 65 // Ensure that mCapacity + 1 and mLength + 1 is accessible. 88 // Resize the buffer pointed by mData if n >= mLength. 91 // Must be > mLength and > 0. 95 if (n < mLength || n == mCapacity || n + 1 < n) { 139 mLength = 0; 155 mLength = n; 156 mData[mLength] = '\0'; 169 mLength = n [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
SpriteAnimation.java | 30 private float mLength; 37 mLength = 0.0f; 43 final float length = mLength; 84 mFrameStartTimes[mFrames.getCount()] = mLength; 86 mLength += frame.holdTime; 90 return mLength;
|
/external/astl/include/ |
vector | 103 bool empty() const { return mLength == 0; } 104 size_type size() const { return mLength; } 122 reference back() { return mLength ? *(mBegin + mLength - 1) : front(); } 123 const_reference back() const { return mLength ? *(mBegin + mLength - 1) : front(); } 137 { return index < mLength ? *( mBegin + index) : sDummy; } 140 { return index < mLength ? *( mBegin + index) : sDummy; } 143 iterator end() { return iterator(mBegin + mLength); } 146 const_iterator end() const { return const_iterator(mBegin + mLength); } [all...] |
/frameworks/base/core/java/android/webkit/ |
KeyStoreHandler.java | 67 if (c.mLength != 0) { 68 System.arraycopy(c.mArray, 0, cert, offset, c.mLength); 69 offset += c.mLength;
|
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); 61 c.mLength += amount; 87 total += c.mLength; 133 public int mLength; 137 mLength = 0; 144 mLength = 0;
|
/frameworks/rs/ |
rsStream.cpp | 55 mLength = len; 66 while (mPos + numBytes >= mLength) { 76 if (mPos + sizeof(v) >= mLength) { 95 if (mPos + len*sizeof(char) >= mLength) { 106 uint8_t *newData = (uint8_t*)malloc(mLength*2); 107 memcpy(newData, mData, mLength*sizeof(uint8_t)); 108 mLength = mLength * 2;
|
rsStream.h | 89 if (mPos >= mLength) { 100 if (mPos + sizeof(v) >= mLength) { 110 if (mPos + sizeof(v) >= mLength) { 120 if (mPos + sizeof(v) >= mLength) { 127 if (mPos + 1 >= mLength) { 151 uint64_t mLength;
|
/frameworks/support/renderscript/v8/rs_support/ |
rsStream.cpp | 55 mLength = len; 66 while (mPos + numBytes >= mLength) { 76 if (mPos + sizeof(v) >= mLength) { 95 if (mPos + len*sizeof(char) >= mLength) { 106 uint8_t *newData = (uint8_t*)malloc(mLength*2); 107 memcpy(newData, mData, mLength*sizeof(uint8_t)); 108 mLength = mLength * 2;
|
rsStream.h | 89 if (mPos >= mLength) { 100 if (mPos + sizeof(v) >= mLength) { 110 if (mPos + sizeof(v) >= mLength) { 120 if (mPos + sizeof(v) >= mLength) { 127 if (mPos + 1 >= mLength) { 151 uint64_t mLength;
|
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
JdwpPacket.java | 61 private int mLength, mId, mFlags, mCmdSet, mCmd, mErrCode; 94 mLength = JDWP_HEADER_LEN + payloadLength; 100 mBuffer.putInt(0x00, mLength); 107 mBuffer.position(mLength); 138 if (mLength > 0) 139 buf.limit(mLength - JDWP_HEADER_LEN); 176 return (mLength == JDWP_HEADER_LEN); 192 return mLength; 207 assert mLength > 0; 211 mBuffer.limit(mLength); [all...] |
/frameworks/base/core/java/android/content/res/ |
AssetFileDescriptor.java | 43 private final long mLength; 64 mLength = length; 103 if (mLength >= 0) { 104 return mLength; 119 return mLength; 138 if (mLength < 0) { 153 if (mLength < 0) { 162 + " start=" + mStartOffset + " len=" + mLength + "}"; 318 out.writeLong(mLength); 324 mLength = src.readLong() [all...] |
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
WifiP2pServiceRequest.java | 50 private int mLength; 79 mLength = query.length()/2 + 2; 81 mLength = 2; 96 mLength = length; 137 sb.append(String.format("%02x", (mLength) & 0xff)); 138 sb.append(String.format("%02x", (mLength >> 8) & 0xff)); 228 (req.mLength != mLength)) { 244 result = 31 * result + mLength; 257 dest.writeInt(mLength); [all...] |
/frameworks/base/core/java/android/hardware/usb/ |
UsbRequest.java | 46 private int mLength; 148 mLength = length; 159 bytesRead = native_dequeue_array(mBuffer.array(), mLength, out); 162 mBuffer.position(Math.min(bytesRead, mLength)); 165 mLength = 0;
|
/frameworks/av/media/libstagefright/ |
FileSource.cpp | 30 mLength(-1), 40 mLength = lseek64(mFd, 0, SEEK_END); 49 mLength(length), 94 if (mLength >= 0) { 95 if (offset >= mLength) { 98 int64_t numAvailable = mLength - offset; 125 *size = mLength; 141 mFd, mOffset, mLength, mime);
|
/system/security/keystore/ |
keystore_client.h | 40 size_t mLength;
|
/frameworks/base/core/java/android/os/ |
MemoryFile.java | 59 private int mLength; // total length of our ashmem region 70 mLength = length; 100 native_munmap(mAddress, mLength); 136 return mLength; 200 || srcOffset < 0 || srcOffset > mLength 201 || count > mLength - srcOffset) { 224 || destOffset < 0 || destOffset > mLength 225 || count > mLength - destOffset) { 264 if (mOffset >= mLength) { 267 return mLength - mOffset [all...] |
/packages/apps/Exchange/exchange2/src/com/android/exchange/ |
EasResponse.java | 42 private final int mLength; 56 mLength = (int) mEntity.getContentLength(); 58 mLength = 0; 127 return mLength == 0; 145 return mLength;
|
/packages/apps/Nfc/src/com/android/nfc/snep/ |
SnepMessage.java | 49 private final int mLength; 85 mLength = input.getInt(); 89 ndefLength = mLength - 4; 93 ndefLength = mLength; 109 mLength = length; 160 return mLength;
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
DashPathEffectTest.java | 84 private int mLength; 102 mLength += 1; 103 if (mLength == mPattern[mPatternOffset]) { 104 mLength = 0;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
ComprehensionTlv.java | 36 private int mLength; 55 mLength = length; 69 return mLength; 96 startIndex = ctlv.mValueIndex + ctlv.mLength;
|
/frameworks/native/include/utils/ |
Tokenizer.h | 125 size_t mLength; 130 inline const char* getEnd() const { return mBuffer + mLength; }
|