| /src/external/mit/libuv/dist/test/ |
| test-tty-duplicate-key.c | 62 static void tty_read(uv_stream_t* tty_in, ssize_t nread, const uv_buf_t* buf) { 74 uv_close((uv_handle_t*) tty_in, NULL); 137 uv_tty_t tty_in; local 158 r = uv_tty_init(uv_default_loop(), &tty_in, ttyin_fd, 1); /* Readable. */ 160 ASSERT(uv_is_readable((uv_stream_t*) &tty_in)); 161 ASSERT(!uv_is_writable((uv_stream_t*) &tty_in)); 163 r = uv_read_start((uv_stream_t*)&tty_in, tty_alloc, tty_read); 174 r = uv_tty_set_mode(&tty_in, UV_TTY_MODE_RAW); 194 uv_tty_t tty_in; local 215 r = uv_tty_init(uv_default_loop(), &tty_in, ttyin_fd, 1); /* Readable. * 250 uv_tty_t tty_in; local 316 uv_tty_t tty_in; local [all...] |
| test-tty.c | 47 uv_tty_t tty_in, tty_out; local 97 r = uv_tty_init(loop, &tty_in, ttyin_fd, 1); /* Readable. */ 99 ASSERT(uv_is_readable((uv_stream_t*) &tty_in)); 100 ASSERT(!uv_is_writable((uv_stream_t*) &tty_in)); 123 r = uv_tty_set_mode(&tty_in, UV_TTY_MODE_RAW); 127 r = uv_tty_set_mode(&tty_in, UV_TTY_MODE_NORMAL); 139 uv_close((uv_handle_t*) &tty_in, NULL); 155 static void tty_raw_read(uv_stream_t* tty_in, ssize_t nread, const uv_buf_t* buf) { 159 uv_close((uv_handle_t*) tty_in, NULL); 168 uv_tty_t tty_in; local 313 uv_tty_t tty_in; local [all...] |
| /src/usr.bin/rfcomm_sppd/ |
| rfcomm_sppd.c | 126 int n, lm, rfcomm, tty_in, tty_out; local 219 tty_in = STDIN_FILENO; 222 tty_in = open_tty(tty); 223 tty_out = tty_in; 238 if (tcgetattr(tty_in, &t) != -1) { 245 if (tcsetattr(tty_in, TCSANOW, &t) == -1) 266 pfd[0].fd = tty_in; 279 copy_data(tty_in, rfcomm);
|
| /src/crypto/external/apache2/openssl/dist/crypto/ui/ |
| ui_openssl.c | 176 static FILE *tty_in, *tty_out; variable 333 noecho_fgets(result, maxsize, tty_in); 337 p = fgets(result, maxsize, tty_in); 340 if (feof(tty_in)) 342 if (ferror(tty_in)) 347 } else if (!read_till_nl(tty_in)) 378 tty_in = stdin; 385 tty_in = stdin; 388 if ((tty_in = fopen("conin$", "r")) == NULL) 389 tty_in = stdin [all...] |
| /src/crypto/external/bsd/openssl/dist/crypto/ui/ |
| ui_openssl.c | 176 static FILE *tty_in, *tty_out; variable 335 noecho_fgets(result, maxsize, tty_in); 339 p = fgets(result, maxsize, tty_in); 342 if (feof(tty_in)) 344 if (ferror(tty_in)) 349 } else if (!read_till_nl(tty_in)) 380 tty_in = stdin; 387 tty_in = stdin; 390 if ((tty_in = fopen("conin$", "r")) == NULL) 391 tty_in = stdin [all...] |
| /src/crypto/external/bsd/openssl.old/dist/crypto/ui/ |
| ui_openssl.c | 180 static FILE *tty_in, *tty_out; variable 339 noecho_fgets(result, maxsize, tty_in); 343 p = fgets(result, maxsize, tty_in); 346 if (feof(tty_in)) 348 if (ferror(tty_in)) 353 } else if (!read_till_nl(tty_in)) 383 tty_in = stdin; 390 tty_in = stdin; 393 if ((tty_in = fopen("conin$", "r")) == NULL) 394 tty_in = stdin [all...] |