Searched refs:maybe_enum (Results 1 – 11 of 11) sorted by relevance
/third_party/flatbuffers/tests/ |
D | optional_scalars_generated.rs | 161 if let Some(x) = args.maybe_enum { builder.add_maybe_enum(x); } in create() 210 let maybe_enum = self.maybe_enum(); in unpack() localVariable 247 maybe_enum, in unpack() 425 pub fn maybe_enum(&self) -> Option<OptionalByte> { in maybe_enum() method 516 pub maybe_enum: Option<OptionalByte>, field 557 maybe_enum: None, in default() 704 pub fn add_maybe_enum(&mut self, maybe_enum: OptionalByte) { in add_maybe_enum() 705 self.fbb_.push_slot_always::<OptionalByte>(ScalarStuff::VT_MAYBE_ENUM, maybe_enum); in add_maybe_enum() 763 ds.field("maybe_enum", &self.maybe_enum()); in fmt() 805 pub maybe_enum: Option<OptionalByte>, field [all …]
|
D | optional_scalars_generated.h | 89 flatbuffers::Optional<optional_scalars::OptionalByte> maybe_enum = flatbuffers::nullopt; member 129 (lhs.maybe_enum == rhs.maybe_enum) && 386 flatbuffers::Optional<optional_scalars::OptionalByte> maybe_enum() const { in maybe_enum() function 549 void add_maybe_enum(optional_scalars::OptionalByte maybe_enum) { in add_maybe_enum() 550 fbb_.AddElement<int8_t>(ScalarStuff::VT_MAYBE_ENUM, static_cast<int8_t>(maybe_enum)); in add_maybe_enum() 602 flatbuffers::Optional<optional_scalars::OptionalByte> maybe_enum = flatbuffers::nullopt, 630 if(maybe_enum) { builder_.add_maybe_enum(*maybe_enum); } 689 { auto _e = maybe_enum(); _o->maybe_enum = _e; } in UnPackTo() 735 auto _maybe_enum = _o->maybe_enum; in CreateScalarStuff()
|
D | optional_scalars_generated.lobster | 82 def maybe_enum(): 196 def add_maybe_enum(maybe_enum:OptionalByte): 197 b_.PrependInt8Slot(34, maybe_enum)
|
D | optional_scalars.fbs | 52 maybe_enum: OptionalByte = null;
|
D | lobstertest.lobster | 147 var maybe_val_enum, maybe_present_enum = root.maybe_enum() 165 maybe_val_enum, maybe_present_enum = root.maybe_enum()
|
D | test.cpp | 3759 obj.maybe_enum = optional_scalars::OptionalByte_Two; in OptionalScalarsTest() 3768 TEST_EQ(opts->maybe_enum().value(), optional_scalars::OptionalByte_Two); in OptionalScalarsTest()
|
/third_party/flatbuffers/tests/cpp17/generated_cpp17/ |
D | optional_scalars_generated.h | 86 flatbuffers::Optional<optional_scalars::OptionalByte> maybe_enum = flatbuffers::nullopt; member 339 flatbuffers::Optional<optional_scalars::OptionalByte> maybe_enum() const { in maybe_enum() function 387 else if constexpr (Index == 34) return maybe_enum(); in get_field() 542 void add_maybe_enum(optional_scalars::OptionalByte maybe_enum) { in add_maybe_enum() 543 fbb_.AddElement<int8_t>(ScalarStuff::VT_MAYBE_ENUM, static_cast<int8_t>(maybe_enum)); in add_maybe_enum() 595 flatbuffers::Optional<optional_scalars::OptionalByte> maybe_enum = flatbuffers::nullopt, 623 if(maybe_enum) { builder_.add_maybe_enum(*maybe_enum); } 730 { auto _e = maybe_enum(); _o->maybe_enum = _e; } in UnPackTo() 776 auto _maybe_enum = _o->maybe_enum; in CreateScalarStuff()
|
D | optional_scalars2_generated.h | 86 flatbuffers::Optional<optional_scalars::OptionalByte> maybe_enum = flatbuffers::nullopt; member 339 flatbuffers::Optional<optional_scalars::OptionalByte> maybe_enum() const { in maybe_enum() function 502 void add_maybe_enum(optional_scalars::OptionalByte maybe_enum) { in add_maybe_enum() 503 fbb_.AddElement<int8_t>(ScalarStuff::VT_MAYBE_ENUM, static_cast<int8_t>(maybe_enum)); in add_maybe_enum() 555 flatbuffers::Optional<optional_scalars::OptionalByte> maybe_enum = flatbuffers::nullopt, 583 if(maybe_enum) { builder_.add_maybe_enum(*maybe_enum); } 647 { auto _e = maybe_enum(); _o->maybe_enum = _e; } in UnPackTo() 693 auto _maybe_enum = _o->maybe_enum; in CreateScalarStuff()
|
/third_party/flatbuffers/tests/rust_usage_test/tests/ |
D | optional_scalars_test.rs | 93 maybe_enum, 144 maybe_enum: None, in object_api_defaults()
|
/third_party/flatbuffers/tests/optional_scalars/ |
D | ScalarStuff.java | 103 byte maybe_enum, in createScalarStuff() 131 ScalarStuff.addMaybeEnum(builder, maybe_enum); in createScalarStuff()
|
D | ScalarStuff.cs | 95 optional_scalars.OptionalByte? maybe_enum = null, in CreateScalarStuff() 123 ScalarStuff.AddMaybeEnum(builder, maybe_enum); in CreateScalarStuff()
|