/frameworks/base/media/java/android/media/ |
D | ResampleInputStream.java | 46 private byte[] mBuf; field in ResampleInputStream 90 if (mBuf == null) { in read() 91 mBuf = new byte[nIn]; in read() 92 } else if (nIn > mBuf.length) { in read() 94 System.arraycopy(mBuf, 0, bf, 0, mBufCount); in read() 95 mBuf = bf; in read() 106 int n = mInputStream.read(mBuf, mBufCount, mBuf.length - mBufCount); in read() 112 fir21(mBuf, 0, b, offset, length / 2); in read() 117 if (mBufCount > 0) System.arraycopy(mBuf, nFwd, mBuf, 0, mBufCount); in read()
|
D | AmrInputStream.java | 48 private byte[] mBuf = new byte[SAMPLES_PER_FRAME * 2]; field in AmrInputStream 88 int n = mInputStream.read(mBuf, i, SAMPLES_PER_FRAME * 2 - i); in read() 94 mBufIn = GsmAmrEncoderEncode(mGae, mBuf, 0, mBuf, 0); in read() 99 System.arraycopy(mBuf, mBufOut, b, offset, length); in read()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | BitwiseOutputStream.java | 30 private byte[] mBuf; field in BitwiseOutputStream 53 mBuf = new byte[startingLength]; in BitwiseOutputStream() 66 System.arraycopy(mBuf, 0, newBuf, 0, len); in toByteArray() 78 System.arraycopy(mBuf, 0, newBuf, 0, mEnd >>> 3); in possExpand() 79 mBuf = newBuf; in possExpand() 101 mBuf[index] |= data >>> 8; in write() 102 if (offset < 8) mBuf[index + 1] |= data & 0xFF; in write()
|
D | BitwiseInputStream.java | 30 private byte[] mBuf; field in BitwiseInputStream 53 mBuf = buf; in BitwiseInputStream() 81 int data = (mBuf[index] & 0xFF) << 8; in read() 82 if (offset < 8) data |= mBuf[index + 1] & 0xFF; in read()
|
/frameworks/base/libs/utils/ |
D | Asset.cpp | 339 : mStart(0), mLength(0), mOffset(0), mFp(NULL), mFileName(NULL), mMap(NULL), mBuf(NULL) in _FileAsset() 433 if (mBuf == NULL) in read() 450 } else if (mBuf != NULL) { in read() 453 memcpy(buf, (char*)mBuf + mOffset, count); in read() 515 if (mBuf != NULL) { in close() 516 delete[] mBuf; in close() 517 mBuf = NULL; in close() 544 if (mBuf != NULL) in getBuffer() 545 return mBuf; in getBuffer() 585 mBuf = buf; in getBuffer() [all …]
|
/frameworks/base/core/java/android/speech/srec/ |
D | UlawEncoderInputStream.java | 43 private final byte[] mBuf = new byte[1024]; field in UlawEncoderInputStream 146 int n = mIn.read(mBuf, mBufCount, Math.min(length * 2, mBuf.length - mBufCount)); in read() 153 encode(mBuf, 0, buf, offset, n, mMax); in read() 157 for (int i = 0; i < mBufCount; i++) mBuf[i] = mBuf[i + n * 2]; in read()
|
/frameworks/base/include/utils/ |
D | Asset.h | 243 virtual bool isAllocated(void) const { return mBuf != NULL; } in isAllocated() 260 unsigned char* mBuf; // for read variable 300 virtual bool isAllocated(void) const { return mBuf != NULL; } in isAllocated() 313 unsigned char* mBuf; // for getBuffer() variable
|
/frameworks/base/core/java/android/net/http/ |
D | Connection.java | 103 private byte[] mBuf; field in Connection 518 if (mBuf == null) mBuf = new byte[8192]; in getBuf() 519 return mBuf; in getBuf()
|