Home
last modified time | relevance | path

Searched refs:NestedStruct (Results 1 – 25 of 25) sorted by relevance

/external/flatbuffers/tests/arrays_test/my_game/example/
Dnested_struct_generated.rs15 pub struct NestedStruct(pub [u8; 32]); struct
16 impl Default for NestedStruct { implementation
21 impl core::fmt::Debug for NestedStruct { implementation
32 impl flatbuffers::SimpleToVerifyInSlice for NestedStruct {} implementation
33 impl flatbuffers::SafeSliceAccess for NestedStruct {} implementation
34 impl<'a> flatbuffers::Follow<'a> for NestedStruct { implementation
35 type Inner = &'a NestedStruct;
38 <&'a NestedStruct>::follow(buf, loc) in follow()
41 impl<'a> flatbuffers::Follow<'a> for &'a NestedStruct { implementation
42 type Inner = &'a NestedStruct;
[all …]
Darray_struct_generated.rs88 d: &[NestedStruct; 2],
160 pub fn d(&'a self) -> flatbuffers::Array<'a, NestedStruct, 2> { in d() argument
164 pub fn set_d(&mut self, x: &[NestedStruct; 2]) { in set_d()
/external/angle/third_party/flatbuffers/generated/tests/
Darrays_test_generated.h19 struct NestedStruct;
27 bool operator==(const NestedStruct &lhs, const NestedStruct &rhs);
28 bool operator!=(const NestedStruct &lhs, const NestedStruct &rhs);
71 FLATBUFFERS_MANUALLY_ALIGNED_STRUCT(8) NestedStruct FLATBUFFERS_FINAL_CLASS
87 NestedStruct() : a_(), b_(0), c_(), padding0__(0), padding1__(0), d_() in NestedStruct() function
92 NestedStruct(MyGame::Example::TestEnum _b) in NestedStruct() function
103 NestedStruct(::flatbuffers::span<const int32_t, 2> _a, MyGame::Example::TestEnum _b, in NestedStruct() function
147 FLATBUFFERS_STRUCT_END(NestedStruct, 32);
149 inline bool operator==(const NestedStruct &lhs, const NestedStruct &rhs)
155 inline bool operator!=(const NestedStruct &lhs, const NestedStruct &rhs)
[all …]
/external/flatbuffers/tests/
Darrays_test_generated.h19 struct NestedStruct;
27 bool operator==(const NestedStruct &lhs, const NestedStruct &rhs);
28 bool operator!=(const NestedStruct &lhs, const NestedStruct &rhs);
73 FLATBUFFERS_MANUALLY_ALIGNED_STRUCT(8) NestedStruct FLATBUFFERS_FINAL_CLASS {
85 NestedStruct() in NestedStruct() function
95 NestedStruct(MyGame::Example::TestEnum _b) in NestedStruct() function
105NestedStruct(flatbuffers::span<const int32_t, 2> _a, MyGame::Example::TestEnum _b, flatbuffers::sp… in NestedStruct() function
140 FLATBUFFERS_STRUCT_END(NestedStruct, 32);
142 inline bool operator==(const NestedStruct &lhs, const NestedStruct &rhs) {
150 inline bool operator!=(const NestedStruct &lhs, const NestedStruct &rhs) {
[all …]
Darrays_test.fbs5 struct NestedStruct{
16 d:[NestedStruct:2];
Dpy_test.py48 import MyGame.Example.NestedStruct # refers to generated code
2640 nested = MyGame.Example.NestedStruct.NestedStruct()
Dtest.cpp3751 MyGame::Example::NestedStruct nStruct0(MyGame::Example::TestEnum::B); in FixedLengthArrayTest()
3761 MyGame::Example::NestedStruct nStruct1(MyGame::Example::TestEnum::C); in FixedLengthArrayTest()
3863 std::array<MyGame::Example::NestedStruct, 2> init_d = { in FixedLengthArrayConstructorTest()
3864 { MyGame::Example::NestedStruct(nested_a, MyGame::Example::TestEnum::B, in FixedLengthArrayConstructorTest()
3866 MyGame::Example::NestedStruct(nested_a, MyGame::Example::TestEnum::A, in FixedLengthArrayConstructorTest()
DJavaTest.java580 NestedStruct nested = new NestedStruct(); in TestFixedLengthArrays()
/external/flatbuffers/tests/MyGame/Example/
DNestedStruct.java11 public final class NestedStruct extends Struct { class
13 public NestedStruct __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign()
43 public NestedStruct get(int j) { return get(new NestedStruct(), j); } in get()
44 public NestedStruct get(NestedStruct obj, int j) { return obj.__assign(__element(j), bb); } in get()
DNestedStruct.cs12 public struct NestedStruct : IFlatbufferObject struct
17 public NestedStruct __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign()
28 …public static Offset<MyGame.Example.NestedStruct> CreateNestedStruct(FlatBufferBuilder builder, in… in CreateNestedStruct() argument
41 return new Offset<MyGame.Example.NestedStruct>(builder.Offset); in CreateNestedStruct()
57 …public static Offset<MyGame.Example.NestedStruct> Pack(FlatBufferBuilder builder, NestedStructT _o… in Pack() argument
58 if (_o == null) return default(Offset<MyGame.Example.NestedStruct>); in Pack()
DArrayStruct.java21 public MyGame.Example.NestedStruct d(int j) { return d(new MyGame.Example.NestedStruct(), j); } in d()
22 …public MyGame.Example.NestedStruct d(MyGame.Example.NestedStruct obj, int j) { return obj.__assign… in d()
DNestedStruct.py9 class NestedStruct(object): class
93 nestedStruct = NestedStruct()
DArrayStruct.cs25 …public MyGame.Example.NestedStruct D(int j) { return (new MyGame.Example.NestedStruct()).__assign(… in D()
DArrayStruct.py95 import MyGame.Example.NestedStruct
/external/flatbuffers/tests/rust_usage_test/tests/
Darrays_test.rs22 let nested_struct1 = NestedStruct::new( in create_serialized_example_with_generated_code()
28 let nested_struct2 = NestedStruct::new( in create_serialized_example_with_generated_code()
121 assert_eq!(32, ::core::mem::size_of::<NestedStruct>()); in struct_netsted_struct_is_32_bytes()
302 const NESTED_STRUCT_SIZE: usize = size_of::<NestedStruct>();
305 struct NestedStructWrapper(NestedStruct);
309 let mut x = NestedStruct::default(); in arbitrary()
317 …let native_struct_array: [&NestedStruct; ARRAY_SIZE] = array_init::from_iter(xs.0.iter().map(|x| &… in prop_struct()
322 … let arr: flatbuffers::Array<NestedStruct, ARRAY_SIZE> = flatbuffers::Array::follow(&test_buf, 0); in prop_struct()
323 let got: [&NestedStruct; ARRAY_SIZE] = arr.into(); in prop_struct()
/external/libchrome/mojo/public/interfaces/bindings/tests/
Dtest_data_view.mojom17 struct NestedStruct {
31 NestedStruct? f_struct;
38 array<NestedStruct> f_struct_array;
/external/python/pybind11/tests/
Dtest_numpy_dtypes.cpp50 PYBIND11_PACKED(struct NestedStruct {
55 std::ostream& operator<<(std::ostream& os, const NestedStruct& v) { in operator <<()
286 PYBIND11_NUMPY_DTYPE(NestedStruct, a, b); in TEST_SUBMODULE()
317 py::array_t<NestedStruct, 0> arr = mkarray_via_buffer<NestedStruct>(n); in TEST_SUBMODULE()
319 auto ptr = static_cast<NestedStruct*>(req.ptr); in TEST_SUBMODULE()
338 m.def("print_rec_nested", &print_recarray<NestedStruct>); in TEST_SUBMODULE()
347 py::format_descriptor<NestedStruct>::format(), in TEST_SUBMODULE()
366 py::dtype::of<NestedStruct>(), in TEST_SUBMODULE()
487 m.def("f_nested", [](NestedStruct s) { return s.a.uint_ * 10; }); in TEST_SUBMODULE()
/external/libchrome/mojo/public/cpp/bindings/tests/
Ddata_view_unittest.cc76 TEST_F(DataViewTest, NestedStruct) { in TEST_F() argument
78 obj->f_struct = NestedStruct::New(); in TEST_F()
216 NestedStructPtr nested_struct(NestedStruct::New()); in TEST_F()
Dhash_unittest.cc16 TEST_F(HashTest, NestedStruct) { in TEST_F() argument
Dwtf_hash_unittest.cc18 TEST_F(WTFHashTest, NestedStruct) { in TEST_F() argument
/external/clang/docs/tools/
Ddump_format_style.py53 class NestedStruct: class
136 nested_struct = NestedStruct(name, comment)
/external/flatbuffers/tests/FlatBuffers.Test/
DFlatBuffers.Core.Test.csproj103 <Compile Include="..\MyGame\Example\NestedStruct.cs">
104 <Link>MyGame\Example\NestedStruct.cs</Link>
/external/deqp-deps/SPIRV-Tools/test/fuzz/
Dtransformation_replace_constant_with_uniform_test.cpp362 TEST(TransformationReplaceConstantWithUniformTest, NestedStruct) { in TEST() argument
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/fuzz/
Dtransformation_replace_constant_with_uniform_test.cpp362 TEST(TransformationReplaceConstantWithUniformTest, NestedStruct) { in TEST() argument
/external/swiftshader/third_party/SPIRV-Tools/test/fuzz/
Dtransformation_replace_constant_with_uniform_test.cpp362 TEST(TransformationReplaceConstantWithUniformTest, NestedStruct) { in TEST() argument