Home
last modified time | relevance | path

Searched refs:ArrayStruct (Results 1 – 20 of 20) sorted by relevance

/aosp_15_r20/external/flatbuffers/tests/arrays_test/my_game/example/
H A Darray_struct_generated.rs15 pub struct ArrayStruct(pub [u8; 160]); struct
16 impl Default for ArrayStruct { implementation
21 impl core::fmt::Debug for ArrayStruct { implementation
34 impl flatbuffers::SimpleToVerifyInSlice for ArrayStruct {} implementation
35 impl flatbuffers::SafeSliceAccess for ArrayStruct {} implementation
36 impl<'a> flatbuffers::Follow<'a> for ArrayStruct { implementation
37 type Inner = &'a ArrayStruct;
40 <&'a ArrayStruct>::follow(buf, loc) in follow()
43 impl<'a> flatbuffers::Follow<'a> for &'a ArrayStruct { implementation
44 type Inner = &'a ArrayStruct;
[all …]
H A Darray_table_generated.rs58 pub fn a(&self) -> Option<&'a ArrayStruct> { in a() argument
59 self._tab.get::<ArrayStruct>(ArrayTable::VT_A, None) in a()
70 .visit_field::<ArrayStruct>("a", Self::VT_A, false)? in run_verifier()
76 pub a: Option<&'a ArrayStruct>,
93 pub fn add_a(&mut self, a: &ArrayStruct) { in add_a() argument
94 self.fbb_.push_slot_always::<&ArrayStruct>(ArrayTable::VT_A, a); in add_a()
/aosp_15_r20/external/angle/third_party/flatbuffers/generated/tests/
H A Darrays_test_generated.h21 struct ArrayStruct;
29 bool operator==(const ArrayStruct &lhs, const ArrayStruct &rhs);
30 bool operator!=(const ArrayStruct &lhs, const ArrayStruct &rhs);
165 FLATBUFFERS_MANUALLY_ALIGNED_STRUCT(8) ArrayStruct FLATBUFFERS_FINAL_CLASS
185 ArrayStruct() in ArrayStruct() function
202 ArrayStruct(float _a, int8_t _c, int32_t _e) in ArrayStruct() function
219 ArrayStruct(float _a, ::flatbuffers::span<const int32_t, 15> _b, int8_t _c, in ArrayStruct() function
287 FLATBUFFERS_STRUCT_END(ArrayStruct, 160);
289 inline bool operator==(const ArrayStruct &lhs, const ArrayStruct &rhs)
295 inline bool operator!=(const ArrayStruct &lhs, const ArrayStruct &rhs)
[all …]
/aosp_15_r20/external/flatbuffers/tests/
H A Darrays_test_generated.h21 struct ArrayStruct;
29 bool operator==(const ArrayStruct &lhs, const ArrayStruct &rhs);
30 bool operator!=(const ArrayStruct &lhs, const ArrayStruct &rhs);
155 FLATBUFFERS_MANUALLY_ALIGNED_STRUCT(8) ArrayStruct FLATBUFFERS_FINAL_CLASS {
170 ArrayStruct() in ArrayStruct() function
186 ArrayStruct(float _a, int8_t _c, int32_t _e) in ArrayStruct() function
202ArrayStruct(float _a, flatbuffers::span<const int32_t, 15> _b, int8_t _c, flatbuffers::span<const … in ArrayStruct() function
255 FLATBUFFERS_STRUCT_END(ArrayStruct, 160);
257 inline bool operator==(const ArrayStruct &lhs, const ArrayStruct &rhs) {
267 inline bool operator!=(const ArrayStruct &lhs, const ArrayStruct &rhs) {
[all …]
H A Darrays_test.fbs12 struct ArrayStruct{
22 a:ArrayStruct;
H A Dtest.cpp1263 MyGame::Example::ArrayStruct aStruct(2, 12, 1); in MiniReflectFixedLengthArrayTest()
3771 MyGame::Example::ArrayStruct aStruct(2, 12, 1); in FixedLengthArrayTest()
3835 const size_t arr_size = sizeof(MyGame::Example::ArrayStruct); in FixedLengthArrayTest()
3843 MyGame::Example::ArrayStruct *ap = in FixedLengthArrayTest()
3844 new (non_zero_memory) MyGame::Example::ArrayStruct; in FixedLengthArrayTest()
3871 MyGame::Example::ArrayStruct arr_struct( in FixedLengthArrayConstructorTest()
4441 MyGame::Example::ArrayStruct aStruct; in FlatbuffersIteratorsTest()
H A Dpy_test.py47 import MyGame.Example.ArrayStruct # refers to generated code
2625 arrayOffset = MyGame.Example.ArrayStruct.CreateArrayStruct(builder, \
H A DJavaTest.java569 int arrayOffset = ArrayStruct.createArrayStruct(builder, in TestFixedLengthArrays()
/aosp_15_r20/external/flatbuffers/tests/MyGame/Example/
H A DArrayStruct.java11 public final class ArrayStruct extends Struct { class
13 public ArrayStruct __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign()
61 public ArrayStruct get(int j) { return get(new ArrayStruct(), j); } in get()
62 public ArrayStruct get(ArrayStruct obj, int j) { return obj.__assign(__element(j), bb); } in get()
H A DArrayTable.java19 public MyGame.Example.ArrayStruct a() { return a(new MyGame.Example.ArrayStruct()); } in a()
20 …public MyGame.Example.ArrayStruct a(MyGame.Example.ArrayStruct obj) { int o = __offset(4); return … in a()
49 addA(builder, MyGame.Example.ArrayStruct.pack(builder, _o.getA())); in pack()
H A DArrayTable.py36 from MyGame.Example.ArrayStruct import ArrayStruct
37 obj = ArrayStruct()
51 import MyGame.Example.ArrayStruct
80 self.a = MyGame.Example.ArrayStruct.ArrayStructT.InitFromObj(arrayTable.A())
H A DArrayStruct.cs12 public struct ArrayStruct : IFlatbufferObject struct
17 public ArrayStruct __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign()
31 …public static Offset<MyGame.Example.ArrayStruct> CreateArrayStruct(FlatBufferBuilder builder, floa… in CreateArrayStruct() argument
58 return new Offset<MyGame.Example.ArrayStruct>(builder.Offset); in CreateArrayStruct()
76 …public static Offset<MyGame.Example.ArrayStruct> Pack(FlatBufferBuilder builder, ArrayStructT _o) { in Pack() argument
77 if (_o == null) return default(Offset<MyGame.Example.ArrayStruct>); in Pack()
H A DArrayTable.cs23 …yGame.Example.ArrayStruct? A { get { int o = __p.__offset(4); return o != 0 ? (MyGame.Example.Arra…
26 …public static void AddA(FlatBufferBuilder builder, Offset<MyGame.Example.ArrayStruct> aOffset) { b… in AddA()
44 AddA(builder, MyGame.Example.ArrayStruct.Pack(builder, _o.A)); in Pack()
H A DArrayStruct.py9 class ArrayStruct(object): class
114 arrayStruct = ArrayStruct()
/aosp_15_r20/external/clang/test/CodeGenOpenCL/
H A Daddress-space-constant-initializers.cl6 } ArrayStruct;
8 __constant ArrayStruct constant_array_struct = { 0, 0.0f };
15 …(i8 addrspace(3)* getelementptr (i8, i8 addrspace(3)* bitcast (%struct.ArrayStruct addrspace(3)* @…
/aosp_15_r20/prebuilts/go/linux-x86/src/encoding/gob/
Dgobencdec_test.go31 type ArrayStruct struct { struct
93 func (a *ArrayStruct) GobEncode() ([]byte, error) { argument
97 func (a *ArrayStruct) GobDecode(data []byte) error { argument
233 A ArrayStruct // not a pointer.
238 A ***ArrayStruct // indirections to a large receiver.
354 var array ArrayStruct
Dcodec_test.go1435 &ArrayStruct{},
/aosp_15_r20/external/flatbuffers/tests/FlatBuffers.Test/
H A DFlatBuffers.Core.Test.csproj100 <Compile Include="..\MyGame\Example\ArrayStruct.cs">
101 <Link>MyGame\Example\ArrayStruct.cs</Link>
H A DFlatBuffersExampleTests.cs414 Offset<ArrayStruct> arrayOffset = ArrayStruct.CreateArrayStruct( in TestFixedLenghtArrays()
/aosp_15_r20/external/flatbuffers/tests/rust_usage_test/tests/
H A Darrays_test.rs34 let array_struct = ArrayStruct::new( in create_serialized_example_with_generated_code()
126 assert_eq!(160, ::core::mem::size_of::<ArrayStruct>()); in struct_array_struct_is_160_bytes()