Searched refs:default_i8 (Results 1 – 10 of 10) sorted by relevance
/external/flatbuffers/tests/optional_scalars/optional_scalars/ |
D | scalar_stuff_generated.rs | 112 builder.add_default_i8(args.default_i8); in create() 121 let default_i8 = self.default_i8(); in unpack() localVariable 158 default_i8, in unpack() 204 pub fn default_i8(&self) -> i8 { in default_i8() method 391 pub default_i8: i8, field 432 default_i8: 42, in default() 484 pub fn add_default_i8(&mut self, default_i8: i8) { in add_default_i8() 485 self.fbb_.push_slot::<i8>(ScalarStuff::VT_DEFAULT_I8, default_i8, 42); in add_default_i8() 639 ds.field("default_i8", &self.default_i8()); in fmt() 681 pub default_i8: i8, field [all …]
|
/external/flatbuffers/tests/ |
D | optional_scalars_generated.h | 64 int8_t default_i8 = 42; member 156 int8_t default_i8() const { in default_i8() function 415 void add_default_i8(int8_t default_i8) { in add_default_i8() 416 fbb_.AddElement<int8_t>(ScalarStuff::VT_DEFAULT_I8, default_i8, 42); in add_default_i8() 532 int8_t default_i8 = 42, 600 builder_.add_default_i8(default_i8); 613 (lhs.default_i8 == rhs.default_i8) && 665 { auto _e = default_i8(); _o->default_i8 = _e; } in UnPackTo() 711 auto _default_i8 = _o->default_i8; in CreateScalarStuff()
|
D | optional_scalars_defaults.json | 4 default_i8: 42,
|
D | optional_scalars_generated.lobster | 18 def default_i8() -> int: 100 def add_default_i8(default_i8:int): 101 b_.PrependInt8Slot(2, default_i8, 42)
|
D | optional_scalars.fbs | 14 default_i8: int8 = 42;
|
D | lobstertest.lobster | 138 assert root.just_i8() == 1 and root.default_i8() == 1 156 assert root.just_i8() == 0 and root.default_i8() == 42
|
/external/flatbuffers/tests/cpp17/generated_cpp17/ |
D | optional_scalars_generated.h | 61 int8_t default_i8 = 42; member 154 int8_t default_i8() const { in default_i8() function 362 else if constexpr (Index == 2) return default_i8(); in get_field() 453 void add_default_i8(int8_t default_i8) { in add_default_i8() 454 fbb_.AddElement<int8_t>(ScalarStuff::VT_DEFAULT_I8, default_i8, 42); in add_default_i8() 570 int8_t default_i8 = 42, 638 builder_.add_default_i8(default_i8); 705 { auto _e = default_i8(); _o->default_i8 = _e; } in UnPackTo() 751 auto _default_i8 = _o->default_i8; in CreateScalarStuff()
|
D | optional_scalars2_generated.h | 54 int8_t default_i8 = 42; member 147 int8_t default_i8() const { in default_i8() function 406 void add_default_i8(int8_t default_i8) { in add_default_i8() 407 fbb_.AddElement<int8_t>(ScalarStuff::VT_DEFAULT_I8, default_i8, 42); in add_default_i8() 523 int8_t default_i8 = 42, 591 builder_.add_default_i8(default_i8); 615 { auto _e = default_i8(); _o->default_i8 = _e; } in UnPackTo() 661 auto _default_i8 = _o->default_i8; in CreateScalarStuff()
|
/external/flatbuffers/tests/rust_usage_test/tests/ |
D | optional_scalars_test.rs | 54 make_test!(optional_i8, just_i8, default_i8, maybe_i8, 5, 0, 42); 106 default_i8: 42, in object_api_defaults()
|
/external/flatbuffers/tests/optional_scalars/ |
D | ScalarStuff.cs | 63 sbyte default_i8 = 42, in CreateScalarStuff() 131 ScalarStuff.AddDefaultI8(builder, default_i8); in CreateScalarStuff()
|