/third_party/flatbuffers/tests/optional_scalars/ |
D | ScalarStuff.cs | 5 namespace optional_scalars namespace 56 …optional_scalars.OptionalByte JustEnum { get { int o = __p.__offset(70); return o != 0 ? (optional… 57 …optional_scalars.OptionalByte? MaybeEnum { get { int o = __p.__offset(72); return o != 0 ? (option… 58 …optional_scalars.OptionalByte DefaultEnum { get { int o = __p.__offset(74); return o != 0 ? (optio… 60 public static Offset<optional_scalars.ScalarStuff> CreateScalarStuff(FlatBufferBuilder builder, in CreateScalarStuff() 94 optional_scalars.OptionalByte just_enum = optional_scalars.OptionalByte.None, in CreateScalarStuff() 95 optional_scalars.OptionalByte? maybe_enum = null, in CreateScalarStuff() 96 optional_scalars.OptionalByte default_enum = optional_scalars.OptionalByte.One) { in CreateScalarStuff() 171 …public static void AddJustEnum(FlatBufferBuilder builder, optional_scalars.OptionalByte justEnum) … in AddJustEnum() 172 …public static void AddMaybeEnum(FlatBufferBuilder builder, optional_scalars.OptionalByte? maybeEnu… in AddMaybeEnum() [all …]
|
D | OptionalByte.cs | 5 namespace optional_scalars namespace
|
D | OptionalByte.java | 3 package optional_scalars; package
|
D | OptionalByte.kt | 3 package optional_scalars package
|
D | ScalarStuff.java | 3 package optional_scalars; package
|
D | ScalarStuff.kt | 3 package optional_scalars package
|
/third_party/flatbuffers/tests/cpp17/generated_cpp17/ |
D | optional_scalars_generated.h | 9 namespace optional_scalars { 85 optional_scalars::OptionalByte just_enum = optional_scalars::OptionalByte::None; 86 flatbuffers::Optional<optional_scalars::OptionalByte> maybe_enum = flatbuffers::nullopt; 87 optional_scalars::OptionalByte default_enum = optional_scalars::OptionalByte::One; 333 optional_scalars::OptionalByte just_enum() const { in just_enum() 334 return static_cast<optional_scalars::OptionalByte>(GetField<int8_t>(VT_JUST_ENUM, 0)); in just_enum() 336 bool mutate_just_enum(optional_scalars::OptionalByte _just_enum) { in mutate_just_enum() 339 flatbuffers::Optional<optional_scalars::OptionalByte> maybe_enum() const { in maybe_enum() 340 return GetOptional<int8_t, optional_scalars::OptionalByte>(VT_MAYBE_ENUM); in maybe_enum() 342 bool mutate_maybe_enum(optional_scalars::OptionalByte _maybe_enum) { in mutate_maybe_enum() [all …]
|
D | optional_scalars2_generated.h | 9 namespace optional_scalars { 85 optional_scalars::OptionalByte just_enum = optional_scalars::OptionalByte::None; 86 flatbuffers::Optional<optional_scalars::OptionalByte> maybe_enum = flatbuffers::nullopt; 87 optional_scalars::OptionalByte default_enum = optional_scalars::OptionalByte::One; 333 optional_scalars::OptionalByte just_enum() const { in just_enum() 334 return static_cast<optional_scalars::OptionalByte>(GetField<int8_t>(VT_JUST_ENUM, 0)); in just_enum() 336 bool mutate_just_enum(optional_scalars::OptionalByte _just_enum) { in mutate_just_enum() 339 flatbuffers::Optional<optional_scalars::OptionalByte> maybe_enum() const { in maybe_enum() 340 return GetOptional<int8_t, optional_scalars::OptionalByte>(VT_MAYBE_ENUM); in maybe_enum() 342 bool mutate_maybe_enum(optional_scalars::OptionalByte _maybe_enum) { in mutate_maybe_enum() [all …]
|
/third_party/flatbuffers/tests/ |
D | optional_scalars_generated.h | 9 namespace optional_scalars { 88 optional_scalars::OptionalByte just_enum = optional_scalars::OptionalByte_None; 89 flatbuffers::Optional<optional_scalars::OptionalByte> maybe_enum = flatbuffers::nullopt; 90 optional_scalars::OptionalByte default_enum = optional_scalars::OptionalByte_One; 380 optional_scalars::OptionalByte just_enum() const { in just_enum() 381 return static_cast<optional_scalars::OptionalByte>(GetField<int8_t>(VT_JUST_ENUM, 0)); in just_enum() 383 bool mutate_just_enum(optional_scalars::OptionalByte _just_enum) { in mutate_just_enum() 386 flatbuffers::Optional<optional_scalars::OptionalByte> maybe_enum() const { in maybe_enum() 387 return GetOptional<int8_t, optional_scalars::OptionalByte>(VT_MAYBE_ENUM); in maybe_enum() 389 bool mutate_maybe_enum(optional_scalars::OptionalByte _maybe_enum) { in mutate_maybe_enum() [all …]
|
D | generate_code.sh | 63 ../flatc --java --kotlin --lobster --ts optional_scalars.fbs 64 ../flatc --csharp --rust --gen-object-api optional_scalars.fbs 65 ../flatc $TEST_NOINCL_FLAGS $TEST_CPP_FLAGS --cpp optional_scalars.fbs 77 $working_dir/../flatc --swift ${working_dir}/optional_scalars.fbs 96 ../flatc $TEST_CPP17_FLAGS optional_scalars.fbs
|
D | generate_code.bat | 65 ..\%buildtype%\flatc.exe --java --kotlin --lobster --ts optional_scalars.fbs || goto FAIL 66 ..\%buildtype%\flatc.exe --csharp --rust --gen-object-api optional_scalars.fbs || goto FAIL 67 ..\%buildtype%\flatc.exe %TEST_NOINCL_FLAGS% %TEST_CPP_FLAGS% --cpp optional_scalars.fbs || goto FA… 84 ..\%buildtype%\flatc.exe %TEST_CPP17_FLAGS% optional_scalars.fbs || goto FAIL
|
D | optional_scalars.fbs | 1 namespace optional_scalars;
|
D | BUILD.bazel | 47 ":optional_scalars.fbs",
|
D | optional_scalars_generated.lobster | 4 namespace optional_scalars
|
D | test.cpp | 3739 fbb, optional_scalars::CreateScalarStuff(fbb, 1, static_cast<int8_t>(2))); in OptionalScalarsTest() 3740 auto opts = optional_scalars::GetMutableScalarStuff(fbb.GetBufferPointer()); in OptionalScalarsTest() 3750 optional_scalars::ScalarStuffT obj; in OptionalScalarsTest() 3759 obj.maybe_enum = optional_scalars::OptionalByte_Two; in OptionalScalarsTest() 3762 FinishScalarStuffBuffer(fbb, optional_scalars::ScalarStuff::Pack(fbb, &obj)); in OptionalScalarsTest() 3763 opts = optional_scalars::GetMutableScalarStuff(fbb.GetBufferPointer()); in OptionalScalarsTest() 3768 TEST_EQ(opts->maybe_enum().value(), optional_scalars::OptionalByte_Two); in OptionalScalarsTest()
|
D | KotlinTest.kt | 18 import optional_scalars.*
|
D | JavaTest.java | 5 import optional_scalars.ScalarStuff; 6 import optional_scalars.OptionalByte;
|
D | optional_scalars_generated.rs | 12 pub mod optional_scalars { module
|
/third_party/flatbuffers/tests/cpp17/ |
D | test_cpp17.cpp | 210 FinishScalarStuffBuffer(fbb, cpp17::optional_scalars::CreateScalarStuff( in OptionalScalarsTest() 213 cpp17::optional_scalars::GetMutableScalarStuff(fbb.GetBufferPointer()); in OptionalScalarsTest() 223 cpp17::optional_scalars::ScalarStuffT obj; in OptionalScalarsTest() 233 fbb, cpp17::optional_scalars::ScalarStuff::Pack(fbb, &obj)); in OptionalScalarsTest() 234 opts = cpp17::optional_scalars::GetMutableScalarStuff(fbb.GetBufferPointer()); in OptionalScalarsTest()
|
/third_party/flatbuffers/tests/FlatBuffers.Test/ |
D | FlatBuffers.Core.Test.csproj | 134 <Compile Include="..\optional_scalars\OptionalByte.cs"> 135 <Link>optional_scalars\OptionalByte.cs</Link> 137 <Compile Include="..\optional_scalars\ScalarStuff.cs"> 138 <Link>optional_scalars\ScalarStuff.cs</Link>
|
D | FlatBuffersExampleTests.cs | 21 using optional_scalars;
|
/third_party/flatbuffers/tests/FlatBuffers.Test.Swift/ |
D | SwiftTest.sh | 9 fbc --swift ${test_dir}/optional_scalars.fbs
|
/third_party/flatbuffers/tests/rust_usage_test/tests/ |
D | optional_scalars_test.rs | 4 use crate::optional_scalars_generated::optional_scalars::*;
|
/third_party/flatbuffers/ |
D | CMakeLists.txt | 162 # file generate by running compiler on tests/optional_scalars.fbs 489 compile_flatbuffers_schema_to_cpp(tests/optional_scalars.fbs)
|