/external/flatbuffers/swift/Sources/FlatBuffers/ |
D | FlatBufferBuilder.swift | 10 private var _bb: ByteBuffer variable 23 _bb.alignment = _minAlignment 28 public var size: UOffset { return _bb.size } 32 return Data(bytes: _bb.memory.advanced(by: _bb.writerIndex), 33 count: _bb.capacity - _bb.writerIndex) 37 let ptr = UnsafeBufferPointer(start: _bb.memory.assumingMemoryBound(to: UInt8.self), 38 count: _bb.capacity) 43 let cp = _bb.capacity - _bb.writerIndex 44 let start = _bb.memory.advanced(by: _bb.writerIndex) 51 public var buffer: ByteBuffer { return _bb } [all …]
|
/external/flatbuffers/net/FlatBuffers/ |
D | FlatBufferBuilder.cs | 35 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() 106 public int Offset { get { return _bb.Length - _space; } } 110 _bb.PutByte(_space -= size, 0, size); in Pad() 117 _bb.GrowFront(_bb.Length << 1); in GrowBuffer() 133 ((~((int)_bb.Length - _space + additionalBytes)) + 1) & in Prep() 138 var oldBufSize = (int)_bb.Length; in Prep() [all …]
|
/external/flatbuffers/tests/MyGame/Example2/ |
D | Monster.java | 13 …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
|
D | Monster.kt | 13 fun __init(_i: Int, _bb: ByteBuffer) { in __init() 14 __reset(_i, _bb) in __init() 16 fun __assign(_i: Int, _bb: ByteBuffer) : Monster { in __assign() 17 __init(_i, _bb) in __assign() 22 fun getRootAsMonster(_bb: ByteBuffer): Monster = getRootAsMonster(_bb, Monster()) in validateVersion() 23 fun getRootAsMonster(_bb: ByteBuffer, obj: Monster): Monster { in validateVersion() 24 _bb.order(ByteOrder.LITTLE_ENDIAN) in validateVersion() 25 return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)) in validateVersion()
|
D | Monster.cs | 17 …public static Monster GetRootAsMonster(ByteBuffer _bb) { return GetRootAsMonster(_bb, new Monster(… in GetRootAsMonster() 18 …nster GetRootAsMonster(ByteBuffer _bb, Monster obj) { return (obj.__assign(_bb.GetInt(_bb.Position… in GetRootAsMonster() 19 public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } in __init() 20 public Monster __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign()
|
/external/flatbuffers/tests/MyGame/ |
D | InParentNamespace.java | 13 …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
|
D | InParentNamespace.kt | 13 fun __init(_i: Int, _bb: ByteBuffer) { in __init() 14 __reset(_i, _bb) in __init() 16 fun __assign(_i: Int, _bb: ByteBuffer) : InParentNamespace { in __assign() 17 __init(_i, _bb) in __assign() 22 …fun getRootAsInParentNamespace(_bb: ByteBuffer): InParentNamespace = getRootAsInParentNamespace(_b… in validateVersion() 23 fun getRootAsInParentNamespace(_bb: ByteBuffer, obj: InParentNamespace): InParentNamespace { in validateVersion() 24 _bb.order(ByteOrder.LITTLE_ENDIAN) in validateVersion() 25 return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)) in validateVersion()
|
D | InParentNamespace.cs | 17 …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/MyGame/Example/ |
D | ArrayTable.java | 13 …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
|
D | Referrable.java | 13 …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
|
D | Referrable.kt | 13 fun __init(_i: Int, _bb: ByteBuffer) { in __init() 14 __reset(_i, _bb) in __init() 16 fun __assign(_i: Int, _bb: ByteBuffer) : Referrable { in __assign() 17 __init(_i, _bb) in __assign() 34 override fun keysCompare(o1: Int, o2: Int, _bb: ByteBuffer) : Int { in keysCompare() 35 val val_1 = _bb.getLong(__offset(4, o1, _bb)) in keysCompare() 36 val val_2 = _bb.getLong(__offset(4, o2, _bb)) in keysCompare() 41 … fun getRootAsReferrable(_bb: ByteBuffer): Referrable = getRootAsReferrable(_bb, Referrable()) in validateVersion() 42 fun getRootAsReferrable(_bb: ByteBuffer, obj: Referrable): Referrable { in validateVersion() 43 _bb.order(ByteOrder.LITTLE_ENDIAN) in validateVersion() [all …]
|
D | Stat.java | 13 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 …or __assign(int _vector, int _element_size, ByteBuffer _bb) { __reset(_vector, _element_size, _bb)… in __assign() argument
|
D | TestSimpleTableWithEnum.java | 13 …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
|
D | Stat.kt | 13 fun __init(_i: Int, _bb: ByteBuffer) { in __init() 14 __reset(_i, _bb) in __init() 16 fun __assign(_i: Int, _bb: ByteBuffer) : Stat { in __assign() 17 __init(_i, _bb) in __assign() 26 fun idInByteBuffer(_bb: ByteBuffer) : ByteBuffer = __vector_in_bytebuffer(_bb, 4, 1) in idInByteBuffer() 57 fun getRootAsStat(_bb: ByteBuffer): Stat = getRootAsStat(_bb, Stat()) in validateVersion() 58 fun getRootAsStat(_bb: ByteBuffer, obj: Stat): Stat { in validateVersion() 59 _bb.order(ByteOrder.LITTLE_ENDIAN) in validateVersion() 60 return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)) in validateVersion()
|
D | TestSimpleTableWithEnum.kt | 13 fun __init(_i: Int, _bb: ByteBuffer) { in __init() 14 __reset(_i, _bb) in __init() 16 fun __assign(_i: Int, _bb: ByteBuffer) : TestSimpleTableWithEnum { in __assign() 17 __init(_i, _bb) in __assign() 36 …un getRootAsTestSimpleTableWithEnum(_bb: ByteBuffer): TestSimpleTableWithEnum = getRootAsTestSimpl… in validateVersion() 37 …fun getRootAsTestSimpleTableWithEnum(_bb: ByteBuffer, obj: TestSimpleTableWithEnum): TestSimpleTab… 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/namespace_test/NamespaceA/NamespaceB/ |
D | TableInNestedNS.java | 13 …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
|
D | TableInNestedNS.kt | 13 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/namespace_test/NamespaceA/ |
D | SecondTableInA.java | 13 …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
|
D | SecondTableInA.kt | 13 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()
|
D | TableInFirstNS.java | 13 …tatic TableInFirstNS getRootAsTableInFirstNS(ByteBuffer _bb) { return getRootAsTableInFirstNS(_bb,… in getRootAsTableInFirstNS() argument 14 …yteBuffer _bb, TableInFirstNS obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.… in getRootAsTableInFirstNS() argument 15 public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } in __init() argument 16 public TableInFirstNS __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign() argument 35 …or __assign(int _vector, int _element_size, ByteBuffer _bb) { __reset(_vector, _element_size, _bb)… in __assign() argument
|
/external/flatbuffers/tests/union_vector/ |
D | Attacker.java | 11 …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
|
D | Attacker.kt | 11 fun __init(_i: Int, _bb: ByteBuffer) { in __init() 12 __reset(_i, _bb) in __init() 14 fun __assign(_i: Int, _bb: ByteBuffer) : Attacker { in __assign() 15 __init(_i, _bb) in __assign() 34 fun getRootAsAttacker(_bb: ByteBuffer): Attacker = getRootAsAttacker(_bb, Attacker()) in validateVersion() 35 fun getRootAsAttacker(_bb: ByteBuffer, obj: Attacker): Attacker { in validateVersion() 36 _bb.order(ByteOrder.LITTLE_ENDIAN) in validateVersion() 37 return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)) in validateVersion()
|
D | Movie.java | 11 public static Movie getRootAsMovie(ByteBuffer _bb) { return getRootAsMovie(_bb, new Movie()); } in getRootAsMovie() argument 12 …vie(ByteBuffer _bb, Movie obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getI… in getRootAsMovie() argument 13 …public static boolean MovieBufferHasIdentifier(ByteBuffer _bb) { return __has_identifier(_bb, "MOV… in MovieBufferHasIdentifier() argument 14 public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } in __init() argument 15 public Movie __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign() argument 24 …public ByteBuffer charactersTypeInByteBuffer(ByteBuffer _bb) { return __vector_in_bytebuffer(_bb, … in charactersTypeInByteBuffer() argument 60 …or __assign(int _vector, int _element_size, ByteBuffer _bb) { __reset(_vector, _element_size, _bb)… in __assign() argument
|
/external/flatbuffers/tests/namespace_test/NamespaceC/ |
D | TableInC.java | 13 …public static TableInC getRootAsTableInC(ByteBuffer _bb) { return getRootAsTableInC(_bb, new Table… in getRootAsTableInC() argument 14 …C(ByteBuffer _bb, TableInC obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.get… in getRootAsTableInC() argument 15 public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); } in __init() argument 16 public TableInC __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign() argument 41 …or __assign(int _vector, int _element_size, ByteBuffer _bb) { __reset(_vector, _element_size, _bb)… in __assign() argument
|
D | TableInC.kt | 13 fun __init(_i: Int, _bb: ByteBuffer) { in __init() 14 __reset(_i, _bb) in __init() 16 fun __assign(_i: Int, _bb: ByteBuffer) : TableInC { in __assign() 17 __init(_i, _bb) in __assign() 40 fun getRootAsTableInC(_bb: ByteBuffer): TableInC = getRootAsTableInC(_bb, TableInC()) in validateVersion() 41 fun getRootAsTableInC(_bb: ByteBuffer, obj: TableInC): TableInC { in validateVersion() 42 _bb.order(ByteOrder.LITTLE_ENDIAN) in validateVersion() 43 return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)) in validateVersion()
|