Home
last modified time | relevance | path

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

12345678910

/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/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/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/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_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_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_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/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))
/external/llvm-project/debuginfo-tests/dexter/dex/debugger/dbgeng/
Dclient.py41 wrp = partial(WINFUNCTYPE, c_long, POINTER(IDebugClient7))
42 idc_queryinterface = wrp(POINTER(IID), POINTER(c_void_p))
147 IDebugClient7._fields_ = [("lpVtbl", POINTER(IDebugClient7Vtbl))]
152 DbgEng.DebugCreate.argtypes = [POINTER(IID), POINTER(POINTER(IDebugClient7))]
156 ptr = POINTER(IDebugClient7)()
169 self.control_ptr = cast(ptr, POINTER(control.IDebugControl7))
176 self.sysobjects_ptr = cast(ptr, POINTER(sysobjs.IDebugSystemObjects4))
183 self.symbols_ptr = cast(ptr, POINTER(symbols.IDebugSymbols5))
/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/llvm-project/llvm/bindings/python/llvm/
Ddisassembler.py10 from ctypes import POINTER
100 buf = cast(c_char_p(source), POINTER(c_ubyte))
125 buf = cast(source_bytes, POINTER(c_ubyte * len(source))).contents
130 b = cast(addressof(buf) + offset, POINTER(c_ubyte))
155 library.LLVMDisasmInstruction.argtypes = [Disassembler, POINTER(c_ubyte),
166 POINTER(c_uint64), c_uint64,
167 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]
111 lib.perf_reader_poll.argtypes = [ct.c_int, ct.POINTER(ct.c_void_p), ct.c_int]
132 ('module', ct.POINTER(ct.c_char)),
143 lib.bcc_procutils_which_so.restype = ct.POINTER(ct.c_char)
147 lib.bcc_procutils_language.restype = ct.POINTER(ct.c_char)
152 …ct.c_char_p, ct.c_char_p, ct.c_ulonglong, ct.c_int, ct.POINTER(bcc_symbol_option), ct.POINTER(bcc_…
159 lib.bcc_symcache_new.argtypes = [ct.c_int, ct.POINTER(bcc_symbol_option)]
165 lib.bcc_symbol_free_demangle_name.argtypes = [ct.POINTER(bcc_symbol)]
168 lib.bcc_symcache_resolve.argtypes = [ct.c_void_p, ct.c_ulonglong, ct.POINTER(bcc_symbol)]
[all …]
/external/llvm-project/llvm/test/CodeGen/X86/
Dvecloadextract.ll10 ; CHECK: [[POINTER:%[0-9]+]]:gr32 = MOV32rm %fixed-stack.0, 1, $noreg, 0, $noreg :: (load 4 from…
11 ; CHECK: [[LOAD:%[0-9]+]]:gr32 = MOV32rm killed [[POINTER]], 1, $noreg, 4, $noreg :: (load 4 fro…
23 ; CHECK: [[POINTER:%[0-9]+]]:gr32 = MOV32rm %fixed-stack.1, 1, $noreg, 0, $noreg :: (load 4 from…
24 ; CHECK: [[LOAD:%[0-9]+]]:gr32 = MOV32rm killed [[POINTER]], 4, killed [[INDEX]], 0, $noreg :: (…
36 ; CHECK: [[POINTER:%[0-9]+]]:gr32 = MOV32rm %fixed-stack.1, 1, $noreg, 0, $noreg :: (load 4 from…
37 ; CHECK: [[LOAD:%[0-9]+]]:gr32 = MOV32rm killed [[POINTER]], 4, killed [[INDEX]], 0, $noreg :: (…
/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/llvm-project/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

12345678910