Home
last modified time | relevance | path

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

/external/openssh/
Dserverloop.c90 static Buffer stdin_buffer; /* Buffer for stdin data. */ variable
315 if (buffer_len(&stdin_buffer) < buffer_high && in wait_until_can_do_something()
333 if (fdin != -1 && buffer_len(&stdin_buffer) > 0) in wait_until_can_do_something()
474 data = buffer_ptr(&stdin_buffer); in process_output()
475 dlen = buffer_len(&stdin_buffer); in process_output()
499 buffer_consume(&stdin_buffer, len); in process_output()
615 buffer_init(&stdin_buffer); in server_loop()
640 if (stdin_eof && fdin != -1 && buffer_len(&stdin_buffer) == 0) { in server_loop()
733 buffer_free(&stdin_buffer); in server_loop()
912 buffer_append(&stdin_buffer, data, data_len); in server_input_stdin_data()
Dclientloop.c155 static Buffer stdin_buffer; /* Buffer for stdin data. */ variable
454 buffer_append(&stdin_buffer, buf, 1); in client_check_initial_eof_on_stdin()
472 while (buffer_len(&stdin_buffer) > 0 && in client_make_packets_from_stdin_data()
474 len = buffer_len(&stdin_buffer); in client_make_packets_from_stdin_data()
479 packet_put_string(buffer_ptr(&stdin_buffer), len); in client_make_packets_from_stdin_data()
481 buffer_consume(&stdin_buffer, len); in client_make_packets_from_stdin_data()
483 if (stdin_eof && buffer_len(&stdin_buffer) == 0) { in client_make_packets_from_stdin_data()
1238 if (buffer_len(&stdin_buffer) == 0) { in client_process_input()
1247 buffer_append(&stdin_buffer, buf, len); in client_process_input()
1254 if (process_escapes(NULL, &stdin_buffer, in client_process_input()
[all …]