Home
last modified time | relevance | path

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

/external/flatbuffers/samples/
Dmonster_generated.h271 VT_COLOR = 16,
308 return static_cast<MyGame::Sample::Color>(GetField<int8_t>(VT_COLOR, 2));
311 return SetField<int8_t>(VT_COLOR, static_cast<int8_t>(_color), 2);
347 VerifyField<int8_t>(verifier, VT_COLOR) &&
387 fbb_.AddElement<int8_t>(Monster::VT_COLOR, static_cast<int8_t>(color), 2);
Dmonster_generated.rs260 pub const VT_COLOR: flatbuffers::VOffsetT = 16; constant
287 self._tab.get::<Color>(Monster::VT_COLOR, Some(Color::Blue)).unwrap() in color()
367 self.fbb_.push_slot::<Color>(Monster::VT_COLOR, color, Color::Blue); in add_color()
/external/flatbuffers/tests/
Dmonster_test_generated.rs791 pub const VT_COLOR: flatbuffers::VOffsetT = 4; constant
795 self._tab.get::<Color>(TestSimpleTableWithEnum::VT_COLOR, Some(Color::Green)).unwrap() in color()
817 self.fbb_.push_slot::<Color>(TestSimpleTableWithEnum::VT_COLOR, color, Color::Green); in add_color()
1118 pub const VT_COLOR: flatbuffers::VOffsetT = 16; constant
1194 self._tab.get::<Color>(Monster::VT_COLOR, Some(Color::Blue)).unwrap() in color()
1599 self.fbb_.push_slot::<Color>(Monster::VT_COLOR, color, Color::Blue); in add_color()
Dmonster_test_generated.h906 VT_COLOR = 4
909 return static_cast<MyGame::Example::Color>(GetField<uint8_t>(VT_COLOR, 2));
912 return SetField<uint8_t>(VT_COLOR, static_cast<uint8_t>(_color), 2);
916 VerifyField<uint8_t>(verifier, VT_COLOR) &&
929 fbb_.AddElement<uint8_t>(TestSimpleTableWithEnum::VT_COLOR, static_cast<uint8_t>(color), 2);
1285 VT_COLOR = 16,
1366 return static_cast<MyGame::Example::Color>(GetField<uint8_t>(VT_COLOR, 8));
1369 return SetField<uint8_t>(VT_COLOR, static_cast<uint8_t>(_color), 8);
1660 VerifyField<uint8_t>(verifier, VT_COLOR) &&
1782 fbb_.AddElement<uint8_t>(Monster::VT_COLOR, static_cast<uint8_t>(color), 8);
/external/flatbuffers/tests/cpp17/generated_cpp17/
Dmonster_test_generated.h739 VT_COLOR = 4
742 return static_cast<MyGame::Example::Color>(GetField<uint8_t>(VT_COLOR, 2));
745 return SetField<uint8_t>(VT_COLOR, static_cast<uint8_t>(_color), 2);
749 VerifyField<uint8_t>(verifier, VT_COLOR) &&
762 fbb_.AddElement<uint8_t>(TestSimpleTableWithEnum::VT_COLOR, static_cast<uint8_t>(color), 2);
1060 VT_COLOR = 16,
1141 return static_cast<MyGame::Example::Color>(GetField<uint8_t>(VT_COLOR, 8));
1144 return SetField<uint8_t>(VT_COLOR, static_cast<uint8_t>(_color), 8);
1435 VerifyField<uint8_t>(verifier, VT_COLOR) &&
1557 fbb_.AddElement<uint8_t>(Monster::VT_COLOR, static_cast<uint8_t>(color), 8);