Home
last modified time | relevance | path

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

123456

/third_party/python/Lib/lib2to3/tests/data/
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_OBJECT)),
212 ('integer', POINTER(ASN1_INTEGER)),
[all …]
/third_party/python/Lib/ctypes/
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(HKEY)
[all …]
/third_party/python/Lib/ctypes/test/
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))),
180 (POINTER(c_short) * 2, "&<" + s_short, (2,), POINTER(c_short)),
181 (POINTER(c_short) * 2 * 3, "&<" + s_short, (3,2,), POINTER(c_short)),
182 (POINTER(c_short * 2), "&(2)<" + s_short, (), POINTER(c_short)),
199 (POINTER(Incomplete), "&B", (), POINTER(Incomplete)),
205 (POINTER(Complete), "&B", (), POINTER(Complete)),
228 (POINTER(BEPoint), "&T{>l:x:>l:y:}".replace('l', s_long), (), POINTER(BEPoint)),
229 (POINTER(LEPoint), "&T{<l:x:<l:y:}".replace('l', s_long), (), POINTER(LEPoint)),
Dtest_pointers.py15 class A(POINTER(c_ulong)):
18 POINTER(c_ulong)(c_ulong(22))
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_int)()), False)
201 self.assertTrue(POINTER(LargeNamedType))
209 P = POINTER(large_string)
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))
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))
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],
Dtest_parameters.py83 from ctypes import c_short, c_uint, c_int, c_long, POINTER, pointer
84 LPINT = POINTER(c_int)
102 from ctypes import c_short, c_uint, c_int, c_long, POINTER, byref
103 LPINT = POINTER(c_int)
114 from ctypes import c_short, c_uint, c_int, c_long, pointer, POINTER, byref
116 LPLPINT = POINTER(POINTER(c_int))
125 from ctypes import c_short, c_uint, c_int, c_long, POINTER
133 LPINT = POINTER(c_int)
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)
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)
Dtest_stringptr.py14 _fields_ = [("str", POINTER(c_char))]
58 strchr.argtypes = POINTER(c_char), c_char
67 strchr.restype = POINTER(c_char)
Dtest_libc.py21 comparefunc = CFUNCTYPE(c_int, POINTER(c_char), POINTER(c_char))
Dtest_array_in_pointer.py17 _fields_ = [("pvalues", POINTER(Value))]
50 ptr = cast(val_array, POINTER(Value))
Dtest_keeprefs.py100 _fields_ = [("p", POINTER(c_char_p))]
133 _fields_ = [("a", POINTER(POINT)),
134 ("b", POINTER(POINT))]
/third_party/node/tools/inspector_protocol/jinja2/
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/libjpeg-turbo/simd/nasm/
Djsimdcfg.inc.h87 %define JSAMPROW POINTER ; JSAMPLE * (jpeglib.h)
88 %define JSAMPARRAY POINTER ; JSAMPROW * (jpeglib.h)
89 %define JSAMPIMAGE POINTER ; JSAMPARRAY * (jpeglib.h)
90 %define JCOEFPTR POINTER ; JCOEF * (jpeglib.h)
Djsimdcfg.inc57 %define JSAMPROW POINTER ; JSAMPLE * (jpeglib.h)
58 %define JSAMPARRAY POINTER ; JSAMPROW * (jpeglib.h)
59 %define JSAMPIMAGE POINTER ; JSAMPARRAY * (jpeglib.h)
60 %define JCOEFPTR POINTER ; JCOEF * (jpeglib.h)
/third_party/skia/third_party/externals/libjpeg-turbo/simd/nasm/
Djsimdcfg.inc.h89 %define JSAMPROW POINTER ; JSAMPLE * (jpeglib.h)
90 %define JSAMPARRAY POINTER ; JSAMPROW * (jpeglib.h)
91 %define JSAMPIMAGE POINTER ; JSAMPARRAY * (jpeglib.h)
92 %define JCOEFPTR POINTER ; JCOEF * (jpeglib.h)
Djsimdcfg.inc57 %define JSAMPROW POINTER ; JSAMPLE * (jpeglib.h)
58 %define JSAMPARRAY POINTER ; JSAMPROW * (jpeglib.h)
59 %define JSAMPIMAGE POINTER ; JSAMPARRAY * (jpeglib.h)
60 %define JCOEFPTR POINTER ; JCOEF * (jpeglib.h)
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/simd/nasm/
Djsimdcfg.inc.h87 %define JSAMPROW POINTER ; JSAMPLE * (jpeglib.h)
88 %define JSAMPARRAY POINTER ; JSAMPROW * (jpeglib.h)
89 %define JSAMPIMAGE POINTER ; JSAMPARRAY * (jpeglib.h)
90 %define JCOEFPTR POINTER ; JCOEF * (jpeglib.h)
Djsimdcfg.inc57 %define JSAMPROW POINTER ; JSAMPLE * (jpeglib.h)
58 %define JSAMPARRAY POINTER ; JSAMPROW * (jpeglib.h)
59 %define JSAMPIMAGE POINTER ; JSAMPARRAY * (jpeglib.h)
60 %define JCOEFPTR POINTER ; JCOEF * (jpeglib.h)
/third_party/python/Lib/test/leakers/
Dtest_ctypes.py4 from ctypes import Structure, c_int, POINTER
11 _fields_ = [("a", POINTER(POINT))]
/third_party/flutter/skia/third_party/libjpeg-turbo/
Djsimdcfg.inc57 %define JSAMPROW POINTER ; JSAMPLE * (jpeglib.h)
58 %define JSAMPARRAY POINTER ; JSAMPROW * (jpeglib.h)
59 %define JSAMPIMAGE POINTER ; JSAMPARRAY * (jpeglib.h)
60 %define JCOEFPTR POINTER ; JCOEF * (jpeglib.h)
/third_party/glib/gio/
Dgmarshal-internal.list4 BOOLEAN:POINTER,INT
19 VOID:POINTER,INT,STRING
/third_party/python/PC/
Dvalidate_ucrtbase.py8 from ctypes import (c_buffer, POINTER, byref, create_unicode_buffer,
69 pvi = POINTER(VS_FIXEDFILEINFO)()

123456