Lines Matching defs:path
1915 char path[PATH_MAX];
1918 snprintf(path,
1919 sizeof(path),
1922 fd = open(path, O_RDONLY);
1934 fprintf(stderr, "%s%s: %s\n", prefix, path, libevdev_get_name(device));
2400 init_device(struct record_context *ctx, const char *path, bool grab)
2407 d->devnode = safe_strdup(path);
2435 path,
2459 open_restricted(const char *path, int flags, void *user_data)
2461 int fd = open(path, flags);
2587 is_char_dev(const char *path)
2591 if (strneq(path, "/dev", 4))
2594 if (stat(path, &st) != 0) {
2807 char *path = select_device();
2808 if (path == NULL) {
2812 paths = strv_from_argv(1, &path);
2813 free(path);