Home
last modified time | relevance | path

Searched refs:posix_openpt (Results 1 – 20 of 20) sorted by relevance

/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dbugprone-posix-return.cpp27 extern "C" int posix_openpt(int flags);
157 if (posix_openpt(0) < 0) {} in noWarning()
158 if (posix_openpt(0) <= 0) {} in noWarning()
159 if (posix_openpt(0) == -1) {} in noWarning()
160 if (posix_openpt(0) != -1) {} in noWarning()
161 if (posix_openpt(0) <= -1) {} in noWarning()
162 if (posix_openpt(0) < -1) {} in noWarning()
/external/rust/crates/nix/test/
Dtest_pty.rs19 let m = posix_openpt(OFlag::O_RDWR).unwrap(); in test_explicit_close()
35 let master_fd = posix_openpt(OFlag::O_RDWR).unwrap(); in test_ptsname_equivalence()
52 let master_fd = posix_openpt(OFlag::O_RDWR).unwrap(); in test_ptsname_copy()
69 let master_fd = posix_openpt(OFlag::O_RDWR).unwrap(); in test_ptsname_r_copy()
86 let master1_fd = posix_openpt(OFlag::O_RDWR).unwrap(); in test_ptsname_unique()
90 let master2_fd = posix_openpt(OFlag::O_RDWR).unwrap(); in test_ptsname_unique()
104 let master = posix_openpt(OFlag::O_RDWR).expect("posix_openpt failed"); in open_ptty_pair()
Dtest_ptymaster_drop.rs20 let m = posix_openpt(OFlag::O_RDWR).unwrap(); in test_double_close()
Dtest_unistd.rs11 use nix::pty::{posix_openpt, grantpt, unlockpt, ptsname};
1039 let fd = posix_openpt(OFlag::O_RDWR).expect("posix_openpt failed"); in test_ttyname()
/external/llvm-project/lldb/source/Host/common/
DPseudoTerminal.cpp26 int posix_openpt(int flags);
65 m_primary_fd = ::posix_openpt(oflag); in OpenFirstAvailablePrimary()
/external/llvm-project/lldb/source/Host/android/
DLibcGlue.cpp26 int posix_openpt(int flags) { return open("/dev/ptmx", flags); } in posix_openpt() function
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/
Dptsname.c13 int pt = posix_openpt(O_NOCTTY); in main()
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/
Dbugprone-posix-return.rst7 (except ``posix_openpt``) expect negative return values. These functions return
/external/llvm-project/lldb/include/lldb/Host/windows/
DPosixApi.h113 inline int posix_openpt(int flag) { LLVM_BUILTIN_UNREACHABLE; } in posix_openpt() function
/external/rust/crates/nix/src/
Dpty.rs142 pub fn posix_openpt(flags: fcntl::OFlag) -> Result<PtyMaster> { in posix_openpt() function
144 libc::posix_openpt(flags.bits()) in posix_openpt()
/external/llvm-project/lldb/tools/debugserver/source/
DPseudoTerminal.cpp59 m_primary_fd = ::posix_openpt(oflag); in OpenFirstAvailablePrimary()
/external/rust/crates/libc/src/unix/solarish/
Dcompat.rs63 let fdm = ::posix_openpt(O_RDWR | O_NOCTTY); in openpty()
/external/autotest/client/deps/fakemodem/src/
Dfakemodem.c290 masterfd = posix_openpt (O_RDWR | O_NOCTTY); in main()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_mac.cpp266 master_fd = posix_openpt(O_RDWR); in internal_spawn_impl()
338 low_fds[count] = posix_openpt(O_RDWR); in internal_spawn()
/external/rust/crates/libc/src/unix/
Dmod.rs1356 pub fn posix_openpt(flags: ::c_int) -> ::c_int; in posix_openpt() function
/external/rust/crates/nix/
DCHANGELOG.md712 - Added `nix::pty::{grantpt, posix_openpt, ptsname/ptsname_r, unlockpt}`
/external/rust/crates/libc/src/fuchsia/
Dmod.rs3836 pub fn posix_openpt(flags: ::c_int) -> ::c_int; in posix_openpt() function
/external/compiler-rt/lib/dfsan/
Dlibc_ubuntu1404_abilist.txt2487 fun:posix_openpt=uninstrumented
/external/llvm-project/compiler-rt/lib/dfsan/
Dlibc_ubuntu1404_abilist.txt2487 fun:posix_openpt=uninstrumented
/external/google-breakpad/src/processor/testdata/symbols/libc-2.13.so/F4F8DFCD5A5FB5A7CE64717E9E6AE3890/
Dlibc-2.13.so.sym1659 PUBLIC 10e5a0 0 posix_openpt