Home
last modified time | relevance | path

Searched refs:ENOTTY (Results 1 - 25 of 110) sorted by relevance

12345

/third_party/ltp/lib/newlib_tests/
H A Dtest_macros02.c33 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 Dtest_ioctl.rs211 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 Dioctl01.c18 * - 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 Dioctl_ns07.c14 * 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 Dioctl_ns03.c39 if (errno == ENOTTY) in run()
H A Dioctl_ns02.c38 if (errno == ENOTTY) in run()
H A Dioctl_ns04.c37 if (errno == ENOTTY) in run()
H A Dioctl_ns01.c55 if (errno == ENOTTY) in test_ns_get_parent()
H A Dioctl_ns06.c73 if (errno == ENOTTY) in run()
H A Dioctl_ns05.c75 if (errno == ENOTTY) { in run()
/third_party/rust/crates/nix/src/
H A Derrno.rs173 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 D3-2.c97 ENOTTY, "ENOTTY", ENOTTY}, {
H A D4-1.c92 ENOTTY, "ENOTTY"}, {
/third_party/ltp/testcases/kernel/syscalls/sockioctl/
H A Dsockioctl01.c191 * 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 Disatty.c11 if (errno != EBADF) errno = ENOTTY; in isatty()
/third_party/libuv/include/uv/
H A Derrno.h429 #if defined(ENOTTY) && !defined(_WIN32)
430 # define UV__ENOTTY UV__ERR(ENOTTY)
/third_party/node/deps/uv/include/uv/
H A Derrno.h430 #if defined(ENOTTY) && !defined(_WIN32)
431 # define UV__ENOTTY UV__ERR(ENOTTY)
/third_party/eudev/src/shared/
H A Dterminal-util.c83 return -ENOTTY; in open_terminal()
/third_party/FreeBSD/sys/dev/usb/
H A Dusb_handle_request.c220 (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 Derrno.h26 #define ENOTTY 25 macro
/third_party/musl/porting/liteos_m/kernel/include/bits/
H A Derrno.h26 #define ENOTTY 25 macro
/third_party/musl/porting/liteos_a/kernel/include/bits/
H A Derrno.h26 #define ENOTTY 25 macro
/third_party/musl/porting/liteos_m/user/include/bits/
H A Derrno.h25 #define ENOTTY 25 macro
/third_party/musl/porting/uniproton/kernel/include/bits/
H A Derrno.h26 #define ENOTTY 25 macro
/third_party/ltp/testcases/kernel/syscalls/statx/
H A Dstatx04.c90 if (TST_RET == -1 && TST_ERR == ENOTTY) in setup()

Completed in 11 milliseconds

12345