Searched refs:device_fd (Results 1 – 11 of 11) sorted by relevance
/third_party/cups-filters/backend/ |
D | parallel.c | 36 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 …]
|
D | serial.c | 59 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 …]
|
D | backend-private.h | 65 extern int backendDrainOutput(int print_fd, int device_fd);
|
/third_party/cups/ |
D | cups-uri-compat.patch | 5 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)
|
D | cups-direct-usb.patch | 11 if ((device_fd = open_device(uri, &use_bc)) == -1)
|
/third_party/gstreamer/gstplugins_bad/sys/uvch264/ |
D | gstuvch264_mjpgdemux.c | 186 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()
|
D | gstuvch264_mjpgdemux.h | 76 int device_fd; member
|
/third_party/f2fs-tools/tools/sg_write_buffer/include/ |
D | sg_pt.h | 42 int scsi_pt_close_device(int device_fd);
|
D | sg_cmds_basic.h | 277 int sg_cmds_close_device(int device_fd);
|
/third_party/f2fs-tools/tools/sg_write_buffer/ |
D | sg_cmds_basic.c | 111 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()
|
D | sg_pt_linux.c | 382 scsi_pt_close_device(int device_fd) in scsi_pt_close_device() argument 386 res = close(device_fd); in scsi_pt_close_device()
|