Home
last modified time | relevance | path

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

/third_party/flatbuffers/tests/
Doptional_scalars_generated.rs158 if let Some(x) = args.maybe_i16 { builder.add_maybe_i16(x); } in create()
183 let maybe_i16 = self.maybe_i16(); in unpack() localVariable
220 maybe_i16, in unpack()
317 pub fn maybe_i16(&self) -> Option<i16> { in maybe_i16() method
489 pub maybe_i16: Option<i16>, field
530 maybe_i16: None, in default()
596 pub fn add_maybe_i16(&mut self, maybe_i16: i16) { in add_maybe_i16()
597 self.fbb_.push_slot_always::<i16>(ScalarStuff::VT_MAYBE_I16, maybe_i16); in add_maybe_i16()
736 ds.field("maybe_i16", &self.maybe_i16()); in fmt()
778 pub maybe_i16: Option<i16>, field
[all …]
Doptional_scalars_generated.h62 flatbuffers::Optional<int16_t> maybe_i16 = flatbuffers::nullopt; member
102 (lhs.maybe_i16 == rhs.maybe_i16) &&
224 flatbuffers::Optional<int16_t> maybe_i16() const { in maybe_i16() function
468 void add_maybe_i16(int16_t maybe_i16) { in add_maybe_i16()
469 fbb_.AddElement<int16_t>(ScalarStuff::VT_MAYBE_I16, maybe_i16); in add_maybe_i16()
575 flatbuffers::Optional<int16_t> maybe_i16 = flatbuffers::nullopt,
627 if(maybe_i16) { builder_.add_maybe_i16(*maybe_i16); }
662 { auto _e = maybe_i16(); _o->maybe_i16 = _e; } in UnPackTo()
708 auto _maybe_i16 = _o->maybe_i16; in CreateScalarStuff()
Doptional_scalars_generated.lobster28 def maybe_i16():
115 def add_maybe_i16(maybe_i16:int):
116 b_.PrependInt16Slot(7, maybe_i16)
Doptional_scalars.fbs20 maybe_i16: int16 = null;
/third_party/flatbuffers/tests/cpp17/generated_cpp17/
Doptional_scalars_generated.h59 flatbuffers::Optional<int16_t> maybe_i16 = flatbuffers::nullopt; member
177 flatbuffers::Optional<int16_t> maybe_i16() const { in maybe_i16() function
360 else if constexpr (Index == 7) return maybe_i16(); in get_field()
461 void add_maybe_i16(int16_t maybe_i16) { in add_maybe_i16()
462 fbb_.AddElement<int16_t>(ScalarStuff::VT_MAYBE_I16, maybe_i16); in add_maybe_i16()
568 flatbuffers::Optional<int16_t> maybe_i16 = flatbuffers::nullopt,
620 if(maybe_i16) { builder_.add_maybe_i16(*maybe_i16); }
703 { auto _e = maybe_i16(); _o->maybe_i16 = _e; } in UnPackTo()
749 auto _maybe_i16 = _o->maybe_i16; in CreateScalarStuff()
Doptional_scalars2_generated.h59 flatbuffers::Optional<int16_t> maybe_i16 = flatbuffers::nullopt; member
177 flatbuffers::Optional<int16_t> maybe_i16() const { in maybe_i16() function
421 void add_maybe_i16(int16_t maybe_i16) { in add_maybe_i16()
422 fbb_.AddElement<int16_t>(ScalarStuff::VT_MAYBE_I16, maybe_i16); in add_maybe_i16()
528 flatbuffers::Optional<int16_t> maybe_i16 = flatbuffers::nullopt,
580 if(maybe_i16) { builder_.add_maybe_i16(*maybe_i16); }
620 { auto _e = maybe_i16(); _o->maybe_i16 = _e; } in UnPackTo()
666 auto _maybe_i16 = _o->maybe_i16; in CreateScalarStuff()
/third_party/flatbuffers/tests/rust_usage_test/tests/
Doptional_scalars_test.rs56 make_test!(optional_i16, just_i16, default_i16, maybe_i16, 5, 0, 42);
112 maybe_i16: None, in object_api_defaults()
/third_party/flatbuffers/tests/optional_scalars/
DScalarStuff.java76 short maybe_i16, in createScalarStuff() argument
128 ScalarStuff.addMaybeI16(builder, maybe_i16); in createScalarStuff()
DScalarStuff.cs68 short? maybe_i16 = null, in CreateScalarStuff()
120 ScalarStuff.AddMaybeI16(builder, maybe_i16); in CreateScalarStuff()