Home
last modified time | relevance | path

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

/external/flatbuffers/tests/
Darrays_test_generated.h14 struct ArrayStruct;
22 bool operator==(const ArrayStruct &lhs, const ArrayStruct &rhs);
23 bool operator!=(const ArrayStruct &lhs, const ArrayStruct &rhs);
128 FLATBUFFERS_MANUALLY_ALIGNED_STRUCT(8) ArrayStruct FLATBUFFERS_FINAL_CLASS {
143 ArrayStruct() { in ArrayStruct() function
144 memset(static_cast<void *>(this), 0, sizeof(ArrayStruct)); in ArrayStruct()
146 ArrayStruct(float _a, int8_t _c, int32_t _e) in ArrayStruct() function
197 FLATBUFFERS_STRUCT_END(ArrayStruct, 160);
199 inline bool operator==(const ArrayStruct &lhs, const ArrayStruct &rhs) {
209 inline bool operator!=(const ArrayStruct &lhs, const ArrayStruct &rhs) {
[all …]
Darrays_test.fbs12 struct ArrayStruct{
22 a:ArrayStruct;
Dpy_test.py47 import MyGame.Example.ArrayStruct # refers to generated code
2149 arrayOffset = MyGame.Example.ArrayStruct.CreateArrayStruct(builder, \
DJavaTest.java554 int arrayOffset = ArrayStruct.createArrayStruct(builder, in TestFixedLengthArrays()
Dtest.cpp3146 MyGame::Example::ArrayStruct aStruct(2, 12, 1); in FixedLengthArrayTest()
/external/flatbuffers/tests/MyGame/Example/
DArrayStruct.java11 public final class ArrayStruct extends Struct { class
13 public ArrayStruct __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign()
60 public ArrayStruct get(int j) { return get(new ArrayStruct(), j); } in get()
61 public ArrayStruct get(ArrayStruct obj, int j) { return obj.__assign(__element(j), bb); } in get()
DArrayTable.py32 from MyGame.Example.ArrayStruct import ArrayStruct
33 obj = ArrayStruct()
42 import MyGame.Example.ArrayStruct
71 self.a = MyGame.Example.ArrayStruct.ArrayStructT.InitFromObj(arrayTable.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()
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()
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()
DArrayStruct.py9 class ArrayStruct(object): class
110 arrayStruct = ArrayStruct()
/external/clang/test/CodeGenOpenCL/
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)* @…
/external/llvm-project/clang/test/CodeGenOpenCL/
Daddress-space-constant-initializers.cl7 } ArrayStruct;
9 __constant ArrayStruct constant_array_struct = { 0, 0.0f };
16 …(i8 addrspace(2)* getelementptr (i8, i8 addrspace(2)* bitcast (%struct.ArrayStruct addrspace(2)* @…
18 …(i8 addrspace(4)* getelementptr (i8, i8 addrspace(4)* bitcast (%struct.ArrayStruct addrspace(4)* @…
/external/python/pybind11/tests/
Dtest_numpy_dtypes.cpp89 struct ArrayStruct { struct
117 std::ostream& operator<<(std::ostream& os, const ArrayStruct& v) { in operator <<()
290 PYBIND11_NUMPY_DTYPE(ArrayStruct, a, b, c, d); in TEST_SUBMODULE()
351 py::format_descriptor<ArrayStruct>::format(), in TEST_SUBMODULE()
370 py::dtype::of<ArrayStruct>(), in TEST_SUBMODULE()
418 py::array_t<ArrayStruct, 0> arr = mkarray_via_buffer<ArrayStruct>(n); in TEST_SUBMODULE()
419 auto ptr = (ArrayStruct *) arr.mutable_data(); in TEST_SUBMODULE()
434 m.def("print_array_array", &print_recarray<ArrayStruct>); in TEST_SUBMODULE()
/external/flatbuffers/tests/FlatBuffers.Test/
DFlatBuffersExampleTests.cs408 Offset<ArrayStruct> arrayOffset = ArrayStruct.CreateArrayStruct( in TestFixedLenghtArrays()