Lines Matching refs:print_bytes
30 ssize_t print_bytes, /* Print bytes read */ in backendDrainOutput() local
68 if ((print_bytes = read(print_fd, print_buffer, in backendDrainOutput()
82 print_bytes = 0; in backendDrainOutput()
84 else if (print_bytes == 0) in backendDrainOutput()
94 (int)print_bytes); in backendDrainOutput()
96 for (print_ptr = print_buffer; print_bytes > 0;) in backendDrainOutput()
98 if ((bytes = write(device_fd, print_ptr, (size_t)print_bytes)) < 0) in backendDrainOutput()
115 print_bytes -= bytes; in backendDrainOutput()
140 ssize_t print_bytes, /* Print bytes read */ in backendRunLoop() local
202 for (print_bytes = 0, print_ptr = print_buffer, offline = -1, in backendRunLoop()
210 if (!print_bytes) in backendRunLoop()
214 if (!print_bytes && side_cb) in backendRunLoop()
218 if (print_bytes || (!use_bc && !side_cb)) in backendRunLoop()
296 if ((print_bytes = read(print_fd, print_buffer, in backendRunLoop()
311 print_bytes = 0; in backendRunLoop()
313 else if (print_bytes == 0) in backendRunLoop()
325 (int)print_bytes); in backendRunLoop()
333 if (print_bytes && FD_ISSET(device_fd, &output)) in backendRunLoop()
335 if ((bytes = write(device_fd, print_ptr, (size_t)print_bytes)) < 0) in backendRunLoop()
384 print_bytes -= bytes; in backendRunLoop()