Home
last modified time | relevance | path

Searched refs:iokit (Results 1 – 1 of 1) sorted by relevance

/external/chromium-trace/catapult/third_party/pyserial/serial/tools/
Dlist_ports_osx.py28 iokit = ctypes.cdll.LoadLibrary(ctypes.util.find_library('IOKit')) variable
31 kIOMasterPortDefault = ctypes.c_void_p.in_dll(iokit, "kIOMasterPortDefault")
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]
43 iokit.IORegistryEntryCreateCFProperty.argtypes = [ctypes.c_void_p, ctypes.c_void_p, ctypes.c_void_p…
44 iokit.IORegistryEntryCreateCFProperty.restype = ctypes.c_void_p
46 iokit.IORegistryEntryGetPath.argtypes = [ctypes.c_void_p, ctypes.c_void_p, ctypes.c_void_p]
47 iokit.IORegistryEntryGetPath.restype = ctypes.c_void_p
[all …]