Home
last modified time | relevance | path

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

/third_party/flatbuffers/tests/
Doptional_scalars_generated.rs161 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 …]
Doptional_scalars_generated.h89 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()
Doptional_scalars_generated.lobster82 def maybe_enum():
196 def add_maybe_enum(maybe_enum:OptionalByte):
197 b_.PrependInt8Slot(34, maybe_enum)
Doptional_scalars.fbs52 maybe_enum: OptionalByte = null;
Dlobstertest.lobster147 var maybe_val_enum, maybe_present_enum = root.maybe_enum()
165 maybe_val_enum, maybe_present_enum = root.maybe_enum()
Dtest.cpp3759 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/
Doptional_scalars_generated.h86 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()
Doptional_scalars2_generated.h86 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/
Doptional_scalars_test.rs93 maybe_enum,
144 maybe_enum: None, in object_api_defaults()
/third_party/flatbuffers/tests/optional_scalars/
DScalarStuff.java103 byte maybe_enum, in createScalarStuff()
131 ScalarStuff.addMaybeEnum(builder, maybe_enum); in createScalarStuff()
DScalarStuff.cs95 optional_scalars.OptionalByte? maybe_enum = null, in CreateScalarStuff()
123 ScalarStuff.AddMaybeEnum(builder, maybe_enum); in CreateScalarStuff()