Lines Matching refs:tty_fd
115 input_buffer(PROTO_BUFFER_MAX_LEN, 0), tty_fd(-1) { in TestHarness()
126 input_buffer(PROTO_BUFFER_MAX_LEN, 0), tty_fd(-1) { in TestHarness()
136 auto temp = tty_fd; in ~TestHarness()
137 tty_fd = -1; in ~TestHarness()
153 return tty_fd != -1; in ttyState()
295 while (read(tty_fd, &read_value, 1) <= 0) { in GetAhdlc()
428 tty_fd = open(path, O_RDWR | O_NOCTTY | O_NDELAY); in Init()
435 if (!isatty(tty_fd)) { in Init()
439 if (tcgetattr(tty_fd, &tty_state)) { in Init()
461 if (tcsetattr(tty_fd, TCSAFLUSH, &tty_state)) { in Init()
598 int return_value = write(tty_fd, data + loc, len - loc); in BlockingWrite()
627 while (read_value != '\n' && read(tty_fd, &read_value, 1) > 0) { in ReadLineUntilBlock()
672 while (read(tty_fd, &read_value, 1) > 0) { in ReadUntil()
717 while (read(tty_fd, &read_value, 1) > 0) { in PrintUntilClosed()