Searched refs:stdin_buffer (Results 1 – 2 of 2) sorted by relevance
/external/openssh/ |
D | serverloop.c | 90 static Buffer stdin_buffer; /* Buffer for stdin data. */ variable 322 if (buffer_len(&stdin_buffer) < buffer_high && in wait_until_can_do_something() 340 if (fdin != -1 && buffer_len(&stdin_buffer) > 0) in wait_until_can_do_something() 481 data = buffer_ptr(&stdin_buffer); in process_output() 482 dlen = buffer_len(&stdin_buffer); in process_output() 506 buffer_consume(&stdin_buffer, len); in process_output() 622 buffer_init(&stdin_buffer); in server_loop() 647 if (stdin_eof && fdin != -1 && buffer_len(&stdin_buffer) == 0) { in server_loop() 738 buffer_free(&stdin_buffer); in server_loop() 923 buffer_append(&stdin_buffer, data, data_len); in server_input_stdin_data()
|
D | clientloop.c | 158 static Buffer stdin_buffer; /* Buffer for stdin data. */ variable 472 buffer_append(&stdin_buffer, buf, 1); in client_check_initial_eof_on_stdin() 490 while (buffer_len(&stdin_buffer) > 0 && in client_make_packets_from_stdin_data() 492 len = buffer_len(&stdin_buffer); in client_make_packets_from_stdin_data() 497 packet_put_string(buffer_ptr(&stdin_buffer), len); in client_make_packets_from_stdin_data() 499 buffer_consume(&stdin_buffer, len); in client_make_packets_from_stdin_data() 501 if (stdin_eof && buffer_len(&stdin_buffer) == 0) { in client_make_packets_from_stdin_data() 1327 if (buffer_len(&stdin_buffer) == 0) { in client_process_input() 1336 buffer_append(&stdin_buffer, buf, len); in client_process_input() 1343 if (process_escapes(NULL, &stdin_buffer, in client_process_input() [all …]
|