/third_party/ltp/testcases/kernel/pty/ |
H A D | ptem01.c | 70 if (unlockpt(masterfd) != 0) { in test1() 71 tst_brkm(TBROK, NULL, "unlockpt() call failed"); in test1() 149 if (unlockpt(masterfd) != 0) { in test2() 150 tst_brkm(TBROK, NULL, "unlockpt() call failed"); in test2() 227 if (unlockpt(masterfd) != 0) { in test3() 228 tst_brkm(TBROK, NULL, "unlockpt() call failed"); in test3() 275 if (unlockpt(masterfd) != 0) { in test4() 276 tst_brkm(TBROK, NULL, "unlockpt() call failed"); in test4() 349 if (unlockpt(masterfd[i]) != 0) { in test5() 350 tst_brkm(TBROK, NULL, "unlockpt() cal in test5() [all...] |
H A D | pty01.c | 109 if (unlockpt(masterfd) != 0) { in test1() 110 tst_brkm(TBROK | TERRNO, NULL, "unlockpt() failed"); in test1() 208 if (unlockpt(masterfd) != 0) { in test2() 209 tst_brkm(TBROK | TERRNO, NULL, "unlockpt() call failed"); in test2() 285 if (unlockpt(masterfd) != 0) { in test4() 286 tst_brkm(TBROK | TERRNO, NULL, "unlockpt() call failed"); in test4()
|
H A D | pty02.c | 45 if (unlockpt(ptmx) != 0) in do_test() 46 tst_brk(TBROK | TERRNO, "unlockpt() failed"); in do_test()
|
H A D | pty03.c | 115 if (unlockpt(ptmx)) in do_test() 116 tst_brk(TBROK | TERRNO, "unlockpt(ptmx)"); in do_test()
|
H A D | hangup01.c | 223 if (unlockpt(masterfd) != 0) in main() 224 tst_brkm(TBROK | TERRNO, NULL, "unlockpt"); in main()
|
H A D | pty04.c | 122 if (unlockpt(ptmx)) in open_pty() 123 tst_brk(TBROK | TERRNO, "unlockpt(ptmx)"); in open_pty()
|
/third_party/musl/libc-test/src/functionalext/supplement/misc/ |
H A D | unlockpt.c | 25 * @tc.desc : Test the unlockpt method to gain access to the pseudo-terminal 43 result = unlockpt(fdm); in unlockpt_0100() 45 t_error("%s unlockpt failed", __func__); in unlockpt_0100()
|
/third_party/musl/porting/liteos_a/user/src/misc/ |
H A D | pty.c | 23 int unlockpt(int fd) in unlockpt() function
|
/third_party/musl/src/misc/ |
H A D | pty.c | 23 int unlockpt(int fd) in unlockpt() function
|
/third_party/musl/libc-test/src/functionalext/supplement/termios/ |
H A D | tcdrain.c | 49 result = unlockpt(fd_master); in tcdrain_0100() 51 t_error("%s unlockpt failed", __func__); in tcdrain_0100()
|
H A D | tcflow.c | 47 result = unlockpt(fdm); in tcflow_0100() 49 t_error("%s unlockpt failed", __func__); in tcflow_0100()
|
/third_party/rust/crates/nix/src/ |
H A D | pty.rs | 139 /// use nix::pty::{grantpt, posix_openpt, ptsname, unlockpt}; 149 /// unlockpt(&master_fd)?; 225 /// [`unlockpt(3)`](https://pubs.opengroup.org/onlinepubs/9699919799/functions/unlockpt.html)) 227 /// `unlockpt()` unlocks the slave pseudoterminal device corresponding to the master pseudoterminal 231 pub fn unlockpt(fd: &PtyMaster) -> Result<()> { in unlockpt() functions 232 if unsafe { libc::unlockpt(fd.as_raw_fd()) } < 0 { in unlockpt()
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | stdlib.h | 122 int unlockpt (int);
|
/third_party/musl/porting/liteos_m/user/include/ |
H A D | stdlib.h | 121 int unlockpt (int);
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | stdlib.h | 124 int unlockpt (int);
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | stdlib.h | 122 int unlockpt (int);
|
/third_party/musl/libc-test/src/api/ |
H A D | stdlib.c | 93 {int(*p)(int) = unlockpt;} in f()
|
/third_party/musl/porting/linux/user/include/ |
H A D | stdlib.h | 127 int unlockpt (int);
|
/third_party/musl/include/ |
H A D | stdlib.h | 128 int unlockpt (int);
|
/third_party/rust/crates/libc/src/unix/solarish/ |
H A D | compat.rs | 70 if ::grantpt(fdm) < 0 || ::unlockpt(fdm) < 0 { in openpty()
|
/third_party/rust/crates/nix/test/ |
H A D | test_pty.rs | 108 unlockpt(&master).expect("unlockpt failed"); in open_ptty_pair()
|
H A D | test_unistd.rs | 13 use nix::pty::{grantpt, posix_openpt, ptsname, unlockpt}; 1245 unlockpt(&fd).expect("unlockpt failed"); in test_ttyname()
|
/third_party/rust/crates/libc/src/unix/ |
H A D | mod.rs | 1402 pub fn unlockpt(fd: ::c_int) -> ::c_int; in unlockpt() functions
|
/third_party/rust/crates/libc/src/fuchsia/ |
H A D | mod.rs | 3858 pub fn unlockpt(fd: ::c_int) -> ::c_int; in unlockpt() functions
|
/third_party/python/Modules/ |
H A D | posixmodule.c | 7424 if (unlockpt(master_fd) < 0) { in os_openpty_impl()
|