Searched refs:stdin_buffer (Results 1 – 2 of 2) sorted by relevance
| /NextBSD/crypto/openssh/ |
| HD | serverloop.c | 91 static Buffer stdin_buffer; /* Buffer for stdin data. */ variable 323 if (buffer_len(&stdin_buffer) < buffer_high && in wait_until_can_do_something() 341 if (fdin != -1 && buffer_len(&stdin_buffer) > 0) in wait_until_can_do_something() 482 data = buffer_ptr(&stdin_buffer); in process_output() 483 dlen = buffer_len(&stdin_buffer); in process_output() 507 buffer_consume(&stdin_buffer, len); in process_output() 623 buffer_init(&stdin_buffer); in server_loop() 648 if (stdin_eof && fdin != -1 && buffer_len(&stdin_buffer) == 0) { in server_loop() 739 buffer_free(&stdin_buffer); in server_loop() 923 buffer_append(&stdin_buffer, data, data_len); in server_input_stdin_data()
|
| HD | clientloop.c | 156 static Buffer stdin_buffer; /* Buffer for stdin data. */ variable 473 buffer_append(&stdin_buffer, buf, 1); in client_check_initial_eof_on_stdin() 491 while (buffer_len(&stdin_buffer) > 0 && in client_make_packets_from_stdin_data() 493 len = buffer_len(&stdin_buffer); in client_make_packets_from_stdin_data() 498 packet_put_string(buffer_ptr(&stdin_buffer), len); in client_make_packets_from_stdin_data() 500 buffer_consume(&stdin_buffer, len); in client_make_packets_from_stdin_data() 502 if (stdin_eof && buffer_len(&stdin_buffer) == 0) { in client_make_packets_from_stdin_data() 1339 if (buffer_len(&stdin_buffer) == 0) { in client_process_input() 1348 buffer_append(&stdin_buffer, buf, len); in client_process_input() 1355 if (process_escapes(NULL, &stdin_buffer, in client_process_input() [all …]
|