HomeSort by relevance Sort by last modified time
    Searched refs:POINTER (Results 1 - 25 of 176) sorted by null

1 2 3 4 5 6 7 8

  /external/scapy/scapy/modules/
winpcapy.py 63 ('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)
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/data/
infinite_recursion.py 106 ('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)),
    [all...]
  /external/python/cpython2/Lib/lib2to3/tests/data/
infinite_recursion.py 106 ('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))
    [all...]
  /external/python/cpython3/Lib/lib2to3/tests/data/
infinite_recursion.py 106 ('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))
    [all...]
  /external/python/cpython3/Lib/ctypes/
wintypes.py 168 # Pointer types
170 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
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/leakers/
test_ctypes.py 5 from ctypes import Structure, c_int, POINTER
12 _fields_ = [("a", POINTER(POINT))]
  /external/python/cpython2/Lib/test/leakers/
test_ctypes.py 4 from ctypes import Structure, c_int, POINTER
11 _fields_ = [("a", POINTER(POINT))]
  /external/python/cpython3/Lib/test/leakers/
test_ctypes.py 4 from ctypes import Structure, c_int, POINTER
11 _fields_ = [("a", POINTER(POINT))]
  /external/python/cpython2/Lib/ctypes/test/
test_pep3118.py 104 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))
    [all...]
test_wintypes.py 12 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))
test_memfunctions.py 43 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],
test_pointers.py 15 class A(POINTER(c_ulong)):
18 POINTER(c_ulong)(c_ulong(22))
19 # Pointer can't set contents: has no _type_
28 ## func.argtypes = (POINTER(c_int),)
32 func.restype = POINTER(c_int)
33 res = func(pointer(i))
42 func.restype = POINTER(c_int)
43 func.argtypes = (POINTER(c_int),)
45 res = func(pointer(i))
64 # a function type receiving a pointer
    [all...]
test_cast.py 11 # casting an array to a pointer works.
12 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))
test_stringptr.py 12 _fields_ = [("str", POINTER(c_char))]
15 # NULL pointer access
23 # POINTER(c_char) and Python string is NOT compatible
24 # POINTER(c_char) and c_buffer() is compatible
54 # POINTER(c_char) and Python string is NOT compatible
55 # POINTER(c_char) and c_buffer() is compatible
56 strchr.argtypes = POINTER(c_char), c_char
65 strchr.restype = POINTER(c_char)
test_array_in_pointer.py 17 _fields_ = [("pvalues", POINTER(Value))]
24 # create a container, which holds a pointer to the pvalues array.
31 # set the values of the array through the pointer:
50 ptr = cast(val_array, POINTER(Value))
51 # set the values of the array through the pointer:
  /external/python/cpython3/Lib/ctypes/test/
test_pep3118.py 107 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))
    [all...]
test_wintypes.py 12 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))
test_memfunctions.py 44 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],
test_pointers.py 15 class A(POINTER(c_ulong)):
18 POINTER(c_ulong)(c_ulong(22))
19 # Pointer can't set contents: has no _type_
31 ## func.argtypes = (POINTER(c_int),)
35 func.restype = POINTER(c_int)
36 res = func(pointer(i))
45 func.restype = POINTER(c_int)
46 func.argtypes = (POINTER(c_int),)
48 res = func(pointer(i))
67 # a function type receiving a pointer
    [all...]
test_cast.py 11 # casting an array to a pointer works.
12 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))
86 # The type argument must be a ctypes pointer type.
  /external/llvm/bindings/python/llvm/
bit_reader.py 9 from ctypes import POINTER
27 library.LLVMParseBitcode2.argtypes = [MemoryBuffer, POINTER(c_object_p)]
disassembler.py 11 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/
bit_reader.py 9 from ctypes import POINTER
27 library.LLVMParseBitcode2.argtypes = [MemoryBuffer, POINTER(c_object_p)]
disassembler.py 11 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/tools/
syncsnoop.py 47 event = ct.cast(data, ct.POINTER(Data)).contents

Completed in 190 milliseconds

1 2 3 4 5 6 7 8