/third_party/ltp/lib/newlib_tests/ |
H A D | test_macros02.c | 33 TST_EXP_FAIL(fail_fn(), ENOTTY, "fail_fn()"); in do_test() local 35 TST_EXP_FAIL(pass_fn(), ENOTTY, "pass_fn()"); in do_test() local 37 TST_EXP_FAIL(inval_ret_fn(), ENOTTY, "inval_ret_fn()"); in do_test() local 43 TST_EXP_FAIL2(fail_fn(), ENOTTY, "fail_fn()"); in do_test() local 45 TST_EXP_FAIL2(pass_fn(), ENOTTY, "pass_fn"); in do_test() local 47 TST_EXP_FAIL2(inval_ret_fn(), ENOTTY, "inval_ret_fn()"); in do_test() local
|
/third_party/rust/crates/nix/test/sys/ |
H A D | test_ioctl.rs | 211 assert_eq!(res, Err(Errno::ENOTTY)); in test_ioctl_none_bad() 220 assert_eq!(res, Err(Errno::ENOTTY)); in test_ioctl_read_bad() 228 assert_eq!(res, Err(Errno::ENOTTY)); in test_ioctl_write_int_bad() 237 assert_eq!(res, Err(Errno::ENOTTY)); in test_ioctl_write_ptr_bad() 248 assert!(res == Err(Errno::ENOTTY) || res == Err(Errno::ENOSYS)); in test_ioctl_none() 267 assert!(res == Err(Errno::ENOTTY) || res == Err(Errno::ENOSYS)); in test_ioctl_write_ptr() 278 assert!(res == Err(Errno::ENOTTY) || res == Err(Errno::ENOSYS)); in test_ioctl_write_int() 288 assert!(res == Err(Errno::ENOTTY) || res == Err(Errno::ENOSYS)); in test_ioctl_read() 298 assert!(res == Err(Errno::ENOTTY) || res == Err(Errno::ENOSYS)); in test_ioctl_readwrite() 329 assert!(res == Err(Errno::ENOTTY) || re in test_ioctl_write_buf() [all...] |
/third_party/ltp/testcases/kernel/syscalls/ioctl/ |
H A D | ioctl01.c | 18 * - ENOTTY: Pass an non-streams fd in ioctl(fd, cmd, arg) 50 /* This errno value was changed from EINVAL to ENOTTY 53 {"Command is invalid", &fd, INVAL_IOCTL, &termio, ENOTTY}, 54 {"File descriptor is for a regular file (termio)", &fd_file, TCGETA, &termio, ENOTTY}, 55 {"File descriptor is for a regular file (termios)", &fd_file, TCGETS, &termios, ENOTTY},
|
H A D | ioctl_ns07.c | 14 * should make the call fail with ENOTTY. 34 if (errno == ENOTTY) in test_request() 35 tst_res(TPASS, "request failed with ENOTTY"); in test_request()
|
H A D | ioctl_ns03.c | 39 if (errno == ENOTTY) in run()
|
H A D | ioctl_ns02.c | 38 if (errno == ENOTTY) in run()
|
H A D | ioctl_ns04.c | 37 if (errno == ENOTTY) in run()
|
H A D | ioctl_ns01.c | 55 if (errno == ENOTTY) in test_ns_get_parent()
|
H A D | ioctl_ns06.c | 73 if (errno == ENOTTY) in run()
|
H A D | ioctl_ns05.c | 75 if (errno == ENOTTY) { in run()
|
/third_party/rust/crates/nix/src/ |
H A D | errno.rs | 173 ENOTTY => "Not a typewriter", 1149 ENOTTY = libc::ENOTTY, 1294 libc::ENOTTY => ENOTTY, 1439 ENOTTY = libc::ENOTTY, 1557 libc::ENOTTY => ENOTTY, 1675 ENOTTY [all...] |
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/errno_h/ |
H A D | 3-2.c | 97 ENOTTY, "ENOTTY", ENOTTY}, {
|
H A D | 4-1.c | 92 ENOTTY, "ENOTTY"}, {
|
/third_party/ltp/testcases/kernel/syscalls/sockioctl/ |
H A D | sockioctl01.c | 191 * returns -ENOTTY. in setup0() 193 tdat[testno].experrno = ENOTTY; in setup0() 213 tdat[testno].experrno = ENOTTY; in setup1()
|
/third_party/musl/src/unistd/ |
H A D | isatty.c | 11 if (errno != EBADF) errno = ENOTTY; in isatty()
|
/third_party/libuv/include/uv/ |
H A D | errno.h | 429 #if defined(ENOTTY) && !defined(_WIN32) 430 # define UV__ENOTTY UV__ERR(ENOTTY)
|
/third_party/node/deps/uv/include/uv/ |
H A D | errno.h | 430 #if defined(ENOTTY) && !defined(_WIN32) 431 # define UV__ENOTTY UV__ERR(ENOTTY)
|
/third_party/eudev/src/shared/ |
H A D | terminal-util.c | 83 return -ENOTTY; in open_terminal()
|
/third_party/FreeBSD/sys/dev/usb/ |
H A D | usb_handle_request.c | 220 (error != ENOTTY) && in usb_handle_iface_request() 237 (error != ENOTTY) && in usb_handle_iface_request() 256 } else if (error == ENOTTY) { in usb_handle_iface_request()
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/bits/ |
H A D | errno.h | 26 #define ENOTTY 25 macro
|
/third_party/musl/porting/liteos_m/kernel/include/bits/ |
H A D | errno.h | 26 #define ENOTTY 25 macro
|
/third_party/musl/porting/liteos_a/kernel/include/bits/ |
H A D | errno.h | 26 #define ENOTTY 25 macro
|
/third_party/musl/porting/liteos_m/user/include/bits/ |
H A D | errno.h | 25 #define ENOTTY 25 macro
|
/third_party/musl/porting/uniproton/kernel/include/bits/ |
H A D | errno.h | 26 #define ENOTTY 25 macro
|
/third_party/ltp/testcases/kernel/syscalls/statx/ |
H A D | statx04.c | 90 if (TST_RET == -1 && TST_ERR == ENOTTY) in setup()
|