Searched refs:stdin_buffer (Results 1 – 2 of 2) sorted by relevance
/titanic_44/usr/src/cmd/ssh/ssh/ |
H A D | clientloop.c | 122 static Buffer stdin_buffer; /* Buffer for stdin data. */ variable 360 buffer_append(&stdin_buffer, buf, 1); in client_check_initial_eof_on_stdin() 378 while (buffer_len(&stdin_buffer) > 0 && in client_make_packets_from_stdin_data() 380 len = buffer_len(&stdin_buffer); in client_make_packets_from_stdin_data() 385 packet_put_string(buffer_ptr(&stdin_buffer), len); in client_make_packets_from_stdin_data() 387 buffer_consume(&stdin_buffer, len); in client_make_packets_from_stdin_data() 390 if (stdin_eof && buffer_len(&stdin_buffer) == 0) { in client_make_packets_from_stdin_data() 968 if (buffer_len(&stdin_buffer) == 0) { in client_process_input() 977 buffer_append(&stdin_buffer, buf, len); in client_process_input() 983 if (process_escapes(&stdin_buffer, &stdout_buffer, in client_process_input() [all …]
|
/titanic_44/usr/src/cmd/ssh/sshd/ |
H A D | serverloop.c | 73 static Buffer stdin_buffer; /* Buffer for stdin data. */ variable 296 if (buffer_len(&stdin_buffer) < buffer_high && in wait_until_can_do_something() 313 if (fdin != -1 && buffer_len(&stdin_buffer) > 0) in wait_until_can_do_something() 432 data = buffer_ptr(&stdin_buffer); in process_output() 433 dlen = buffer_len(&stdin_buffer); in process_output() 456 buffer_consume(&stdin_buffer, len); in process_output() 565 buffer_init(&stdin_buffer); in server_loop() 590 if (stdin_eof && fdin != -1 && buffer_len(&stdin_buffer) == 0) { in server_loop() 677 buffer_free(&stdin_buffer); in server_loop() 1018 buffer_append(&stdin_buffer, data, data_len); in server_input_stdin_data()
|