Home
last modified time | relevance | path

Searched refs:optional_scalars (Results 1 – 24 of 24) sorted by relevance

/third_party/flatbuffers/tests/optional_scalars/
DScalarStuff.cs5 namespace optional_scalars namespace
56optional_scalars.OptionalByte JustEnum { get { int o = __p.__offset(70); return o != 0 ? (optional…
57optional_scalars.OptionalByte? MaybeEnum { get { int o = __p.__offset(72); return o != 0 ? (option…
58optional_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 …]
DOptionalByte.cs5 namespace optional_scalars namespace
DOptionalByte.java3 package optional_scalars; package
DOptionalByte.kt3 package optional_scalars package
DScalarStuff.java3 package optional_scalars; package
DScalarStuff.kt3 package optional_scalars package
/third_party/flatbuffers/tests/cpp17/generated_cpp17/
Doptional_scalars_generated.h9 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 …]
Doptional_scalars2_generated.h9 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/
Doptional_scalars_generated.h9 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 …]
Dgenerate_code.sh63 ../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
Dgenerate_code.bat65 ..\%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
Doptional_scalars.fbs1 namespace optional_scalars;
DBUILD.bazel47 ":optional_scalars.fbs",
Doptional_scalars_generated.lobster4 namespace optional_scalars
Dtest.cpp3739 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()
DKotlinTest.kt18 import optional_scalars.*
DJavaTest.java5 import optional_scalars.ScalarStuff;
6 import optional_scalars.OptionalByte;
Doptional_scalars_generated.rs12 pub mod optional_scalars { module
/third_party/flatbuffers/tests/cpp17/
Dtest_cpp17.cpp210 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/
DFlatBuffers.Core.Test.csproj134 <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>
DFlatBuffersExampleTests.cs21 using optional_scalars;
/third_party/flatbuffers/tests/FlatBuffers.Test.Swift/
DSwiftTest.sh9 fbc --swift ${test_dir}/optional_scalars.fbs
/third_party/flatbuffers/tests/rust_usage_test/tests/
Doptional_scalars_test.rs4 use crate::optional_scalars_generated::optional_scalars::*;
/third_party/flatbuffers/
DCMakeLists.txt162 # file generate by running compiler on tests/optional_scalars.fbs
489 compile_flatbuffers_schema_to_cpp(tests/optional_scalars.fbs)