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.rs140 builder.push_slot(my_game::example::Monster::VT_HP, 80i16, 100); in create_serialized_example_with_library_code()
143 …builder.push_slot(my_game::example::Monster::VT_TEST_TYPE, my_game::example::Any::Monster, my_game… in create_serialized_example_with_library_code()
1225 0 => {builder.push_slot::<bool>(f, bool_val, false);} in table_of_mixed_scalars_fuzz()
1226 1 => {builder.push_slot::<i8>(f, char_val, 0);} in table_of_mixed_scalars_fuzz()
1227 2 => {builder.push_slot::<u8>(f, uchar_val, 0);} in table_of_mixed_scalars_fuzz()
1228 3 => {builder.push_slot::<i16>(f, short_val, 0);} in table_of_mixed_scalars_fuzz()
1229 4 => {builder.push_slot::<u16>(f, ushort_val, 0);} in table_of_mixed_scalars_fuzz()
1230 5 => {builder.push_slot::<i32>(f, int_val, 0);} in table_of_mixed_scalars_fuzz()
1231 6 => {builder.push_slot::<u32>(f, uint_val, 0);} in table_of_mixed_scalars_fuzz()
1232 7 => {builder.push_slot::<i64>(f, long_val, 0);} in table_of_mixed_scalars_fuzz()
[all …]
/external/flatbuffers/tests/
Dmonster_test_generated.rs817 self.fbb_.push_slot::<Color>(TestSimpleTableWithEnum::VT_COLOR, color, Color::Green); in add_color()
917 self.fbb_.push_slot::<i64>(Stat::VT_VAL, val, 0); in add_val()
921 self.fbb_.push_slot::<u16>(Stat::VT_COUNT, count, 0); in add_count()
1011 self.fbb_.push_slot::<u64>(Referrable::VT_ID, id, 0); in add_id()
1583 self.fbb_.push_slot::<i16>(Monster::VT_MANA, mana, 150); in add_mana()
1587 self.fbb_.push_slot::<i16>(Monster::VT_HP, hp, 100); in add_hp()
1599 self.fbb_.push_slot::<Color>(Monster::VT_COLOR, color, Color::Blue); in add_color()
1603 self.fbb_.push_slot::<Any>(Monster::VT_TEST_TYPE, test_type, Any::NONE); in add_test_type()
1635 self.fbb_.push_slot::<bool>(Monster::VT_TESTBOOL, testbool, false); in add_testbool()
1639 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.rs211 self.fbb_.push_slot::<i32>(TableInNestedNS::VT_FOO, foo, 0); in add_foo()
Dnamespace_test2_generated.rs101 …self.fbb_.push_slot::<namespace_b::EnumInNestedNS>(TableInFirstNS::VT_FOO_ENUM, foo_enum, namespac… in add_foo_enum()
/external/flatbuffers/rust/flatbuffers/src/
Dbuilder.rs149 pub fn push_slot<X: Push + PartialEq>(&mut self, slotoff: VOffsetT, x: X, default: X) { in push_slot() method