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

1234567891011>>

/external/flatbuffers/net/FlatBuffers/
H A DIFlatbufferObject.cs24 void __init(int _i, ByteBuffer _bb);
26 ByteBuffer ByteBuffer { get; } property in interface:FlatBuffers.IFlatbufferObject
H A DStruct.cs25 public ByteBuffer bb;
/external/flatbuffers/java/com/google/flatbuffers/
H A DStruct.java19 import java.nio.ByteBuffer;
29 /** The underlying ByteBuffer to hold the data of the Struct. */
30 protected ByteBuffer bb;
/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) {
/external/protobuf/java/core/src/main/java/com/google/protobuf/
H A DByteOutput.java34 import java.nio.ByteBuffer;
101 public abstract void write(ByteBuffer value) throws IOException;
115 public abstract void writeLazy(ByteBuffer value) throws IOException;
/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/flatbuffers/tests/MyGame/Example2/
H A DMonster.cs12 public ByteBuffer ByteBuffer { get { return __p.bb; } } property in struct:MyGame.Example2.Monster
13 public static Monster GetRootAsMonster(ByteBuffer _bb) { return GetRootAsMonster(_bb, new Monster()); }
14 public static Monster GetRootAsMonster(ByteBuffer _bb, Monster obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
15 public void __init(int _i, ByteBuffer _bb) { __p.bb_pos = _i; __p.bb = _bb; }
16 public Monster __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
/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/libmojo/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/libmojo/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/webrtc/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
45 ByteBuffer::ByteBuffer(const Buffer& buf) { function in class:rtc::ByteBuffer
[all...]
/external/flatbuffers/tests/FlatBuffers.Test/
H A DByteBufferTests.cs29 var uut = new ByteBuffer(buffer);
37 var uut = new ByteBuffer(buffer);
48 var uut = new ByteBuffer(buffer);
57 var uut = new ByteBuffer(buffer);
70 var uut = new ByteBuffer(buffer);
80 var uut = new ByteBuffer(buffer);
88 var uut = new ByteBuffer(buffer);
97 var uut = new ByteBuffer(buffer);
112 var uut = new ByteBuffer(buffer);
120 var uut = new ByteBuffer(buffe
[all...]
/external/protobuf/java/core/src/test/java/com/google/protobuf/
H A DByteBufferWriterTest.java37 import java.nio.ByteBuffer;
48 testWrite(ByteBuffer.allocate(100));
49 testWrite(ByteBuffer.allocate(1024 * 100));
54 testWrite(ByteBuffer.allocateDirect(100));
55 testWrite(ByteBuffer.allocateDirect(1024 * 100));
58 private void testWrite(ByteBuffer buffer) throws IOException {
66 private void fillRandom(ByteBuffer buf) {
74 private byte[] toArray(ByteBuffer buf) {
/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/libmojo/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...]
/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 {

Completed in 2501 milliseconds

1234567891011>>