Home
last modified time | relevance | path

Searched refs:maybe_u16 (Results 1 – 9 of 9) sorted by relevance

/third_party/flatbuffers/tests/
Doptional_scalars_generated.rs155 if let Some(x) = args.maybe_u16 { builder.add_maybe_u16(x); } in create()
186 let maybe_u16 = self.maybe_u16(); in unpack() localVariable
223 maybe_u16, in unpack()
329 pub fn maybe_u16(&self) -> Option<u16> { in maybe_u16() method
492 pub maybe_u16: Option<u16>, field
533 maybe_u16: None, in default()
608 pub fn add_maybe_u16(&mut self, maybe_u16: u16) { in add_maybe_u16()
609 self.fbb_.push_slot_always::<u16>(ScalarStuff::VT_MAYBE_U16, maybe_u16); in add_maybe_u16()
739 ds.field("maybe_u16", &self.maybe_u16()); in fmt()
781 pub maybe_u16: Option<u16>, field
[all …]
Doptional_scalars_generated.h65 flatbuffers::Optional<uint16_t> maybe_u16 = flatbuffers::nullopt; member
105 (lhs.maybe_u16 == rhs.maybe_u16) &&
242 flatbuffers::Optional<uint16_t> maybe_u16() const { in maybe_u16() function
477 void add_maybe_u16(uint16_t maybe_u16) { in add_maybe_u16()
478 fbb_.AddElement<uint16_t>(ScalarStuff::VT_MAYBE_U16, maybe_u16); in add_maybe_u16()
578 flatbuffers::Optional<uint16_t> maybe_u16 = flatbuffers::nullopt,
624 if(maybe_u16) { builder_.add_maybe_u16(*maybe_u16); }
665 { auto _e = maybe_u16(); _o->maybe_u16 = _e; } in UnPackTo()
711 auto _maybe_u16 = _o->maybe_u16; in CreateScalarStuff()
Doptional_scalars_generated.lobster34 def maybe_u16():
124 def add_maybe_u16(maybe_u16:int):
125 b_.PrependUint16Slot(10, maybe_u16)
Doptional_scalars.fbs23 maybe_u16: uint16 = null;
/third_party/flatbuffers/tests/cpp17/generated_cpp17/
Doptional_scalars_generated.h62 flatbuffers::Optional<uint16_t> maybe_u16 = flatbuffers::nullopt; member
195 flatbuffers::Optional<uint16_t> maybe_u16() const { in maybe_u16() function
363 else if constexpr (Index == 10) return maybe_u16(); in get_field()
470 void add_maybe_u16(uint16_t maybe_u16) { in add_maybe_u16()
471 fbb_.AddElement<uint16_t>(ScalarStuff::VT_MAYBE_U16, maybe_u16); in add_maybe_u16()
571 flatbuffers::Optional<uint16_t> maybe_u16 = flatbuffers::nullopt,
617 if(maybe_u16) { builder_.add_maybe_u16(*maybe_u16); }
706 { auto _e = maybe_u16(); _o->maybe_u16 = _e; } in UnPackTo()
752 auto _maybe_u16 = _o->maybe_u16; in CreateScalarStuff()
Doptional_scalars2_generated.h62 flatbuffers::Optional<uint16_t> maybe_u16 = flatbuffers::nullopt; member
195 flatbuffers::Optional<uint16_t> maybe_u16() const { in maybe_u16() function
430 void add_maybe_u16(uint16_t maybe_u16) { in add_maybe_u16()
431 fbb_.AddElement<uint16_t>(ScalarStuff::VT_MAYBE_U16, maybe_u16); in add_maybe_u16()
531 flatbuffers::Optional<uint16_t> maybe_u16 = flatbuffers::nullopt,
577 if(maybe_u16) { builder_.add_maybe_u16(*maybe_u16); }
623 { auto _e = maybe_u16(); _o->maybe_u16 = _e; } in UnPackTo()
669 auto _maybe_u16 = _o->maybe_u16; in CreateScalarStuff()
/third_party/flatbuffers/tests/rust_usage_test/tests/
Doptional_scalars_test.rs57 make_test!(optional_u16, just_u16, default_u16, maybe_u16, 5, 0, 42);
115 maybe_u16: None, in object_api_defaults()
/third_party/flatbuffers/tests/optional_scalars/
DScalarStuff.java79 int maybe_u16, in createScalarStuff() argument
125 ScalarStuff.addMaybeU16(builder, maybe_u16); in createScalarStuff()
DScalarStuff.cs71 ushort? maybe_u16 = null, in CreateScalarStuff()
117 ScalarStuff.AddMaybeU16(builder, maybe_u16); in CreateScalarStuff()