/external/flatbuffers/tests/optional_scalars/optional_scalars/ |
D | scalar_stuff_generated.rs | 477 self.fbb_.push_slot::<i8>(ScalarStuff::VT_JUST_I8, just_i8, 0); in add_just_i8() 485 self.fbb_.push_slot::<i8>(ScalarStuff::VT_DEFAULT_I8, default_i8, 42); in add_default_i8() 489 self.fbb_.push_slot::<u8>(ScalarStuff::VT_JUST_U8, just_u8, 0); in add_just_u8() 497 self.fbb_.push_slot::<u8>(ScalarStuff::VT_DEFAULT_U8, default_u8, 42); in add_default_u8() 501 self.fbb_.push_slot::<i16>(ScalarStuff::VT_JUST_I16, just_i16, 0); in add_just_i16() 509 self.fbb_.push_slot::<i16>(ScalarStuff::VT_DEFAULT_I16, default_i16, 42); in add_default_i16() 513 self.fbb_.push_slot::<u16>(ScalarStuff::VT_JUST_U16, just_u16, 0); in add_just_u16() 521 self.fbb_.push_slot::<u16>(ScalarStuff::VT_DEFAULT_U16, default_u16, 42); in add_default_u16() 525 self.fbb_.push_slot::<i32>(ScalarStuff::VT_JUST_I32, just_i32, 0); in add_just_i32() 533 self.fbb_.push_slot::<i32>(ScalarStuff::VT_DEFAULT_I32, default_i32, 42); in add_default_i32() [all …]
|
/external/flatbuffers/tests/monster_test/my_game/example/ |
D | type_aliases_generated.rs | 217 self.fbb_.push_slot::<i8>(TypeAliases::VT_I8_, i8_, 0); in add_i8_() 221 self.fbb_.push_slot::<u8>(TypeAliases::VT_U8_, u8_, 0); in add_u8_() 225 self.fbb_.push_slot::<i16>(TypeAliases::VT_I16_, i16_, 0); in add_i16_() 229 self.fbb_.push_slot::<u16>(TypeAliases::VT_U16_, u16_, 0); in add_u16_() 233 self.fbb_.push_slot::<i32>(TypeAliases::VT_I32_, i32_, 0); in add_i32_() 237 self.fbb_.push_slot::<u32>(TypeAliases::VT_U32_, u32_, 0); in add_u32_() 241 self.fbb_.push_slot::<i64>(TypeAliases::VT_I64_, i64_, 0); in add_i64_() 245 self.fbb_.push_slot::<u64>(TypeAliases::VT_U64_, u64_, 0); in add_u64_() 249 self.fbb_.push_slot::<f32>(TypeAliases::VT_F32_, f32_, 0.0); in add_f32_() 253 self.fbb_.push_slot::<f64>(TypeAliases::VT_F64_, f64_, 0.0); in add_f64_()
|
D | monster_generated.rs | 902 self.fbb_.push_slot::<i16>(Monster::VT_MANA, mana, 150); in add_mana() 906 self.fbb_.push_slot::<i16>(Monster::VT_HP, hp, 100); in add_hp() 918 self.fbb_.push_slot::<Color>(Monster::VT_COLOR, color, Color::Blue); in add_color() 922 self.fbb_.push_slot::<Any>(Monster::VT_TEST_TYPE, test_type, Any::NONE); in add_test_type() 954 self.fbb_.push_slot::<bool>(Monster::VT_TESTBOOL, testbool, false); in add_testbool() 958 self.fbb_.push_slot::<i32>(Monster::VT_TESTHASHS32_FNV1, testhashs32_fnv1, 0); in add_testhashs32_fnv1() 962 self.fbb_.push_slot::<u32>(Monster::VT_TESTHASHU32_FNV1, testhashu32_fnv1, 0); in add_testhashu32_fnv1() 966 self.fbb_.push_slot::<i64>(Monster::VT_TESTHASHS64_FNV1, testhashs64_fnv1, 0); in add_testhashs64_fnv1() 970 self.fbb_.push_slot::<u64>(Monster::VT_TESTHASHU64_FNV1, testhashu64_fnv1, 0); in add_testhashu64_fnv1() 974 self.fbb_.push_slot::<i32>(Monster::VT_TESTHASHS32_FNV1A, testhashs32_fnv1a, 0); in add_testhashs32_fnv1a() [all …]
|
D | stat_generated.rs | 130 self.fbb_.push_slot::<i64>(Stat::VT_VAL, val, 0); in add_val() 134 self.fbb_.push_slot::<u16>(Stat::VT_COUNT, count, 0); in add_count()
|
D | test_simple_table_with_enum_generated.rs | 92 self.fbb_.push_slot::<Color>(TestSimpleTableWithEnum::VT_COLOR, color, Color::Green); in add_color()
|
D | referrable_generated.rs | 102 self.fbb_.push_slot::<u64>(Referrable::VT_ID, id, 0); in add_id()
|
/external/flatbuffers/tests/monster_test_serialize/my_game/example/ |
D | type_aliases_generated.rs | 249 self.fbb_.push_slot::<i8>(TypeAliases::VT_I8_, i8_, 0); in add_i8_() 253 self.fbb_.push_slot::<u8>(TypeAliases::VT_U8_, u8_, 0); in add_u8_() 257 self.fbb_.push_slot::<i16>(TypeAliases::VT_I16_, i16_, 0); in add_i16_() 261 self.fbb_.push_slot::<u16>(TypeAliases::VT_U16_, u16_, 0); in add_u16_() 265 self.fbb_.push_slot::<i32>(TypeAliases::VT_I32_, i32_, 0); in add_i32_() 269 self.fbb_.push_slot::<u32>(TypeAliases::VT_U32_, u32_, 0); in add_u32_() 273 self.fbb_.push_slot::<i64>(TypeAliases::VT_I64_, i64_, 0); in add_i64_() 277 self.fbb_.push_slot::<u64>(TypeAliases::VT_U64_, u64_, 0); in add_u64_() 281 self.fbb_.push_slot::<f32>(TypeAliases::VT_F32_, f32_, 0.0); in add_f32_() 285 self.fbb_.push_slot::<f64>(TypeAliases::VT_F64_, f64_, 0.0); in add_f64_()
|
D | monster_generated.rs | 1121 self.fbb_.push_slot::<i16>(Monster::VT_MANA, mana, 150); in add_mana() 1125 self.fbb_.push_slot::<i16>(Monster::VT_HP, hp, 100); in add_hp() 1137 self.fbb_.push_slot::<Color>(Monster::VT_COLOR, color, Color::Blue); in add_color() 1141 self.fbb_.push_slot::<Any>(Monster::VT_TEST_TYPE, test_type, Any::NONE); in add_test_type() 1173 self.fbb_.push_slot::<bool>(Monster::VT_TESTBOOL, testbool, false); in add_testbool() 1177 self.fbb_.push_slot::<i32>(Monster::VT_TESTHASHS32_FNV1, testhashs32_fnv1, 0); in add_testhashs32_fnv1() 1181 self.fbb_.push_slot::<u32>(Monster::VT_TESTHASHU32_FNV1, testhashu32_fnv1, 0); in add_testhashu32_fnv1() 1185 self.fbb_.push_slot::<i64>(Monster::VT_TESTHASHS64_FNV1, testhashs64_fnv1, 0); in add_testhashs64_fnv1() 1189 self.fbb_.push_slot::<u64>(Monster::VT_TESTHASHU64_FNV1, testhashu64_fnv1, 0); in add_testhashu64_fnv1() 1193 self.fbb_.push_slot::<i32>(Monster::VT_TESTHASHS32_FNV1A, testhashs32_fnv1a, 0); in add_testhashs32_fnv1a() [all …]
|
D | stat_generated.rs | 149 self.fbb_.push_slot::<i64>(Stat::VT_VAL, val, 0); in add_val() 153 self.fbb_.push_slot::<u16>(Stat::VT_COUNT, count, 0); in add_count()
|
D | test_simple_table_with_enum_generated.rs | 105 self.fbb_.push_slot::<Color>(TestSimpleTableWithEnum::VT_COLOR, color, Color::Green); in add_color()
|
D | referrable_generated.rs | 115 self.fbb_.push_slot::<u64>(Referrable::VT_ID, id, 0); in add_id()
|
/external/flatbuffers/tests/rust_usage_test/tests/ |
D | integration_test.rs | 262 builder.push_slot(my_game::example::Monster::VT_HP, 80i16, 100); in create_serialized_example_with_library_code() 265 …builder.push_slot(my_game::example::Monster::VT_TEST_TYPE, my_game::example::Any::Monster, my_game… in create_serialized_example_with_library_code() 1488 0 => {builder.push_slot::<bool>(f, bool_val, false);} in table_of_mixed_scalars_fuzz() 1489 1 => {builder.push_slot::<i8>(f, char_val, 0);} in table_of_mixed_scalars_fuzz() 1490 2 => {builder.push_slot::<u8>(f, uchar_val, 0);} in table_of_mixed_scalars_fuzz() 1491 3 => {builder.push_slot::<i16>(f, short_val, 0);} in table_of_mixed_scalars_fuzz() 1492 4 => {builder.push_slot::<u16>(f, ushort_val, 0);} in table_of_mixed_scalars_fuzz() 1493 5 => {builder.push_slot::<i32>(f, int_val, 0);} in table_of_mixed_scalars_fuzz() 1494 6 => {builder.push_slot::<u32>(f, uint_val, 0);} in table_of_mixed_scalars_fuzz() 1495 7 => {builder.push_slot::<i64>(f, long_val, 0);} in table_of_mixed_scalars_fuzz() [all …]
|
/external/flatbuffers/tests/keyword_test/keyword_test/ |
D | keywords_in_table_generated.rs | 125 self.fbb_.push_slot::<ABC>(KeywordsInTable::VT_IS, is, ABC::void); in add_is() 129 self.fbb_.push_slot::<public>(KeywordsInTable::VT_PRIVATE, private, public::NONE); in add_private() 133 self.fbb_.push_slot::<i32>(KeywordsInTable::VT_TYPE_, type_, 0); in add_type_() 137 self.fbb_.push_slot::<bool>(KeywordsInTable::VT_DEFAULT, default, false); in add_default()
|
/external/flatbuffers/samples/rust_generated/my_game/sample/ |
D | monster_generated.rs | 225 self.fbb_.push_slot::<i16>(Monster::VT_MANA, mana, 150); in add_mana() 229 self.fbb_.push_slot::<i16>(Monster::VT_HP, hp, 100); in add_hp() 241 self.fbb_.push_slot::<Color>(Monster::VT_COLOR, color, Color::Blue); in add_color() 249 self.fbb_.push_slot::<Equipment>(Monster::VT_EQUIPPED_TYPE, equipped_type, Equipment::NONE); in add_equipped_type()
|
D | weapon_generated.rs | 109 self.fbb_.push_slot::<i16>(Weapon::VT_DAMAGE, damage, 0); in add_damage()
|
/external/flatbuffers/tests/namespace_test/namespace_a/ |
D | table_in_first_ns_generated.rs | 164 …self.fbb_.push_slot::<namespace_b::EnumInNestedNS>(TableInFirstNS::VT_FOO_ENUM, foo_enum, namespac… in add_foo_enum() 168 …self.fbb_.push_slot::<namespace_b::UnionInNestedNS>(TableInFirstNS::VT_FOO_UNION_TYPE, foo_union_t… in add_foo_union_type()
|
/external/flatbuffers/tests/namespace_test/namespace_a/namespace_b/ |
D | table_in_nested_ns_generated.rs | 92 self.fbb_.push_slot::<i32>(TableInNestedNS::VT_FOO, foo, 0); in add_foo()
|
/external/flatbuffers/tests/private_annotation_test/ |
D | annotations_generated.rs | 92 self.fbb_.push_slot::<i32>(Annotations::VT_VALUE, value, 0); in add_value()
|
D | game_generated.rs | 92 self.fbb_.push_slot::<i32>(Game::VT_VALUE, value, 0); in add_value()
|
/external/flatbuffers/rust/flatbuffers/src/ |
D | builder.rs | 165 pub fn push_slot<X: Push + PartialEq>(&mut self, slotoff: VOffsetT, x: X, default: X) { in push_slot() method
|