Home
last modified time | relevance | path

Searched refs:device_fd (Results 1 – 11 of 11) sorted by relevance

/third_party/cups-filters/backend/
Dparallel.c36 static int drain_output(int print_fd, int device_fd);
38 static ssize_t run_loop(int print_fd, int device_fd, int use_bc,
40 static int side_cb(int print_fd, int device_fd, int use_bc);
62 device_fd, /* Parallel device */ in main() local
170 device_fd = open(resource, O_WRONLY | O_EXCL); in main()
174 if ((device_fd = open(resource, O_RDWR | O_EXCL)) < 0) in main()
176 device_fd = open(resource, O_WRONLY | O_EXCL); in main()
183 if (device_fd == -1) in main()
224 while (device_fd < 0); in main()
232 tcgetattr(device_fd, &opts); in main()
[all …]
Dserial.c59 static int drain_output(int print_fd, int device_fd);
61 static int side_cb(int print_fd, int device_fd, int use_bc);
88 device_fd; /* Serial device */ in main() local
201 if ((device_fd = open(resource, O_RDWR | O_NOCTTY | O_EXCL | in main()
237 while (device_fd < 0); in main()
245 tcgetattr(device_fd, &origopts); in main()
246 tcgetattr(device_fd, &opts); in main()
462 tcsetattr(device_fd, TCSANOW, &opts); in main()
463 fcntl(device_fd, F_SETFL, 0); in main()
491 nfds = (print_fd > device_fd ? print_fd : device_fd) + 1; in main()
[all …]
Dbackend-private.h65 extern int backendDrainOutput(int print_fd, int device_fd);
/third_party/cups/
Dcups-uri-compat.patch5 int device_fd; /* USB device */
47 - if ((device_fd = open_device(uri, &use_bc)) == -1)
48 + if ((device_fd = open_device(fixed_uri, &use_bc)) == -1)
Dcups-direct-usb.patch11 if ((device_fd = open_device(uri, &use_bc)) == -1)
/third_party/gstreamer/gstplugins_bad/sys/uvch264/
Dgstuvch264_mjpgdemux.c186 self->device_fd = -1; in gst_uvc_h264_mjpg_demux_init()
262 self->device_fd = g_value_get_int (value); in gst_uvc_h264_mjpg_demux_set_property()
303 g_value_set_int (value, self->device_fd); in gst_uvc_h264_mjpg_demux_get_property()
367 if (self->device_fd == -1 || self->clock_samples == NULL) in _pts_to_timestamp()
370 if (-1 == ioctl (self->device_fd, UVCIOC_GET_LAST_SCR, &sample)) { in _pts_to_timestamp()
Dgstuvch264_mjpgdemux.h76 int device_fd; member
/third_party/f2fs-tools/tools/sg_write_buffer/include/
Dsg_pt.h42 int scsi_pt_close_device(int device_fd);
Dsg_cmds_basic.h277 int sg_cmds_close_device(int device_fd);
/third_party/f2fs-tools/tools/sg_write_buffer/
Dsg_cmds_basic.c111 sg_cmds_close_device(int device_fd) in sg_cmds_close_device() argument
113 return scsi_pt_close_device(device_fd); in sg_cmds_close_device()
Dsg_pt_linux.c382 scsi_pt_close_device(int device_fd) in scsi_pt_close_device() argument
386 res = close(device_fd); in scsi_pt_close_device()