Searched refs:maybe_i16 (Results 1 – 9 of 9) sorted by relevance
/external/flatbuffers/tests/optional_scalars/optional_scalars/ |
D | scalar_stuff_generated.rs | 101 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/ |
D | optional_scalars_generated.h | 69 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()
|
D | optional_scalars_defaults.json | 9 maybe_i16: null,
|
D | optional_scalars_generated.lobster | 28 def maybe_i16() -> int, bool: 115 def add_maybe_i16(maybe_i16:int): 116 b_.PrependInt16Slot(7, maybe_i16)
|
D | optional_scalars.fbs | 20 maybe_i16: int16 = null;
|
/external/flatbuffers/tests/cpp17/generated_cpp17/ |
D | optional_scalars_generated.h | 66 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()
|
D | optional_scalars2_generated.h | 59 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/ |
D | optional_scalars_test.rs | 56 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/ |
D | ScalarStuff.cs | 68 short? maybe_i16 = null, in CreateScalarStuff() 120 ScalarStuff.AddMaybeI16(builder, maybe_i16); in CreateScalarStuff()
|