Home
last modified time | relevance | path

Searched refs:FlatBufferBuilder (Results 1 – 25 of 309) sorted by relevance

12345678910>>...13

/external/flatbuffers/tests/MyGame/Example/
DMonster.php9 use \Google\FlatBuffers\FlatBufferBuilder; alias
687 * @param FlatBufferBuilder $builder
690 public static function startMonster(FlatBufferBuilder $builder)
696 * @param FlatBufferBuilder $builder
699 …public static function createMonster(FlatBufferBuilder $builder, $pos, $mana, $hp, $name, $invento…
756 * @param FlatBufferBuilder $builder
760 public static function addPos(FlatBufferBuilder $builder, $pos)
766 * @param FlatBufferBuilder $builder
770 public static function addMana(FlatBufferBuilder $builder, $mana)
776 * @param FlatBufferBuilder $builder
[all …]
DTypeAliases.php9 use \Google\FlatBuffers\FlatBufferBuilder; alias
179 * @param FlatBufferBuilder $builder
182 public static function startTypeAliases(FlatBufferBuilder $builder)
188 * @param FlatBufferBuilder $builder
191 …public static function createTypeAliases(FlatBufferBuilder $builder, $i8, $u8, $i16, $u16, $i32, $…
211 * @param FlatBufferBuilder $builder
215 public static function addI8(FlatBufferBuilder $builder, $i8)
221 * @param FlatBufferBuilder $builder
225 public static function addU8(FlatBufferBuilder $builder, $u8)
231 * @param FlatBufferBuilder $builder
[all …]
DStat.php9 use \Google\FlatBuffers\FlatBufferBuilder; alias
75 * @param FlatBufferBuilder $builder
78 public static function startStat(FlatBufferBuilder $builder)
84 * @param FlatBufferBuilder $builder
87 public static function createStat(FlatBufferBuilder $builder, $id, $val, $count)
98 * @param FlatBufferBuilder $builder
102 public static function addId(FlatBufferBuilder $builder, $id)
108 * @param FlatBufferBuilder $builder
112 public static function addVal(FlatBufferBuilder $builder, $val)
118 * @param FlatBufferBuilder $builder
[all …]
DMonster.kt787 fun startMonster(builder: FlatBufferBuilder) = builder.startTable(49) in MonsterBufferHasIdentifier()
788 fun addPos(builder: FlatBufferBuilder, pos: Int) = builder.addStruct(0, pos, 0) in MonsterBufferHasIdentifier()
789 fun addMana(builder: FlatBufferBuilder, mana: Short) = builder.addShort(1, mana, 150) in MonsterBufferHasIdentifier()
790 fun addHp(builder: FlatBufferBuilder, hp: Short) = builder.addShort(2, hp, 100) in MonsterBufferHasIdentifier()
791 fun addName(builder: FlatBufferBuilder, name: Int) = builder.addOffset(3, name, 0) in MonsterBufferHasIdentifier()
792 … fun addInventory(builder: FlatBufferBuilder, inventory: Int) = builder.addOffset(5, inventory, 0) in MonsterBufferHasIdentifier()
793 fun createInventoryVector(builder: FlatBufferBuilder, data: UByteArray) : Int { in MonsterBufferHasIdentifier()
800 …fun startInventoryVector(builder: FlatBufferBuilder, numElems: Int) = builder.startVector(1, numEl… in startInventoryVector()
801 … fun addColor(builder: FlatBufferBuilder, color: UByte) = builder.addByte(6, color.toByte(), 8) in startInventoryVector()
802 …fun addTestType(builder: FlatBufferBuilder, testType: UByte) = builder.addByte(7, testType.toByte(… in startInventoryVector()
[all …]
DMonster.java198 public static void startMonster(FlatBufferBuilder builder) { builder.startTable(49); } in startMonster()
199 …public static void addPos(FlatBufferBuilder builder, int posOffset) { builder.addStruct(0, posOffs… in addPos()
200 …public static void addMana(FlatBufferBuilder builder, short mana) { builder.addShort(1, mana, 150)… in addMana()
201 public static void addHp(FlatBufferBuilder builder, short hp) { builder.addShort(2, hp, 100); } in addHp()
202 …public static void addName(FlatBufferBuilder builder, int nameOffset) { builder.addOffset(3, nameO… in addName()
203 …public static void addInventory(FlatBufferBuilder builder, int inventoryOffset) { builder.addOffse… in addInventory()
204 …public static int createInventoryVector(FlatBufferBuilder builder, byte[] data) { return builder.c… in createInventoryVector()
205 …public static int createInventoryVector(FlatBufferBuilder builder, ByteBuffer data) { return build… in createInventoryVector()
206 …public static void startInventoryVector(FlatBufferBuilder builder, int numElems) { builder.startVe… in startInventoryVector()
207 …public static void addColor(FlatBufferBuilder builder, int color) { builder.addByte(6, (byte)color… in addColor()
[all …]
DReferrable.php9 use \Google\FlatBuffers\FlatBufferBuilder; alias
60 * @param FlatBufferBuilder $builder
63 public static function startReferrable(FlatBufferBuilder $builder)
69 * @param FlatBufferBuilder $builder
72 public static function createReferrable(FlatBufferBuilder $builder, $id)
81 * @param FlatBufferBuilder $builder
85 public static function addId(FlatBufferBuilder $builder, $id)
91 * @param FlatBufferBuilder $builder
94 public static function endReferrable(FlatBufferBuilder $builder)
DTestSimpleTableWithEnum.php9 use \Google\FlatBuffers\FlatBufferBuilder; alias
60 * @param FlatBufferBuilder $builder
63 public static function startTestSimpleTableWithEnum(FlatBufferBuilder $builder)
69 * @param FlatBufferBuilder $builder
72 public static function createTestSimpleTableWithEnum(FlatBufferBuilder $builder, $color)
81 * @param FlatBufferBuilder $builder
85 public static function addColor(FlatBufferBuilder $builder, $color)
91 * @param FlatBufferBuilder $builder
94 public static function endTestSimpleTableWithEnum(FlatBufferBuilder $builder)
DTypeAliases.java53 public static int createTypeAliases(FlatBufferBuilder builder, in createTypeAliases()
82 public static void startTypeAliases(FlatBufferBuilder builder) { builder.startTable(12); } in startTypeAliases()
83 public static void addI8(FlatBufferBuilder builder, byte i8) { builder.addByte(0, i8, 0); } in addI8()
84 …public static void addU8(FlatBufferBuilder builder, int u8) { builder.addByte(1, (byte)u8, (byte)0… in addU8()
85 public static void addI16(FlatBufferBuilder builder, short i16) { builder.addShort(2, i16, 0); } in addI16()
86 …public static void addU16(FlatBufferBuilder builder, int u16) { builder.addShort(3, (short)u16, (s… in addU16()
87 public static void addI32(FlatBufferBuilder builder, int i32) { builder.addInt(4, i32, 0); } in addI32()
88 …public static void addU32(FlatBufferBuilder builder, long u32) { builder.addInt(5, (int)u32, (int)… in addU32()
89 public static void addI64(FlatBufferBuilder builder, long i64) { builder.addLong(6, i64, 0L); } in addI64()
90 public static void addU64(FlatBufferBuilder builder, long u64) { builder.addLong(7, u64, 0L); } in addU64()
[all …]
DTypeAliases.kt213 …fun createTypeAliases(builder: FlatBufferBuilder, i8: Byte, u8: UByte, i16: Short, u16: UShort, i3… in createTypeAliases()
229 fun startTypeAliases(builder: FlatBufferBuilder) = builder.startTable(12) in startTypeAliases()
230 fun addI8(builder: FlatBufferBuilder, i8: Byte) = builder.addByte(0, i8, 0) in startTypeAliases()
231 fun addU8(builder: FlatBufferBuilder, u8: UByte) = builder.addByte(1, u8.toByte(), 0) in startTypeAliases()
232 fun addI16(builder: FlatBufferBuilder, i16: Short) = builder.addShort(2, i16, 0) in startTypeAliases()
233 fun addU16(builder: FlatBufferBuilder, u16: UShort) = builder.addShort(3, u16.toShort(), 0) in startTypeAliases()
234 fun addI32(builder: FlatBufferBuilder, i32: Int) = builder.addInt(4, i32, 0) in startTypeAliases()
235 fun addU32(builder: FlatBufferBuilder, u32: UInt) = builder.addInt(5, u32.toInt(), 0) in startTypeAliases()
236 fun addI64(builder: FlatBufferBuilder, i64: Long) = builder.addLong(6, i64, 0L) in startTypeAliases()
237 fun addU64(builder: FlatBufferBuilder, u64: ULong) = builder.addLong(7, u64.toLong(), 0) in startTypeAliases()
[all …]
DMonster.cs192 public static void StartMonster(FlatBufferBuilder builder) { builder.StartTable(49); } in StartMonster()
193 …public static void AddPos(FlatBufferBuilder builder, Offset<MyGame.Example.Vec3> posOffset) { buil… in AddPos()
194 …public static void AddMana(FlatBufferBuilder builder, short mana) { builder.AddShort(1, mana, 150)… in AddMana()
195 public static void AddHp(FlatBufferBuilder builder, short hp) { builder.AddShort(2, hp, 100); } in AddHp()
196 …public static void AddName(FlatBufferBuilder builder, StringOffset nameOffset) { builder.AddOffset… in AddName()
197 …public static void AddInventory(FlatBufferBuilder builder, VectorOffset inventoryOffset) { builder… in AddInventory()
198 …public static VectorOffset CreateInventoryVector(FlatBufferBuilder builder, byte[] data) { builder… in CreateInventoryVector()
199 …public static VectorOffset CreateInventoryVectorBlock(FlatBufferBuilder builder, byte[] data) { bu… in CreateInventoryVectorBlock()
200 …public static void StartInventoryVector(FlatBufferBuilder builder, int numElems) { builder.StartVe… in StartInventoryVector()
201 …public static void AddColor(FlatBufferBuilder builder, MyGame.Example.Color color) { builder.AddBy… in AddColor()
[all …]
/external/flatbuffers/tests/union_vector/
DMovie.php7 use \Google\FlatBuffers\FlatBufferBuilder; alias
100 * @param FlatBufferBuilder $builder
103 public static function startMovie(FlatBufferBuilder $builder)
109 * @param FlatBufferBuilder $builder
112 …public static function createMovie(FlatBufferBuilder $builder, $main_character_type, $main_charact…
124 * @param FlatBufferBuilder $builder
128 public static function addMainCharacterType(FlatBufferBuilder $builder, $mainCharacterType)
133 public static function addMainCharacter(FlatBufferBuilder $builder, $offset)
139 * @param FlatBufferBuilder $builder
143 public static function addCharactersType(FlatBufferBuilder $builder, $charactersType)
[all …]
DAttacker.php7 use \Google\FlatBuffers\FlatBufferBuilder; alias
53 * @param FlatBufferBuilder $builder
56 public static function startAttacker(FlatBufferBuilder $builder)
62 * @param FlatBufferBuilder $builder
65 public static function createAttacker(FlatBufferBuilder $builder, $sword_attack_damage)
74 * @param FlatBufferBuilder $builder
78 public static function addSwordAttackDamage(FlatBufferBuilder $builder, $swordAttackDamage)
84 * @param FlatBufferBuilder $builder
87 public static function endAttacker(FlatBufferBuilder $builder)
DMovie.kt78 …fun createMovie(builder: FlatBufferBuilder, mainCharacterType: UByte, mainCharacterOffset: Int, ch… in MovieBufferHasIdentifier()
86 fun startMovie(builder: FlatBufferBuilder) = builder.startTable(4) in startMovie()
87 …fun addMainCharacterType(builder: FlatBufferBuilder, mainCharacterType: UByte) = builder.addByte(0… in startMovie()
88 …fun addMainCharacter(builder: FlatBufferBuilder, mainCharacter: Int) = builder.addOffset(1, mainCh… in startMovie()
89 …fun addCharactersType(builder: FlatBufferBuilder, charactersType: Int) = builder.addOffset(2, char… in startMovie()
90 fun createCharactersTypeVector(builder: FlatBufferBuilder, data: UByteArray) : Int { in startMovie()
97 …fun startCharactersTypeVector(builder: FlatBufferBuilder, numElems: Int) = builder.startVector(1, … in startCharactersTypeVector()
98 …fun addCharacters(builder: FlatBufferBuilder, characters: Int) = builder.addOffset(3, characters, … in startCharactersTypeVector()
99 fun createCharactersVector(builder: FlatBufferBuilder, data: IntArray) : Int { in startCharactersTypeVector()
106 …fun startCharactersVector(builder: FlatBufferBuilder, numElems: Int) = builder.startVector(4, numE… in startCharactersVector()
[all …]
DMovie.java30 public static int createMovie(FlatBufferBuilder builder, in createMovie()
43 public static void startMovie(FlatBufferBuilder builder) { builder.startTable(4); } in startMovie()
44 …public static void addMainCharacterType(FlatBufferBuilder builder, byte mainCharacterType) { build… in addMainCharacterType()
45 …public static void addMainCharacter(FlatBufferBuilder builder, int mainCharacterOffset) { builder.… in addMainCharacter()
46 …public static void addCharactersType(FlatBufferBuilder builder, int charactersTypeOffset) { builde… in addCharactersType()
47 …public static int createCharactersTypeVector(FlatBufferBuilder builder, byte[] data) { builder.sta… in createCharactersTypeVector()
48 …public static void startCharactersTypeVector(FlatBufferBuilder builder, int numElems) { builder.st… in startCharactersTypeVector()
49 …public static void addCharacters(FlatBufferBuilder builder, int charactersOffset) { builder.addOff… in addCharacters()
50 …public static int createCharactersVector(FlatBufferBuilder builder, int[] data) { builder.startVec… in createCharactersVector()
51 …public static void startCharactersVector(FlatBufferBuilder builder, int numElems) { builder.startV… in startCharactersVector()
[all …]
/external/flatbuffers/tests/
Dtest_builder.cpp10 class TestHeapBuilder : public flatbuffers::FlatBufferBuilder {
21 : flatbuffers::FlatBufferBuilder(2048, new OwnedAllocator(), true) {} in TestHeapBuilder()
27 : FlatBufferBuilder(std::move(other)) {} in TestHeapBuilder()
30 FlatBufferBuilder::operator=(std::move(other)); in operator =()
44 public flatbuffers::FlatBufferBuilder {
51 : flatbuffers::FlatBufferBuilder(1024, &member_allocator_, false) {} in GrpcLikeMessageBuilder()
54 : FlatBufferBuilder(1024, &member_allocator_, false) { in GrpcLikeMessageBuilder()
74 FlatBufferBuilder::Swap(other); in Swap()
85 flatbuffers::FlatBufferBuilder &builder) { in populate1()
91 flatbuffers::FlatBufferBuilder &builder) { in populate2()
[all …]
/external/flatbuffers/tests/namespace_test/NamespaceA/
DTableInFirstNS.php9 use \Google\FlatBuffers\FlatBufferBuilder; alias
59 * @param FlatBufferBuilder $builder
62 public static function startTableInFirstNS(FlatBufferBuilder $builder)
68 * @param FlatBufferBuilder $builder
71 …public static function createTableInFirstNS(FlatBufferBuilder $builder, $foo_table, $foo_enum, $fo…
82 * @param FlatBufferBuilder $builder
86 public static function addFooTable(FlatBufferBuilder $builder, $fooTable)
92 * @param FlatBufferBuilder $builder
96 public static function addFooEnum(FlatBufferBuilder $builder, $fooEnum)
102 * @param FlatBufferBuilder $builder
[all …]
DTableInC.php9 use \Google\FlatBuffers\FlatBufferBuilder; alias
50 * @param FlatBufferBuilder $builder
53 public static function startTableInC(FlatBufferBuilder $builder)
59 * @param FlatBufferBuilder $builder
62 public static function createTableInC(FlatBufferBuilder $builder, $refer_to_a1, $refer_to_a2)
72 * @param FlatBufferBuilder $builder
76 public static function addReferToA1(FlatBufferBuilder $builder, $referToA1)
82 * @param FlatBufferBuilder $builder
86 public static function addReferToA2(FlatBufferBuilder $builder, $referToA2)
92 * @param FlatBufferBuilder $builder
[all …]
DSecondTableInA.php9 use \Google\FlatBuffers\FlatBufferBuilder; alias
43 * @param FlatBufferBuilder $builder
46 public static function startSecondTableInA(FlatBufferBuilder $builder)
52 * @param FlatBufferBuilder $builder
55 public static function createSecondTableInA(FlatBufferBuilder $builder, $refer_to_c)
64 * @param FlatBufferBuilder $builder
68 public static function addReferToC(FlatBufferBuilder $builder, $referToC)
74 * @param FlatBufferBuilder $builder
77 public static function endSecondTableInA(FlatBufferBuilder $builder)
/external/flatbuffers/tests/namespace_test/NamespaceC/
DTableInC.php9 use \Google\FlatBuffers\FlatBufferBuilder; alias
50 * @param FlatBufferBuilder $builder
53 public static function startTableInC(FlatBufferBuilder $builder)
59 * @param FlatBufferBuilder $builder
62 public static function createTableInC(FlatBufferBuilder $builder, $refer_to_a1, $refer_to_a2)
72 * @param FlatBufferBuilder $builder
76 public static function addReferToA1(FlatBufferBuilder $builder, $referToA1)
82 * @param FlatBufferBuilder $builder
86 public static function addReferToA2(FlatBufferBuilder $builder, $referToA2)
92 * @param FlatBufferBuilder $builder
[all …]
/external/flatbuffers/tests/namespace_test/NamespaceA/NamespaceB/
DTableInNestedNS.php9 use \Google\FlatBuffers\FlatBufferBuilder; alias
45 * @param FlatBufferBuilder $builder
48 public static function startTableInNestedNS(FlatBufferBuilder $builder)
54 * @param FlatBufferBuilder $builder
57 public static function createTableInNestedNS(FlatBufferBuilder $builder, $foo)
66 * @param FlatBufferBuilder $builder
70 public static function addFoo(FlatBufferBuilder $builder, $foo)
76 * @param FlatBufferBuilder $builder
79 public static function endTableInNestedNS(FlatBufferBuilder $builder)
/external/flatbuffers/tests/FlatBuffers.Test/
DFlatBuffersFuzzTests.cs35 var builder = new FlatBufferBuilder(1); in TestNumbers()
56 var builder = new FlatBufferBuilder(1); in TestNumbers64()
60 builder = new FlatBufferBuilder(1); in TestNumbers64()
68 var builder = new FlatBufferBuilder(1); in TestVector_1xUInt8()
80 var builder = new FlatBufferBuilder(1); in TestVector_2xUint8()
94 var builder = new FlatBufferBuilder(1); in TestVector_1xUInt16()
106 var builder = new FlatBufferBuilder(1); in TestVector_2xUInt16()
120 var builder = new FlatBufferBuilder(1); in TestCreateAsciiString()
141 var builder = new FlatBufferBuilder(1); in TestCreateSharedAsciiString()
152 var builder = new FlatBufferBuilder(1); in TestCreateArbitarytring()
[all …]
/external/flatbuffers/tests/MyGame/
DMonsterExtra.java50 public static int createMonsterExtra(FlatBufferBuilder builder, in createMonsterExtra()
75 public static void startMonsterExtra(FlatBufferBuilder builder) { builder.startTable(11); } in startMonsterExtra()
76 …public static void addD0(FlatBufferBuilder builder, double d0) { builder.addDouble(0, d0, Double.N… in addD0()
77 …public static void addD1(FlatBufferBuilder builder, double d1) { builder.addDouble(1, d1, Double.N… in addD1()
78 …public static void addD2(FlatBufferBuilder builder, double d2) { builder.addDouble(2, d2, Double.P… in addD2()
79 …public static void addD3(FlatBufferBuilder builder, double d3) { builder.addDouble(3, d3, Double.N… in addD3()
80 …public static void addF0(FlatBufferBuilder builder, float f0) { builder.addFloat(4, f0, Float.NaN)… in addF0()
81 …public static void addF1(FlatBufferBuilder builder, float f1) { builder.addFloat(5, f1, Float.NaN)… in addF1()
82 …public static void addF2(FlatBufferBuilder builder, float f2) { builder.addFloat(6, f2, Float.POSI… in addF2()
83 …public static void addF3(FlatBufferBuilder builder, float f3) { builder.addFloat(7, f3, Float.NEGA… in addF3()
[all …]
DMonsterExtra.kt186 …fun createMonsterExtra(builder: FlatBufferBuilder, d0: Double, d1: Double, d2: Double, d3: Double,… in MonsterExtraBufferHasIdentifier()
200 fun startMonsterExtra(builder: FlatBufferBuilder) = builder.startTable(11) in startMonsterExtra()
201 fun addD0(builder: FlatBufferBuilder, d0: Double) = builder.addDouble(0, d0, Double.NaN) in startMonsterExtra()
202 fun addD1(builder: FlatBufferBuilder, d1: Double) = builder.addDouble(1, d1, Double.NaN) in startMonsterExtra()
203 …fun addD2(builder: FlatBufferBuilder, d2: Double) = builder.addDouble(2, d2, Double.POSITIVE_INFIN… in startMonsterExtra()
204 …fun addD3(builder: FlatBufferBuilder, d3: Double) = builder.addDouble(3, d3, Double.NEGATIVE_INFIN… in startMonsterExtra()
205 fun addF0(builder: FlatBufferBuilder, f0: Float) = builder.addFloat(4, f0, Double.NaN) in startMonsterExtra()
206 fun addF1(builder: FlatBufferBuilder, f1: Float) = builder.addFloat(5, f1, Double.NaN) in startMonsterExtra()
207 …fun addF2(builder: FlatBufferBuilder, f2: Float) = builder.addFloat(6, f2, Double.POSITIVE_INFINIT… in startMonsterExtra()
208 …fun addF3(builder: FlatBufferBuilder, f3: Float) = builder.addFloat(7, f3, Double.NEGATIVE_INFINIT… in startMonsterExtra()
[all …]
/external/tensorflow/tensorflow/lite/schema/
Dschema_generated.h531 …flatbuffers::Offset<void> Pack(flatbuffers::FlatBufferBuilder &_fbb, const flatbuffers::rehasher_f…
658 …flatbuffers::Offset<void> Pack(flatbuffers::FlatBufferBuilder &_fbb, const flatbuffers::rehasher_f…
1924 …flatbuffers::Offset<void> Pack(flatbuffers::FlatBufferBuilder &_fbb, const flatbuffers::rehasher_f…
3057 …static flatbuffers::Offset<CustomQuantization> Pack(flatbuffers::FlatBufferBuilder &_fbb, const Cu…
3061 flatbuffers::FlatBufferBuilder &fbb_;
3066 explicit CustomQuantizationBuilder(flatbuffers::FlatBufferBuilder &_fbb)
3079 flatbuffers::FlatBufferBuilder &_fbb,
3087 flatbuffers::FlatBufferBuilder &_fbb,
3096 flatbuffers::Offset<CustomQuantization> CreateCustomQuantization(flatbuffers::FlatBufferBuilder &_f…
3165 …static flatbuffers::Offset<QuantizationParameters> Pack(flatbuffers::FlatBufferBuilder &_fbb, cons…
[all …]
/external/noto-fonts/emoji-compat-flatbuffers/src/java/androidx/text/emoji/flatbuffer/
DMetadataItem.java48 public static int createMetadataItem(FlatBufferBuilder builder, in createMetadataItem()
67 public static void startMetadataItem(FlatBufferBuilder builder) { builder.startTable(7); } in startMetadataItem()
68 public static void addId(FlatBufferBuilder builder, int id) { builder.addInt(0, id, 0); } in addId()
69 …public static void addEmojiStyle(FlatBufferBuilder builder, boolean emojiStyle) { builder.addBoole… in addEmojiStyle()
70 …public static void addSdkAdded(FlatBufferBuilder builder, short sdkAdded) { builder.addShort(2, sd… in addSdkAdded()
71 …public static void addCompatAdded(FlatBufferBuilder builder, short compatAdded) { builder.addShort… in addCompatAdded()
72 …public static void addWidth(FlatBufferBuilder builder, short width) { builder.addShort(4, width, 0… in addWidth()
73 …public static void addHeight(FlatBufferBuilder builder, short height) { builder.addShort(5, height… in addHeight()
74 …public static void addCodepoints(FlatBufferBuilder builder, int codepointsOffset) { builder.addOff… in addCodepoints()
75 …public static int createCodepointsVector(FlatBufferBuilder builder, int[] data) { builder.startVec… in createCodepointsVector()
[all …]

12345678910>>...13