/dports/devel/py-uvloop/uvloop-0.16.0/vendor/libuv/test/ |
H A D | test-tty-duplicate-key.c | 74 uv_close((uv_handle_t*) tty_in, NULL); in tty_read() 137 uv_tty_t tty_in; in TEST_IMPL() local 160 ASSERT(uv_is_readable((uv_stream_t*) &tty_in)); in TEST_IMPL() 161 ASSERT(!uv_is_writable((uv_stream_t*) &tty_in)); in TEST_IMPL() 170 r = uv_tty_set_mode(&tty_in, UV_TTY_MODE_RAW); in TEST_IMPL() 190 uv_tty_t tty_in; in TEST_IMPL() local 214 ASSERT(uv_is_readable((uv_stream_t*) &tty_in)); in TEST_IMPL() 224 r = uv_tty_set_mode(&tty_in, UV_TTY_MODE_RAW); in TEST_IMPL() 256 uv_tty_t tty_in; in TEST_IMPL() local 280 ASSERT(uv_is_readable((uv_stream_t*) &tty_in)); in TEST_IMPL() [all …]
|
H A D | test-tty.c | 47 uv_tty_t tty_in, tty_out; in TEST_IMPL() local 99 ASSERT(uv_is_readable((uv_stream_t*) &tty_in)); in TEST_IMPL() 100 ASSERT(!uv_is_writable((uv_stream_t*) &tty_in)); in TEST_IMPL() 127 r = uv_tty_set_mode(&tty_in, UV_TTY_MODE_RAW); in TEST_IMPL() 143 uv_close((uv_handle_t*) &tty_in, NULL); in TEST_IMPL() 163 uv_close((uv_handle_t*) tty_in, NULL); in tty_raw_read() 172 uv_tty_t tty_in; in TEST_IMPL() local 203 r = uv_tty_set_mode(&tty_in, UV_TTY_MODE_RAW); in TEST_IMPL() 317 uv_tty_t tty_in; in TEST_IMPL() local 335 r = uv_tty_set_mode(&tty_in, UV_TTY_MODE_RAW); in TEST_IMPL() [all …]
|
/dports/devel/libuv/libuv-v1.42.0/test/ |
H A D | test-tty-duplicate-key.c | 74 uv_close((uv_handle_t*) tty_in, NULL); in tty_read() 137 uv_tty_t tty_in; in TEST_IMPL() local 160 ASSERT(uv_is_readable((uv_stream_t*) &tty_in)); in TEST_IMPL() 161 ASSERT(!uv_is_writable((uv_stream_t*) &tty_in)); in TEST_IMPL() 170 r = uv_tty_set_mode(&tty_in, UV_TTY_MODE_RAW); in TEST_IMPL() 190 uv_tty_t tty_in; in TEST_IMPL() local 214 ASSERT(uv_is_readable((uv_stream_t*) &tty_in)); in TEST_IMPL() 224 r = uv_tty_set_mode(&tty_in, UV_TTY_MODE_RAW); in TEST_IMPL() 256 uv_tty_t tty_in; in TEST_IMPL() local 280 ASSERT(uv_is_readable((uv_stream_t*) &tty_in)); in TEST_IMPL() [all …]
|
H A D | test-tty.c | 47 uv_tty_t tty_in, tty_out; in TEST_IMPL() local 99 ASSERT(uv_is_readable((uv_stream_t*) &tty_in)); in TEST_IMPL() 100 ASSERT(!uv_is_writable((uv_stream_t*) &tty_in)); in TEST_IMPL() 127 r = uv_tty_set_mode(&tty_in, UV_TTY_MODE_RAW); in TEST_IMPL() 143 uv_close((uv_handle_t*) &tty_in, NULL); in TEST_IMPL() 163 uv_close((uv_handle_t*) tty_in, NULL); in tty_raw_read() 172 uv_tty_t tty_in; in TEST_IMPL() local 203 r = uv_tty_set_mode(&tty_in, UV_TTY_MODE_RAW); in TEST_IMPL() 317 uv_tty_t tty_in; in TEST_IMPL() local 335 r = uv_tty_set_mode(&tty_in, UV_TTY_MODE_RAW); in TEST_IMPL() [all …]
|
/dports/www/R-cran-httpuv/httpuv/src/libuv/test/ |
H A D | test-tty-duplicate-key.c | 74 uv_close((uv_handle_t*) tty_in, NULL); in tty_read() 137 uv_tty_t tty_in; in TEST_IMPL() local 160 ASSERT(uv_is_readable((uv_stream_t*) &tty_in)); in TEST_IMPL() 161 ASSERT(!uv_is_writable((uv_stream_t*) &tty_in)); in TEST_IMPL() 170 r = uv_tty_set_mode(&tty_in, UV_TTY_MODE_RAW); in TEST_IMPL() 190 uv_tty_t tty_in; in TEST_IMPL() local 214 ASSERT(uv_is_readable((uv_stream_t*) &tty_in)); in TEST_IMPL() 224 r = uv_tty_set_mode(&tty_in, UV_TTY_MODE_RAW); in TEST_IMPL() 256 uv_tty_t tty_in; in TEST_IMPL() local 280 ASSERT(uv_is_readable((uv_stream_t*) &tty_in)); in TEST_IMPL() [all …]
|
H A D | test-tty.c | 47 uv_tty_t tty_in, tty_out; in TEST_IMPL() local 99 ASSERT(uv_is_readable((uv_stream_t*) &tty_in)); in TEST_IMPL() 100 ASSERT(!uv_is_writable((uv_stream_t*) &tty_in)); in TEST_IMPL() 127 r = uv_tty_set_mode(&tty_in, UV_TTY_MODE_RAW); in TEST_IMPL() 143 uv_close((uv_handle_t*) &tty_in, NULL); in TEST_IMPL() 163 uv_close((uv_handle_t*) tty_in, NULL); in tty_raw_read() 172 uv_tty_t tty_in; in TEST_IMPL() local 203 r = uv_tty_set_mode(&tty_in, UV_TTY_MODE_RAW); in TEST_IMPL() 317 uv_tty_t tty_in; in TEST_IMPL() local 335 r = uv_tty_set_mode(&tty_in, UV_TTY_MODE_RAW); in TEST_IMPL() [all …]
|
/dports/security/libressl/libressl-3.4.3/crypto/ui/ |
H A D | ui_openssl.c | 138 static FILE *tty_in, *tty_out; variable 263 p = fgets(result, maxsize, tty_in); in read_string_inner() 266 if (feof(tty_in)) in read_string_inner() 268 if (ferror(tty_in)) in read_string_inner() 273 } else if (!read_till_nl(tty_in)) in read_string_inner() 302 if ((tty_in = fopen(DEV_TTY, "r")) == NULL) in open_console() 303 tty_in = stdin; in open_console() 307 if (tcgetattr(fileno(tty_in), &tty_orig) == -1) { in open_console() 331 if (is_a_tty && (tcsetattr(fileno(tty_in), TCSANOW, &tty_new) == -1)) in noecho_console() 347 if (tty_in != stdin) in close_console() [all …]
|
/dports/security/libressl-static/libressl-3.3.5/crypto/ui/ |
H A D | ui_openssl.c | 138 static FILE *tty_in, *tty_out; variable 263 p = fgets(result, maxsize, tty_in); in read_string_inner() 266 if (feof(tty_in)) in read_string_inner() 268 if (ferror(tty_in)) in read_string_inner() 273 } else if (!read_till_nl(tty_in)) in read_string_inner() 302 if ((tty_in = fopen(DEV_TTY, "r")) == NULL) in open_console() 303 tty_in = stdin; in open_console() 307 if (tcgetattr(fileno(tty_in), &tty_orig) == -1) { in open_console() 331 if (is_a_tty && (tcsetattr(fileno(tty_in), TCSANOW, &tty_new) == -1)) in noecho_console() 347 if (tty_in != stdin) in close_console() [all …]
|
/dports/emulators/citra/citra-ac98458e0/externals/libressl/crypto/ui/ |
H A D | ui_openssl.c | 138 static FILE *tty_in, *tty_out; variable 263 p = fgets(result, maxsize, tty_in); in read_string_inner() 266 if (feof(tty_in)) in read_string_inner() 268 if (ferror(tty_in)) in read_string_inner() 273 } else if (!read_till_nl(tty_in)) in read_string_inner() 302 if ((tty_in = fopen(DEV_TTY, "r")) == NULL) in open_console() 303 tty_in = stdin; in open_console() 307 if (tcgetattr(fileno(tty_in), &tty_orig) == -1) { in open_console() 331 if (is_a_tty && (tcsetattr(fileno(tty_in), TCSANOW, &tty_new) == -1)) in noecho_console() 347 if (tty_in != stdin) in close_console() [all …]
|
/dports/emulators/citra-qt5/citra-ac98458e0/externals/libressl/crypto/ui/ |
H A D | ui_openssl.c | 138 static FILE *tty_in, *tty_out; variable 263 p = fgets(result, maxsize, tty_in); in read_string_inner() 266 if (feof(tty_in)) in read_string_inner() 268 if (ferror(tty_in)) in read_string_inner() 273 } else if (!read_till_nl(tty_in)) in read_string_inner() 302 if ((tty_in = fopen(DEV_TTY, "r")) == NULL) in open_console() 303 tty_in = stdin; in open_console() 307 if (tcgetattr(fileno(tty_in), &tty_orig) == -1) { in open_console() 331 if (is_a_tty && (tcsetattr(fileno(tty_in), TCSANOW, &tty_new) == -1)) in noecho_console() 347 if (tty_in != stdin) in close_console() [all …]
|
/dports/www/obhttpd/libressl-3.4.1/crypto/ui/ |
H A D | ui_openssl.c | 138 static FILE *tty_in, *tty_out; variable 263 p = fgets(result, maxsize, tty_in); in read_string_inner() 266 if (feof(tty_in)) in read_string_inner() 268 if (ferror(tty_in)) in read_string_inner() 273 } else if (!read_till_nl(tty_in)) in read_string_inner() 302 if ((tty_in = fopen(DEV_TTY, "r")) == NULL) in open_console() 303 tty_in = stdin; in open_console() 307 if (tcgetattr(fileno(tty_in), &tty_orig) == -1) { in open_console() 331 if (is_a_tty && (tcsetattr(fileno(tty_in), TCSANOW, &tty_new) == -1)) in noecho_console() 347 if (tty_in != stdin) in close_console() [all …]
|
/dports/multimedia/mpv/mpv-0.34.1/osdep/ |
H A D | terminal-unix.c | 59 static int tty_in = -1, tty_out = -1; variable 303 tcgetattr(tty_in,&tio_new); in do_activate_getch2() 313 tcsetattr(tty_in,TCSANOW,&tio_new); in do_activate_getch2() 356 int newstatus = (tcgetpgrp(tty_in) == getpgrp()); in getch2_poll() 397 if (tty_in >= 0 && tty_in != STDIN_FILENO) in close_tty() 398 close(tty_in); in close_tty() 400 tty_in = tty_out = -1; in close_tty() 418 { .events = POLLIN, .fd = tty_in } in terminal_thread() 457 read_terminal = isatty(tty_in) && isatty(STDOUT_FILENO); in terminal_setup_getch() 535 if (tty_in < 0) { in terminal_init() [all …]
|
/dports/security/openssl-unsafe/openssl-c9ba19c/crypto/ui/ |
H A D | ui_openssl.c | 302 static FILE *tty_in, *tty_out; variable 436 noecho_fgets(result, maxsize, tty_in); in read_string_inner() 439 p = fgets(result, maxsize, tty_in); in read_string_inner() 441 p = fgets(result, maxsize, tty_in); in read_string_inner() 445 if (feof(tty_in)) in read_string_inner() 447 if (ferror(tty_in)) in read_string_inner() 452 } else if (!read_till_nl(tty_in)) in read_string_inner() 482 tty_in = stdin; in open_console() 491 tty_in = stdin; in open_console() 578 if (tty_in != stdin) in close_console() [all …]
|
/dports/devel/cargo-c/cargo-c-0.9.6+cargo-0.58/cargo-crates/openssl-src-111.16.0+1.1.1l/openssl/crypto/ui/ |
H A D | ui_openssl.c | 180 static FILE *tty_in, *tty_out; variable 343 p = fgets(result, maxsize, tty_in); in read_string_inner() 346 if (feof(tty_in)) in read_string_inner() 348 if (ferror(tty_in)) in read_string_inner() 353 } else if (!read_till_nl(tty_in)) in read_string_inner() 383 tty_in = stdin; in open_console() 390 tty_in = stdin; in open_console() 394 tty_in = stdin; in open_console() 403 tty_in = stdin; in open_console() 575 if (tty_in != stdin) in close_console() [all …]
|
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/openssl-src-300.0.2+3.0.0/openssl/crypto/ui/ |
H A D | ui_openssl.c | 176 static FILE *tty_in, *tty_out; variable 339 p = fgets(result, maxsize, tty_in); in read_string_inner() 342 if (feof(tty_in)) in read_string_inner() 344 if (ferror(tty_in)) in read_string_inner() 349 } else if (!read_till_nl(tty_in)) in read_string_inner() 380 tty_in = stdin; in open_console() 387 tty_in = stdin; in open_console() 391 tty_in = stdin; in open_console() 400 tty_in = stdin; in open_console() 554 if (tty_in != stdin) in close_console() [all …]
|
/dports/emulators/qemu42/qemu-4.2.1/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/crypto/ui/ |
H A D | ui_openssl.c | 180 static FILE *tty_in, *tty_out; variable 343 p = fgets(result, maxsize, tty_in); in read_string_inner() 346 if (feof(tty_in)) in read_string_inner() 348 if (ferror(tty_in)) in read_string_inner() 353 } else if (!read_till_nl(tty_in)) in read_string_inner() 383 tty_in = stdin; in open_console() 390 tty_in = stdin; in open_console() 394 tty_in = stdin; in open_console() 403 tty_in = stdin; in open_console() 565 if (tty_in != stdin) in close_console() [all …]
|
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/crypto/ui/ |
H A D | ui_openssl.c | 180 static FILE *tty_in, *tty_out; variable 343 p = fgets(result, maxsize, tty_in); in read_string_inner() 346 if (feof(tty_in)) in read_string_inner() 348 if (ferror(tty_in)) in read_string_inner() 353 } else if (!read_till_nl(tty_in)) in read_string_inner() 383 tty_in = stdin; in open_console() 390 tty_in = stdin; in open_console() 394 tty_in = stdin; in open_console() 403 tty_in = stdin; in open_console() 565 if (tty_in != stdin) in close_console() [all …]
|
/dports/sysutils/vector/vector-0.10.0/cargo-crates/openssl-src-111.9.0+1.1.1g/openssl/crypto/ui/ |
H A D | ui_openssl.c | 180 static FILE *tty_in, *tty_out; variable 343 p = fgets(result, maxsize, tty_in); in read_string_inner() 346 if (feof(tty_in)) in read_string_inner() 348 if (ferror(tty_in)) in read_string_inner() 353 } else if (!read_till_nl(tty_in)) in read_string_inner() 383 tty_in = stdin; in open_console() 390 tty_in = stdin; in open_console() 394 tty_in = stdin; in open_console() 403 tty_in = stdin; in open_console() 565 if (tty_in != stdin) in close_console() [all …]
|
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-audit/cargo-crates/openssl-src-111.14.0+1.1.1j/openssl/crypto/ui/ |
H A D | ui_openssl.c | 180 static FILE *tty_in, *tty_out; variable 343 p = fgets(result, maxsize, tty_in); in read_string_inner() 346 if (feof(tty_in)) in read_string_inner() 348 if (ferror(tty_in)) in read_string_inner() 353 } else if (!read_till_nl(tty_in)) in read_string_inner() 383 tty_in = stdin; in open_console() 390 tty_in = stdin; in open_console() 394 tty_in = stdin; in open_console() 403 tty_in = stdin; in open_console() 575 if (tty_in != stdin) in close_console() [all …]
|
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/crypto/ui/ |
H A D | ui_openssl.c | 180 static FILE *tty_in, *tty_out; variable 343 p = fgets(result, maxsize, tty_in); in read_string_inner() 346 if (feof(tty_in)) in read_string_inner() 348 if (ferror(tty_in)) in read_string_inner() 353 } else if (!read_till_nl(tty_in)) in read_string_inner() 383 tty_in = stdin; in open_console() 390 tty_in = stdin; in open_console() 394 tty_in = stdin; in open_console() 403 tty_in = stdin; in open_console() 565 if (tty_in != stdin) in close_console() [all …]
|
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-audit/cargo-crates/openssl-src-111.15.0+1.1.1k/openssl/crypto/ui/ |
H A D | ui_openssl.c | 180 static FILE *tty_in, *tty_out; variable 343 p = fgets(result, maxsize, tty_in); in read_string_inner() 346 if (feof(tty_in)) in read_string_inner() 348 if (ferror(tty_in)) in read_string_inner() 353 } else if (!read_till_nl(tty_in)) in read_string_inner() 383 tty_in = stdin; in open_console() 390 tty_in = stdin; in open_console() 394 tty_in = stdin; in open_console() 403 tty_in = stdin; in open_console() 575 if (tty_in != stdin) in close_console() [all …]
|
/dports/sysutils/uefi-edk2-qemu/edk2-edk2-stable201911/CryptoPkg/Library/OpensslLib/openssl/crypto/ui/ |
H A D | ui_openssl.c | 180 static FILE *tty_in, *tty_out; variable 343 p = fgets(result, maxsize, tty_in); in read_string_inner() 346 if (feof(tty_in)) in read_string_inner() 348 if (ferror(tty_in)) in read_string_inner() 353 } else if (!read_till_nl(tty_in)) in read_string_inner() 383 tty_in = stdin; in open_console() 390 tty_in = stdin; in open_console() 394 tty_in = stdin; in open_console() 403 tty_in = stdin; in open_console() 565 if (tty_in != stdin) in close_console() [all …]
|
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/CryptoPkg/Library/OpensslLib/openssl/crypto/ui/ |
H A D | ui_openssl.c | 180 static FILE *tty_in, *tty_out; variable 343 p = fgets(result, maxsize, tty_in); in read_string_inner() 346 if (feof(tty_in)) in read_string_inner() 348 if (ferror(tty_in)) in read_string_inner() 353 } else if (!read_till_nl(tty_in)) in read_string_inner() 383 tty_in = stdin; in open_console() 390 tty_in = stdin; in open_console() 394 tty_in = stdin; in open_console() 403 tty_in = stdin; in open_console() 565 if (tty_in != stdin) in close_console() [all …]
|
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-audit/cargo-crates/openssl-src-111.16.0+1.1.1l/openssl/crypto/ui/ |
H A D | ui_openssl.c | 180 static FILE *tty_in, *tty_out; variable 343 p = fgets(result, maxsize, tty_in); in read_string_inner() 346 if (feof(tty_in)) in read_string_inner() 348 if (ferror(tty_in)) in read_string_inner() 353 } else if (!read_till_nl(tty_in)) in read_string_inner() 383 tty_in = stdin; in open_console() 390 tty_in = stdin; in open_console() 394 tty_in = stdin; in open_console() 403 tty_in = stdin; in open_console() 575 if (tty_in != stdin) in close_console() [all …]
|
/dports/security/arti/arti-9d0ede26801cdb182daa85c3eb5f0058dc178eb6/cargo-crates/openssl-src-300.0.2+3.0.0/openssl/crypto/ui/ |
H A D | ui_openssl.c | 176 static FILE *tty_in, *tty_out; variable 339 p = fgets(result, maxsize, tty_in); in read_string_inner() 342 if (feof(tty_in)) in read_string_inner() 344 if (ferror(tty_in)) in read_string_inner() 349 } else if (!read_till_nl(tty_in)) in read_string_inner() 380 tty_in = stdin; in open_console() 387 tty_in = stdin; in open_console() 391 tty_in = stdin; in open_console() 400 tty_in = stdin; in open_console() 554 if (tty_in != stdin) in close_console() [all …]
|