Home
last modified time | relevance | path

Searched refs:Attacker (Results 1 – 23 of 23) sorted by relevance

/third_party/flatbuffers/tests/union_vector/
Dcharacter.ts3 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;
DAttacker.cs9 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 …]
Dattacker.ts7 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,
DAttacker.java9 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()
Dattacker.js3 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);
DAttacker.kt9 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()
DAttacker.php9 class Attacker extends Table class
13 * @return Attacker
17 $obj = new Attacker();
34 * @return Attacker
63 * @return Attacker
Dcharacter.js2 import { Attacker } from './attacker';
18 case 'MuLan': return accessor(new Attacker());
30 case 'MuLan': return accessor(index, new Attacker());
Dunion_vector_generated.h9 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 …]
Dunion_vector.fbs4 table Attacker {
17 MuLan: Attacker, // Can have name be different from type.
DMovie.cs23 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()
DCharacter.cs37 case Character.MuLan: return Attacker.Pack(builder, _o.AsMuLan()).Value; in Pack()
Dmovie.ts5 import { Attacker, AttackerT } from './attacker';
/third_party/flatbuffers/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/
Dunion_vector_generated.swift35 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 …]
DFlatBuffersUnionTests.swift97 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/
DJavaScriptUnionVectorTest.js6 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);
DphpUnionVectorTest.php59 Attacker::startAttacker($fbb);
60 Attacker::addSwordAttackDamage($fbb, 5);
61 $attackerOffset = Attacker::endAttacker($fbb);
92 $attacker = $movie->getCharacters(1, new Attacker());
DKotlinTest.kt438 val characterVector = intArrayOf(Attacker.createAttacker(fbb, swordAttackDamage)) in TestVectorOfUnions()
460 assert((movie.characters(Attacker(), 0) as Attacker).swordAttackDamage == swordAttackDamage) in TestVectorOfUnions()
DJavaTest.java497 Attacker.createAttacker(fbb, swordAttackDamage), in TestVectorOfUnions()
527 … TestEq(((Attacker)movie.characters(new Attacker(), 0)).swordAttackDamage(), swordAttackDamage); in TestVectorOfUnions()
Dtest.cpp2711 auto mu_lan = cs->GetAs<Attacker>(1); in UnionVectorTest()
/third_party/flatbuffers/tests/FlatBuffers.Test/
DFlatBuffers.Core.Test.csproj119 <Compile Include="..\union_vector\Attacker.cs">
120 <Link>union_vector\Attacker.cs</Link>
DFlatBuffersExampleTests.cs462 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/
DCHANGES2742 This issue was reported by Juraj Somorovsky using TLS-Attacker.