Searched refs:maybe_u8 (Results 1 – 10 of 10) sorted by relevance
/external/flatbuffers/tests/optional_scalars/optional_scalars/ |
D | scalar_stuff_generated.rs | 110 if let Some(x) = args.maybe_u8 { builder.add_maybe_u8(x); } in create() 123 let maybe_u8 = self.maybe_u8(); in unpack() localVariable 160 maybe_u8, in unpack() 212 pub fn maybe_u8(&self) -> Option<u8> { in maybe_u8() method 393 pub maybe_u8: Option<u8>, field 434 maybe_u8: None, in default() 492 pub fn add_maybe_u8(&mut self, maybe_u8: u8) { in add_maybe_u8() 493 self.fbb_.push_slot_always::<u8>(ScalarStuff::VT_MAYBE_U8, maybe_u8); in add_maybe_u8() 641 ds.field("maybe_u8", &self.maybe_u8()); in fmt() 683 pub maybe_u8: Option<u8>, field [all …]
|
/external/flatbuffers/tests/ |
D | optional_scalars_generated.h | 66 flatbuffers::Optional<uint8_t> maybe_u8 = flatbuffers::nullopt; member 168 flatbuffers::Optional<uint8_t> maybe_u8() const { in maybe_u8() function 421 void add_maybe_u8(uint8_t maybe_u8) { in add_maybe_u8() 422 fbb_.AddElement<uint8_t>(ScalarStuff::VT_MAYBE_U8, maybe_u8); in add_maybe_u8() 534 flatbuffers::Optional<uint8_t> maybe_u8 = flatbuffers::nullopt, 598 if(maybe_u8) { builder_.add_maybe_u8(*maybe_u8); } 615 (lhs.maybe_u8 == rhs.maybe_u8) && 667 { auto _e = maybe_u8(); _o->maybe_u8 = _e; } in UnPackTo() 713 auto _maybe_u8 = _o->maybe_u8; in CreateScalarStuff()
|
D | optional_scalars.json | 3 maybe_u8: 0,
|
D | optional_scalars_defaults.json | 6 maybe_u8: 0,
|
D | optional_scalars_generated.lobster | 22 def maybe_u8() -> int, bool: 106 def add_maybe_u8(maybe_u8:int): 107 b_.PrependUint8Slot(4, maybe_u8)
|
D | optional_scalars.fbs | 16 maybe_u8: uint8 = null;
|
/external/flatbuffers/tests/cpp17/generated_cpp17/ |
D | optional_scalars_generated.h | 63 flatbuffers::Optional<uint8_t> maybe_u8 = flatbuffers::nullopt; member 166 flatbuffers::Optional<uint8_t> maybe_u8() const { in maybe_u8() function 364 else if constexpr (Index == 4) return maybe_u8(); in get_field() 459 void add_maybe_u8(uint8_t maybe_u8) { in add_maybe_u8() 460 fbb_.AddElement<uint8_t>(ScalarStuff::VT_MAYBE_U8, maybe_u8); in add_maybe_u8() 572 flatbuffers::Optional<uint8_t> maybe_u8 = flatbuffers::nullopt, 636 if(maybe_u8) { builder_.add_maybe_u8(*maybe_u8); } 707 { auto _e = maybe_u8(); _o->maybe_u8 = _e; } in UnPackTo() 753 auto _maybe_u8 = _o->maybe_u8; in CreateScalarStuff()
|
D | optional_scalars2_generated.h | 56 flatbuffers::Optional<uint8_t> maybe_u8 = flatbuffers::nullopt; member 159 flatbuffers::Optional<uint8_t> maybe_u8() const { in maybe_u8() function 412 void add_maybe_u8(uint8_t maybe_u8) { in add_maybe_u8() 413 fbb_.AddElement<uint8_t>(ScalarStuff::VT_MAYBE_U8, maybe_u8); in add_maybe_u8() 525 flatbuffers::Optional<uint8_t> maybe_u8 = flatbuffers::nullopt, 589 if(maybe_u8) { builder_.add_maybe_u8(*maybe_u8); } 617 { auto _e = maybe_u8(); _o->maybe_u8 = _e; } in UnPackTo() 663 auto _maybe_u8 = _o->maybe_u8; in CreateScalarStuff()
|
/external/flatbuffers/tests/rust_usage_test/tests/ |
D | optional_scalars_test.rs | 55 make_test!(optional_u8, just_u8, default_u8, maybe_u8, 5, 0, 42); 108 maybe_u8: None, in object_api_defaults()
|
/external/flatbuffers/tests/optional_scalars/ |
D | ScalarStuff.cs | 65 byte? maybe_u8 = null, in CreateScalarStuff() 129 ScalarStuff.AddMaybeU8(builder, maybe_u8); in CreateScalarStuff()
|