Searched refs:mBuf (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
D | ByteBufferInputStream.java | 24 private ByteBuffer mBuf; field in ByteBufferInputStream 27 mBuf = buf; in ByteBufferInputStream() 32 if (!mBuf.hasRemaining()) { in read() 35 return mBuf.get() & 0xFF; in read() 40 if (!mBuf.hasRemaining()) { in read() 44 len = Math.min(len, mBuf.remaining()); in read() 45 mBuf.get(bytes, off, len); in read()
|
/packages/apps/Camera2/src/com/android/camera/exif/ |
D | ByteBufferInputStream.java | 24 private ByteBuffer mBuf; field in ByteBufferInputStream 27 mBuf = buf; in ByteBufferInputStream() 32 if (!mBuf.hasRemaining()) { in read() 35 return mBuf.get() & 0xFF; in read() 40 if (!mBuf.hasRemaining()) { in read() 44 len = Math.min(len, mBuf.remaining()); in read() 45 mBuf.get(bytes, off, len); in read()
|
/packages/apps/Messaging/src/com/android/messaging/util/exif/ |
D | ByteBufferInputStream.java | 24 private final ByteBuffer mBuf; field in ByteBufferInputStream 27 mBuf = buf; in ByteBufferInputStream() 32 if (!mBuf.hasRemaining()) { in read() 35 return mBuf.get() & 0xFF; in read() 40 if (!mBuf.hasRemaining()) { in read() 44 len = Math.min(len, mBuf.remaining()); in read() 45 mBuf.get(bytes, off, len); in read()
|
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/ |
D | PacketReflector.java | 59 private byte[] mBuf; field in PacketReflector 64 mBuf = new byte[mtu]; in PacketReflector() 207 int len = readPacket(mBuf); in processPacket() 212 int version = mBuf[0] >> 4; in processPacket() 232 byte proto = mBuf[protoPos]; in processPacket() 236 processIcmpPacket(mBuf, version, len, hdrLen); in processPacket() 239 processTcpPacket(mBuf, version, len, hdrLen); in processPacket() 242 processUdpPacket(mBuf, version, len, hdrLen); in processPacket()
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
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()
|
/packages/modules/StatsD/statsd/src/logd/ |
D | LogEvent.h | 245 uint8_t* mBuf; variable 267 if ((reinterpret_cast<uintptr_t>(mBuf) % alignof(T)) == 0) { in readNextValue() 269 value = *((T*)mBuf); in readNextValue() 272 memcpy(&value, mBuf, sizeof(T)); in readNextValue() 274 mBuf += sizeof(T); in readNextValue()
|
D | LogEvent.cpp | 128 string value = string((char*)mBuf, numBytes); in parseString() 129 mBuf += numBytes; in parseString() 155 vector<uint8_t> value(mBuf, mBuf + numBytes); in parseByteArray() 156 mBuf += numBytes; in parseByteArray() 365 mBuf = buf; in parseBuffer() 431 mBuf = nullptr; in parseBuffer()
|