Lines Matching refs:stderr_buffer
92 static Buffer stderr_buffer; /* Buffer for stderr data. */ variable
199 while (buffer_len(&stderr_buffer) > 0 && in make_packets_from_stderr_data()
201 len = buffer_len(&stderr_buffer); in make_packets_from_stderr_data()
211 packet_put_string(buffer_ptr(&stderr_buffer), len); in make_packets_from_stderr_data()
213 buffer_consume(&stderr_buffer, len); in make_packets_from_stderr_data()
456 buffer_append(&stderr_buffer, buf, len); in process_input()
526 if (buffer_len(&stderr_buffer) > 0) { in drain_output()
528 packet_put_string(buffer_ptr(&stderr_buffer), in drain_output()
529 buffer_len(&stderr_buffer)); in drain_output()
532 stderr_bytes += buffer_len(&stderr_buffer); in drain_output()
617 buffer_init(&stderr_buffer); in server_loop()
679 buffer_len(&stdout_buffer) == 0 && buffer_len(&stderr_buffer) == 0) { in server_loop()
686 buffer_append(&stderr_buffer, s, strlen(s)); in server_loop()
690 buffer_append(&stderr_buffer, cp, strlen(cp)); in server_loop()
735 buffer_free(&stderr_buffer); in server_loop()