Searched defs:mBuf (Results 1 - 12 of 12) sorted by relevance

/frameworks/base/core/java/com/android/internal/util/
H A DBitwiseInputStream.java30 private byte[] mBuf; field in class:BitwiseInputStream
53 mBuf = buf;
81 int data = (mBuf[index] & 0xFF) << 8;
82 if (offset < 8) data |= mBuf[index + 1] & 0xFF;
H A DBitwiseOutputStream.java30 private byte[] mBuf; field in class:BitwiseOutputStream
53 mBuf = new byte[startingLength];
66 System.arraycopy(mBuf, 0, newBuf, 0, len);
78 System.arraycopy(mBuf, 0, newBuf, 0, mEnd >>> 3);
79 mBuf = newBuf;
102 mBuf[index] |= data >>> 8;
103 if (offset < 8) mBuf[index + 1] |= data & 0xFF;
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DByteBufferInputStream.java24 private ByteBuffer mBuf; field in class:ByteBufferInputStream
27 mBuf = buf;
32 if (!mBuf.hasRemaining()) {
35 return mBuf.get() & 0xFF;
40 if (!mBuf.hasRemaining()) {
44 len = Math.min(len, mBuf.remaining());
45 mBuf.get(bytes, off, len);
/frameworks/base/core/java/android/speech/srec/
H A DUlawEncoderInputStream.java43 private final byte[] mBuf = new byte[1024]; field in class:UlawEncoderInputStream
146 int n = mIn.read(mBuf, mBufCount, Math.min(length * 2, mBuf.length - mBufCount));
153 encode(mBuf, 0, buf, offset, n, mMax);
155 // move data to bottom of mBuf
157 for (int i = 0; i < mBufCount; i++) mBuf[i] = mBuf[i + n * 2];
/frameworks/base/media/java/android/media/
H A DAmrInputStream.java45 private final byte[] mBuf = new byte[SAMPLES_PER_FRAME * 2]; field in class:AmrInputStream
85 int n = mInputStream.read(mBuf, i, SAMPLES_PER_FRAME * 2 - i);
91 mBufIn = GsmAmrEncoderEncode(mGae, mBuf, 0, mBuf, 0);
96 System.arraycopy(mBuf, mBufOut, b, offset, length);
H A DResampleInputStream.java43 private byte[] mBuf; field in class:ResampleInputStream
85 // ensure that mBuf is big enough to cover requested 'length'
87 if (mBuf == null) {
88 mBuf = new byte[nIn];
89 } else if (nIn > mBuf.length) {
91 System.arraycopy(mBuf, 0, bf, 0, mBufCount);
92 mBuf = bf;
102 // TODO: should mBuf.length below be nIn instead?
103 int n = mInputStream.read(mBuf, mBufCount, mBuf
[all...]
/frameworks/native/include/gui/
H A DIGraphicBufferConsumer.h55 // The default value of mBuf, used to indicate this doesn't correspond to a slot.
91 // mBuf is the slot index of this buffer (default INVALID_BUFFER_SLOT).
92 int mBuf; member in class:android::IGraphicBufferConsumer::BufferItem
/frameworks/base/include/androidfw/
H A DAsset.h245 virtual bool isAllocated(void) const { return mBuf != NULL; }
262 unsigned char* mBuf; // for read member in class:android::_FileAsset
302 virtual bool isAllocated(void) const { return mBuf != NULL; }
315 unsigned char* mBuf; // for getBuffer() member in class:android::_CompressedAsset
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_context.h37 GLvoid *mBuf; member in class:android::gltrace::ElementArrayBuffer
41 ElementArrayBuffer():mBuf(NULL), mSize(0) {}
/frameworks/av/media/libstagefright/omx/
H A DGraphicBufferSource.h162 int mBuf; member in struct:android::GraphicBufferSource::CodecBuffer
/frameworks/base/core/java/android/net/http/
H A DConnection.java102 private byte[] mBuf; field in class:Connection
516 if (mBuf == null) mBuf = new byte[8192];
517 return mBuf;
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicColorMatrix.cpp197 unsigned char *mBuf; member in class:android::renderscript::RsdCpuScriptIntrinsicColorMatrix
488 mBuf = (uint8_t *)mmap(0, mBufSize, PROT_READ | PROT_WRITE,
490 if (mBuf == MAP_FAILED) {
491 mBuf = NULL;
495 uint8_t *buf = mBuf;
733 int ret = mprotect(mBuf, mBufSize, PROT_READ | PROT_EXEC);
739 FLUSH_CPU_CACHE(mBuf, (char*) mBuf + mBufSize);
972 if (mBuf) munmap(mBuf, mBufSiz
[all...]

Completed in 346 milliseconds