Home
last modified time | relevance | path

Searched refs:POINTER (Results 1 - 25 of 62) sorted by relevance

123

/third_party/python/Lib/lib2to3/tests/data/
H A Dinfinite_recursion.py106 ('p', POINTER(c_ubyte)),
113 ('max', POINTER(c_ubyte)),
114 ('q', POINTER(c_ubyte)),
115 ('pp', POINTER(POINTER(c_ubyte))),
128 ('data', POINTER(c_ubyte)),
139 ('data', POINTER(c_ubyte)),
148 ('enc', POINTER(c_ubyte)),
210 ('asn1_string', POINTER(ASN1_STRING)),
211 ('object', POINTER(ASN1_OBJEC
[all...]
/third_party/python/Lib/ctypes/
H A Dwintypes.py170 LPBOOL = PBOOL = ctypes.POINTER(BOOL)
171 PBOOLEAN = ctypes.POINTER(BOOLEAN)
172 LPBYTE = PBYTE = ctypes.POINTER(BYTE)
173 PCHAR = ctypes.POINTER(CHAR)
174 LPCOLORREF = ctypes.POINTER(COLORREF)
175 LPDWORD = PDWORD = ctypes.POINTER(DWORD)
176 LPFILETIME = PFILETIME = ctypes.POINTER(FILETIME)
177 PFLOAT = ctypes.POINTER(FLOAT)
178 LPHANDLE = PHANDLE = ctypes.POINTER(HANDLE)
179 PHKEY = ctypes.POINTER(HKE
[all...]
/third_party/python/Lib/ctypes/test/
H A Dtest_pep3118.py107 PComplete = POINTER(Complete)
173 (POINTER(c_byte), "&<b", (), POINTER(c_byte)),
174 (POINTER(POINTER(c_long)), "&&<" + s_long, (), POINTER(POINTER(c_long))),
182 (POINTER(c_short) * 2, "&<" + s_short, (2,), POINTER(c_short)),
183 (POINTER(c_shor
[all...]
H A Dtest_pointers.py15 class A(POINTER(c_ulong)):
18 POINTER(c_ulong)(c_ulong(22))
31 ## func.argtypes = (POINTER(c_int),)
35 func.restype = POINTER(c_int)
45 func.restype = POINTER(c_int)
46 func.argtypes = (POINTER(c_int),)
68 PROTOTYPE = CFUNCTYPE(c_int, POINTER(c_int))
114 p = POINTER(POINTER(c_int))
188 self.assertEqual(bool(POINTER(c_in
[all...]
H A Dtest_wintypes.py13 true = POINTER(c_int16)(c_int16(true_value))
14 value = cast(true, POINTER(wintypes.VARIANT_BOOL))
25 false = POINTER(c_int16)(c_int16(false_value))
26 value = cast(false, POINTER(wintypes.VARIANT_BOOL))
H A Dtest_cast.py12 ptr = cast(array, POINTER(c_int))
16 ptr = cast(array, POINTER(c_short))
28 ptr = cast(c_void_p(address), POINTER(c_int))
31 ptr = cast(address, POINTER(c_int))
40 p = cast(array, POINTER(c_char_p))
52 p = cast((c_int * 4)(1, 2, 3, 4), POINTER(c_int))
H A Dtest_memfunctions.py44 self.assertEqual(cast(a, POINTER(c_byte))[:7],
46 self.assertEqual(cast(a, POINTER(c_byte))[:7:],
48 self.assertEqual(cast(a, POINTER(c_byte))[6:-1:-1],
50 self.assertEqual(cast(a, POINTER(c_byte))[:7:2],
52 self.assertEqual(cast(a, POINTER(c_byte))[:7:7],
H A Dtest_slicing.py66 dll.my_strdup.restype = POINTER(c_char)
90 dll.my_strdup.restype = POINTER(c_byte)
134 dll.my_wcsdup.restype = POINTER(c_wchar)
135 dll.my_wcsdup.argtypes = POINTER(c_wchar),
149 dll.my_wcsdup.restype = POINTER(c_short)
151 dll.my_wcsdup.restype = POINTER(c_int)
153 dll.my_wcsdup.restype = POINTER(c_long)
H A Dtest_parameters.py83 from ctypes import c_short, c_uint, c_int, c_long, POINTER, pointer namespace
84 LPINT = POINTER(c_int)
100 # The from_param class method of POINTER(typ) classes accepts what is
102 from ctypes import c_short, c_uint, c_int, c_long, POINTER, byref namespace
103 LPINT = POINTER(c_int)
114 from ctypes import c_short, c_uint, c_int, c_long, pointer, POINTER, byref namespace
116 LPLPINT = POINTER(POINTER(c_int))
125 from ctypes import c_short, c_uint, c_int, c_long, POINTER namespace
133 LPINT = POINTER(c_in
[all...]
H A Dtest_prototypes.py80 func.argtypes = POINTER(c_int),
87 func.argtypes = POINTER(c_short),
90 func.argtypes = POINTER(c_double),
96 func.argtypes = POINTER(c_char),
176 func.argtypes = POINTER(c_wchar),
209 func.restype = POINTER(c_int)
H A Dtest_values.py55 ("code", POINTER(c_ubyte)),
58 ("get_code", POINTER(c_ubyte)), # Function ptr
60 FrozenTable = POINTER(struct_frozen)
H A Dtest_stringptr.py14 _fields_ = [("str", POINTER(c_char))]
25 # POINTER(c_char) and Python string is NOT compatible
26 # POINTER(c_char) and c_buffer() is compatible
56 # POINTER(c_char) and Python string is NOT compatible
57 # POINTER(c_char) and c_buffer() is compatible
58 strchr.argtypes = POINTER(c_char), c_char
67 strchr.restype = POINTER(c_char)
H A Dtest_libc.py21 comparefunc = CFUNCTYPE(c_int, POINTER(c_char), POINTER(c_char))
H A Dtest_array_in_pointer.py17 _fields_ = [("pvalues", POINTER(Value))]
50 ptr = cast(val_array, POINTER(Value))
H A Dtest_win32.py114 PointInRect.argtypes = [POINTER(RECT), POINT]
118 ReturnRect.argtypes = [c_int, RECT, POINTER(RECT), POINT, RECT,
119 POINTER(RECT), POINT, RECT]
H A Dtest_keeprefs.py100 _fields_ = [("p", POINTER(c_char_p))]
133 _fields_ = [("a", POINTER(POINT)),
134 ("b", POINTER(POINT))]
H A Dtest_as_parameter.py31 f.restype = POINTER(c_int)
32 f.argtypes = [POINTER(c_int)]
42 self.assertEqual(type(result), POINTER(c_int))
156 dll._testfunc_byval.argtypes = (POINT, POINTER(POINT))
H A Dtest_functions.py76 f.argtypes = [c_int, c_int, POINTER(c_int)]
170 f.restype = POINTER(c_int)
171 f.argtypes = [POINTER(c_int)]
181 self.assertEqual(type(result), POINTER(c_int))
309 dll._testfunc_byval.argtypes = (POINT, POINTER(POINT))
/third_party/node/tools/inspector_protocol/jinja2/
H A Ddebug.py322 ('ob_type', ctypes.POINTER(_PyObject))
330 ('_ob_next', ctypes.POINTER(_PyObject)),
331 ('_ob_prev', ctypes.POINTER(_PyObject)),
333 ('ob_type', ctypes.POINTER(_PyObject))
339 ('tb_next', ctypes.POINTER(_Traceback)),
340 ('tb_frame', ctypes.POINTER(_PyObject)),
355 obj.tb_next = ctypes.POINTER(_Traceback)()
/third_party/skia/third_party/externals/libjpeg-turbo/simd/nasm/
H A Djsimdcfg.inc.h89 %define JSAMPROW POINTER ; JSAMPLE * (jpeglib.h) variable
90 %define JSAMPARRAY POINTER ; JSAMPROW * (jpeglib.h) variable
91 %define JSAMPIMAGE POINTER ; JSAMPARRAY * (jpeglib.h) variable
92 %define JCOEFPTR POINTER ; JCOEF * (jpeglib.h) variable
/third_party/libabigail/tests/data/test-diff-filter/
H A Dtest47-filter-void-ptr-change-v1.c6 typedef const char* POINTER; typedef
10 POINTER m0;
H A Dtest47-filter-void-ptr-change-v0.c6 typedef const void* POINTER; typedef
10 POINTER m0;
/third_party/libabigail/tests/data/test-read-ctf/
H A Dtest2.c6 typedef const void* POINTER; typedef
10 POINTER m0;
/third_party/python/Lib/test/leakers/
H A Dtest_ctypes.py4 from ctypes import Structure, c_int, POINTER namespace
11 _fields_ = [("a", POINTER(POINT))]
/third_party/python/PC/
H A Dvalidate_ucrtbase.py8 from ctypes import (c_buffer, POINTER, byref, create_unicode_buffer, namespace
69 pvi = POINTER(VS_FIXEDFILEINFO)()

Completed in 9 milliseconds

123