Searched defs:ByteBuffer (Results 1 - 25 of 43) sorted by relevance

12

/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 DTable.cs28 public ByteBuffer bb;
30 public ByteBuffer ByteBuffer { get { return bb; } } property in struct:FlatBuffers.Table
40 public static int __offset(int vtableOffset, int offset, ByteBuffer bb)
52 public static int __indirect(int offset, ByteBuffer bb)
82 // ArraySegment<byte>. If the vector is not present in the ByteBuffer,
106 public static bool __has_identifier(ByteBuffer bb, string ident)
119 // Compare strings in the ByteBuffer.
120 public static int CompareStrings(int offset_1, int offset_2, ByteBuffer bb)
137 // Compare string from the ByteBuffer wit
[all...]
H A DByteBuffer.cs17 // There are 2 #defines that have an impact on performance of this ByteBuffer implementation
37 /// Class to mimic Java's ByteBuffer which is used heavily in Flatbuffers.
39 public class ByteBuffer class in namespace:FlatBuffers
48 public ByteBuffer(byte[] buffer) : this(buffer, 0) { } method in class:FlatBuffers.ByteBuffer
50 public ByteBuffer(byte[] buffer, int pos) method in class:FlatBuffers.ByteBuffer
168 // this method exists in order to conform with Java ByteBuffer standards
/external/flatbuffers/js/
H A Dflatbuffers.js27 * bb: flatbuffers.ByteBuffer,
151 * @type {flatbuffers.ByteBuffer}
154 this.bb = flatbuffers.ByteBuffer.allocate(initial_size);
157 * Remaining space in the ByteBuffer.
241 * Get the ByteBuffer representing the FlatBuffer. Only call this after you've
242 * called finish(). The actual data starts at the ByteBuffer's current position,
245 * @returns {flatbuffers.ByteBuffer}
536 * Doubles the size of the backing ByteBuffer and copies the old data towards
539 * @param {flatbuffers.ByteBuffer} bb The current buffer with the existing data
540 * @returns {flatbuffers.ByteBuffer}
[all...]
/external/flatbuffers/tests/MyGame/Example2/
H A DMonster.cs14 public ByteBuffer ByteBuffer { get { return __p.bb; } } property in struct:MyGame.Example2.Monster
15 public static Monster GetRootAsMonster(ByteBuffer _bb) { return GetRootAsMonster(_bb, new Monster()); }
16 public static Monster GetRootAsMonster(ByteBuffer _bb, Monster obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
17 public void __init(int _i, ByteBuffer _bb) { __p.bb_pos = _i; __p.bb = _bb; }
18 public Monster __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
/external/flatbuffers/tests/MyGame/
H A DInParentNamespace.cs14 public ByteBuffer ByteBuffer { get { return __p.bb; } } property in struct:MyGame.InParentNamespace
15 public static InParentNamespace GetRootAsInParentNamespace(ByteBuffer _bb) { return GetRootAsInParentNamespace(_bb, new InParentNamespace()); }
16 public static InParentNamespace GetRootAsInParentNamespace(ByteBuffer _bb, InParentNamespace obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
17 public void __init(int _i, ByteBuffer _bb) { __p.bb_pos = _i; __p.bb = _bb; }
18 public InParentNamespace __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
/external/libbrillo/brillo/streams/
H A Dmemory_containers.cc95 ByteBuffer::ByteBuffer(size_t reserve_size) function in class:brillo::data_container::ByteBuffer
100 ByteBuffer::~ByteBuffer() {
H A Dmemory_containers.h229 // ByteBuffer is a read/write container that manages the data and underlying
231 class BRILLO_EXPORT ByteBuffer : public VectorPtr<uint8_t> { class in namespace:brillo::data_container
233 explicit ByteBuffer(size_t reserve_size);
234 ~ByteBuffer() override;
237 DISALLOW_COPY_AND_ASSIGN(ByteBuffer);
/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...]
H A Dbytebuffer.h22 class ByteBuffer { class in namespace:rtc
31 ByteBuffer();
32 explicit ByteBuffer(ByteOrder byte_order);
33 ByteBuffer(const char* bytes, size_t len);
34 ByteBuffer(const char* bytes, size_t len, ByteOrder byte_order);
37 explicit ByteBuffer(const char* bytes);
39 explicit ByteBuffer(const Buffer& buf);
41 ~ByteBuffer();
73 // ByteBuffer.
91 friend class ByteBuffer;
[all...]
/external/flatbuffers/tests/MyGame/Example/
H A DAbility.cs14 public ByteBuffer ByteBuffer { get { return __p.bb; } } property in struct:MyGame.Example.Ability
15 public void __init(int _i, ByteBuffer _bb) { __p.bb_pos = _i; __p.bb = _bb; }
16 public Ability __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
H A DTest.cs14 public ByteBuffer ByteBuffer { get { return __p.bb; } } property in struct:MyGame.Example.Test
15 public void __init(int _i, ByteBuffer _bb) { __p.bb_pos = _i; __p.bb = _bb; }
16 public Test __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
H A DTestSimpleTableWithEnum.cs14 public ByteBuffer ByteBuffer { get { return __p.bb; } } property in struct:MyGame.Example.TestSimpleTableWithEnum
15 public static TestSimpleTableWithEnum GetRootAsTestSimpleTableWithEnum(ByteBuffer _bb) { return GetRootAsTestSimpleTableWithEnum(_bb, new TestSimpleTableWithEnum()); }
16 public static TestSimpleTableWithEnum GetRootAsTestSimpleTableWithEnum(ByteBuffer _bb, TestSimpleTableWithEnum obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
17 public void __init(int _i, ByteBuffer _bb) { __p.bb_pos = _i; __p.bb = _bb; }
18 public TestSimpleTableWithEnum __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
H A DStat.cs14 public ByteBuffer ByteBuffer { get { return __p.bb; } } property in struct:MyGame.Example.Stat
15 public static Stat GetRootAsStat(ByteBuffer _bb) { return GetRootAsStat(_bb, new Stat()); }
16 public static Stat GetRootAsStat(ByteBuffer _bb, Stat obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
17 public void __init(int _i, ByteBuffer _bb) { __p.bb_pos = _i; __p.bb = _bb; }
18 public Stat __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
H A DVec3.cs14 public ByteBuffer ByteBuffer { get { return __p.bb; } } property in struct:MyGame.Example.Vec3
15 public void __init(int _i, ByteBuffer _bb) { __p.bb_pos = _i; __p.bb = _bb; }
16 public Vec3 __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
H A DTypeAliases.cs14 public ByteBuffer ByteBuffer { get { return __p.bb; } } property in struct:MyGame.Example.TypeAliases
15 public static TypeAliases GetRootAsTypeAliases(ByteBuffer _bb) { return GetRootAsTypeAliases(_bb, new TypeAliases()); }
16 public static TypeAliases GetRootAsTypeAliases(ByteBuffer _bb, TypeAliases obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
17 public void __init(int _i, ByteBuffer _bb) { __p.bb_pos = _i; __p.bb = _bb; }
18 public TypeAliases __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
/external/flatbuffers/tests/namespace_test/NamespaceA/NamespaceB/
H A DStructInNestedNS.cs14 public ByteBuffer ByteBuffer { get { return __p.bb; } } property in struct:NamespaceA.NamespaceB.StructInNestedNS
15 public void __init(int _i, ByteBuffer _bb) { __p.bb_pos = _i; __p.bb = _bb; }
16 public StructInNestedNS __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
H A DTableInNestedNS.cs14 public ByteBuffer ByteBuffer { get { return __p.bb; } } property in struct:NamespaceA.NamespaceB.TableInNestedNS
15 public static TableInNestedNS GetRootAsTableInNestedNS(ByteBuffer _bb) { return GetRootAsTableInNestedNS(_bb, new TableInNestedNS()); }
16 public static TableInNestedNS GetRootAsTableInNestedNS(ByteBuffer _bb, TableInNestedNS obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
17 public void __init(int _i, ByteBuffer _bb) { __p.bb_pos = _i; __p.bb = _bb; }
18 public TableInNestedNS __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
/external/flatbuffers/tests/namespace_test/NamespaceA/
H A DSecondTableInA.cs14 public ByteBuffer ByteBuffer { get { return __p.bb; } } property in struct:NamespaceA.SecondTableInA
15 public static SecondTableInA GetRootAsSecondTableInA(ByteBuffer _bb) { return GetRootAsSecondTableInA(_bb, new SecondTableInA()); }
16 public static SecondTableInA GetRootAsSecondTableInA(ByteBuffer _bb, SecondTableInA obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
17 public void __init(int _i, ByteBuffer _bb) { __p.bb_pos = _i; __p.bb = _bb; }
18 public SecondTableInA __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
H A DTableInFirstNS.cs14 public ByteBuffer ByteBuffer { get { return __p.bb; } } property in struct:NamespaceA.TableInFirstNS
15 public static TableInFirstNS GetRootAsTableInFirstNS(ByteBuffer _bb) { return GetRootAsTableInFirstNS(_bb, new TableInFirstNS()); }
16 public static TableInFirstNS GetRootAsTableInFirstNS(ByteBuffer _bb, TableInFirstNS obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
17 public void __init(int _i, ByteBuffer _bb) { __p.bb_pos = _i; __p.bb = _bb; }
18 public TableInFirstNS __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
/external/deqp/execserver/
H A DxsDefs.hpp61 typedef de::RingBuffer<deUint8> ByteBuffer; typedef in namespace:xs
/external/flatbuffers/tests/namespace_test/NamespaceC/
H A DTableInC.cs14 public ByteBuffer ByteBuffer { get { return __p.bb; } } property in struct:NamespaceC.TableInC
15 public static TableInC GetRootAsTableInC(ByteBuffer _bb) { return GetRootAsTableInC(_bb, new TableInC()); }
16 public static TableInC GetRootAsTableInC(ByteBuffer _bb, TableInC obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
17 public void __init(int _i, ByteBuffer _bb) { __p.bb_pos = _i; __p.bb = _bb; }
18 public TableInC __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
H A DByteBuffer.java24 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...]
/external/google-breakpad/src/common/
H A Dbyte_cursor.h53 struct ByteBuffer { struct in namespace:google_breakpad
54 ByteBuffer() : start(0), end(0) { } function in struct:google_breakpad::ByteBuffer
55 ByteBuffer(const uint8_t *set_start, size_t set_size) function in struct:google_breakpad::ByteBuffer
57 ~ByteBuffer() { };
61 bool operator==(const ByteBuffer &that) const {
64 bool operator!=(const ByteBuffer &that) const {
77 // A cursor pointing into a ByteBuffer that can parse numbers of various
80 // haven't gone beyond the end of the enclosing ByteBuffer.
85 ByteCursor(const ByteBuffer *buffer, bool big_endian = false)
250 const ByteBuffer *buffer
[all...]
/external/flatbuffers/php/
H A DByteBuffer.php20 class ByteBuffer class
39 $bb = new ByteBuffer(0);
106 if (ByteBuffer::$_is_little_endian === null) {
107 ByteBuffer::$_is_little_endian = unpack('S', "\x01\x00")[1] === 1;
110 return ByteBuffer::$_is_little_endian;
122 if (ByteBuffer::isLittleEndian()) {
145 if (ByteBuffer::isLittleEndian() && $force_bigendian == false) {
375 $sign = $index + (ByteBuffer::isLittleEndian() ? 1 : 0);
399 $sign = $index + (ByteBuffer::isLittleEndian() ? 3 : 0);

Completed in 622 milliseconds

12