Home
last modified time | relevance | path

Searched refs:VT_COLOR (Results 1 – 5 of 5) sorted by relevance

/third_party/flatbuffers/samples/
Dmonster_generated.h268 VT_COLOR = 16,
305 return static_cast<MyGame::Sample::Color>(GetField<int8_t>(VT_COLOR, 2));
308 return SetField<int8_t>(VT_COLOR, static_cast<int8_t>(_color), 2);
344 VerifyField<int8_t>(verifier, VT_COLOR) &&
384 fbb_.AddElement<int8_t>(Monster::VT_COLOR, static_cast<int8_t>(color), 2);
Dmonster_generated.rs511 pub const VT_COLOR: flatbuffers::VOffsetT = 16; constant
539 self._tab.get::<Color>(Monster::VT_COLOR, Some(Color::Blue)).unwrap() in color()
581 .visit_field::<Color>(&"color", Self::VT_COLOR, false)? in run_verifier()
650 self.fbb_.push_slot::<Color>(Monster::VT_COLOR, color, Color::Blue); in add_color()
/third_party/flatbuffers/tests/cpp17/generated_cpp17/
Dmonster_test_generated.h888 VT_COLOR = 4
891 return static_cast<MyGame::Example::Color>(GetField<uint8_t>(VT_COLOR, 2));
894 return SetField<uint8_t>(VT_COLOR, static_cast<uint8_t>(_color), 2);
903 VerifyField<uint8_t>(verifier, VT_COLOR) &&
916 fbb_.AddElement<uint8_t>(TestSimpleTableWithEnum::VT_COLOR, static_cast<uint8_t>(color), 2);
1229 VT_COLOR = 16,
1312 return static_cast<MyGame::Example::Color>(GetField<uint8_t>(VT_COLOR, 8));
1315 return SetField<uint8_t>(VT_COLOR, static_cast<uint8_t>(_color), 8);
1675 VerifyField<uint8_t>(verifier, VT_COLOR) &&
1802 fbb_.AddElement<uint8_t>(Monster::VT_COLOR, static_cast<uint8_t>(color), 8);
/third_party/flatbuffers/tests/
Dmonster_test_generated.h971 VT_COLOR = 4
974 return static_cast<MyGame::Example::Color>(GetField<uint8_t>(VT_COLOR, 2));
977 return SetField<uint8_t>(VT_COLOR, static_cast<uint8_t>(_color), 2);
981 VerifyField<uint8_t>(verifier, VT_COLOR) &&
994 fbb_.AddElement<uint8_t>(TestSimpleTableWithEnum::VT_COLOR, static_cast<uint8_t>(color), 2);
1329 VT_COLOR = 16,
1412 return static_cast<MyGame::Example::Color>(GetField<uint8_t>(VT_COLOR, 8));
1415 return SetField<uint8_t>(VT_COLOR, static_cast<uint8_t>(_color), 8);
1721 VerifyField<uint8_t>(verifier, VT_COLOR) &&
1848 fbb_.AddElement<uint8_t>(Monster::VT_COLOR, static_cast<uint8_t>(color), 8);
Dmonster_test_generated.rs1713 pub const VT_COLOR: flatbuffers::VOffsetT = 4; constant
1717 self._tab.get::<Color>(TestSimpleTableWithEnum::VT_COLOR, Some(Color::Green)).unwrap() in color()
1728 .visit_field::<Color>(&"color", Self::VT_COLOR, false)? in run_verifier()
1751 self.fbb_.push_slot::<Color>(TestSimpleTableWithEnum::VT_COLOR, color, Color::Green); in add_color()
2401 pub const VT_COLOR: flatbuffers::VOffsetT = 16; constant
2479 self._tab.get::<Color>(Monster::VT_COLOR, Some(Color::Blue)).unwrap() in color()
2775 .visit_field::<Color>(&"color", Self::VT_COLOR, false)? in run_verifier()
2978 self.fbb_.push_slot::<Color>(Monster::VT_COLOR, color, Color::Blue); in add_color()