Home
last modified time | relevance | path

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

123456789

/external/python/cpython2/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 …]
/external/python/cpython3/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 …]
/external/scapy/scapy/modules/
Dwinpcapy.py63 ('bf_insns', POINTER(bpf_insn))]
167 pcap_addr._fields_ = [('next', POINTER(pcap_addr)),
168 ('addr', POINTER(sockaddr)),
169 ('netmask', POINTER(sockaddr)),
170 ('broadaddr', POINTER(sockaddr)),
171 ('dstaddr', POINTER(sockaddr))]
177 pcap_if._fields_ = [('next', POINTER(pcap_if)),
180 ('addresses', POINTER(pcap_addr)),
254 pcap_handler=CFUNCTYPE(None,POINTER(c_ubyte),POINTER(pcap_pkthdr),POINTER(c_ubyte))
259 pcap_open_live.restype = POINTER(pcap_t)
[all …]
/external/python/cpython3/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 …]
/external/python/cpython2/Lib/ctypes/test/
Dtest_pep3118.py104 PComplete = POINTER(Complete)
170 (POINTER(c_byte), "&<b", None, POINTER(c_byte)),
171 (POINTER(POINTER(c_long)), "&&<" + s_long, None, POINTER(POINTER(c_long))),
177 (POINTER(c_short) * 2, "&<" + s_short, (2,), POINTER(c_short)),
178 (POINTER(c_short) * 2 * 3, "&<" + s_short, (3,2,), POINTER(c_short)),
179 (POINTER(c_short * 2), "&(2)<" + s_short, None, POINTER(c_short)),
196 (POINTER(Incomplete), "&B", None, POINTER(Incomplete)),
202 (POINTER(Complete), "&B", None, POINTER(Complete)),
225 (POINTER(BEPoint), "&T{>l:x:>l:y:}".replace('l', s_long), None, POINTER(BEPoint)),
226 (POINTER(LEPoint), "&T{<l:x:<l:y:}".replace('l', s_long), None, POINTER(LEPoint)),
Dtest_pointers.py15 class A(POINTER(c_ulong)):
18 POINTER(c_ulong)(c_ulong(22))
32 func.restype = POINTER(c_int)
42 func.restype = POINTER(c_int)
43 func.argtypes = (POINTER(c_int),)
65 PROTOTYPE = CFUNCTYPE(c_int, POINTER(c_int))
111 p = POINTER(POINTER(c_int))
185 self.assertEqual(bool(POINTER(c_int)()), False)
198 self.assertTrue(POINTER(LargeNamedType))
206 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_parameters.py88 from ctypes import c_short, c_uint, c_int, c_long, POINTER, pointer
89 LPINT = POINTER(c_int)
107 from ctypes import c_short, c_uint, c_int, c_long, pointer, POINTER, byref
108 LPINT = POINTER(c_int)
119 from ctypes import c_short, c_uint, c_int, c_long, pointer, POINTER, byref
121 LPLPINT = POINTER(POINTER(c_int))
130 from ctypes import c_short, c_uint, c_int, c_long, POINTER
138 LPINT = POINTER(c_int)
Dtest_memfunctions.py43 self.assertEqual(cast(a, POINTER(c_byte))[:7],
45 self.assertEqual(cast(a, POINTER(c_byte))[:7:],
47 self.assertEqual(cast(a, POINTER(c_byte))[6:-1:-1],
49 self.assertEqual(cast(a, POINTER(c_byte))[:7:2],
51 self.assertEqual(cast(a, POINTER(c_byte))[:7:7],
Dtest_wintypes.py12 true = POINTER(c_int16)(c_int16(true_value))
13 value = cast(true, POINTER(wintypes.VARIANT_BOOL))
24 false = POINTER(c_int16)(c_int16(false_value))
25 value = cast(false, POINTER(wintypes.VARIANT_BOOL))
Dtest_slicing.py70 dll.my_strdup.restype = POINTER(c_char)
96 dll.my_strdup.restype = POINTER(c_byte)
140 dll.my_wcsdup.restype = POINTER(c_wchar)
141 dll.my_wcsdup.argtypes = POINTER(c_wchar),
157 dll.my_wcsdup.restype = POINTER(c_short)
159 dll.my_wcsdup.restype = POINTER(c_int)
161 dll.my_wcsdup.restype = POINTER(c_long)
/external/python/cpython3/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_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_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_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_wintypes.py12 true = POINTER(c_int16)(c_int16(true_value))
13 value = cast(true, POINTER(wintypes.VARIANT_BOOL))
24 false = POINTER(c_int16)(c_int16(false_value))
25 value = cast(false, POINTER(wintypes.VARIANT_BOOL))
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)
/external/llvm/bindings/python/llvm/
Ddisassembler.py11 from ctypes import POINTER
101 buf = cast(c_char_p(source), POINTER(c_ubyte))
126 buf = cast(source_bytes, POINTER(c_ubyte * len(source))).contents
131 b = cast(addressof(buf) + offset, POINTER(c_ubyte))
156 library.LLVMDisasmInstruction.argtypes = [Disassembler, POINTER(c_ubyte),
167 POINTER(c_uint64), c_uint64,
168 POINTER(c_char_p))
/external/swiftshader/third_party/llvm-7.0/llvm/bindings/python/llvm/
Ddisassembler.py11 from ctypes import POINTER
101 buf = cast(c_char_p(source), POINTER(c_ubyte))
126 buf = cast(source_bytes, POINTER(c_ubyte * len(source))).contents
131 b = cast(addressof(buf) + offset, POINTER(c_ubyte))
156 library.LLVMDisasmInstruction.argtypes = [Disassembler, POINTER(c_ubyte),
167 POINTER(c_uint64), c_uint64,
168 POINTER(c_char_p))
/external/bcc/src/python/bcc/
Dlibbcc.py24 ct.POINTER(ct.c_char_p), ct.c_int]
27 ct.POINTER(ct.c_char_p), ct.c_int]
110 lib.perf_reader_poll.argtypes = [ct.c_int, ct.POINTER(ct.c_void_p), ct.c_int]
131 ('module', ct.POINTER(ct.c_char)),
142 lib.bcc_procutils_which_so.restype = ct.POINTER(ct.c_char)
146 lib.bcc_procutils_language.restype = ct.POINTER(ct.c_char)
151 …ct.c_char_p, ct.c_char_p, ct.c_ulonglong, ct.c_int, ct.POINTER(bcc_symbol_option), ct.POINTER(bcc_…
158 lib.bcc_symcache_new.argtypes = [ct.c_int, ct.POINTER(bcc_symbol_option)]
164 lib.bcc_symbol_free_demangle_name.argtypes = [ct.POINTER(bcc_symbol)]
167 lib.bcc_symcache_resolve.argtypes = [ct.c_void_p, ct.c_ulonglong, ct.POINTER(bcc_symbol)]
[all …]
/external/llvm/test/Bitcode/
Dpr18704.ll15 ; <POINTER abbrevid=4 op0=0 op1=0/>
16 ; <POINTER abbrevid=4 op0=1 op1=0/>
18 ; <POINTER abbrevid=4 op0=3 op1=0/>
20 ; <POINTER abbrevid=4 op0=5 op1=0/>
22 ; <POINTER abbrevid=4 op0=7 op1=0/>
24 ; <POINTER abbrevid=4 op0=9 op1=0/>
28 ; <POINTER abbrevid=4 op0=12 op1=0/>
30 ; <POINTER abbrevid=4 op0=14 op1=0/>
32 ; <POINTER abbrevid=4 op0=16 op1=0/>
35 ; <POINTER abbrevid=4 op0=19 op1=0/>
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Bitcode/
Dpr18704.ll15 ; <POINTER abbrevid=4 op0=0 op1=0/>
16 ; <POINTER abbrevid=4 op0=1 op1=0/>
18 ; <POINTER abbrevid=4 op0=3 op1=0/>
20 ; <POINTER abbrevid=4 op0=5 op1=0/>
22 ; <POINTER abbrevid=4 op0=7 op1=0/>
24 ; <POINTER abbrevid=4 op0=9 op1=0/>
28 ; <POINTER abbrevid=4 op0=12 op1=0/>
30 ; <POINTER abbrevid=4 op0=14 op1=0/>
32 ; <POINTER abbrevid=4 op0=16 op1=0/>
35 ; <POINTER abbrevid=4 op0=19 op1=0/>
[all …]
/external/bcc/tests/python/
Dtest_usdt.py187 event = ct.cast(data, ct.POINTER(Data1)).contents
191 event = ct.cast(data, ct.POINTER(Data2)).contents
196 event = ct.cast(data, ct.POINTER(Data3)).contents
200 event = ct.cast(data, ct.POINTER(Data4)).contents
204 event = ct.cast(data, ct.POINTER(Data5)).contents
/external/capstone/bindings/python/capstone/
D__init__.py297 ('detail', ctypes.POINTER(_cs_detail)),
301 CS_SKIPDATA_CALLBACK = ctypes.CFUNCTYPE(ctypes.c_size_t, ctypes.POINTER(ctypes.c_char), ctypes.c_si…
316 _setup_prototype(_cs, "cs_open", ctypes.c_int, ctypes.c_uint, ctypes.c_uint, ctypes.POINTER(ctypes.…
317 _setup_prototype(_cs, "cs_disasm", ctypes.c_size_t, ctypes.c_size_t, ctypes.POINTER(ctypes.c_char),…
318 ctypes.c_uint64, ctypes.c_size_t, ctypes.POINTER(ctypes.POINTER(_cs_insn)))
320 _setup_prototype(_cs, "cs_close", ctypes.c_int, ctypes.POINTER(ctypes.c_size_t))
324 _setup_prototype(_cs, "cs_op_count", ctypes.c_int, ctypes.c_size_t, ctypes.POINTER(_cs_insn), ctype…
325 _setup_prototype(_cs, "cs_op_index", ctypes.c_int, ctypes.c_size_t, ctypes.POINTER(_cs_insn), ctype…
328 _setup_prototype(_cs, "cs_version", ctypes.c_int, ctypes.POINTER(ctypes.c_int), ctypes.POINTER(ctyp…
388 all_insn = ctypes.POINTER(_cs_insn)()
[all …]

123456789