HomeSort by relevance Sort by last modified time
    Searched full:bytebuffer (Results 1 - 25 of 935) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
ItemDataBox.java 5 import java.nio.ByteBuffer;
11 ByteBuffer data = ByteBuffer.allocate(0);
19 public ByteBuffer getData() {
23 public void setData(ByteBuffer data) {
34 public void _parseDetails(ByteBuffer content) {
40 protected void getContent(ByteBuffer byteBuffer) {
41 byteBuffer.put(data);
SubtitleMediaHeaderBox.java 3 import java.nio.ByteBuffer;
18 public void _parseDetails(ByteBuffer content) {
23 protected void getContent(ByteBuffer byteBuffer) {
24 writeVersionAndFlags(byteBuffer);
ChunkOffset64BitBox.java 6 import java.nio.ByteBuffer;
32 public void _parseDetails(ByteBuffer content) {
42 protected void getContent(ByteBuffer byteBuffer) {
43 writeVersionAndFlags(byteBuffer);
44 IsoTypeWriter.writeUInt32(byteBuffer, chunkOffsets.length);
46 IsoTypeWriter.writeUInt64(byteBuffer, chunkOffset);
XmlBox.java 7 import java.nio.ByteBuffer;
34 public void _parseDetails(ByteBuffer content) {
40 protected void getContent(ByteBuffer byteBuffer) {
41 writeVersionAndFlags(byteBuffer);
42 byteBuffer.put(Utf8.convert(xml));
  /art/test/070-nio-buffer/
info.txt 1 Exercise NIO buffers (e.g. java.nio.ByteBuffer).
  /dalvik/tests/070-nio-buffer/
info.txt 1 Exercise NIO buffers (e.g. java.nio.ByteBuffer).
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/adobe/
ActionMessageFormat0SampleEntryBox.java 6 import java.nio.ByteBuffer;
28 public void _parseDetails(ByteBuffer content) {
34 protected void getContent(ByteBuffer byteBuffer) {
35 _writeReservedAndDataReferenceIndex(byteBuffer);
36 _writeChildBoxes(byteBuffer);
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/
ByteBufferByteChannel.java 20 import java.nio.ByteBuffer;
24 * Creates a <code>ReadableByteChannel</code> that is backed by a <code>ByteBuffer</code>.
27 ByteBuffer byteBuffer;
29 public ByteBufferByteChannel(ByteBuffer byteBuffer) {
30 this.byteBuffer = byteBuffer;
33 public int read(ByteBuffer dst) throws IOException {
36 if (byteBuffer.remaining() >= r)
    [all...]
  /libcore/luni/src/main/java/java/nio/
ByteBufferAsCharBuffer.java 36 private final ByteBuffer byteBuffer;
38 static CharBuffer asCharBuffer(ByteBuffer byteBuffer) {
39 ByteBuffer slice = byteBuffer.slice();
40 slice.order(byteBuffer.order());
44 private ByteBufferAsCharBuffer(ByteBuffer byteBuffer) {
45 super(byteBuffer.capacity() / SizeOf.CHAR)
    [all...]
ByteBufferAsDoubleBuffer.java 36 private final ByteBuffer byteBuffer;
38 static DoubleBuffer asDoubleBuffer(ByteBuffer byteBuffer) {
39 ByteBuffer slice = byteBuffer.slice();
40 slice.order(byteBuffer.order());
44 private ByteBufferAsDoubleBuffer(ByteBuffer byteBuffer) {
45 super(byteBuffer.capacity() / SizeOf.DOUBLE)
    [all...]
ByteBufferAsFloatBuffer.java 35 private final ByteBuffer byteBuffer;
37 static FloatBuffer asFloatBuffer(ByteBuffer byteBuffer) {
38 ByteBuffer slice = byteBuffer.slice();
39 slice.order(byteBuffer.order());
43 ByteBufferAsFloatBuffer(ByteBuffer byteBuffer) {
44 super(byteBuffer.capacity() / SizeOf.FLOAT)
    [all...]
ByteBufferAsIntBuffer.java 36 private final ByteBuffer byteBuffer;
38 static IntBuffer asIntBuffer(ByteBuffer byteBuffer) {
39 ByteBuffer slice = byteBuffer.slice();
40 slice.order(byteBuffer.order());
44 private ByteBufferAsIntBuffer(ByteBuffer byteBuffer) {
45 super(byteBuffer.capacity() / SizeOf.INT)
    [all...]
ByteBufferAsLongBuffer.java 36 private final ByteBuffer byteBuffer;
38 static LongBuffer asLongBuffer(ByteBuffer byteBuffer) {
39 ByteBuffer slice = byteBuffer.slice();
40 slice.order(byteBuffer.order());
44 private ByteBufferAsLongBuffer(ByteBuffer byteBuffer) {
45 super(byteBuffer.capacity() / SizeOf.LONG)
    [all...]
ByteBufferAsShortBuffer.java 35 private final ByteBuffer byteBuffer;
37 static ShortBuffer asShortBuffer(ByteBuffer byteBuffer) {
38 ByteBuffer slice = byteBuffer.slice();
39 slice.order(byteBuffer.order());
43 private ByteBufferAsShortBuffer(ByteBuffer byteBuffer) {
44 super(byteBuffer.capacity() / SizeOf.SHORT)
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/sampleentry/
Ovc1VisualSampleEntryImpl.java 6 import java.nio.ByteBuffer;
26 public void _parseDetails(ByteBuffer content) {
34 protected void getContent(ByteBuffer byteBuffer) {
35 byteBuffer.put(new byte[6]);
36 IsoTypeWriter.writeUInt16(byteBuffer, getDataReferenceIndex());
37 byteBuffer.put(vc1Content);
MpegSampleEntry.java 7 import java.nio.ByteBuffer;
19 public void _parseDetails(ByteBuffer content) {
39 protected void getContent(ByteBuffer byteBuffer) {
40 _writeReservedAndDataReferenceIndex(byteBuffer);
41 _writeChildBoxes(byteBuffer);
  /packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
NinePatchChunk.java 21 import java.nio.ByteBuffer;
37 private static void readIntArray(int[] data, ByteBuffer buffer) {
50 ByteBuffer byteBuffer =
51 ByteBuffer.wrap(data).order(ByteOrder.nativeOrder());
53 byte wasSerialized = byteBuffer.get();
57 chunk.mDivX = new int[byteBuffer.get()];
58 chunk.mDivY = new int[byteBuffer.get()];
59 chunk.mColor = new int[byteBuffer.get()];
65 byteBuffer.getInt()
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/apple/
GenericMediaHeaderTextAtom.java 5 import java.nio.ByteBuffer;
34 protected void getContent(ByteBuffer byteBuffer) {
35 byteBuffer.putInt(unknown_1);
36 byteBuffer.putInt(unknown_2);
37 byteBuffer.putInt(unknown_3);
38 byteBuffer.putInt(unknown_4);
39 byteBuffer.putInt(unknown_5);
40 byteBuffer.putInt(unknown_6);
41 byteBuffer.putInt(unknown_7)
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/apple/
AppleMeanBox.java 7 import java.nio.ByteBuffer;
27 public void _parseDetails(ByteBuffer content) {
33 protected void getContent(ByteBuffer byteBuffer) {
34 writeVersionAndFlags(byteBuffer);
35 byteBuffer.put(Utf8.convert(meaning));
AppleNameBox.java 7 import java.nio.ByteBuffer;
35 public void _parseDetails(ByteBuffer content) {
41 protected void getContent(ByteBuffer byteBuffer) {
42 writeVersionAndFlags(byteBuffer);
43 byteBuffer.put(Utf8.convert(name));
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/threegpp26244/
LocationInformationBox.java 8 import java.nio.ByteBuffer;
98 public void _parseDetails(ByteBuffer content) {
112 protected void getContent(ByteBuffer byteBuffer) {
113 writeVersionAndFlags(byteBuffer);
114 IsoTypeWriter.writeIso639(byteBuffer, language);
115 byteBuffer.put(Utf8.convert(name));
116 byteBuffer.put((byte) 0);
117 IsoTypeWriter.writeUInt8(byteBuffer, role);
118 IsoTypeWriter.writeFixedPont1616(byteBuffer, longitude)
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/piff/
PlayReadyHeader.java 12 import java.nio.ByteBuffer;
48 public void parse(ByteBuffer byteBuffer) {
58 length = IsoTypeReader.readUInt32BE(byteBuffer);
59 int recordCount = IsoTypeReader.readUInt16BE(byteBuffer);
61 records = PlayReadyRecord.createFor(byteBuffer, recordCount);
65 public ByteBuffer getData() {
72 ByteBuffer byteBuffer = ByteBuffer.allocate(size)
    [all...]
  /external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
SSLEngineTest.java 20 import java.nio.ByteBuffer;
83 * Test for <code>wrap(ByteBuffer src, ByteBuffer dst)</code> method
95 ByteBuffer bbN = null;
96 ByteBuffer bb = ByteBuffer.allocate(10);
102 ByteBuffer roBb = bb.asReadOnlyBuffer();
109 * Test for <code>wrap(ByteBuffer[] srcs, ByteBuffer dst)</code> method
123 ByteBuffer[] bbNA = null
    [all...]
  /libcore/luni/src/test/java/tests/api/javax/net/ssl/
SSLEngineTest.java 21 import java.nio.ByteBuffer;
384 * javax.net.ssl.SSLEngine#unwrap(ByteBuffer src, ByteBuffer[] dsts,
392 ByteBuffer bbs = ByteBuffer.wrap(new byte[] {1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,31,2,3,1,2,3,1,2,3,1,2,3});
393 ByteBuffer bbd = ByteBuffer.allocate(100);
395 clientEngine.engine.unwrap(bbs, new ByteBuffer[] { bbd }, 0, 1);
403 * javax.net.ssl.SSLEngine#unwrap(ByteBuffer src, ByteBuffer[] dsts
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/base/
bytebuffer.cc 28 #include "talk/base/bytebuffer.h"
41 ByteBuffer::ByteBuffer() {
45 ByteBuffer::ByteBuffer(ByteOrder byte_order) {
49 ByteBuffer::ByteBuffer(const char* bytes, size_t len) {
53 ByteBuffer::ByteBuffer(const char* bytes, size_t len, ByteOrder byte_order) {
57 ByteBuffer::ByteBuffer(const char* bytes)
    [all...]

Completed in 538 milliseconds

1 2 3 4 5 6 7 8 91011>>