Home
last modified time | relevance | path

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

123456

/dports/graphics/py-pyglet/pyglet-1.5.21/pyglet/input/
H A Ddarwin_hid.py53 iokit = load_library(framework='IOKit') variable
98 iokit.IOHIDDeviceClose.restype = IOReturn
111 iokit.IOHIDDeviceGetTypeID.argtypes = []
113 iokit.IOHIDDeviceGetValue.restype = IOReturn
116 iokit.IOHIDDeviceOpen.restype = IOReturn
165 iokit.IOHIDElementGetTypeID.argtypes = []
185 iokit.IOHIDElementIsArray.restype = c_bool
200 iokit.IOHIDManagerCreate.restype = c_void_p
207 iokit.IOHIDManagerGetTypeID.argtypes = []
224 iokit.IOHIDValueGetLength.restype = CFIndex
[all …]
/dports/graphics/py-pyglet150/pyglet-1.5.0/pyglet/input/
H A Ddarwin_hid.py100 iokit.IOHIDDeviceClose.restype = IOReturn
113 iokit.IOHIDDeviceGetTypeID.argtypes = []
115 iokit.IOHIDDeviceGetValue.restype = IOReturn
118 iokit.IOHIDDeviceOpen.restype = IOReturn
145 iokit.IOHIDElementGetName.restype = c_void_p
167 iokit.IOHIDElementGetTypeID.argtypes = []
187 iokit.IOHIDElementIsArray.restype = c_bool
202 iokit.IOHIDManagerCreate.restype = c_void_p
209 iokit.IOHIDManagerGetTypeID.argtypes = []
226 iokit.IOHIDValueGetLength.restype = CFIndex
[all …]
/dports/security/py-yubikey-manager/yubikey-manager-4.0.7/ykman/hid/
H A Dmacos.py93 iokit = ctypes.cdll.LoadLibrary( variable
119 iokit.IOObjectRelease.argtypes = [IO_OBJECT_T]
138 iokit.IOHIDDeviceClose.restype = IO_RETURN
142 iokit.IOHIDDeviceSetReport.restype = IO_RETURN
143 iokit.IOHIDDeviceSetReport.argtypes = [
150 iokit.IOHIDDeviceGetReport.restype = IO_RETURN
151 iokit.IOHIDDeviceGetReport.argtypes = [
180 iokit.IOObjectRelease(device_entry)
196 result = iokit.IOHIDDeviceGetReport(
212 result = iokit.IOHIDDeviceSetReport(
[all …]
/dports/security/py-fido2/fido2-0.9.2/fido2/hid/
H A Dmacos.py124 iokit = ctypes.cdll.LoadLibrary( variable
164 iokit.IOObjectRelease.argtypes = [IO_OBJECT_T]
183 iokit.IOHIDDeviceClose.restype = IO_RETURN
186 iokit.IOHIDDeviceScheduleWithRunLoop.argtypes = [
199 iokit.IOHIDDeviceSetReport.restype = IO_RETURN
200 iokit.IOHIDDeviceSetReport.argtypes = [
249 iokit.IOHIDDeviceScheduleWithRunLoop(
253 iokit.IOHIDDeviceRegisterRemovalCallback(
267 iokit.IOHIDDeviceUnscheduleFromRunLoop(
308 result = iokit.IOHIDDeviceSetReport(
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/pyserial/serial/tools/
H A Dlist_ports_osx.py36 iokit.IOServiceMatching.restype = ctypes.c_void_p
47 iokit.IORegistryEntryGetPath.restype = ctypes.c_void_p
50 iokit.IORegistryEntryGetName.restype = ctypes.c_void_p
53 iokit.IOObjectGetClass.restype = ctypes.c_void_p
55 iokit.IOObjectRelease.argtypes = [ctypes.c_void_p]
80 CFContainer = iokit.IORegistryEntryCreateCFProperty(
123 iokit.IOObjectGetClass(
138 response = iokit.IORegistryEntryGetParentEntry(
157 response = iokit.IOServiceGetMatchingServices(
159 iokit.IOServiceMatching(service_type),
[all …]
/dports/net/google-cloud-sdk/google-cloud-sdk/platform/bq/third_party/pyu2f/hid/
H A Dmacos.py147 iokit.IOObjectRelease.argtypes = [IO_OBJECT_T]
149 iokit.IOHIDManagerCopyDevices.restype = CF_SET_REF
151 iokit.IOHIDManagerSetDeviceMatching.restype = None
154 iokit.IOHIDDeviceGetProperty.restype = CF_TYPE_REF
162 iokit.IOHIDDeviceCreate.restype = IO_HID_DEVICE_REF
172 iokit.IOHIDDeviceSetReport.restype = IO_RETURN
318 hid_mgr = iokit.IOHIDManagerCreate(None, None)
328 num = iokit.CFSetGetCount(device_set_ref)
330 iokit.CFSetGetValues(device_set_ref, devices)
365 iokit.IOObjectRelease(device_entry)
[all …]
/dports/net/google-cloud-sdk/google-cloud-sdk/lib/third_party/pyu2f/hid/
H A Dmacos.py146 iokit.IOObjectRelease.argtypes = [IO_OBJECT_T]
148 iokit.IOHIDManagerCopyDevices.restype = CF_SET_REF
150 iokit.IOHIDManagerSetDeviceMatching.restype = None
153 iokit.IOHIDDeviceGetProperty.restype = CF_TYPE_REF
161 iokit.IOHIDDeviceCreate.restype = IO_HID_DEVICE_REF
171 iokit.IOHIDDeviceSetReport.restype = IO_RETURN
317 hid_mgr = iokit.IOHIDManagerCreate(None, None)
327 num = iokit.CFSetGetCount(device_set_ref)
329 iokit.CFSetGetValues(device_set_ref, devices)
364 iokit.IOObjectRelease(device_entry)
[all …]
/dports/net/google-cloud-sdk/google-cloud-sdk/platform/gsutil/third_party/pyu2f/pyu2f/hid/
H A Dmacos.py146 iokit.IOObjectRelease.argtypes = [IO_OBJECT_T]
148 iokit.IOHIDManagerCopyDevices.restype = CF_SET_REF
150 iokit.IOHIDManagerSetDeviceMatching.restype = None
153 iokit.IOHIDDeviceGetProperty.restype = CF_TYPE_REF
161 iokit.IOHIDDeviceCreate.restype = IO_HID_DEVICE_REF
171 iokit.IOHIDDeviceSetReport.restype = IO_RETURN
317 hid_mgr = iokit.IOHIDManagerCreate(None, None)
327 num = iokit.CFSetGetCount(device_set_ref)
329 iokit.CFSetGetValues(device_set_ref, devices)
364 iokit.IOObjectRelease(device_entry)
[all …]
/dports/net/py-pyu2f/pyu2f-0.1.5/pyu2f/hid/
H A Dmacos.py146 iokit.IOObjectRelease.argtypes = [IO_OBJECT_T]
148 iokit.IOHIDManagerCopyDevices.restype = CF_SET_REF
150 iokit.IOHIDManagerSetDeviceMatching.restype = None
153 iokit.IOHIDDeviceGetProperty.restype = CF_TYPE_REF
161 iokit.IOHIDDeviceCreate.restype = IO_HID_DEVICE_REF
171 iokit.IOHIDDeviceSetReport.restype = IO_RETURN
317 hid_mgr = iokit.IOHIDManagerCreate(None, None)
327 num = iokit.CFSetGetCount(device_set_ref)
329 iokit.CFSetGetValues(device_set_ref, devices)
364 iokit.IOObjectRelease(device_entry)
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/gsutil/third_party/pyu2f/pyu2f/hid/
H A Dmacos.py146 iokit.IOObjectRelease.argtypes = [IO_OBJECT_T]
148 iokit.IOHIDManagerCopyDevices.restype = CF_SET_REF
150 iokit.IOHIDManagerSetDeviceMatching.restype = None
153 iokit.IOHIDDeviceGetProperty.restype = CF_TYPE_REF
161 iokit.IOHIDDeviceCreate.restype = IO_HID_DEVICE_REF
171 iokit.IOHIDDeviceSetReport.restype = IO_RETURN
317 hid_mgr = iokit.IOHIDManagerCreate(None, None)
327 num = iokit.CFSetGetCount(device_set_ref)
329 iokit.CFSetGetValues(device_set_ref, devices)
364 iokit.IOObjectRelease(device_entry)
[all …]
/dports/comms/py-pyserial/pyserial-3.5/serial/tools/
H A Dlist_ports_osx.py53 iokit.IOServiceMatching.restype = ctypes.c_void_p
56 iokit.IOServiceGetMatchingServices.restype = kern_return_t
59 iokit.IOServiceGetMatchingServices.restype = kern_return_t
65 iokit.IORegistryEntryGetPath.restype = kern_return_t
68 iokit.IORegistryEntryGetName.restype = kern_return_t
71 iokit.IOObjectGetClass.restype = kern_return_t
73 iokit.IOObjectRelease.argtypes = [ctypes.c_void_p]
112 CFContainer = iokit.IORegistryEntryCreateCFProperty(
186 response = iokit.IORegistryEntryGetParentEntry(
203 iokit.IOServiceGetMatchingServices(
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/services/service_manager/sandbox/mac/
H A Dgpu_v2.sb39 (allow iokit-open
40 (iokit-connection "IOAccelerator")
41 (iokit-user-client-class "AGPMClient")
55 (allow iokit-set-properties
56 (require-all (iokit-connection "IODisplay")
57 (require-any (iokit-property "brightness")
58 (iokit-property "linear-brightness")
59 (iokit-property "commit")
60 (iokit-property "rgcs")
61 (iokit-property "ggcs")
[all …]
H A Drenderer.sb66 (allow iokit-open
89 (allow iokit-get-properties
90 (iokit-property "CaseSensitive")
91 (iokit-property "CoreStorage Encrypted")
92 (iokit-property "Ejectable")
93 (iokit-property "Encrypted")
94 (iokit-property "IOClassNameOverride")
95 (iokit-property "IOMediaIcon")
96 (iokit-property "Product Identification")
98 (iokit-property "Removable")
[all …]
H A Dgpu.sb29 (if (not (defined? 'iokit-registry-entry-class))
30 (define iokit-registry-entry-class iokit-user-client-class))
76 (allow iokit-open
77 (iokit-connection "IOAccelerator")
78 (iokit-user-client-class "IOAccelerationUserClient")
80 (iokit-user-client-class "AppleGraphicsControlClient")
81 (iokit-user-client-class "AGPMClient")
82 (iokit-user-client-class "IOHIDParamUserClient")
83 (iokit-user-client-class "RootDomainUserClient")
84 (iokit-user-client-class "IOSurfaceRootUserClient")
[all …]
H A Dnacl_loader.sb18 (allow iokit-get-properties
19 (iokit-registry-entry-class "IORegisterForSystemPower"))
21 (allow iokit-open
22 (iokit-user-client-class "IOSurfaceSendRight")
23 (iokit-user-client-class "RootDomainUserClient")
/dports/net/google-cloud-sdk/google-cloud-sdk/platform/gsutil/third_party/pyu2f/pyu2f/tests/hid/
H A Dmacos_test.py51 @mock.patch.multiple(macos, iokit=mock.DEFAULT, cf=mock.DEFAULT,
54 init_mock_iokit(iokit)
64 @mock.patch.multiple(macos, iokit=mock.DEFAULT, cf=mock.DEFAULT,
67 init_mock_iokit(iokit)
80 set_report_call_args = iokit.IOHIDDeviceSetReport.call_args
83 set_report_call_pos_args = iokit.IOHIDDeviceSetReport.call_args[0]
97 @mock.patch.multiple(macos, iokit=mock.DEFAULT, cf=mock.DEFAULT,
100 init_mock_iokit(iokit)
105 iokit.IOHIDDeviceSetReport.return_value = -1
117 @mock.patch.multiple(macos, iokit=mock.DEFAULT, cf=mock.DEFAULT,
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/gsutil/third_party/pyu2f/pyu2f/tests/hid/
H A Dmacos_test.py51 @mock.patch.multiple(macos, iokit=mock.DEFAULT, cf=mock.DEFAULT,
54 init_mock_iokit(iokit)
64 @mock.patch.multiple(macos, iokit=mock.DEFAULT, cf=mock.DEFAULT,
67 init_mock_iokit(iokit)
80 set_report_call_args = iokit.IOHIDDeviceSetReport.call_args
83 set_report_call_pos_args = iokit.IOHIDDeviceSetReport.call_args[0]
97 @mock.patch.multiple(macos, iokit=mock.DEFAULT, cf=mock.DEFAULT,
100 init_mock_iokit(iokit)
105 iokit.IOHIDDeviceSetReport.return_value = -1
117 @mock.patch.multiple(macos, iokit=mock.DEFAULT, cf=mock.DEFAULT,
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/sandbox/policy/mac/
H A Dgpu_v2.sb32 (deny iokit-open (with send-signal SIGTRAP))
90 (allow iokit-open
91 (iokit-connection "IOAccelerator")
92 (iokit-user-client-class "AGPMClient")
106 (allow iokit-set-properties
107 (require-all (iokit-connection "IODisplay")
109 (iokit-property "linear-brightness")
110 (iokit-property "commit")
111 (iokit-property "rgcs")
112 (iokit-property "ggcs")
[all …]
H A Drenderer.sb66 (allow iokit-open
89 (allow iokit-get-properties
90 (iokit-property "CaseSensitive")
91 (iokit-property "CoreStorage Encrypted")
92 (iokit-property "Ejectable")
93 (iokit-property "Encrypted")
94 (iokit-property "IOClassNameOverride")
95 (iokit-property "IOMediaIcon")
96 (iokit-property "Product Identification")
98 (iokit-property "Removable")
[all …]
H A Dgpu.sb29 (if (not (defined? 'iokit-registry-entry-class))
30 (define iokit-registry-entry-class iokit-user-client-class))
76 (allow iokit-open
77 (iokit-connection "IOAccelerator")
78 (iokit-user-client-class "IOAccelerationUserClient")
80 (iokit-user-client-class "AppleGraphicsControlClient")
81 (iokit-user-client-class "AGPMClient")
82 (iokit-user-client-class "IOHIDParamUserClient")
83 (iokit-user-client-class "RootDomainUserClient")
84 (iokit-user-client-class "IOSurfaceRootUserClient")
[all …]
H A Dnacl_loader.sb18 (allow iokit-get-properties
19 (iokit-registry-entry-class "IORegisterForSystemPower"))
21 (allow iokit-open
22 (iokit-user-client-class "IOSurfaceSendRight")
23 (iokit-user-client-class "RootDomainUserClient")
/dports/security/hashcat/hashcat-6.2.5/src/
H A Dext_iokit.c136 IOKIT_PTR *iokit = hwmon_ctx->hm_iokit; in hm_IOKIT_SMCGetSensorGraphicHot() local
164 IOKIT_PTR *iokit = hwmon_ctx->hm_iokit; in hm_IOKIT_SMCGetTemperature() local
170 if (hm_IOKIT_SMCReadKey (key, &val, iokit->conn) == kIOReturnSuccess) in hm_IOKIT_SMCGetTemperature()
230 IOKIT_PTR *iokit = hwmon_ctx->hm_iokit; in hm_IOKIT_get_fan_speed_current() local
238 if (hm_IOKIT_SMCReadKey ("FNum", &val, iokit->conn) == kIOReturnSuccess) in hm_IOKIT_get_fan_speed_current()
254 hm_IOKIT_SMCGetFanRPM (key, iokit->conn, &actual_speed); in hm_IOKIT_get_fan_speed_current()
259 hm_IOKIT_SMCGetFanRPM (key, iokit->conn, &maximum_speed); in hm_IOKIT_get_fan_speed_current()
281 IOKIT_PTR *iokit = hwmon_ctx->hm_iokit; in iokit_init() local
283 memset (iokit, 0, sizeof (IOKIT_PTR)); in iokit_init()
298 IOKIT_PTR *iokit = hwmon_ctx->hm_iokit; in iokit_close() local
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/security/sandbox/mac/
H A DSandbox.mm128 "(allow iokit-open (iokit-user-client-class \"IOHIDParamUserClient\"))\n"
252 " (allow iokit-set-properties (iokit-property \"IOAudioControlValue\"))\n"
286 " (allow iokit-open\n"
290 " (iokit-user-client-class \"IGAccelDevice\")\n"
291 " (iokit-user-client-class \"nvDevice\")\n"
293 " (iokit-user-client-class \"nvFermiGLContext\")\n"
381 " (allow iokit-open\n"
382 " (iokit-connection \"IOAccelerator\")\n"
388 " (iokit-user-client-class \"AGPMClient\")\n"
393 " (allow iokit-open\n"
[all …]
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/WebKit2/WebProcess/
H A Dcom.apple.WebProcess.sb124 (allow iokit-open
125 (iokit-connection "IOAccelerator")
126 (iokit-user-client-class "IOAccelerationUserClient")
128 (iokit-user-client-class "AppleGraphicsControlClient")
129 (iokit-user-client-class "AGPMClient")
130 (iokit-user-client-class "IOHIDParamUserClient")
131 (iokit-user-client-class "RootDomainUserClient")
132 (iokit-user-client-class "IOSurfaceRootUserClient")
133 (iokit-user-client-class "IOSurfaceSendRight")
134 (iokit-user-client-class "IOAudioControlUserClient")
[all …]
/dports/astro/py-skyfield/skyfield-1.41/skyfield/tests/
H A Dtest_io_parsing.py4 from skyfield import iokit
7 from skyfield.iokit import parse_tle
23 data = iokit.parse_deltat_preds(lines)
42 data = iokit.parse_deltat_preds(lines)

123456