Home
last modified time | relevance | path

Searched +defs:device +defs:path (Results 1 – 25 of 97) sorted by relevance

1234

/third_party/libinput/test/
Dtest-path.c43 open_restricted_count(const char *path, int flags, void *data) in open_restricted_count()
69 open_restricted(const char *path, int flags, void *data) in open_restricted()
108 struct libinput_device *device; in START_TEST() local
109 const char *path = "/tmp"; in START_TEST() local
135 struct libinput_device *device; in START_TEST() local
136 const char *path = "/dev/uinput"; in START_TEST() local
162 struct libinput_device *device; in START_TEST() local
163 char path[] = "/tmp/litest_path_XXXXXX"; in START_TEST() local
196 struct libinput_device *device; in START_TEST() local
197 char *path; in START_TEST() local
[all …]
Dtest-udev.c36 static int open_restricted(const char *path, int flags, void *data) in open_restricted()
183 struct libinput_device *device; in START_TEST() local
225 struct libinput_device *device; in START_TEST() local
466 struct libinput_device *device; in START_TEST() local
505 struct libinput_device *device; in START_TEST() local
579 struct libinput_device *device; in START_TEST() local
602 struct libinput_device *device; in START_TEST() local
633 struct libinput_device *device; in START_TEST() local
/third_party/flutter/skia/infra/bots/recipe_modules/flavor/
Dios.py67 def copy_file_to_device(self, host, device): argument
70 def copy_directory_contents_to_device(self, host, device): argument
73 def copy_directory_contents_to_host(self, device, host): argument
76 def remove_file_on_device(self, path): argument
79 def create_clean_device_dir(self, path): argument
83 def read_file_on_device(self, path, **kwargs): argument
Dandroid.py526 def copy_file_to_device(self, host, device): argument
529 def copy_directory_contents_to_device(self, host, device): argument
549 def copy_directory_contents_to_host(self, device, host): argument
563 def read_file_on_device(self, path, **kwargs): argument
569 def remove_file_on_device(self, path): argument
572 def create_clean_device_dir(self, path): argument
Dchromecast.py75 def create_clean_device_dir(self, path): argument
80 def copy_directory_contents_to_device(self, host, device): argument
/third_party/skia/infra/bots/recipe_modules/flavor/
Dios.py142 def copy_file_to_device(self, host, device): argument
145 def copy_directory_contents_to_device(self, host, device): argument
148 def copy_directory_contents_to_host(self, device, host): argument
151 def remove_file_on_device(self, path): argument
154 def create_clean_device_dir(self, path): argument
158 def read_file_on_device(self, path, **kwargs): argument
Dandroid.py537 def copy_file_to_device(self, host, device): argument
540 def copy_directory_contents_to_device(self, host, device): argument
547 def copy_directory_contents_to_host(self, device, host): argument
561 def read_file_on_device(self, path, **kwargs): argument
567 def remove_file_on_device(self, path): argument
598 def create_clean_device_dir(self, path): argument
/third_party/libinput/tools/
Dlibinput-measure-fuzz.py81 def __init__(self, path): argument
186 def handle_existing_entry(device, fuzz): argument
306 def reload_and_trigger_udev(device): argument
318 def test_hwdb_entry(device, fuzz): argument
346 def check_file_for_lines(path, template): argument
374 def write_udev_rule(device, fuzz): argument
Dshared.c275 open_restricted(const char *path, int flags, void *user_data) in open_restricted()
337 struct libinput_device *device; in tools_open_device() local
401 tools_device_apply_config(struct libinput_device *device, in tools_device_apply_config()
469 struct udev_device *device; in find_device() local
470 const char *path, *sysname; in find_device() local
509 find_touchpad_device(char *path, size_t path_len) in find_touchpad_device()
552 const char *path = getenv("PATH"); in setup_path() local
661 struct udev_device *device, in tools_list_device_quirks()
Dlibinput-measure-touchpad-pressure.py110 def __init__(self, device, tracking_id): argument
213 def __init__(self, path): argument
288 def handle_key(device, event): argument
302 def handle_abs(device, event): argument
326 def handle_event(device, event): argument
333 def loop(device): argument
Dlibinput-quirks.c98 struct udev_device *device = NULL; in main() local
99 const char *path; in main() local
/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvadevice.c37 gst_va_device_free (GstVaDevice * device) in gst_va_device_free()
47 GstVaDevice *device = g_new0 (GstVaDevice, 1); in gst_va_device_new() local
81 const gchar *path = g_udev_device_get_device_file (udev); in gst_va_device_find_devices() local
108 gchar path[64]; in gst_va_device_find_devices() local
/third_party/pulseaudio/src/modules/
Dmodule-udev-detect.c52 struct device { struct
53 char *path; member
64 pa_hashmap *devices; argument
106 static const char *path_get_card_id(const char *path) { in path_get_card_id()
376 const char *path; in card_changed() local
485 static void process_path(struct userdata *u, const char *path) { in process_path()
/third_party/mesa3d/src/amd/vulkan/
Dradv_meta.c421 struct radv_device *device = _device; in meta_alloc() local
430 struct radv_device *device = _device; in meta_realloc() local
438 struct radv_device *device = _device; in meta_free() local
444 radv_builtin_cache_path(char *path) in radv_builtin_cache_path()
473 radv_load_meta_pipeline(struct radv_device *device) in radv_load_meta_pipeline()
506 radv_store_meta_pipeline(struct radv_device *device) in radv_store_meta_pipeline()
509 char path[PATH_MAX + 1], path2[PATH_MAX + 7]; in radv_store_meta_pipeline() local
549 radv_device_init_meta(struct radv_device *device) in radv_device_init_meta()
682 radv_device_finish_meta(struct radv_device *device) in radv_device_finish_meta()
Dradv_debug.c67 radv_init_trace(struct radv_device *device) in radv_init_trace()
93 radv_finish_trace(struct radv_device *device) in radv_finish_trace()
104 radv_dump_trace(struct radv_device *device, struct radeon_cmdbuf *cs, FILE *f) in radv_dump_trace()
111 radv_dump_mmapped_reg(struct radv_device *device, FILE *f, unsigned offset) in radv_dump_mmapped_reg()
121 radv_dump_debug_registers(struct radv_device *device, FILE *f) in radv_dump_debug_registers()
194 radv_dump_descriptor_set(struct radv_device *device, struct radv_descriptor_set *set, unsigned id, in radv_dump_descriptor_set()
242 radv_dump_descriptors(struct radv_device *device, FILE *f) in radv_dump_descriptors()
492 radv_get_saved_vs_prolog(struct radv_device *device) in radv_get_saved_vs_prolog()
512 radv_get_saved_pipeline(struct radv_device *device, enum amd_ip_type ring) in radv_get_saved_pipeline()
573 radv_dump_enabled_options(struct radv_device *device, FILE *f) in radv_dump_enabled_options()
[all …]
/third_party/pulseaudio/src/modules/bluetooth/
Dbluez5-util.c141 …_transport *pa_bluetooth_transport_new(pa_bluetooth_device *d, const char *owner, const char *path, in pa_bluetooth_transport_new()
173 static bool device_supports_profile(pa_bluetooth_device *device, pa_bluetooth_profile_t profile) { in device_supports_profile()
193 static bool device_is_profile_connected(pa_bluetooth_device *device, pa_bluetooth_profile_t profile… in device_is_profile_connected()
200 static unsigned device_count_disconnected_profiles(pa_bluetooth_device *device) { in device_count_disconnected_profiles()
215 static void device_stop_waiting_for_profiles(pa_bluetooth_device *device) { in device_stop_waiting_for_profiles()
224 pa_bluetooth_device *device = userdata; in wait_for_profiles_cb() local
256 static void device_start_waiting_for_profiles(pa_bluetooth_device *device) { in device_start_waiting_for_profiles()
513 static pa_bluetooth_device* device_create(pa_bluetooth_discovery *y, const char *path) { in device_create()
529 …th_device* pa_bluetooth_discovery_get_device_by_path(pa_bluetooth_discovery *y, const char *path) { in pa_bluetooth_discovery_get_device_by_path()
586 static void device_remove(pa_bluetooth_discovery *y, const char *path) { in device_remove()
[all …]
/third_party/libinput/udev/
Dlibinput-device-group.c37 wacom_handle_paired(struct udev_device *device, in wacom_handle_paired()
95 wacom_handle_ekr(struct udev_device *device, in wacom_handle_ekr()
113 const char *path, *phys; in wacom_handle_ekr() local
156 struct udev_device *device = NULL; in main() local
/third_party/libinput/src/
Dudev-seat.c49 struct libinput_device *device; in filter_duplicates() local
81 struct evdev_device *device; in device_added() local
152 struct evdev_device *device; in device_removed() local
174 struct udev_device *device; in udev_input_add_devices() local
175 const char *path, *sysname; in udev_input_add_devices() local
246 struct evdev_device *device; in udev_input_remove_devices() local
373 udev_device_change_seat(struct libinput_device *device, in udev_device_change_seat()
Dpath-seat.c52 path_disable_device(struct evdev_device *device) in path_disable_device()
72 struct evdev_device *device; in path_input_disable() local
179 struct evdev_device *device = NULL; in path_device_enable() local
260 struct libinput_device *device; in path_create_device() local
276 path_device_change_seat(struct libinput_device *device, in path_device_change_seat()
361 const char *path) in libinput_path_add_device()
366 struct libinput_device *device; in libinput_path_add_device() local
404 libinput_path_remove_device(struct libinput_device *device) in libinput_path_remove_device()
Devdev-tablet-pad-leds.c116 char path[PATH_MAX]; in pad_led_new() local
187 is_litest_device(struct evdev_device *device) in is_litest_device()
238 pad_led_get_sysfs_base_path(struct evdev_device *device, in pad_led_get_sysfs_base_path()
275 struct evdev_device *device, in pad_init_led_groups()
489 struct evdev_device *device) in pad_init_leds_from_libwacom()
554 struct evdev_device *device) in pad_init_leds()
606 evdev_device_tablet_pad_get_num_mode_groups(struct evdev_device *device) in evdev_device_tablet_pad_get_num_mode_groups()
622 evdev_device_tablet_pad_get_mode_group(struct evdev_device *device, in evdev_device_tablet_pad_get_mode_group()
/third_party/mesa3d/src/loader/
Dloader.c172 drmDevicePtr devices[MAX_DRM_DEVICES], device; in loader_open_render_node() local
215 loader_get_render_node(dev_t device) in loader_get_render_node()
285 static char *drm_construct_id_path_tag(drmDevicePtr device) in drm_construct_id_path_tag()
328 static bool drm_device_matches_tag(drmDevicePtr device, const char *prime_tag) in drm_device_matches_tag()
344 drmDevicePtr device; in drm_get_id_path_tag_for_fd() local
436 loader_get_render_node(dev_t device) in loader_get_render_node()
453 drmDevicePtr device; in drm_get_pci_id_for_fd() local
476 char path[PATH_MAX + 1]; in loader_get_linux_pci_field() local
642 char path[PATH_MAX]; in loader_open_driver_lib() local
/third_party/alsa-lib/src/mixer/
Dsimple_abst.c46 char *device; member
68 char *xlib, *path, errbuf[256]; in try_open() local
111 const char *lib, const char *device) in try_open_full()
116 char *xlib, *path, errbuf[256]; in try_open_full() local
177 snd_config_t *top, const char *device) in find_full()
/third_party/ltp/testcases/kernel/syscalls/mount/
Dmount02.c57 static char path[PATH_MAX + 2]; variable
62 static const char *device; variable
76 const char **device; member
/third_party/libdrm/tests/amdgpu/
Damdgpu_test.c404 drmDevicePtr device; in amdgpu_print_devices() local
459 drmDevicePtr device; in amdgpu_find_device() local
613 char path[64]; in amdgpu_node_is_drm() local
638 char path[PATH_MAX + 1]; in amdgpu_get_device_from_fd() local
/third_party/ltp/lib/
Dtst_device.c58 static int set_dev_path(int dev, char *path, size_t path_len) in set_dev_path()
73 int tst_find_free_loopdev(char *path, size_t path_len) in tst_find_free_loopdev()
329 const char *device; in tst_acquire_device_() local
381 int tst_umount(const char *path) in tst_umount()
415 int tst_is_mounted(const char *path) in tst_is_mounted()
438 int tst_is_mounted_at_tmpdir(const char *path) in tst_is_mounted_at_tmpdir()
459 int find_stat_file(const char *dev, char *path, size_t path_len) in find_stat_file()
508 void tst_find_backing_dev(const char *path, char *dev) in tst_find_backing_dev()

1234