Searched refs:size1 (Results 1 – 1 of 1) sorted by relevance
150 int rdidx1, wridx1, size1; member187 wr = MIN(BUFSIZE - ts->wridx1, ts->size1); in safe_write_to_pty_decode_iac()197 ts->size1++; in safe_write_to_pty_decode_iac()346 ts->size1 -= rc; in safe_write_to_pty_decode_iac()354 if (ts->size1 == 0) { /* very typical */ in safe_write_to_pty_decode_iac()366 memmove(TS_BUF1(ts), TS_BUF1(ts) + wr, ts->size1); in safe_write_to_pty_decode_iac()772 if (ts->size1 > 0) /* can write to pty */ in telnetd_main()774 if (ts->size1 < BUFSIZE) /* can read from socket */ in telnetd_main()868 count = MIN(BUFSIZE - ts->rdidx1, BUFSIZE - ts->size1); in telnetd_main()879 ts->size1 += count; in telnetd_main()