Home
last modified time | relevance | path

Searched refs:push_slot (Results 1 – 6 of 6) sorted by relevance

/external/flatbuffers/tests/rust_usage_test/tests/
Dintegration_test.rs131 builder.push_slot(my_game::example::Monster::VT_HP, 80i16, 100); in create_serialized_example_with_library_code()
134 …builder.push_slot(my_game::example::Monster::VT_TEST_TYPE, my_game::example::Any::Monster, my_game… in create_serialized_example_with_library_code()
1048 0 => {builder.push_slot::<bool>(f, bool_val, false);} in table_of_mixed_scalars_fuzz()
1049 1 => {builder.push_slot::<i8>(f, char_val, 0);} in table_of_mixed_scalars_fuzz()
1050 2 => {builder.push_slot::<u8>(f, uchar_val, 0);} in table_of_mixed_scalars_fuzz()
1051 3 => {builder.push_slot::<i16>(f, short_val, 0);} in table_of_mixed_scalars_fuzz()
1052 4 => {builder.push_slot::<u16>(f, ushort_val, 0);} in table_of_mixed_scalars_fuzz()
1053 5 => {builder.push_slot::<i32>(f, int_val, 0);} in table_of_mixed_scalars_fuzz()
1054 6 => {builder.push_slot::<u32>(f, uint_val, 0);} in table_of_mixed_scalars_fuzz()
1055 7 => {builder.push_slot::<i64>(f, long_val, 0);} in table_of_mixed_scalars_fuzz()
[all …]
/external/flatbuffers/tests/
Dmonster_test_generated.rs720 self.fbb_.push_slot::<Color>(TestSimpleTableWithEnum::VT_COLOR, color, Color::Green); in add_color()
816 self.fbb_.push_slot::<i64>(Stat::VT_VAL, val, 0); in add_val()
820 self.fbb_.push_slot::<u16>(Stat::VT_COUNT, count, 0); in add_count()
906 self.fbb_.push_slot::<u64>(Referrable::VT_ID, id, 0); in add_id()
1466 self.fbb_.push_slot::<i16>(Monster::VT_MANA, mana, 150); in add_mana()
1470 self.fbb_.push_slot::<i16>(Monster::VT_HP, hp, 100); in add_hp()
1482 self.fbb_.push_slot::<Color>(Monster::VT_COLOR, color, Color::Blue); in add_color()
1486 self.fbb_.push_slot::<Any>(Monster::VT_TEST_TYPE, test_type, Any::NONE); in add_test_type()
1518 self.fbb_.push_slot::<bool>(Monster::VT_TESTBOOL, testbool, false); in add_testbool()
1522 self.fbb_.push_slot::<i32>(Monster::VT_TESTHASHS32_FNV1, testhashs32_fnv1, 0); in add_testhashs32_fnv1()
[all …]
/external/flatbuffers/samples/
Dmonster_generated.rs351 self.fbb_.push_slot::<i16>(Monster::VT_MANA, mana, 150); in add_mana()
355 self.fbb_.push_slot::<i16>(Monster::VT_HP, hp, 100); in add_hp()
367 self.fbb_.push_slot::<Color>(Monster::VT_COLOR, color, Color::Blue); in add_color()
375 self.fbb_.push_slot::<Equipment>(Monster::VT_EQUIPPED_TYPE, equipped_type, Equipment::NONE); in add_equipped_type()
467 self.fbb_.push_slot::<i16>(Weapon::VT_DAMAGE, damage, 0); in add_damage()
/external/flatbuffers/tests/namespace_test/
Dnamespace_test1_generated.rs215 self.fbb_.push_slot::<i32>(TableInNestedNS::VT_FOO, foo, 0); in add_foo()
Dnamespace_test2_generated.rs102 …self.fbb_.push_slot::<namespace_b::EnumInNestedNS>(TableInFirstNS::VT_FOO_ENUM, foo_enum, namespac… in add_foo_enum()
/external/flatbuffers/rust/flatbuffers/src/
Dbuilder.rs144 pub fn push_slot<X: Push + PartialEq>(&mut self, slotoff: VOffsetT, x: X, default: X) { in push_slot() method