Home
last modified time | relevance | path

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

/external/flatbuffers/tests/MyGame/Example/
DMonster.py30 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(4))
41 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(6))
48 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(8))
55 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(10))
62 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(14))
65 …Get(flatbuffers.number_types.Uint8Flags, a + flatbuffers.number_types.UOffsetTFlags.py_type(j * 1))
70 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(14))
77 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(14))
84 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(14))
89 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(16))
[all …]
DTypeAliases.py29 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(4))
36 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(6))
43 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(8))
50 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(10))
57 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(12))
64 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(14))
71 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(16))
78 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(18))
85 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(20))
92 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(22))
[all …]
DNestedStruct.py17 …types.Int32Flags, self._tab.Pos + flatbuffers.number_types.UOffsetTFlags.py_type(0 + i * 4)) for i…
20 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(0))
27 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(0))
31 …tbuffers.number_types.Int8Flags, self._tab.Pos + flatbuffers.number_types.UOffsetTFlags.py_type(8))
33 …_types.Int8Flags, self._tab.Pos + flatbuffers.number_types.UOffsetTFlags.py_type(9 + i * 1)) for i…
36 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(9))
43 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(9))
47 …types.Int64Flags, self._tab.Pos + flatbuffers.number_types.UOffsetTFlags.py_type(16 + i * 8)) for …
50 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(16))
57 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(16))
DArrayStruct.py17 …ffers.number_types.Float32Flags, self._tab.Pos + flatbuffers.number_types.UOffsetTFlags.py_type(0))
19 …types.Int32Flags, self._tab.Pos + flatbuffers.number_types.UOffsetTFlags.py_type(4 + i * 4)) for i…
22 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(4))
29 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(4))
33 …buffers.number_types.Int8Flags, self._tab.Pos + flatbuffers.number_types.UOffsetTFlags.py_type(64))
41 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(72))
48 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(72))
52 …ffers.number_types.Int32Flags, self._tab.Pos + flatbuffers.number_types.UOffsetTFlags.py_type(136))
54 …types.Int64Flags, self._tab.Pos + flatbuffers.number_types.UOffsetTFlags.py_type(144 + i * 8)) for…
57 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(144))
[all …]
DVec3.py17 …ffers.number_types.Float32Flags, self._tab.Pos + flatbuffers.number_types.UOffsetTFlags.py_type(0))
19 …ffers.number_types.Float32Flags, self._tab.Pos + flatbuffers.number_types.UOffsetTFlags.py_type(4))
21 …ffers.number_types.Float32Flags, self._tab.Pos + flatbuffers.number_types.UOffsetTFlags.py_type(8))
23 …fers.number_types.Float64Flags, self._tab.Pos + flatbuffers.number_types.UOffsetTFlags.py_type(16))
25 …uffers.number_types.Uint8Flags, self._tab.Pos + flatbuffers.number_types.UOffsetTFlags.py_type(24))
DStat.py29 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(4))
36 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(6))
43 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(8))
49 … id): builder.PrependUOffsetTRelativeSlot(0, flatbuffers.number_types.UOffsetTFlags.py_type(id), 0)
DAbility.py17 …uffers.number_types.Uint32Flags, self._tab.Pos + flatbuffers.number_types.UOffsetTFlags.py_type(0))
19 …uffers.number_types.Uint32Flags, self._tab.Pos + flatbuffers.number_types.UOffsetTFlags.py_type(4))
DTest.py17 …buffers.number_types.Int16Flags, self._tab.Pos + flatbuffers.number_types.UOffsetTFlags.py_type(0))
19 …tbuffers.number_types.Int8Flags, self._tab.Pos + flatbuffers.number_types.UOffsetTFlags.py_type(2))
DArrayTable.py29 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(4))
39 …ddA(builder, a): builder.PrependStructSlot(0, flatbuffers.number_types.UOffsetTFlags.py_type(a), 0)
DTestSimpleTableWithEnum.py29 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(4))
DReferrable.py29 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(4))
/external/flatbuffers/python/flatbuffers/
Dnumber_types.py33 py_type = bool variable in BoolFlags
42 py_type = int variable in Uint8Flags
51 py_type = int variable in Uint16Flags
60 py_type = int variable in Uint32Flags
69 py_type = int variable in Uint64Flags
78 py_type = int variable in Int8Flags
87 py_type = int variable in Int16Flags
96 py_type = int variable in Int32Flags
105 py_type = int variable in Int64Flags
114 py_type = float variable in Float32Flags
[all …]
Dbuilder.py129 self.head = UOffsetTFlags.py_type(initialSize)
237 objectSize = UOffsetTFlags.py_type(objectOffset - self.objectEnd)
238 self.PrependVOffsetT(VOffsetTFlags.py_type(objectSize))
243 self.PrependVOffsetT(VOffsetTFlags.py_type(vBytes))
247 objectStart = SOffsetTFlags.py_type(len(self.Bytes) - objectOffset)
249 SOffsetTFlags.py_type(self.Offset() - objectOffset))
256 objectStart = SOffsetTFlags.py_type(len(self.Bytes) - objectOffset)
257 self.head = UOffsetTFlags.py_type(objectStart)
262 SOffsetTFlags.py_type(vt2Offset - objectOffset))
301 return UOffsetTFlags.py_type(len(self.Bytes) - self.Head())
[all …]
Dtable.py93 return flags.py_type(encode.Get(flags.packer_type, self.Bytes, off))
/external/flatbuffers/tests/MyGame/
DMonsterExtra.py29 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(4))
36 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(6))
43 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(8))
50 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(10))
57 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(12))
64 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(14))
71 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(16))
78 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(18))
85 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(20))
88 …t(flatbuffers.number_types.Float64Flags, a + flatbuffers.number_types.UOffsetTFlags.py_type(j * 8))
[all …]
/external/flatbuffers/tests/namespace_test/NamespaceA/
DTableInC.py16 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(4))
27 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(6))
37 …uilder.PrependUOffsetTRelativeSlot(0, flatbuffers.number_types.UOffsetTFlags.py_type(referToA1), 0)
38 …uilder.PrependUOffsetTRelativeSlot(1, flatbuffers.number_types.UOffsetTFlags.py_type(referToA2), 0)
DTableInFirstNS.py25 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(4))
35 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(6))
42 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(8))
51 …builder.PrependUOffsetTRelativeSlot(0, flatbuffers.number_types.UOffsetTFlags.py_type(fooTable), 0)
53 …Struct): builder.PrependStructSlot(2, flatbuffers.number_types.UOffsetTFlags.py_type(fooStruct), 0)
DSecondTableInA.py25 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(4))
34 …builder.PrependUOffsetTRelativeSlot(0, flatbuffers.number_types.UOffsetTFlags.py_type(referToC), 0)
/external/flatbuffers/tests/namespace_test/NamespaceC/
DTableInC.py25 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(4))
35 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(6))
44 …uilder.PrependUOffsetTRelativeSlot(0, flatbuffers.number_types.UOffsetTFlags.py_type(referToA1), 0)
45 …uilder.PrependUOffsetTRelativeSlot(1, flatbuffers.number_types.UOffsetTFlags.py_type(referToA2), 0)
/external/flatbuffers/tests/namespace_test/NamespaceA/NamespaceB/
DStructInNestedNS.py17 …buffers.number_types.Int32Flags, self._tab.Pos + flatbuffers.number_types.UOffsetTFlags.py_type(0))
19 …buffers.number_types.Int32Flags, self._tab.Pos + flatbuffers.number_types.UOffsetTFlags.py_type(4))
DTableInNestedNS.py25 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(4))
/external/tensorflow/tensorflow/lite/python/interpreter_wrapper/
Dnumpy.cc75 TfLiteType TfLiteTypeFromPyType(int py_type) { in TfLiteTypeFromPyType() argument
76 switch (py_type) { in TfLiteTypeFromPyType()
Dnumpy.h67 TfLiteType TfLiteTypeFromPyType(int py_type);
/external/python/pybind11/include/pybind11/
Dcast.h1019 using py_type = conditional_t<std::is_floating_point<T>::value, double, _py_type_1>;
1023 py_type py_value;
1038 py_value = (py_type) PyFloat_AsDouble(src.ptr());
1061 if (std::is_unsigned<py_type>::value) {
1062 py_value = as_unsigned<py_type>(src_or_index.ptr());
1065 ? (py_type) PyLong_AsLong(src_or_index.ptr())
1066 : (py_type) PYBIND11_LONG_AS_LONGLONG(src_or_index.ptr());
1071 bool py_err = py_value == (py_type) -1 && PyErr_Occurred();
1075 …if (py_err || (std::is_integral<T>::value && sizeof(py_type) != sizeof(T) && py_value != (py_type)…
/external/flatbuffers/tests/
Dpy_test.py684 int8Val = N.Int8Flags.py_type(-127) # 0x81
685 uint8Val = N.Uint8Flags.py_type(0xFF)
686 int16Val = N.Int16Flags.py_type(-32222) # 0x8222
687 uint16Val = N.Uint16Flags.py_type(0xFEEE)
688 int32Val = N.Int32Flags.py_type(overflowingInt32Val)
689 uint32Val = N.Uint32Flags.py_type(0xFDDDDDDD)
690 int64Val = N.Int64Flags.py_type(overflowingInt64Val)
691 uint64Val = N.Uint64Flags.py_type(0xFCCCCCCCCCCCCCCC)
693 float32Val = N.Float32Flags.py_type(ctypes.c_float(3.14159).value)
694 float64Val = N.Float64Flags.py_type(3.14159265359)
[all …]