/third_party/libevdev/test/ |
D | test-uinput.c | 205 const char *syspath; in START_TEST() local 223 syspath = libevdev_uinput_get_syspath(uidev); in START_TEST() 225 ck_assert(syspath == NULL); in START_TEST() 241 const char *syspath, *syspath2; 273 syspath = libevdev_uinput_get_syspath(uidev); 274 ck_assert(syspath != NULL); 278 ck_assert(syspath == syspath2); 282 ck_assert(strcmp(syspath, syspath2) != 0); 297 const char *syspath, *syspath2; 322 syspath = libevdev_uinput_get_syspath(uidev); [all …]
|
D | test-common-uinput.h | 31 char *uinput_devnode_from_syspath(const char *syspath);
|
/third_party/libinput/src/ |
D | udev-seat.c | 57 const char *syspath; in filter_duplicates() local 64 syspath = udev_device_get_syspath(ud); in filter_duplicates() 65 if (syspath && new_syspath && streq(syspath, new_syspath)) in filter_duplicates() 154 const char *syspath; in device_removed() local 156 syspath = udev_device_get_syspath(udev_device); in device_removed() 160 if (streq(syspath, in device_removed()
|
D | evdev-tablet-pad-leds.c | 197 const char *syspath) in pad_group_new() argument 210 led = pad_led_new(libinput, syspath, group_index, nleds); in pad_group_new() 282 char syspath[PATH_MAX]; in pad_init_led_groups() local 290 if (!pad_led_get_sysfs_base_path(device, syspath, sizeof(syspath))) in pad_init_led_groups() 302 group = pad_group_new(pad, i, nmodes, syspath); in pad_init_led_groups() 309 group = pad_group_new(pad, i, nmodes, syspath); in pad_init_led_groups() 316 group = pad_group_new(pad, i, nmodes, syspath); in pad_init_led_groups() 324 group = pad_group_new(pad, i, nmodes, syspath); in pad_init_led_groups()
|
D | quirks.c | 371 const char *syspath = "/sys/devices/virtual/dmi/id"; in init_dmi_linux() local 377 udev_device = udev_device_new_from_syspath(udev, syspath); in init_dmi_linux() 471 const char *syspath = "/sys/firmware/devicetree/base/compatible"; in init_dt() local 477 fp = fopen(syspath, "r"); in init_dt()
|
/third_party/libinput/udev/ |
D | libinput-fuzz-to-zero.c | 86 const char *syspath; in main() local 91 syspath = argv[1]; in main() 97 device = udev_device_new_from_syspath(udev, syspath); in main()
|
D | libinput-fuzz-extract.c | 119 const char *syspath; in main() local 124 syspath = argv[1]; in main() 130 device = udev_device_new_from_syspath(udev, syspath); in main()
|
D | libinput-device-group.c | 157 const char *syspath, in main() local 167 syspath = argv[1]; in main() 173 device = udev_device_new_from_syspath(udev, syspath); in main()
|
/third_party/libevdev/libevdev/ |
D | libevdev-uinput.c | 186 uinput_dev->syspath = NULL; in fetch_syspath_and_devnode() 240 uinput_dev->syspath = strdup(buf); in fetch_syspath_and_devnode() 280 if (uinput_dev->syspath) { in fetch_syspath_and_devnode() 295 uinput_dev->syspath = strdup(buf); in fetch_syspath_and_devnode() 447 free(uinput_dev->syspath); in libevdev_uinput_destroy() 456 return uinput_dev->syspath; in libevdev_uinput_get_syspath()
|
D | libevdev-uinput-int.h | 10 char *syspath; /**< /sys path */ member
|
/third_party/musl/tools/api_cmp_tool/ |
D | compare.py | 177 syspath = ccsyspath.system_include_paths('clang') 178 incargs = [b'-I' + inc for inc in syspath] 185 syspath = ccsyspath.system_include_paths('clang++') 186 incargs = [b'-I' + inc for inc in syspath]
|
/third_party/python/Python/ |
D | traceback.c | 302 PyObject *syspath; in _Py_FindSourceFile() local 325 syspath = _PySys_GetObjectId(&PyId_path); in _Py_FindSourceFile() 326 if (syspath == NULL || !PyList_Check(syspath)) in _Py_FindSourceFile() 328 npath = PyList_Size(syspath); in _Py_FindSourceFile() 331 v = PyList_GetItem(syspath, i); in _Py_FindSourceFile()
|
/third_party/libinput/tools/ |
D | libinput-measure-fuzz.py | 311 syspath = device.path.replace("/dev/input/", "/sys/class/input/") 313 print("Running udevadm trigger {}".format(syspath)) 314 subprocess.run(["udevadm", "trigger", syspath], check=True)
|
D | libinput-record.c | 1641 char syspath[PATH_MAX]; in print_hid_report_descriptor() local 1654 len = snprintf(syspath, in print_hid_report_descriptor() 1655 sizeof(syspath), in print_hid_report_descriptor() 1661 fd = open(syspath, O_RDONLY); in print_hid_report_descriptor() 2485 char syspath[PATH_MAX]; in init_hidraw() local 2489 snprintf(syspath, in init_hidraw() 2490 sizeof(syspath), in init_hidraw() 2493 dir = opendir(syspath); in init_hidraw()
|
/third_party/python/Lib/test/ |
D | test_pkg.py | 51 self.syspath = list(sys.path) 55 sys.path[:] = self.syspath
|
/third_party/gstreamer/gstplugins_good/sys/v4l2/ |
D | gstv4l2deviceprovider.c | 305 gstdev->syspath = g_strdup (g_udev_device_get_sysfs_path (udev_device)); in gst_v4l2_device_provider_device_from_udev() 335 if (!strcmp (gstdev->syspath, g_udev_device_get_sysfs_path (device))) { in uevent_cb() 515 g_free (device->syspath); in gst_v4l2_device_finalize()
|
D | gstv4l2deviceprovider.h | 89 gchar *syspath; member
|
/third_party/libuv/test/ |
D | test-spawn.c | 1675 char* syspath = getenv("PATH"); in TEST_IMPL() local 1676 if (syspath != NULL) { in TEST_IMPL() 1678 strcat(path, syspath); in TEST_IMPL()
|
/third_party/libinput/test/ |
D | litest.c | 1883 const char *syspath) in udev_wait_for_device_event() argument 1901 if (udev_syspath && strstartswith(udev_syspath, syspath)) in udev_wait_for_device_event() 3465 const char *syspath; in litest_create_uinput_device_from_description() local 3475 syspath = libevdev_uinput_get_syspath(uinput); in litest_create_uinput_device_from_description() 3476 snprintf(path, sizeof(path), "%s/event", syspath); in litest_create_uinput_device_from_description()
|
/third_party/python/Lib/test/test_import/ |
D | __init__.py | 699 self.syspath = sys.path[:] 703 sys.path[:] = self.syspath
|
/third_party/libinput/doc/user/ |
D | device-configuration-via-udev.rst | 202 Note the event node name for your device and translate it into a syspath in
|
/third_party/libevdev/ |
D | third_party_libevdev.diff | 18538 <p>Return the syspath representing this uinput device. </p> 18541 …<p>The syspath returned is the one of the input node itself (e.g. /sys/devices/virtual/input/input… 18966 …h(struct libevdev_uinput *uinput_dev)</div><div class="ttdoc">Return the syspath representing this… 18972 …h(struct libevdev_uinput *uinput_dev)</div><div class="ttdoc">Return the syspath representing this… 23123 * Set libevdev_uinput->syspath to NULL unconditionally. 23226 * Return the syspath representing this uinput device. If the UI_GET_SYSNAME 23231 * The syspath returned is the one of the input node itself 23245 * syspath and the device node. See libevdev_uinput_get_syspath() for details. 25420 +char *uinput_devnode_from_syspath(const char *syspath); 31231 + /* get syspath twice returns same pointer */ [all …]
|