Home
last modified time | relevance | path

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

12

/external/python/cpython2/Lib/ctypes/test/
Dtest_structures.py10 _fields_ = [("a", c_int)] variable in SubclassesTest.test_subclass.X
13 _fields_ = [("b", c_int)] variable in SubclassesTest.test_subclass.Y
21 self.assertEqual(X._fields_, [("a", c_int)])
22 self.assertEqual(Y._fields_, [("b", c_int)])
23 self.assertEqual(Z._fields_, [("a", c_int)])
29 X._fields_ = [("a", c_int)]
34 Y._fields_ = [("b", c_int)]
42 self.assertEqual(X._fields_, [("a", c_int)])
43 self.assertEqual(Y._fields_, [("b", c_int)])
44 self.assertEqual(Z._fields_, [("a", c_int)])
[all …]
Dtest_bitfields.py10 _fields_ = [("A", c_int, 1), variable in BITS
58 _fields_ = [("a", c_longlong, 1), variable in BitFieldTest.test_longlong.X
69 _fields_ = [("a", c_ulonglong, 1), variable in BitFieldTest.test_ulonglong.X
82 _fields_ = [("dummy", c_typ), variable in BitFieldTest.test_signed.X
99 _fields_ = [("a", c_typ, 3), variable in BitFieldTest.test_unsigned.X
132 _fields_ = [] variable in BitFieldTest.test_nonint_types.Dummy
152 _fields_ = [("a", c_typ, 1)] variable in BitFieldTest.test_single_bitfield_size.X
156 _fields_ = [("a", c_typ, sizeof(c_typ)*8)] variable in BitFieldTest.test_single_bitfield_size.X
164 _fields_ = [("a", c_short, 1), variable in BitFieldTest.test_multi_bitfields_size.X
170 _fields_ = [("a", c_short, 1), variable in BitFieldTest.test_multi_bitfields_size.X
[all …]
Dtest_pep3118.py79 _fields_ = [("x", c_long), ("y", c_long)] variable in Point
83 _fields_ = [("x", c_long), ("y", c_long)] variable in PackedPoint
87 Point2._fields_ = [("x", c_long), ("y", c_long)]
90 _fields_ = [] variable in EmptyStruct
93 _fields_ = [("a", c_int)] variable in aUnion
96 _fields_ = [("x", c_long * 3 * 2), ("y", Point * 4)] variable in StructWithArrays
105 Complete._fields_ = [("a", c_long)]
185 _fields_ = [("x", c_long), ("y", c_long)] variable in BEPoint
188 _fields_ = [("x", c_long), ("y", c_long)] variable in LEPoint
Dtest_keeprefs.py24 _fields_ = [("a", c_int), variable in StructureTestCase.test_cint_struct.X
35 _fields_ = [("a", c_char_p), variable in StructureTestCase.test_ccharp_struct.X
46 _fields_ = [("x", c_int), ("y", c_int)] variable in StructureTestCase.test_struct_struct.POINT
48 _fields_ = [("ul", POINT), ("lr", POINT)] variable in StructureTestCase.test_struct_struct.RECT
79 _fields_ = [("x", c_int), variable in ArrayTestCase.test_cint_array.X
100 _fields_ = [("p", POINTER(c_char_p))] variable in DeletePointerTestCase.test_X.X
131 _fields_ = [("x", c_int), ("y", c_int)] variable in PointerToStructure.test.POINT
133 _fields_ = [("a", POINTER(POINT)), variable in PointerToStructure.test.RECT
Dtest_internals.py40 _fields_ = [("a", c_int), ("b", c_int)] variable in ObjectsTestCase.test_simple_struct.X
52 _fields_ = [("a", c_int), ("b", c_int)] variable in ObjectsTestCase.test_embedded_structs.X
55 _fields_ = [("x", X), ("y", X)] variable in ObjectsTestCase.test_embedded_structs.Y
68 _fields_ = [("a", c_char_p), ("b", c_char_p)] variable in ObjectsTestCase.test_xxx.X
71 _fields_ = [("x", X), ("y", X)] variable in ObjectsTestCase.test_xxx.Y
90 _fields_ = [("data", POINTER(c_int))] variable in ObjectsTestCase.test_ptr_struct.X
Dtest_anon.py8 _fields_ = [("a", c_int), variable in AnonTest.test_anon.ANON
12 _fields_ = [("x", c_int), variable in AnonTest.test_anon.Y
40 _fields_ = [("a", c_int)] variable in AnonTest.test_nested.ANON_S
43 _fields_ = [("_", ANON_S), variable in AnonTest.test_nested.ANON_U
48 _fields_ = [("x", c_int), variable in AnonTest.test_nested.Y
Dtest_struct_fields.py19 X._fields_ = [] # finalized
24 _fields_ = [] # finalized variable in StructFieldsTestCase.test_1_B.X
37 _fields_ = [("x", X)] # finalizes X variable in StructFieldsTestCase.test_3.Y
46 Y._fields_ = []
Dtest_byteswap.py161 _fields_ = [("a", c_ubyte),
179 T._fields_ = _fields_
183 _fields_.append(("x", typ))
203 _fields_ = [("x", c_uint32), variable in Test.test_struct_struct.NestedStructure
207 _fields_ = [("point", NestedStructure)] variable in Test.test_struct_struct.TestStructure
230 _fields_ = [("b", c_byte), variable in Test.test_struct_fields_2.S
249 _fields_ = [("b", c_byte), variable in Test.test_unaligned_nonnative_struct_fields.S
276 _fields_ = [("b", c_byte), variable in Test.test_unaligned_native_struct_fields.S
Dtest_functions.py24 _fields_ = [("x", c_int), ("y", c_int)] variable in POINT
26 _fields_ = [("left", c_int), ("top", c_int), variable in RECT
62 _fields_ = [] variable in FunctionTestCase.test_mro.X
217 _fields_ = [("y", c_int)] variable in FunctionTestCase.test_errors.X
336 _fields_ = [("x", c_short), variable in FunctionTestCase.test_struct_return_2H.S2H
347 _fields_ = [("x", c_short), variable in FunctionTestCase.test_struct_return_2H_stdcall.S2H
357 _fields_ = [("a", c_int), variable in FunctionTestCase.test_struct_return_8H.S8I
375 _fields_ = [("a", c_int), variable in FunctionTestCase.test_struct_return_8H_stdcall.S8I
Dtest_unaligned_structures.py18 _fields_ = [("pad", c_byte), variable in X
22 _fields_ = [("pad", c_byte), variable in Y
Dtest_init.py5 _fields_ = [("a", c_int), variable in X
19 _fields_ = [("x", X)] variable in Y
Dtest_array_in_pointer.py14 _fields_ = [("val", c_byte)] variable in Value
17 _fields_ = [("pvalues", POINTER(Value))] variable in Container
Dtest_stringptr.py12 _fields_ = [("str", POINTER(c_char))] variable in StringPtrTestCase.test__POINTER_c_char.X
32 _fields_ = [("str", c_char_p)] variable in StringPtrTestCase.test__c_char_p.X
Dtest_pickling.py8 _fields_ = [("a", c_int), ("b", c_double)] variable in X
15 _fields_ = [("str", c_char_p)] variable in Y
Dtest_as_parameter.py15 _fields_ = [("x", c_int), ("y", c_int)] variable in POINT
164 _fields_ = [("x", c_short), variable in BasicWrapTestCase.test_struct_return_2H.S2H
174 _fields_ = [("a", c_int), variable in BasicWrapTestCase.test_struct_return_8H.S8I
Dtest_win32.py82 _fields_ = [("x", c_long), variable in Structures.test_struct_by_value.POINT
86 _fields_ = [("left", c_long), variable in Structures.test_struct_by_value.RECT
Dtest_delattr.py5 _fields_ = [("foo", c_int)] variable in X
Dtest_incomplete.py14 _fields_ = [("name", c_char_p), variable in MyTestCase.test_incomplete_example.cell
/external/python/cpython2/Lib/lib2to3/tests/data/
Dinfinite_recursion.py36 __mbstate_t._fields_ = [
56 sigcontext._fields_ = [
96 aes_key_st._fields_ = [
105 asn1_ctx_st._fields_ = [
123 asn1_object_st._fields_ = [
136 asn1_string_st._fields_ = [
147 ASN1_ENCODING_st._fields_ = [
157 asn1_string_table_st._fields_ = [
169 ASN1_TEMPLATE_st._fields_ = [
175 ASN1_ITEM_st._fields_ = [
[all …]
/external/python/cpython2/Lib/ctypes/
Dwintypes.py97 _fields_ = [("left", c_long), variable in RECT
104 _fields_ = [('Left', c_short), variable in _SMALL_RECT
111 _fields_ = [('X', c_short), variable in _COORD
115 _fields_ = [("x", c_long), variable in POINT
120 _fields_ = [("cx", c_long), variable in SIZE
128 _fields_ = [("dwLowDateTime", DWORD), variable in FILETIME
133 _fields_ = [("hWnd", HWND), variable in MSG
143 _fields_ = [("dwFileAttributes", DWORD), variable in WIN32_FIND_DATAA
155 _fields_ = [("dwFileAttributes", DWORD), variable in WIN32_FIND_DATAW
/external/chromium-trace/catapult/third_party/pyserial/serial/
Dwin32.py223 N11_OVERLAPPED4DOLLAR_484DOLLAR_49E._fields_ = [
231 N11_OVERLAPPED4DOLLAR_48E._fields_ = [
236 _OVERLAPPED._fields_ = [
242 _SECURITY_ATTRIBUTES._fields_ = [
247 _COMSTAT._fields_ = [
259 _DCB._fields_ = [
289 _COMMTIMEOUTS._fields_ = [
/external/autotest/client/cros/graphics/
Ddrm.py58 _fields_ = [ variable in DrmVersion
90 _fields_ = [ variable in DrmModeResources
160 _fields_ = [ variable in DrmModeModeInfo
184 _fields_ = [ variable in DrmModeCrtc
233 _fields_ = [ variable in DrmModeEncoder
257 _fields_ = [ variable in DrmModeConnector
301 _fields_ = [ variable in drm_mode_map_dumb
313 _fields_ = [ variable in DrmModeFB
/external/python/cpython2/Lib/test/leakers/
Dtest_ctypes.py9 _fields_ = [("x", c_int)] variable in leak_inner.POINT
11 _fields_ = [("a", POINTER(POINT))] variable in leak_inner.RECT
/external/libmojo/third_party/jinja2/
Ddebug.py285 _PyObject._fields_ = [
294 _PyObject._fields_ = [
303 _Traceback._fields_ = [
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/
Dtrace_time.py59 _fields_ = (('numer', ctypes.c_uint32), variable in InitializeMacNowFunction.MachTimebaseInfoData
101 _fields_ = (('tv_sec', ctypes.c_long), variable in InitializeLinuxNowFunction.Timespec

12