Home
last modified time | relevance | path

Searched refs:stdout_buffer (Results 1 – 2 of 2) sorted by relevance

/external/openssh/
Dserverloop.c91 static Buffer stdout_buffer; /* Buffer for stdout data. */ variable
228 while (buffer_len(&stdout_buffer) > 0 && in make_packets_from_stdout_data()
230 len = buffer_len(&stdout_buffer); in make_packets_from_stdout_data()
240 packet_put_string(buffer_ptr(&stdout_buffer), len); in make_packets_from_stdout_data()
242 buffer_consume(&stdout_buffer, len); in make_packets_from_stdout_data()
444 buffer_append(&stdout_buffer, buf, len); in process_input()
524 if (buffer_len(&stdout_buffer) > 0) { in drain_output()
526 packet_put_string(buffer_ptr(&stdout_buffer), in drain_output()
527 buffer_len(&stdout_buffer)); in drain_output()
530 stdout_bytes += buffer_len(&stdout_buffer); in drain_output()
[all …]
Dclientloop.c159 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()
1344 &stdout_buffer, &stderr_buffer, buf, len) == -1) in client_process_input()
1359 len = write(fileno(stdout), buffer_ptr(&stdout_buffer), in client_process_output()
1360 buffer_len(&stdout_buffer)); in client_process_output()
1378 buffer_consume(&stdout_buffer, len); in client_process_output()
1508 buffer_init(&stdout_buffer); in client_loop()
1706 if (buffer_len(&stdout_buffer) > 0) { in client_loop()
1708 buffer_ptr(&stdout_buffer), buffer_len(&stdout_buffer)); in client_loop()
[all …]