Home
last modified time | relevance | path

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

/external/flatbuffers/tests/optional_scalars/optional_scalars/
Dscalar_stuff_generated.rs101 if let Some(x) = args.maybe_i16 { builder.add_maybe_i16(x); } in create()
126 let maybe_i16 = self.maybe_i16(); in unpack() localVariable
163 maybe_i16, in unpack()
224 pub fn maybe_i16(&self) -> Option<i16> { in maybe_i16() method
396 pub maybe_i16: Option<i16>, field
437 maybe_i16: None, in default()
504 pub fn add_maybe_i16(&mut self, maybe_i16: i16) { in add_maybe_i16()
505 self.fbb_.push_slot_always::<i16>(ScalarStuff::VT_MAYBE_I16, maybe_i16); in add_maybe_i16()
644 ds.field("maybe_i16", &self.maybe_i16()); in fmt()
686 pub maybe_i16: Option<i16>, field
[all …]
/external/flatbuffers/tests/
Doptional_scalars_generated.h69 flatbuffers::Optional<int16_t> maybe_i16 = flatbuffers::nullopt; member
186 flatbuffers::Optional<int16_t> maybe_i16() const { in maybe_i16() function
430 void add_maybe_i16(int16_t maybe_i16) { in add_maybe_i16()
431 fbb_.AddElement<int16_t>(ScalarStuff::VT_MAYBE_I16, maybe_i16); in add_maybe_i16()
537 flatbuffers::Optional<int16_t> maybe_i16 = flatbuffers::nullopt,
589 if(maybe_i16) { builder_.add_maybe_i16(*maybe_i16); }
618 (lhs.maybe_i16 == rhs.maybe_i16) &&
670 { auto _e = maybe_i16(); _o->maybe_i16 = _e; } in UnPackTo()
716 auto _maybe_i16 = _o->maybe_i16; in CreateScalarStuff()
Doptional_scalars_defaults.json9 maybe_i16: null,
Doptional_scalars_generated.lobster28 def maybe_i16() -> int, bool:
115 def add_maybe_i16(maybe_i16:int):
116 b_.PrependInt16Slot(7, maybe_i16)
Doptional_scalars.fbs20 maybe_i16: int16 = null;
/external/flatbuffers/tests/cpp17/generated_cpp17/
Doptional_scalars_generated.h66 flatbuffers::Optional<int16_t> maybe_i16 = flatbuffers::nullopt; member
184 flatbuffers::Optional<int16_t> maybe_i16() const { in maybe_i16() function
367 else if constexpr (Index == 7) return maybe_i16(); in get_field()
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); }
710 { auto _e = maybe_i16(); _o->maybe_i16 = _e; } in UnPackTo()
756 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()
/external/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()
/external/flatbuffers/tests/optional_scalars/
DScalarStuff.cs68 short? maybe_i16 = null, in CreateScalarStuff()
120 ScalarStuff.AddMaybeI16(builder, maybe_i16); in CreateScalarStuff()