Home
last modified time | relevance | path

Searched refs:ptsname (Results 1 – 25 of 25) sorted by relevance

/external/rust/crates/nix/test/
Dtest_pty.rs39 let slave_name = unsafe { ptsname(&master_fd) }.unwrap() ; in test_ptsname_equivalence()
56 let slave_name1 = unsafe { ptsname(&master_fd) }.unwrap(); in test_ptsname_copy()
57 let slave_name2 = unsafe { ptsname(&master_fd) }.unwrap(); in test_ptsname_copy()
94 let slave_name1 = unsafe { ptsname(&master1_fd) }.unwrap(); in test_ptsname_unique()
95 let slave_name2 = unsafe { ptsname(&master2_fd) }.unwrap(); in test_ptsname_unique()
111 let slave_name = unsafe { ptsname(&master) }.expect("ptsname failed"); in open_ptty_pair()
Dtest_unistd.rs11 use nix::pty::{posix_openpt, grantpt, unlockpt, ptsname};
1047 let sname = unsafe { ptsname(&fd) }.expect("ptsname failed"); in test_ttyname()
/external/ltp/testcases/kernel/pty/
Dptem01.c64 slavename = ptsname(masterfd); in test1()
143 slavename = ptsname(masterfd); in test2()
221 slavename = ptsname(masterfd); in test3()
269 slavename = ptsname(masterfd); in test4()
341 slavename = ptsname(masterfd[i]); in test5()
390 slavename = ptsname(masterfd); in test6()
Dpty01.c84 slavename = ptsname(masterfd); in test1()
202 slavename = ptsname(masterfd); in test2()
279 slavename = ptsname(masterfd); in test4()
356 slavename = ptsname(masterfd); in test5()
Dhangup01.c164 if ((slavename = ptsname(masterfd)) == NULL) { in child()
219 slavename = ptsname(masterfd); in main()
Dpty02.c46 pts = SAFE_OPEN(ptsname(ptmx), O_RDONLY); in do_test()
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/
Dptsname.c16 char *s = ptsname(pt); in main()
/external/llvm-project/lldb/include/lldb/Host/windows/
DPosixApi.h121 inline char *ptsname(int fd) { LLVM_BUILTIN_UNREACHABLE; } in ptsname() function
/external/rust/crates/nix/src/
Dpty.rs171 pub unsafe fn ptsname(fd: &PtyMaster) -> Result<String> { in ptsname() function
172 let name_ptr = libc::ptsname(fd.as_raw_fd()); in ptsname()
/external/llvm-project/lldb/tools/debugserver/source/
DPseudoTerminal.cpp116 return ::ptsname(m_primary_fd); in SecondaryName()
/external/openssh/openbsd-compat/
Dbsd-openpty.c116 if ((pts = ptsname(ptm)) == NULL) in openpty()
/external/rust/crates/libc/src/unix/solarish/
Dcompat.rs74 let subordpath = ::ptsname(fdm); in openpty()
/external/llvm-project/lldb/source/Host/common/
DPseudoTerminal.cpp115 const char *r = ptsname(m_primary_fd); in GetSecondaryName()
/external/sl4a/ScriptingLayerForAndroid/jni/
Dcom_googlecode_android_scripting_Exec.cpp45 ((devname = (char*) ptsname(ptm)) == 0)) { in CreateSubprocess()
/external/autotest/client/deps/fakemodem/src/
Dfakemodem.c295 || (slavedevice = ptsname (masterfd)) == NULL) in main()
/external/rust/crates/nix/
DCHANGELOG.md655 - Marked `pty::ptsname` function as `unsafe`
712 - Added `nix::pty::{grantpt, posix_openpt, ptsname/ptsname_r, unlockpt}`
/external/ppp/pppd/
Dsys-solaris.c2757 pty_name = ptsname(mfd);
/external/rust/crates/libc/src/unix/
Dmod.rs1357 pub fn ptsname(fd: ::c_int) -> *mut ::c_char; in ptsname() function
/external/python/cpython2/Modules/
Dposixmodule.c3957 extern char *ptsname(int fildes); in posix_openpty()
3988 slave_name = ptsname(master_fd); /* get name of slave */ in posix_openpty()
/external/python/cpython3/Modules/
Dposixmodule.c7108 extern char *ptsname(int fildes); in os_openpty_impl()
7153 slave_name = ptsname(master_fd); /* get name of slave */ in os_openpty_impl()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_interceptors.inc4879 INTERCEPTOR(char *, ptsname, int fd) {
4881 COMMON_INTERCEPTOR_ENTER(ctx, ptsname, fd);
4882 char *res = REAL(ptsname)(fd);
4887 #define INIT_PTSNAME COMMON_INTERCEPT_FUNCTION(ptsname);
/external/rust/crates/libc/src/fuchsia/
Dmod.rs3837 pub fn ptsname(fd: ::c_int) -> *mut ::c_char; in ptsname() function
/external/llvm-project/compiler-rt/lib/dfsan/
Dlibc_ubuntu1404_abilist.txt2656 fun:ptsname=uninstrumented
/external/compiler-rt/lib/dfsan/
Dlibc_ubuntu1404_abilist.txt2656 fun:ptsname=uninstrumented
/external/google-breakpad/src/processor/testdata/symbols/libc-2.13.so/F4F8DFCD5A5FB5A7CE64717E9E6AE3890/
Dlibc-2.13.so.sym1664 PUBLIC 10ef30 0 ptsname