Home
last modified time | relevance | path

Searched refs:_bb (Results 1 – 25 of 136) sorted by relevance

123456

/external/flatbuffers/swift/Sources/FlatBuffers/
DFlatBufferBuilder.swift39 @usableFromInline internal var _bb: ByteBuffer variable
55 _bb.alignment = _minAlignment
60 public var size: UOffset { _bb.size }
69 bytes: _bb.memory.advanced(by: _bb.writerIndex),
70 count: _bb.capacity &- _bb.writerIndex)
79 start: _bb.memory.assumingMemoryBound(to: UInt8.self),
80 count: _bb.capacity)
89 return _bb.underlyingBytes
96 public var buffer: ByteBuffer { _bb }
105 memory: _bb.memory.advanced(by: _bb.reader),
[all …]
/external/flatbuffers/tests/DictionaryLookup/
DLongFloatEntry.java13 …tatic LongFloatEntry getRootAsLongFloatEntry(ByteBuffer _bb) { return getRootAsLongFloatEntry(_bb,… in getRootAsLongFloatEntry() argument
14 …yteBuffer _bb, LongFloatEntry obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.… in getRootAsLongFloatEntry() argument
15 public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } in __init() argument
16 public LongFloatEntry __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign() argument
39 protected int keysCompare(Integer o1, Integer o2, ByteBuffer _bb) { in keysCompare() argument
40 long val_1 = _bb.getLong(__offset(4, o1, _bb)); in keysCompare()
41 long val_2 = _bb.getLong(__offset(4, o2, _bb)); in keysCompare()
67 …or __assign(int _vector, int _element_size, ByteBuffer _bb) { __reset(_vector, _element_size, _bb)… in __assign() argument
DLongFloatEntry.kt12 fun __init(_i: Int, _bb: ByteBuffer) { in __init()
13 __reset(_i, _bb) in __init()
15 fun __assign(_i: Int, _bb: ByteBuffer) : LongFloatEntry { in __assign()
16 __init(_i, _bb) in __assign()
29 override fun keysCompare(o1: Int, o2: Int, _bb: ByteBuffer) : Int { in keysCompare()
30 val val_1 = _bb.getLong(__offset(4, o1, _bb)) in keysCompare()
31 val val_2 = _bb.getLong(__offset(4, o2, _bb)) in keysCompare()
36 …fun getRootAsLongFloatEntry(_bb: ByteBuffer): LongFloatEntry = getRootAsLongFloatEntry(_bb, LongFl… in validateVersion()
37 fun getRootAsLongFloatEntry(_bb: ByteBuffer, obj: LongFloatEntry): LongFloatEntry { in validateVersion()
38 _bb.order(ByteOrder.LITTLE_ENDIAN) in validateVersion()
[all …]
/external/flatbuffers/net/FlatBuffers/
DFlatBufferBuilder.cs35 private ByteBuffer _bb; field in FlatBuffers.FlatBufferBuilder
66 _bb = new ByteBuffer(initialSize); in FlatBufferBuilder()
75 _bb = buffer; in FlatBufferBuilder()
85 _space = _bb.Length; in Clear()
86 _bb.Reset(); in Clear()
110 public int Offset { get { return _bb.Length - _space; } }
114 _bb.PutByte(_space -= size, 0, size); in Pad()
121 _bb.GrowFront(_bb.Length << 1); in GrowBuffer()
137 ((~((int)_bb.Length - _space + additionalBytes)) + 1) & in Prep()
142 var oldBufSize = (int)_bb.Length; in Prep()
[all …]
/external/flatbuffers/tests/MyGame/Example/
DReferrable.kt12 fun __init(_i: Int, _bb: ByteBuffer) { in __init()
13 __reset(_i, _bb) in __init()
15 fun __assign(_i: Int, _bb: ByteBuffer) : Referrable { in __assign()
16 __init(_i, _bb) in __assign()
33 override fun keysCompare(o1: Int, o2: Int, _bb: ByteBuffer) : Int { in keysCompare()
34 val val_1 = _bb.getLong(__offset(4, o1, _bb)) in keysCompare()
35 val val_2 = _bb.getLong(__offset(4, o2, _bb)) in keysCompare()
40 … fun getRootAsReferrable(_bb: ByteBuffer): Referrable = getRootAsReferrable(_bb, Referrable()) in validateVersion()
41 fun getRootAsReferrable(_bb: ByteBuffer, obj: Referrable): Referrable { in validateVersion()
42 _bb.order(ByteOrder.LITTLE_ENDIAN) in validateVersion()
[all …]
DReferrable.java13 …public static Referrable getRootAsReferrable(ByteBuffer _bb) { return getRootAsReferrable(_bb, new… in getRootAsReferrable() argument
14 …(ByteBuffer _bb, Referrable obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.ge… in getRootAsReferrable() argument
15 public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } in __init() argument
16 public Referrable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign() argument
36 protected int keysCompare(Integer o1, Integer o2, ByteBuffer _bb) { in keysCompare() argument
37 long val_1 = _bb.getLong(__offset(4, o1, _bb)); in keysCompare()
38 long val_2 = _bb.getLong(__offset(4, o2, _bb)); in keysCompare()
64 …or __assign(int _vector, int _element_size, ByteBuffer _bb) { __reset(_vector, _element_size, _bb)… in __assign() argument
DStat.kt12 fun __init(_i: Int, _bb: ByteBuffer) { in __init()
13 __reset(_i, _bb) in __init()
15 fun __assign(_i: Int, _bb: ByteBuffer) : Stat { in __assign()
16 __init(_i, _bb) in __assign()
25 fun idInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 4, 1) in idInByteBuffer()
54 override fun keysCompare(o1: Int, o2: Int, _bb: ByteBuffer) : Int { in keysCompare()
55 val val_1 = _bb.getShort(__offset(8, o1, _bb)) in keysCompare()
56 val val_2 = _bb.getShort(__offset(8, o2, _bb)) in keysCompare()
61 fun getRootAsStat(_bb: ByteBuffer): Stat = getRootAsStat(_bb, Stat()) in validateVersion()
62 fun getRootAsStat(_bb: ByteBuffer, obj: Stat): Stat { in validateVersion()
[all …]
DStat.java13 public static Stat getRootAsStat(ByteBuffer _bb) { return getRootAsStat(_bb, new Stat()); } in getRootAsStat() argument
14 …tat(ByteBuffer _bb, Stat obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getIn… in getRootAsStat() argument
15 public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } in __init() argument
16 public Stat __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign() argument
20 public ByteBuffer idInByteBuffer(ByteBuffer _bb) { return __vector_in_bytebuffer(_bb, 4, 1); } in idInByteBuffer() argument
47 protected int keysCompare(Integer o1, Integer o2, ByteBuffer _bb) { in keysCompare() argument
48 int val_1 = _bb.getShort(__offset(8, o1, _bb)) & 0xFFFF; in keysCompare()
49 int val_2 = _bb.getShort(__offset(8, o2, _bb)) & 0xFFFF; in keysCompare()
75 …or __assign(int _vector, int _element_size, ByteBuffer _bb) { __reset(_vector, _element_size, _bb)… in __assign() argument
DArrayTable.java13 …public static ArrayTable getRootAsArrayTable(ByteBuffer _bb) { return getRootAsArrayTable(_bb, new… in getRootAsArrayTable() argument
14 …(ByteBuffer _bb, ArrayTable obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.ge… in getRootAsArrayTable() argument
15 …public static boolean ArrayTableBufferHasIdentifier(ByteBuffer _bb) { return __has_identifier(_bb,… in ArrayTableBufferHasIdentifier() argument
16 public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } in __init() argument
17 public ArrayTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign() argument
32 …or __assign(int _vector, int _element_size, ByteBuffer _bb) { __reset(_vector, _element_size, _bb)… in __assign() argument
DTestSimpleTableWithEnum.java13 …thEnum getRootAsTestSimpleTableWithEnum(ByteBuffer _bb) { return getRootAsTestSimpleTableWithEnum( in getRootAsTestSimpleTableWithEnum() argument
14 …uffer _bb, TestSimpleTableWithEnum obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign… in getRootAsTestSimpleTableWithEnum() argument
15 public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } in __init() argument
16 public TestSimpleTableWithEnum __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign() argument
36 …or __assign(int _vector, int _element_size, ByteBuffer _bb) { __reset(_vector, _element_size, _bb)… in __assign() argument
DTestSimpleTableWithEnum.kt12 fun __init(_i: Int, _bb: ByteBuffer) { in __init()
13 __reset(_i, _bb) in __init()
15 fun __assign(_i: Int, _bb: ByteBuffer) : TestSimpleTableWithEnum { in __assign()
16 __init(_i, _bb) in __assign()
35 …un getRootAsTestSimpleTableWithEnum(_bb: ByteBuffer): TestSimpleTableWithEnum = getRootAsTestSimpl… in validateVersion()
36 …fun getRootAsTestSimpleTableWithEnum(_bb: ByteBuffer, obj: TestSimpleTableWithEnum): TestSimpleTab… in validateVersion()
37 _bb.order(ByteOrder.LITTLE_ENDIAN) in validateVersion()
38 return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)) in validateVersion()
/external/flatbuffers/android/app/src/main/java/generated/com/fbs/app/
DAnimal.kt12 fun __init(_i: Int, _bb: ByteBuffer) { in __init()
13 __reset(_i, _bb) in __init()
15 fun __assign(_i: Int, _bb: ByteBuffer) : Animal { in __assign()
16 __init(_i, _bb) in __assign()
25 fun nameInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 4, 1) in nameInByteBuffer()
32 fun soundInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 6, 1) in soundInByteBuffer()
40 fun getRootAsAnimal(_bb: ByteBuffer): Animal = getRootAsAnimal(_bb, Animal()) in validateVersion()
41 fun getRootAsAnimal(_bb: ByteBuffer, obj: Animal): Animal { in validateVersion()
42 _bb.order(ByteOrder.LITTLE_ENDIAN) in validateVersion()
43 return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)) in validateVersion()
/external/flatbuffers/tests/MyGame/Example2/
DMonster.java13 …public static Monster getRootAsMonster(ByteBuffer _bb) { return getRootAsMonster(_bb, new Monster(… in getRootAsMonster() argument
14 …er(ByteBuffer _bb, Monster obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.get… in getRootAsMonster() argument
15 public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } in __init() argument
16 public Monster __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign() argument
26 …or __assign(int _vector, int _element_size, ByteBuffer _bb) { __reset(_vector, _element_size, _bb)… in __assign() argument
DMonster.kt12 fun __init(_i: Int, _bb: ByteBuffer) { in __init()
13 __reset(_i, _bb) in __init()
15 fun __assign(_i: Int, _bb: ByteBuffer) : Monster { in __assign()
16 __init(_i, _bb) in __assign()
21 fun getRootAsMonster(_bb: ByteBuffer): Monster = getRootAsMonster(_bb, Monster()) in validateVersion()
22 fun getRootAsMonster(_bb: ByteBuffer, obj: Monster): Monster { in validateVersion()
23 _bb.order(ByteOrder.LITTLE_ENDIAN) in validateVersion()
24 return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)) in validateVersion()
/external/flatbuffers/tests/MyGame/
DInParentNamespace.java13 …ParentNamespace getRootAsInParentNamespace(ByteBuffer _bb) { return getRootAsInParentNamespace(_bb in getRootAsInParentNamespace() argument
14 …teBuffer _bb, InParentNamespace obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_b… in getRootAsInParentNamespace() argument
15 public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } in __init() argument
16 public InParentNamespace __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign() argument
26 …or __assign(int _vector, int _element_size, ByteBuffer _bb) { __reset(_vector, _element_size, _bb)… in __assign() argument
DInParentNamespace.kt12 fun __init(_i: Int, _bb: ByteBuffer) { in __init()
13 __reset(_i, _bb) in __init()
15 fun __assign(_i: Int, _bb: ByteBuffer) : InParentNamespace { in __assign()
16 __init(_i, _bb) in __assign()
21 …fun getRootAsInParentNamespace(_bb: ByteBuffer): InParentNamespace = getRootAsInParentNamespace(_b… in validateVersion()
22 fun getRootAsInParentNamespace(_bb: ByteBuffer, obj: InParentNamespace): InParentNamespace { in validateVersion()
23 _bb.order(ByteOrder.LITTLE_ENDIAN) in validateVersion()
24 return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)) in validateVersion()
DInParentNamespace.cs17 …ParentNamespace GetRootAsInParentNamespace(ByteBuffer _bb) { return GetRootAsInParentNamespace(_bb in GetRootAsInParentNamespace()
18 …InParentNamespace(ByteBuffer _bb, InParentNamespace obj) { return (obj.__assign(_bb.GetInt(_bb.Pos… in GetRootAsInParentNamespace()
19 public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } in __init()
20 public InParentNamespace __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign()
/external/flatbuffers/tests/namespace_test/NamespaceA/NamespaceB/
DTableInNestedNS.java13 …ic TableInNestedNS getRootAsTableInNestedNS(ByteBuffer _bb) { return getRootAsTableInNestedNS(_bb,… in getRootAsTableInNestedNS() argument
14 …yteBuffer _bb, TableInNestedNS obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb in getRootAsTableInNestedNS() argument
15 public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } in __init() argument
16 public TableInNestedNS __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign() argument
36 …or __assign(int _vector, int _element_size, ByteBuffer _bb) { __reset(_vector, _element_size, _bb)… in __assign() argument
DTableInNestedNS.kt13 fun __init(_i: Int, _bb: ByteBuffer) { in __init()
14 __reset(_i, _bb) in __init()
16 fun __assign(_i: Int, _bb: ByteBuffer) : TableInNestedNS { in __assign()
17 __init(_i, _bb) in __assign()
36 …fun getRootAsTableInNestedNS(_bb: ByteBuffer): TableInNestedNS = getRootAsTableInNestedNS(_bb, Tab… in validateVersion()
37 fun getRootAsTableInNestedNS(_bb: ByteBuffer, obj: TableInNestedNS): TableInNestedNS { in validateVersion()
38 _bb.order(ByteOrder.LITTLE_ENDIAN) in validateVersion()
39 return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)) in validateVersion()
/external/flatbuffers/tests/union_vector/
DAttacker.java11 …public static Attacker getRootAsAttacker(ByteBuffer _bb) { return getRootAsAttacker(_bb, new Attac… in getRootAsAttacker() argument
12 …r(ByteBuffer _bb, Attacker obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.get… in getRootAsAttacker() argument
13 public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } in __init() argument
14 public Attacker __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign() argument
34 …or __assign(int _vector, int _element_size, ByteBuffer _bb) { __reset(_vector, _element_size, _bb)… in __assign() argument
DHandFan.java11 …public static HandFan getRootAsHandFan(ByteBuffer _bb) { return getRootAsHandFan(_bb, new HandFan(… in getRootAsHandFan() argument
12 …an(ByteBuffer _bb, HandFan obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.get… in getRootAsHandFan() argument
13 public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } in __init() argument
14 public HandFan __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign() argument
34 …or __assign(int _vector, int _element_size, ByteBuffer _bb) { __reset(_vector, _element_size, _bb)… in __assign() argument
DHandFan.kt10 fun __init(_i: Int, _bb: ByteBuffer) { in __init()
11 __reset(_i, _bb) in __init()
13 fun __assign(_i: Int, _bb: ByteBuffer) : HandFan { in __assign()
14 __init(_i, _bb) in __assign()
33 fun getRootAsHandFan(_bb: ByteBuffer): HandFan = getRootAsHandFan(_bb, HandFan()) in validateVersion()
34 fun getRootAsHandFan(_bb: ByteBuffer, obj: HandFan): HandFan { in validateVersion()
35 _bb.order(ByteOrder.LITTLE_ENDIAN) in validateVersion()
36 return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)) in validateVersion()
DAttacker.kt10 fun __init(_i: Int, _bb: ByteBuffer) { in __init()
11 __reset(_i, _bb) in __init()
13 fun __assign(_i: Int, _bb: ByteBuffer) : Attacker { in __assign()
14 __init(_i, _bb) in __assign()
33 fun getRootAsAttacker(_bb: ByteBuffer): Attacker = getRootAsAttacker(_bb, Attacker()) in validateVersion()
34 fun getRootAsAttacker(_bb: ByteBuffer, obj: Attacker): Attacker { in validateVersion()
35 _bb.order(ByteOrder.LITTLE_ENDIAN) in validateVersion()
36 return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)) in validateVersion()
/external/flatbuffers/tests/namespace_test/NamespaceA/
DSecondTableInA.java13 …tatic SecondTableInA getRootAsSecondTableInA(ByteBuffer _bb) { return getRootAsSecondTableInA(_bb,… in getRootAsSecondTableInA() argument
14 …yteBuffer _bb, SecondTableInA obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.… in getRootAsSecondTableInA() argument
15 public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } in __init() argument
16 public SecondTableInA __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign() argument
36 …or __assign(int _vector, int _element_size, ByteBuffer _bb) { __reset(_vector, _element_size, _bb)… in __assign() argument
DSecondTableInA.kt13 fun __init(_i: Int, _bb: ByteBuffer) { in __init()
14 __reset(_i, _bb) in __init()
16 fun __assign(_i: Int, _bb: ByteBuffer) : SecondTableInA { in __assign()
17 __init(_i, _bb) in __assign()
31 …fun getRootAsSecondTableInA(_bb: ByteBuffer): SecondTableInA = getRootAsSecondTableInA(_bb, Second… in validateVersion()
32 fun getRootAsSecondTableInA(_bb: ByteBuffer, obj: SecondTableInA): SecondTableInA { in validateVersion()
33 _bb.order(ByteOrder.LITTLE_ENDIAN) in validateVersion()
34 return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)) in validateVersion()

123456