/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
H A D | ByteBuffer.java | 24 public class ByteBuffer class 37 public ByteBuffer(int initialCapacity) method in class:ByteBuffer 45 * @param buffer a byte array that will be wrapped with <code>ByteBuffer</code>. 47 public ByteBuffer(byte[] buffer) method in class:ByteBuffer 55 * @param buffer a byte array that will be wrapped with <code>ByteBuffer</code>. 58 public ByteBuffer(byte[] buffer, int length) method in class:ByteBuffer 75 public ByteBuffer(InputStream in) throws IOException method in class:ByteBuffer 99 * @param buffer a byte array that will be wrapped with <code>ByteBuffer</code>. 103 public ByteBuffer(byte[] buffer, int offset, int length) method in class:ByteBuffer 216 * @param anotherBuffer another <code>ByteBuffer</cod [all...] |
H A D | Latin1Converter.java | 66 public static ByteBuffer convert(ByteBuffer buffer) 77 ByteBuffer out = new ByteBuffer(buffer.length() * 4 / 3);
|
H A D | XMPMetaParser.java | 132 return parseXmlFromBytebuffer(new ByteBuffer((byte[]) input), options); 162 ByteBuffer buffer = new ByteBuffer(stream); 183 private static Document parseXmlFromBytebuffer(ByteBuffer buffer, ParseOptions options)
|
/external/smack/src/org/xbill/DNS/ |
H A D | TCPClient.java | 48 ByteBuffer [] buffers = new ByteBuffer[2]; 49 buffers[0] = ByteBuffer.wrap(lengthArray); 50 buffers[1] = ByteBuffer.wrap(data); 78 ByteBuffer buffer = ByteBuffer.wrap(data);
|
H A D | UDPClient.java | 114 channel.write(ByteBuffer.wrap(data)); 130 long ret = channel.read(ByteBuffer.wrap(temp));
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/ |
H A D | DexWriter.java | 68 import java.nio.ByteBuffer; 621 ByteBuffer tempBuffer = ByteBuffer.allocate(65536); 634 tempBuffer = ByteBuffer.allocate(maxSize);
|
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/dexbacked/ |
H A D | BaseDexBufferTest.java | 38 import java.nio.ByteBuffer; 216 ByteBuffer byteBuf = ByteBuffer.allocateDirect(4).order(ByteOrder.LITTLE_ENDIAN); 250 ByteBuffer byteBuf = ByteBuffer.allocateDirect(8).order(ByteOrder.LITTLE_ENDIAN);
|
/external/replicaisland/src/com/replica/replicaisland/ |
H A D | Grid.java | 20 import java.nio.ByteBuffer; 82 mFixedVertexBuffer = ByteBuffer.allocateDirect(FIXED_SIZE * size * 3) 84 mFixedTexCoordBuffer = ByteBuffer.allocateDirect(FIXED_SIZE * size * 2) 93 mFloatVertexBuffer = ByteBuffer.allocateDirect(FLOAT_SIZE * size * 3) 95 mFloatTexCoordBuffer = ByteBuffer.allocateDirect(FLOAT_SIZE * size * 2) 110 mIndexBuffer = ByteBuffer.allocateDirect(CHAR_SIZE * indexCount)
|
/external/robolectric/lib/main/ |
H A D | android.jar | META-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ... |
/external/protobuf/java/src/main/java/com/google/protobuf/ |
H A D | ByteString.java | 38 import java.nio.ByteBuffer; 103 * Copies {@code size} bytes from a {@code java.nio.ByteBuffer} into 106 public static ByteString copyFrom(final ByteBuffer bytes, final int size) { 113 * Copies the remaining bytes from a {@code java.nio.ByteBuffer} into 116 public static ByteString copyFrom(final ByteBuffer bytes) { 207 * Constructs a new read-only {@code java.nio.ByteBuffer} with the 210 public ByteBuffer asReadOnlyByteBuffer() { 211 final ByteBuffer byteBuffer = ByteBuffer.wrap(bytes);
|
/external/nanohttpd/core/src/main/java/fi/iki/elonen/ |
H A D | NanoHTTPD.java | 11 import java.nio.ByteBuffer; 991 ByteBuffer fbuf = randomAccessFile.getChannel().map(FileChannel.MapMode.READ_ONLY, 0, randomAccessFile.length()); 1111 private void decodeMultipartData(String boundary, ByteBuffer fbuf, BufferedReader in, Map<String, String> parms, 1199 private int[] getBoundaryPositions(ByteBuffer b, byte[] boundary) { 1229 private String saveTmpFile(ByteBuffer b, int offset, int len) { 1235 ByteBuffer src = b.duplicate(); 1262 private int stripMultipartHeaders(ByteBuffer b, int offset) {
|
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/ |
H A D | WebSocketFrame.java | 7 import java.nio.ByteBuffer; 287 return TEXT_DECODER.decode(ByteBuffer.wrap(payload)).toString(); 291 return TEXT_DECODER.decode(ByteBuffer.wrap(payload, offset, length)).toString();
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/ |
H A D | AbstractBoxParser.java | 23 import java.nio.ByteBuffer; 50 ByteBuffer header = ChannelHelper.readFully(byteChannel, 8); 65 ByteBuffer bb = ByteBuffer.allocate(8); 81 ByteBuffer bb = ByteBuffer.allocate(16); 98 header = ByteBuffer.allocate(16); 103 header = ByteBuffer.allocate(24); 108 header = ByteBuffer.allocate(32);
|
H A D | ChannelHelper.java | 20 import java.nio.ByteBuffer; 30 public static ByteBuffer readFully(final ReadableByteChannel channel, long size) throws IOException { 33 ByteBuffer bb = ((FileChannel) channel).map(FileChannel.MapMode.READ_ONLY, ((FileChannel) channel).position(), size); 37 ByteBuffer buf = ByteBuffer.allocate(l2i(size)); 48 public static void readFully(final ReadableByteChannel channel, final ByteBuffer buf) 53 public static int readFully(final ReadableByteChannel channel, final ByteBuffer buf, final int length) 69 public static void writeFully(final WritableByteChannel channel, final ByteBuffer buf)
|
H A D | IsoFile.java | 25 import java.nio.ByteBuffer; 72 public void _parseDetails(ByteBuffer content) { 76 public void parse(ReadableByteChannel inFC, ByteBuffer header, long contentSize, AbstractBoxParser abstractBoxParser) throws IOException {
|
H A D | IsoTypeReader.java | 19 import java.nio.ByteBuffer; 24 public static long readUInt32BE(ByteBuffer bb) { 34 public static long readUInt32(ByteBuffer bb) { 42 public static int readUInt24(ByteBuffer bb) { 50 public static int readUInt16(ByteBuffer bb) { 57 public static int readUInt16BE(ByteBuffer bb) { 64 public static int readUInt8(ByteBuffer bb) { 80 public static String readString(ByteBuffer byteBuffer) { 90 public static String readString(ByteBuffer byteBuffer, int length) { 97 public static long readUInt64(ByteBuffer byteBuffe [all...] |
H A D | IsoTypeReaderVariable.java | 18 import java.nio.ByteBuffer; 22 public static long read(ByteBuffer bb, int bytes) {
|
H A D | IsoTypeWriter.java | 18 import java.nio.ByteBuffer; 22 public static void writeUInt64(ByteBuffer bb, long u) { 26 public static void writeUInt32(ByteBuffer bb, long u) { 31 public static void writeUInt32BE(ByteBuffer bb, long u) { 39 public static void writeUInt24(ByteBuffer bb, int i) { 47 public static void writeUInt16(ByteBuffer bb, int i) { 53 public static void writeUInt16BE(ByteBuffer bb, int i) { 59 public static void writeUInt8(ByteBuffer bb, int i) { 65 public static void writeFixedPont1616(ByteBuffer bb, double v) { 73 public static void writeFixedPont88(ByteBuffer b [all...] |
H A D | IsoTypeWriterVariable.java | 19 import java.nio.ByteBuffer; 23 public static void write(long v, ByteBuffer bb, int bytes) {
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
H A D | AlbumBox.java | 24 import java.nio.ByteBuffer; 79 public void _parseDetails(ByteBuffer content) { 92 protected void getContent(ByteBuffer byteBuffer) {
|
H A D | AuthorBox.java | 25 import java.nio.ByteBuffer; 76 public void _parseDetails(ByteBuffer content) { 83 protected void getContent(ByteBuffer byteBuffer) {
|
H A D | BitRateBox.java | 23 import java.nio.ByteBuffer; 55 public void _parseDetails(ByteBuffer content) { 62 protected void getContent(ByteBuffer byteBuffer) {
|
H A D | Box.java | 23 import java.nio.ByteBuffer; 50 void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException;
|
H A D | ChunkOffset64BitBox.java | 6 import java.nio.ByteBuffer; 32 public void _parseDetails(ByteBuffer content) { 42 protected void getContent(ByteBuffer byteBuffer) {
|
H A D | ClassificationBox.java | 25 import java.nio.ByteBuffer; 80 public void _parseDetails(ByteBuffer content) { 91 protected void getContent(ByteBuffer byteBuffer) {
|