Searched refs:stdout_buffer (Results 1 – 2 of 2) sorted by relevance
| /NextBSD/crypto/openssh/ |
| HD | serverloop.c | 92 static Buffer stdout_buffer; /* Buffer for stdout data. */ variable 229 while (buffer_len(&stdout_buffer) > 0 && in make_packets_from_stdout_data() 231 len = buffer_len(&stdout_buffer); in make_packets_from_stdout_data() 241 packet_put_string(buffer_ptr(&stdout_buffer), len); in make_packets_from_stdout_data() 243 buffer_consume(&stdout_buffer, len); in make_packets_from_stdout_data() 445 buffer_append(&stdout_buffer, buf, len); in process_input() 525 if (buffer_len(&stdout_buffer) > 0) { in drain_output() 527 packet_put_string(buffer_ptr(&stdout_buffer), in drain_output() 528 buffer_len(&stdout_buffer)); in drain_output() 531 stdout_bytes += buffer_len(&stdout_buffer); in drain_output() [all …]
|
| HD | clientloop.c | 157 static Buffer stdout_buffer; /* Buffer for stdout data. */ variable 594 if (buffer_len(&stdout_buffer) < buffer_high && in client_wait_until_can_do_something() 606 if (buffer_len(&stdout_buffer) > 0) in client_wait_until_can_do_something() 1356 &stdout_buffer, &stderr_buffer, buf, len) == -1) in client_process_input() 1371 len = write(fileno(stdout), buffer_ptr(&stdout_buffer), in client_process_output() 1372 buffer_len(&stdout_buffer)); in client_process_output() 1390 buffer_consume(&stdout_buffer, len); in client_process_output() 1521 buffer_init(&stdout_buffer); in client_loop() 1717 if (buffer_len(&stdout_buffer) > 0) { in client_loop() 1719 buffer_ptr(&stdout_buffer), buffer_len(&stdout_buffer)); in client_loop() [all …]
|