| /third_party/libevdev/test/ |
| D | test-uinput.c | 24 const char *devnode; in START_TEST() local 42 devnode = libevdev_uinput_get_devnode(uidev); in START_TEST() 43 ck_assert(devnode != NULL); in START_TEST() 45 fd = open(devnode, O_RDONLY); in START_TEST() 104 const char *devnode; in START_TEST() local 123 devnode = libevdev_uinput_get_devnode(uidev); in START_TEST() 124 ck_assert(devnode != NULL); in START_TEST() 126 fd2 = open(devnode, O_RDONLY); in START_TEST() 155 const char *devnode, *devnode2; in START_TEST() local 180 devnode = libevdev_uinput_get_devnode(uidev); in START_TEST() [all …]
|
| D | test-common-uinput.c | 126 const char *devnode; in uinput_device_create() local 138 devnode = libevdev_uinput_get_devnode(d->uidev); in uinput_device_create() 139 if (devnode == NULL) in uinput_device_create() 142 d->dev_fd = open(devnode, O_RDWR); in uinput_device_create()
|
| /third_party/libinput/src/ |
| D | path-seat.c | 130 const char *devnode, *sysname; in path_seat_get_for_device() local 132 devnode = udev_device_get_devnode(udev_device); in path_seat_get_for_device() 149 devnode); in path_seat_get_for_device() 161 devnode); in path_seat_get_for_device() 181 const char *devnode, *sysname; in path_device_enable() local 183 devnode = udev_device_get_devnode(udev_device); in path_device_enable() 198 devnode); in path_device_enable() 204 devnode); in path_device_enable() 332 const char *devnode) in udev_device_from_devnode() argument 338 if (stat(devnode, &st) < 0) in udev_device_from_devnode() [all …]
|
| D | udev-seat.c | 82 const char *devnode, *sysname; in device_added() local 96 devnode = udev_device_get_devnode(udev_device); in device_added() 129 devnode); in device_added() 137 devnode); in device_added()
|
| D | evdev.c | 2296 const char *devnode = udev_device_get_devnode(udev_device); in evdev_device_create() local 2299 if (!devnode) { in evdev_device_create() 2312 fd = open_restricted(libinput, devnode, in evdev_device_create() 2318 devnode, in evdev_device_create() 2906 const char *devnode; in evdev_device_resume() local 2916 devnode = udev_device_get_devnode(device->udev_device); in evdev_device_resume() 2917 if (!devnode) in evdev_device_resume() 2920 fd = open_restricted(libinput, devnode, in evdev_device_resume() 3034 const char *devnode; in evdev_tablet_has_left_handed() local 3041 devnode = udev_device_get_devnode(device->udev_device); in evdev_tablet_has_left_handed() [all …]
|
| D | evdev-tablet.c | 2353 const char *devnode; in tablet_is_aes() local 2373 devnode = udev_device_get_devnode(device->udev_device); in tablet_is_aes() 2374 libwacom_device = libwacom_new_from_path(db, devnode, WFALLBACK_NONE, NULL); in tablet_is_aes()
|
| /third_party/libevdev/libevdev/ |
| D | libevdev-uinput.c | 187 uinput_dev->devnode = strdup(buf); in fetch_syspath_and_devnode() 202 char *devnode = NULL; in fetch_device_node() local 213 if (!devnode && asprintf(&devnode, "/dev/input/%s", namelist[i]->d_name) == -1) in fetch_device_node() 214 devnode = NULL; in fetch_device_node() 220 return devnode; in fetch_device_node() 241 uinput_dev->devnode = fetch_device_node(buf); in fetch_syspath_and_devnode() 296 uinput_dev->devnode = fetch_device_node(buf); in fetch_syspath_and_devnode() 304 return uinput_dev->devnode ? 0 : -1; in fetch_syspath_and_devnode() 448 free(uinput_dev->devnode); in libevdev_uinput_destroy() 462 return uinput_dev->devnode; in libevdev_uinput_get_devnode()
|
| D | libevdev-uinput-int.h | 11 char *devnode; /**< device node */ member
|
| /third_party/libinput/udev/ |
| D | libinput-fuzz-to-zero.c | 38 const char *devnode; in reset_absfuzz_to_zero() local 48 devnode = udev_device_get_devnode(device); in reset_absfuzz_to_zero() 49 if (!devnode) in reset_absfuzz_to_zero() 52 fd = open(devnode, O_RDWR); in reset_absfuzz_to_zero()
|
| D | libinput-fuzz-extract.c | 45 const char *devnode; in handle_absfuzz() local 55 devnode = udev_device_get_devnode(device); in handle_absfuzz() 56 if (!devnode) in handle_absfuzz() 59 fd = open(devnode, O_RDONLY); in handle_absfuzz()
|
| /third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/gbm/ |
| D | gstgl_gbm_utils.c | 480 const gchar *devnode = g_udev_device_get_device_file (gudevice); in gst_gl_gbm_find_and_open_drm_node() local 482 if ((devnode == NULL) || !g_str_has_prefix (devnode, "/dev/dri/card")) in gst_gl_gbm_find_and_open_drm_node() 485 GST_DEBUG ("Found DRM device with device node \"%s\"", devnode); in gst_gl_gbm_find_and_open_drm_node() 487 drm_fd = open (devnode, O_RDWR | O_CLOEXEC); in gst_gl_gbm_find_and_open_drm_node() 489 GST_WARNING ("Cannot open device node \"%s\": %s (%d)", devnode, in gst_gl_gbm_find_and_open_drm_node() 494 GST_DEBUG ("Device node \"%s\" is a valid DRM device node", devnode); in gst_gl_gbm_find_and_open_drm_node()
|
| /third_party/libinput/tools/ |
| D | libinput-replay.py | 86 udev_device = pyudev.Devices.from_device_file(context, uinput.devnode) 155 def print_events(devnode, indent, evs): argument 156 devnode = os.path.basename(devnode) 160 devnode, 227 print_events(uinput.devnode, device["__index"], evs) 262 print("{}: {}".format(uinput.devnode, uinput.name))
|
| D | libinput-replay | 101 def print_events(devnode, indent, evs): argument 102 devnode = os.path.basename(devnode) 105 devnode, ' ' * (indent * 8), e.sec, e.usec, e.type.name, e.code.name, e.value)) 141 print_events(uinput.devnode, device['__index'], evs) 176 print('{}: {}'.format(uinput.devnode, uinput.name))
|
| D | shared.c | 511 char *devnode = find_device("ID_INPUT_TOUCHPAD"); in find_touchpad_device() local 513 if (devnode) { in find_touchpad_device() 514 snprintf(path, path_len, "%s", devnode); in find_touchpad_device() 515 free(devnode); in find_touchpad_device() 518 return devnode != NULL; in find_touchpad_device() 522 is_touchpad_device(const char *devnode) in is_touchpad_device() argument 529 if (stat(devnode, &st) < 0) in is_touchpad_device()
|
| D | libinput-list-devices.c | 277 const char *devnode; in print_device_notify() local 288 devnode = udev_device_get_devnode(udev_device); in print_device_notify() 295 devnode, in print_device_notify()
|
| D | libinput-record.c | 80 char *devnode; /* device node of the source device */ member 1651 if (!strstartswith(dev->devnode, prefix)) in print_hid_report_descriptor() 1657 safe_basename(dev->devnode)); in print_hid_report_descriptor() 1700 if (stat(dev->devnode, &st) < 0) in print_udev_properties() 1765 if (stat(dev->devnode, &st) < 0) in print_device_quirks() 1851 iprintf(dev->fp, I_DEVICE, "- node: %s\n", dev->devnode); in print_device_description() 2377 d->devnode = safe_strdup(path); in init_device() 2381 fd = open(d->devnode, O_RDONLY|O_NONBLOCK); in init_device() 2385 d->devnode); in init_device() 2395 d->devnode, in init_device() [all …]
|
| D | libinput-debug-tablet.c | 248 const char *devnode; in handle_device_added() local 262 devnode = udev_device_get_devnode(udev_device); in handle_device_added() 263 if (devnode) { in handle_device_added() 264 int fd = open(devnode, O_RDONLY|O_NONBLOCK); in handle_device_added()
|
| D | shared.h | 127 bool is_touchpad_device(const char *devnode);
|
| /third_party/libinput/test/ |
| D | test-totem.c | 140 const char *devnode; in START_TEST() local 153 devnode = libevdev_uinput_get_devnode(dev->uinput); in START_TEST() 155 libinput_path_add_device(li, devnode); in START_TEST() 206 const char *devnode; in START_TEST() local 209 devnode = libevdev_uinput_get_devnode(dev->uinput); in START_TEST() 211 libinput_path_add_device(li, devnode); in START_TEST() 408 const char *devnode; in START_TEST() local 414 devnode = libevdev_uinput_get_devnode(dev->uinput); in START_TEST() 416 libinput_path_add_device(li, devnode); in START_TEST()
|
| D | litest.c | 274 const char *devnode; in grab_device() local 280 devnode = udev_device_get_devnode(udev_device); in grab_device() 288 if (streq(p->path, devnode)) { in grab_device() 296 devnode, mode ? "" : "un"); in grab_device() 3374 const char *devnode; in litest_create_uinput() local 3423 devnode = libevdev_uinput_get_devnode(uinput); in litest_create_uinput() 3424 litest_assert_notnull(devnode); in litest_create_uinput() 3425 fd = open(devnode, O_RDONLY); in litest_create_uinput()
|
| /third_party/gstreamer/gstplugins_good/sys/oss4/ |
| D | oss4-property-probe.c | 136 if (strcmp (ai.devnode, device_handle) == 0) { in gst_oss4_property_probe_find_device_name() 211 ai.devnode, ai.name); in gst_oss4_property_probe_get_audio_devices() 213 devices = g_list_prepend (devices, g_strdup (ai.devnode)); in gst_oss4_property_probe_get_audio_devices()
|
| D | oss4-soundcard.h | 1898 oss_devnode_t devnode; /* Device special file name (absolute path) */ member 1928 oss_devnode_t devnode; /* Device special file name (absolute path) */ member 1962 oss_devnode_t devnode; /* Device special file name (absolute path) */ member
|
| /third_party/libinput/doc/user/ |
| D | architecture.rst | 113 devnode [label="/dev/input/event0"] 121 devnode -> xdriver; 122 devnode -> libudev;
|
| /third_party/gstreamer/gstplugins_bad/sys/v4l2codecs/linux/ |
| D | media.h | 301 struct media_v2_intf_devnode devnode; member
|
| /third_party/gstreamer/gstplugins_bad/sys/v4l2codecs/ |
| D | gstv4l2codecdevice.c | 288 return &intf->devnode; in find_video_devnode()
|