Home
last modified time | relevance | path

Searched refs:maybe_u8 (Results 1 – 10 of 10) sorted by relevance

/external/flatbuffers/tests/optional_scalars/optional_scalars/
Dscalar_stuff_generated.rs110 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/
Doptional_scalars_generated.h66 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()
Doptional_scalars.json3 maybe_u8: 0,
Doptional_scalars_defaults.json6 maybe_u8: 0,
Doptional_scalars_generated.lobster22 def maybe_u8() -> int, bool:
106 def add_maybe_u8(maybe_u8:int):
107 b_.PrependUint8Slot(4, maybe_u8)
Doptional_scalars.fbs16 maybe_u8: uint8 = null;
/external/flatbuffers/tests/cpp17/generated_cpp17/
Doptional_scalars_generated.h63 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()
Doptional_scalars2_generated.h56 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/
Doptional_scalars_test.rs55 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/
DScalarStuff.cs65 byte? maybe_u8 = null, in CreateScalarStuff()
129 ScalarStuff.AddMaybeU8(builder, maybe_u8); in CreateScalarStuff()