Home
last modified time | relevance | path

Searched refs:signed_enum (Results 1 – 11 of 11) sorted by relevance

/external/perfetto/src/protozero/test/
Dcppgen_conformance_unittest.cc61 msg->set_signed_enum(decltype(msg->signed_enum())::NEGATIVE); in SetTestingFields()
88 EXPECT_EQ(decltype(msg.signed_enum())::NEGATIVE, msg.signed_enum()); in CheckTestingFields()
Dprotozero_conformance_unittest.cc88 EXPECT_EQ(pbgold::SignedEnum::NEGATIVE, gold_msg.signed_enum()); in TEST()
/external/perfetto/src/protozero/test/example_proto/
Dtest_messages.proto65 optional SignedEnum signed_enum = 52; field
/external/flatbuffers/tests/
Dmonster_test.fbs118 signed_enum:Race = None (id:48);
Dmonster_test_generated.h1194 MyGame::Example::Race signed_enum;
1214 signed_enum(MyGame::Example::Race_None) {
1264 (lhs.signed_enum == rhs.signed_enum);
1645 MyGame::Example::Race signed_enum() const {
1907 void add_signed_enum(MyGame::Example::Race signed_enum) {
1908 fbb_.AddElement<int8_t>(Monster::VT_SIGNED_ENUM, static_cast<int8_t>(signed_enum), -1);
1972 MyGame::Example::Race signed_enum = MyGame::Example::Race_None) {
2016 builder_.add_signed_enum(signed_enum);
2074 MyGame::Example::Race signed_enum = MyGame::Example::Race_None) {
2143 signed_enum);
[all …]
Dmonster_test_generated.lobster361 def signed_enum():
512 def add_signed_enum(signed_enum:Race):
513 b_.PrependInt8Slot(48, signed_enum, -1)
Dmonster_test_generated.rs1104 builder.add_signed_enum(args.signed_enum); in create()
1372 pub fn signed_enum(&self) -> Race { in signed_enum() method
1515 pub signed_enum: Race, field
1568 signed_enum: Race::None, in default()
1766 pub fn add_signed_enum(&mut self, signed_enum: Race) { in add_signed_enum()
1767 self.fbb_.push_slot::<Race>(Monster::VT_SIGNED_ENUM, signed_enum, Race::None); in add_signed_enum()
/external/flatbuffers/tests/cpp17/generated_cpp17/
Dmonster_test_generated.h1022 MyGame::Example::Race signed_enum;
1042 signed_enum(MyGame::Example::Race::None) {
1420 MyGame::Example::Race signed_enum() const {
1682 void add_signed_enum(MyGame::Example::Race signed_enum) {
1683 fbb_.AddElement<int8_t>(Monster::VT_SIGNED_ENUM, static_cast<int8_t>(signed_enum), -1);
1747 MyGame::Example::Race signed_enum = MyGame::Example::Race::None) {
1791 builder_.add_signed_enum(signed_enum);
1854 MyGame::Example::Race signed_enum = MyGame::Example::Race::None) {
1923 signed_enum);
2394 { auto _e = signed_enum(); _o->signed_enum = _e; }
[all …]
/external/flatbuffers/tests/MyGame/Example/
DMonster.php699 …$any_unique_type, $any_unique, $any_ambiguous_type, $any_ambiguous, $vector_of_enums, $signed_enum) argument
749 self::addSignedEnum($builder, $signed_enum);
DMonster.java196 …blic boolean mutateSignedEnum(byte signed_enum) { int o = __offset(100); if (o != 0) { bb.put(o + … in mutateSignedEnum() argument
DMonster.cs190 …um(MyGame.Example.Race signed_enum) { int o = __p.__offset(100); if (o != 0) { __p.bb.PutSbyte(o +… in MutateSignedEnum()