Searched refs:ByteBuffer (Results 1 - 25 of 310) sorted by relevance

1234567891011>>

/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/samplegrouping/
H A DGroupEntry.java19 import java.nio.ByteBuffer;
22 public abstract void parse(ByteBuffer byteBuffer);
23 public abstract ByteBuffer get();
H A DUnknownEntry.java21 import java.nio.ByteBuffer;
27 private ByteBuffer content;
32 public ByteBuffer getContent() {
36 public void setContent(ByteBuffer content) {
37 this.content = (ByteBuffer) content.duplicate().rewind();
41 public void parse(ByteBuffer byteBuffer) {
42 this.content = (ByteBuffer) byteBuffer.duplicate().rewind();
46 public ByteBuffer get() {
52 ByteBuffer bb = content.duplicate();
H A DRollRecoveryEntry.java19 import java.nio.ByteBuffer;
43 public void parse(ByteBuffer byteBuffer) {
48 public ByteBuffer get() {
49 ByteBuffer content = ByteBuffer.allocate(2);
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
H A DItemDataBox.java5 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) {
H A DUnknownBox.java22 import java.nio.ByteBuffer;
29 ByteBuffer data;
41 public void _parseDetails(ByteBuffer content) {
47 protected void getContent(ByteBuffer byteBuffer) {
52 public ByteBuffer getData() {
56 public void setData(ByteBuffer data) {
H A DDataEntryUrlBox.java21 import java.nio.ByteBuffer;
36 public void _parseDetails(ByteBuffer content) {
42 protected void getContent(ByteBuffer byteBuffer) {
H A DNullMediaHeaderBox.java18 import java.nio.ByteBuffer;
35 public void _parseDetails(ByteBuffer content) {
40 protected void getContent(ByteBuffer byteBuffer) {
H A DSubtitleMediaHeaderBox.java3 import java.nio.ByteBuffer;
18 public void _parseDetails(ByteBuffer content) {
23 protected void getContent(ByteBuffer byteBuffer) {
H A DDataReferenceBox.java23 import java.nio.ByteBuffer;
51 public void _parseDetails(ByteBuffer content) {
59 protected void getContent(ByteBuffer byteBuffer) {
/external/chromium_org/components/devtools_bridge/android/java/src/org/chromium/components/devtools_bridge/
H A DAbstractDataChannel.java7 import java.nio.ByteBuffer;
29 void onMessage(ByteBuffer message);
65 public abstract void send(ByteBuffer message, MessageType type);
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/
H A DByteBufferHelper.java18 import java.nio.ByteBuffer;
27 public static List<ByteBuffer> mergeAdjacentBuffers(List<ByteBuffer> samples) {
28 ArrayList<ByteBuffer> nuSamples = new ArrayList<ByteBuffer>(samples.size());
29 for (ByteBuffer buffer : samples) {
33 ByteBuffer oldBuffer = nuSamples.remove(lastIndex);
34 ByteBuffer nu = ByteBuffer.wrap(buffer.array(), oldBuffer.arrayOffset(), oldBuffer.limit() + buffer.limit()).slice();
41 ByteBuffer oldBuffe
[all...]
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
H A DSSLEngineTest.java20 import java.nio.ByteBuffer;
82 * Test for <code>wrap(ByteBuffer src, ByteBuffer dst)</code> method
94 ByteBuffer bbN = null;
95 ByteBuffer bb = ByteBuffer.allocate(10);
101 ByteBuffer roBb = bb.asReadOnlyBuffer();
108 * Test for <code>wrap(ByteBuffer[] srcs, ByteBuffer dst)</code> method
122 ByteBuffer[] bbN
[all...]
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/
H A DIsoTypeWriter.java18 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 DIsoTypeReaderVariable.java18 import java.nio.ByteBuffer;
22 public static long read(ByteBuffer bb, int bytes) {
H A DIsoTypeReader.java19 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...]
/external/chromium_org/mojo/android/javatests/src/org/chromium/mojo/
H A DTestUtils.java7 import java.nio.ByteBuffer;
19 * Returns a new direct ByteBuffer of the given size with random (but reproducible) data.
21 public static ByteBuffer newRandomBuffer(int size) {
25 ByteBuffer data = ByteBuffer.allocateDirect(size);
/external/chromium_org/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
H A DMessage.java10 import java.nio.ByteBuffer;
22 private final ByteBuffer mBuffer;
40 public Message(ByteBuffer buffer, List<? extends Handle> handles) {
49 public ByteBuffer getData() {
/external/chromium_org/third_party/webrtc/base/
H A Dbytebuffer.cc25 ByteBuffer::ByteBuffer() { function in class:rtc::ByteBuffer
29 ByteBuffer::ByteBuffer(ByteOrder byte_order) { function in class:rtc::ByteBuffer
33 ByteBuffer::ByteBuffer(const char* bytes, size_t len) { function in class:rtc::ByteBuffer
37 ByteBuffer::ByteBuffer(const char* bytes, size_t len, ByteOrder byte_order) { function in class:rtc::ByteBuffer
41 ByteBuffer::ByteBuffer(cons function in class:rtc::ByteBuffer
[all...]
H A Dbytebuffer.h21 class ByteBuffer { class in namespace:rtc
30 ByteBuffer();
31 explicit ByteBuffer(ByteOrder byte_order);
32 ByteBuffer(const char* bytes, size_t len);
33 ByteBuffer(const char* bytes, size_t len, ByteOrder byte_order);
36 explicit ByteBuffer(const char* bytes);
38 ~ByteBuffer();
70 // ByteBuffer.
88 friend class ByteBuffer;
114 DISALLOW_COPY_AND_ASSIGN(ByteBuffer);
[all...]
/external/chromium_org/mojo/android/javatests/src/org/chromium/mojo/bindings/
H A DValidationTestUtilTest.java11 import java.nio.ByteBuffer;
23 String input, boolean isInputValid, ByteBuffer expectedData, int expectedHandlesCount) {
43 ByteBuffer expected = ByteBuffer.allocateDirect(0);
51 ByteBuffer expected = ByteBuffer.allocateDirect(0);
59 ByteBuffer expected = ByteBuffer.allocateDirect(17);
73 ByteBuffer expected = ByteBuffer
[all...]
H A DValidationTestUtil.java10 import java.nio.ByteBuffer;
25 private final ByteBuffer mData;
29 public ByteBuffer getData() {
41 private Data(ByteBuffer data, int handlesCount, String errorMessage) {
58 private static Data buildData(ByteBuffer data, int handlesCount, String errorMessage) {
59 ByteBuffer copiedData = null;
61 copiedData = ByteBuffer.allocateDirect(data.limit());
/external/deqp/execserver/
H A DxsTestDriver.hpp46 bool poll (ByteBuffer& messageBuffer);
61 bool pollLogFile (ByteBuffer& messageBuffer);
62 bool pollInfo (ByteBuffer& messageBuffer);
63 bool pollBuffer (ByteBuffer& messageBuffer, MessageType msgType);
65 bool writeMessage (ByteBuffer& messageBuffer, const Message& message);
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/
H A DByteBufferByteChannel.java20 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) {
33 public int read(ByteBuffer dst) throws IOException {
51 public int write(ByteBuffer src) throws IOException {
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
H A DReplaceSampleTrack.java23 import java.nio.ByteBuffer;
29 * Generates a Track where a single sample has been replaced by a given <code>ByteBuffer</code>.
35 private ByteBuffer sampleContent;
36 private List<ByteBuffer> samples;
38 public ReplaceSampleTrack(Track origTrack, long sampleNumber, ByteBuffer content) {
46 public List<ByteBuffer> getSamples() {
88 private class ReplaceASingleEntryList extends AbstractList<ByteBuffer> {
90 public ByteBuffer get(int index) {
/external/chromium_org/components/cronet/android/java/src/org/chromium/net/
H A DChunkedWritableByteChannel.java8 import java.nio.ByteBuffer;
15 * {@link #write} results in a ByteBuffer being created and remembered. Then all
21 private final ArrayList<ByteBuffer> mBuffers = new ArrayList<ByteBuffer>();
23 private ByteBuffer mInitialBuffer;
25 private ByteBuffer mBuffer;
36 mInitialBuffer = ByteBuffer.allocateDirect(capacity);
40 public int write(ByteBuffer buffer) throws IOException {
63 ByteBuffer tmpBuf = ByteBuffer
[all...]

Completed in 7966 milliseconds

1234567891011>>