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

1 2 3

  /external/chromium-trace/catapult/third_party/pyserial/serial/tools/
list_ports_osx.py 31 kIOMasterPortDefault = ctypes.c_void_p.in_dll(iokit, "kIOMasterPortDefault")
32 kCFAllocatorDefault = ctypes.c_void_p.in_dll(cf, "kCFAllocatorDefault")
36 iokit.IOServiceMatching.restype = ctypes.c_void_p
38 iokit.IOServiceGetMatchingServices.argtypes = [ctypes.c_void_p, ctypes.c_void_p, ctypes.c_void_p]
39 iokit.IOServiceGetMatchingServices.restype = ctypes.c_void_p
41 iokit.IORegistryEntryGetParentEntry.argtypes = [ctypes.c_void_p, ctypes.c_void_p, ctypes.c_void_p]
    [all...]
list_ports_windows.py 23 HDEVINFO = ctypes.c_void_p
25 PTSTR = ctypes.c_void_p
29 LPBYTE = PBYTE = ctypes.c_void_p # XXX avoids error about types
74 PSP_DEVICE_INTERFACE_DETAIL_DATA = ctypes.c_void_p
  /external/bcc/src/python/bcc/
libbcc.py 20 lib.bpf_module_create_b.restype = ct.c_void_p
22 lib.bpf_module_create_c.restype = ct.c_void_p
25 lib.bpf_module_create_c_from_string.restype = ct.c_void_p
29 lib.bpf_module_destroy.argtypes = [ct.c_void_p]
31 lib.bpf_module_license.argtypes = [ct.c_void_p]
33 lib.bpf_module_kern_version.argtypes = [ct.c_void_p]
35 lib.bpf_num_functions.argtypes = [ct.c_void_p]
37 lib.bpf_function_name.argtypes = [ct.c_void_p, ct.c_ulonglong]
38 lib.bpf_function_start.restype = ct.c_void_p
39 lib.bpf_function_start.argtypes = [ct.c_void_p, ct.c_char_p
    [all...]
  /external/python/cpython3/Lib/ctypes/test/
test_pointers.py 25 if sizeof(c_longlong) == sizeof(c_void_p):
170 if sizeof(c_void_p) == 4:
171 self.assertEqual(c_void_p(0xFFFFFFFF).value,
172 c_void_p(-1).value)
173 self.assertEqual(c_void_p(0xFFFFFFFFFFFFFFFF).value,
174 c_void_p(-1).value)
175 elif sizeof(c_void_p) == 8:
176 self.assertEqual(c_void_p(0xFFFFFFFF).value,
178 self.assertEqual(c_void_p(0xFFFFFFFFFFFFFFFF).value,
179 c_void_p(-1).value
    [all...]
test_sizes.py 26 self.assertEqual(sizeof(c_void_p), sizeof(c_size_t))
29 self.assertEqual(sizeof(c_void_p), sizeof(c_ssize_t))
test_random_things.py 15 windll.kernel32.LoadLibraryA.restype = c_void_p
16 windll.kernel32.GetProcAddress.argtypes = c_void_p, c_char_p
17 windll.kernel32.GetProcAddress.restype = c_void_p
test_loading.py 79 f_ord_addr = c_void_p.from_address(a_ord).value
80 f_name_addr = c_void_p.from_address(a_name).value
107 windll.kernel32.GetProcAddress.argtypes = c_void_p, c_char_p
108 windll.kernel32.GetProcAddress.restype = c_void_p
test_prototypes.py 53 # function returns c_void_p result,
55 prototype = CFUNCTYPE(c_void_p, c_void_p)
72 if sizeof(c_longlong) == sizeof(c_void_p):
126 func.argtypes = c_void_p,
146 func.argtypes = c_void_p,
153 func.restype = c_void_p
158 func.argtypes = c_void_p,
test_cast.py 28 ptr = cast(c_void_p(address), POINTER(c_int))
76 self.assertEqual(cast(cast(s, c_void_p), c_char_p).value,
82 self.assertEqual(cast(cast(s, c_void_p), c_wchar_p).value,
  /external/python/cpython2/Lib/ctypes/test/
test_pointers.py 167 if sizeof(c_void_p) == 4:
168 self.assertEqual(c_void_p(0xFFFFFFFFL).value,
169 c_void_p(-1).value)
170 self.assertEqual(c_void_p(0xFFFFFFFFFFFFFFFFL).value,
171 c_void_p(-1).value)
172 elif sizeof(c_void_p) == 8:
173 self.assertEqual(c_void_p(0xFFFFFFFFL).value,
175 self.assertEqual(c_void_p(0xFFFFFFFFFFFFFFFFL).value,
176 c_void_p(-1).value)
177 self.assertEqual(c_void_p(0xFFFFFFFFFFFFFFFFFFFFFFFFL).value
    [all...]
test_sizes.py 27 self.assertEqual(sizeof(c_void_p), sizeof(c_size_t))
30 self.assertEqual(sizeof(c_void_p), sizeof(c_ssize_t))
test_random_things.py 15 windll.kernel32.LoadLibraryA.restype = c_void_p
16 windll.kernel32.GetProcAddress.argtypes = c_void_p, c_char_p
17 windll.kernel32.GetProcAddress.restype = c_void_p
test_loading.py 84 f_ord_addr = c_void_p.from_address(a_ord).value
85 f_name_addr = c_void_p.from_address(a_name).value
112 windll.kernel32.GetProcAddress.argtypes = c_void_p, c_char_p
113 windll.kernel32.GetProcAddress.restype = c_void_p
test_win32.py 12 @unittest.skipUnless(sizeof(c_void_p) == sizeof(c_int),
13 "sizeof c_void_p and c_int differ")
59 self.assertEqual(sizeof(wintypes.HWND), sizeof(c_void_p))
64 sizeof(c_void_p))
66 sizeof(c_void_p))
test_prototypes.py 53 # function returns c_void_p result,
55 prototype = CFUNCTYPE(c_void_p, c_void_p)
123 func.argtypes = c_void_p,
143 func.argtypes = c_void_p,
150 func.restype = c_void_p
155 func.argtypes = c_void_p,
test_cast.py 28 ptr = cast(c_void_p(address), POINTER(c_int))
76 self.assertEqual(cast(cast(s, c_void_p), c_char_p).value,
82 self.assertEqual(cast(cast(s, c_void_p), c_wchar_p).value,
test_libc.py 18 lib.my_qsort.argtypes = c_void_p, c_size_t, c_size_t, comparefunc
  /external/llvm/bindings/python/llvm/
disassembler.py 19 from ctypes import c_void_p
76 ptr = lib.LLVMCreateDisasm(c_char_p(triple), c_void_p(None), c_int(0),
150 library.LLVMCreateDisasm.argtypes = [c_char_p, c_void_p, c_int,
164 callbacks['op_info'] = CFUNCTYPE(c_int, c_void_p, c_uint64, c_uint64, c_uint64,
165 c_int, c_void_p)
166 callbacks['symbol_lookup'] = CFUNCTYPE(c_char_p, c_void_p, c_uint64,
common.py 11 from ctypes import c_void_p
26 c_object_p = POINTER(c_void_p)
  /external/swiftshader/third_party/llvm-7.0/llvm/bindings/python/llvm/
disassembler.py 19 from ctypes import c_void_p
76 ptr = lib.LLVMCreateDisasm(c_char_p(triple), c_void_p(None), c_int(0),
150 library.LLVMCreateDisasm.argtypes = [c_char_p, c_void_p, c_int,
164 callbacks['op_info'] = CFUNCTYPE(c_int, c_void_p, c_uint64, c_uint64, c_uint64,
165 c_int, c_void_p)
166 callbacks['symbol_lookup'] = CFUNCTYPE(c_char_p, c_void_p, c_uint64,
common.py 11 from ctypes import c_void_p
26 c_object_p = POINTER(c_void_p)
  /external/python/cpython2/Lib/ctypes/
__init__.py 246 return "%s(%s)" % (self.__class__.__name__, cast(self, c_void_p).value)
249 return "%s(%s)" % (self.__class__.__name__, cast(self, c_void_p).value)
252 class c_void_p(_SimpleCData): class in inherits:_SimpleCData
254 c_voidp = c_void_p # backwards compatibility (to a bug)
255 _check_size(c_void_p)
271 _pointer_type_cache[None] = c_void_p
474 if sizeof(c_uint) == sizeof(c_void_p):
477 elif sizeof(c_ulong) == sizeof(c_void_p):
480 elif sizeof(c_ulonglong) == sizeof(c_void_p):
489 memmove = CFUNCTYPE(c_void_p, c_void_p, c_void_p, c_size_t)(_memmove_addr
    [all...]
wintypes.py 37 LPCVOID = LPVOID = c_void_p
41 if sizeof(c_long) == sizeof(c_void_p):
44 elif sizeof(c_longlong) == sizeof(c_void_p):
59 HANDLE = c_void_p # in the header files: void *
  /external/python/cpython3/Lib/ctypes/
__init__.py 238 return "%s(%s)" % (self.__class__.__name__, c_void_p.from_buffer(self).value)
241 class c_void_p(_SimpleCData): class in inherits:_SimpleCData
243 c_voidp = c_void_p # backwards compatibility (to a bug)
244 _check_size(c_void_p)
254 return "%s(%s)" % (self.__class__.__name__, c_void_p.from_buffer(self).value)
268 _pointer_type_cache[None] = c_void_p
461 if sizeof(c_uint) == sizeof(c_void_p):
464 elif sizeof(c_ulong) == sizeof(c_void_p):
467 elif sizeof(c_ulonglong) == sizeof(c_void_p):
476 memmove = CFUNCTYPE(c_void_p, c_void_p, c_void_p, c_size_t)(_memmove_addr
    [all...]
  /external/chromium-trace/catapult/third_party/pyserial/serial/
win32.py 16 return sizeof(c_ulong) != sizeof(c_void_p)
89 LPCVOID = c_void_p
95 LPVOID = c_void_p
228 PVOID = c_void_p

Completed in 74 milliseconds

1 2 3