Lines Matching full:buffer_size
47 static size_t buffer_size = 4096; variable
61 if ((dbuf = calloc(1, buffer_size)) == NULL) in run()
62 err(EXIT_FAILURE, "malloc(%zu)", buffer_size); in run()
73 for (i = 0; i < buffer_size; i++) in run()
85 buffer_size); in run()
86 if ((size = write(pty, dbuf, buffer_size)) == -1) { in run()
226 " bytes\n", buffer_size); in child_spawn()
227 if ((size = read(tty, dbuf, buffer_size)) in child_spawn()
234 (size_t)size < buffer_size) in child_spawn()
254 if (total != buffer_size * packets) in child_spawn()
256 "Lost data %zu != %zu\n", total, buffer_size * packets); in child_spawn()
290 buffer_size = (size_t)atoi(optarg); in parse_args()
300 if (buffer_size < 0 || buffer_size > 65536) in parse_args()