/third_party/flatbuffers/tests/union_vector/ |
D | character.ts | 3 import { Attacker, AttackerT } from './attacker'; 20 accessor: (obj:Attacker|BookReader|Rapunzel|string) => Attacker|BookReader|Rapunzel|string|null 21 ): Attacker|BookReader|Rapunzel|string|null { 24 case 'MuLan': return accessor(new Attacker())! as Attacker; 36 …accessor: (index: number, obj:Attacker|BookReader|Rapunzel|string) => Attacker|BookReader|Rapunzel… 38 ): Attacker|BookReader|Rapunzel|string|null { 41 case 'MuLan': return accessor(index, new Attacker())! as Attacker;
|
D | Attacker.cs | 9 public struct Attacker : IFlatbufferObject struct 14 …public static Attacker GetRootAsAttacker(ByteBuffer _bb) { return GetRootAsAttacker(_bb, new Attac… in GetRootAsAttacker() argument 15 …public static Attacker GetRootAsAttacker(ByteBuffer _bb, Attacker obj) { return (obj.__assign(_bb.… in GetRootAsAttacker() argument 17 public Attacker __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign() argument 22 public static Offset<Attacker> CreateAttacker(FlatBufferBuilder builder, in CreateAttacker() argument 25 Attacker.AddSwordAttackDamage(builder, sword_attack_damage); in CreateAttacker() 26 return Attacker.EndAttacker(builder); in CreateAttacker() 31 public static Offset<Attacker> EndAttacker(FlatBufferBuilder builder) { in EndAttacker() argument 33 return new Offset<Attacker>(o); in EndAttacker() 43 public static Offset<Attacker> Pack(FlatBufferBuilder builder, AttackerT _o) { in Pack() argument [all …]
|
D | attacker.ts | 7 export class Attacker { class 10 __init(i:number, bb:flatbuffers.ByteBuffer):Attacker { 16 static getRootAsAttacker(bb:flatbuffers.ByteBuffer, obj?:Attacker):Attacker { 17 return (obj || new Attacker()).__init(bb.readInt32(bb.position()) + bb.position(), bb); 20 static getSizePrefixedRootAsAttacker(bb:flatbuffers.ByteBuffer, obj?:Attacker):Attacker { 22 return (obj || new Attacker()).__init(bb.readInt32(bb.position()) + bb.position(), bb); 59 Attacker.startAttacker(builder); 60 Attacker.addSwordAttackDamage(builder, swordAttackDamage); 61 return Attacker.endAttacker(builder); 83 return Attacker.createAttacker(builder,
|
D | Attacker.java | 9 public final class Attacker extends Table { class 11 …public static Attacker getRootAsAttacker(ByteBuffer _bb) { return getRootAsAttacker(_bb, new Attac… in getRootAsAttacker() 12 …public static Attacker getRootAsAttacker(ByteBuffer _bb, Attacker obj) { _bb.order(ByteOrder.LITTL… in getRootAsAttacker() 14 public Attacker __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign() 22 Attacker.addSwordAttackDamage(builder, sword_attack_damage); in createAttacker() 23 return Attacker.endAttacker(builder); in createAttacker() 36 public Attacker get(int j) { return get(new Attacker(), j); } in get() 37 …public Attacker get(Attacker obj, int j) { return obj.__assign(__indirect(__element(j), bb), bb);… in get()
|
D | attacker.js | 3 export class Attacker { class 14 return (obj || new Attacker()).__init(bb.readInt32(bb.position()) + bb.position(), bb); 18 return (obj || new Attacker()).__init(bb.readInt32(bb.position()) + bb.position(), bb); 46 Attacker.startAttacker(builder); 47 Attacker.addSwordAttackDamage(builder, swordAttackDamage); 48 return Attacker.endAttacker(builder); 62 return Attacker.createAttacker(builder, this.swordAttackDamage);
|
D | Attacker.kt | 9 class Attacker : Table() { class 14 fun __assign(_i: Int, _bb: ByteBuffer) : Attacker { in __assign() 34 fun getRootAsAttacker(_bb: ByteBuffer): Attacker = getRootAsAttacker(_bb, Attacker()) in validateVersion() 35 fun getRootAsAttacker(_bb: ByteBuffer, obj: Attacker): Attacker { in validateVersion()
|
D | Attacker.php | 9 class Attacker extends Table class 13 * @return Attacker 17 $obj = new Attacker(); 34 * @return Attacker 63 * @return Attacker
|
D | character.js | 2 import { Attacker } from './attacker'; 18 case 'MuLan': return accessor(new Attacker()); 30 case 'MuLan': return accessor(index, new Attacker());
|
D | union_vector_generated.h | 9 struct Attacker; 270 typedef Attacker TableType; 287 struct Attacker FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { 312 …static flatbuffers::Offset<Attacker> Pack(flatbuffers::FlatBufferBuilder &_fbb, const AttackerT* _… 316 typedef Attacker Table; 320 fbb_.AddElement<int32_t>(Attacker::VT_SWORD_ATTACK_DAMAGE, sword_attack_damage, 0); in add_sword_attack_damage() 326 flatbuffers::Offset<Attacker> Finish() { in Finish() 328 auto o = flatbuffers::Offset<Attacker>(end); in Finish() 333 inline flatbuffers::Offset<Attacker> CreateAttacker( 341 flatbuffers::Offset<Attacker> CreateAttacker(flatbuffers::FlatBufferBuilder &_fbb, const AttackerT … [all …]
|
D | union_vector.fbs | 4 table Attacker { 17 MuLan: Attacker, // Can have name be different from type.
|
D | Movie.cs | 23 public Attacker MainCharacterAsMuLan() { return MainCharacter<Attacker>().Value; } in MainCharacterAsMuLan() 82 …_o.MainCharacter.Value = this.MainCharacter<Attacker>().HasValue ? this.MainCharacter<Attacker>().… in UnPackTo() 107 …_o_Characters.Value = this.Characters<Attacker>(_j).HasValue ? this.Characters<Attacker>(_j).Value… in UnPackTo()
|
D | Character.cs | 37 case Character.MuLan: return Attacker.Pack(builder, _o.AsMuLan()).Value; in Pack()
|
D | movie.ts | 5 import { Attacker, AttackerT } from './attacker';
|
/third_party/flatbuffers/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/ |
D | union_vector_generated.swift | 35 return Attacker.pack(&builder, obj: &__obj) in pack() 147 public struct Attacker: FlatBufferObject, ObjectAPIPacker { struct 154 …public static func getRootAsAttacker(bb: ByteBuffer) -> Attacker { return Attacker(Table(bb: bb, p… in getRootAsAttacker() 174 let __start = Attacker.startAttacker(&fbb) 175 Attacker.add(swordAttackDamage: swordAttackDamage, &fbb) 176 return Attacker.endAttacker(&fbb, start: __start) 189 let __root = Attacker.startAttacker(&builder) in pack() 190 Attacker.add(swordAttackDamage: obj.swordAttackDamage, &builder) in pack() 191 return Attacker.endAttacker(&builder, start: __root) in pack() 199 public init(_ _t: inout Attacker) { [all …]
|
D | FlatBuffersUnionTests.swift | 97 let attackStart = Attacker.startAttacker(&fb) in testUnionVector() 98 Attacker.add(swordAttackDamage: swordDmg, &fb) in testUnionVector() 99 let attack = Attacker.endAttacker(&fb, start: attackStart) in testUnionVector() 125 XCTAssertEqual(movie.characters(at: 1, type: Attacker.self)?.swordAttackDamage, swordDmg) in testUnionVector() 138 …ual(packedMovie.characters(at: 1, type: Attacker.self)?.swordAttackDamage, movie.characters(at: 1,… in testUnionVector()
|
/third_party/flatbuffers/tests/ |
D | JavaScriptUnionVectorTest.js | 6 import { Attacker, AttackerT } from './union_vector/attacker' 27 var attacker = movie.characters(1, new Attacker()); 62 Attacker.startAttacker(fbb); 63 Attacker.addSwordAttackDamage(fbb, 5); 64 var attackerOffset = Attacker.endAttacker(fbb);
|
D | phpUnionVectorTest.php | 59 Attacker::startAttacker($fbb); 60 Attacker::addSwordAttackDamage($fbb, 5); 61 $attackerOffset = Attacker::endAttacker($fbb); 92 $attacker = $movie->getCharacters(1, new Attacker());
|
D | KotlinTest.kt | 438 val characterVector = intArrayOf(Attacker.createAttacker(fbb, swordAttackDamage)) in TestVectorOfUnions() 460 assert((movie.characters(Attacker(), 0) as Attacker).swordAttackDamage == swordAttackDamage) in TestVectorOfUnions()
|
D | JavaTest.java | 497 Attacker.createAttacker(fbb, swordAttackDamage), in TestVectorOfUnions() 527 … TestEq(((Attacker)movie.characters(new Attacker(), 0)).swordAttackDamage(), swordAttackDamage); in TestVectorOfUnions()
|
D | test.cpp | 2711 auto mu_lan = cs->GetAs<Attacker>(1); in UnionVectorTest()
|
/third_party/flatbuffers/tests/FlatBuffers.Test/ |
D | FlatBuffers.Core.Test.csproj | 119 <Compile Include="..\union_vector\Attacker.cs"> 120 <Link>union_vector\Attacker.cs</Link>
|
D | FlatBuffersExampleTests.cs | 462 Attacker.CreateAttacker(fbb, 10).Value, in TestUnionVector() 482 Assert.AreEqual(10, movie.Characters<Attacker>(0).Value.SwordAttackDamage); in TestUnionVector() 796 …Assert.AreEqual(a.Characters<Attacker>(0).Value.SwordAttackDamage, b.Characters[0].AsMuLan().Sword… in AreEqual() 810 …Assert.AreEqual(a.Characters<Attacker>(0).Value.SwordAttackDamage, b.Characters<Attacker>(0).Value… in AreEqual()
|
/third_party/openssl/ |
D | CHANGES | 2742 This issue was reported by Juraj Somorovsky using TLS-Attacker.
|