/third_party/musl/libc-test/src/functionalext/supplement/misc/ |
H A D | pty.c | 33 int rev = grantpt(0); in grantpt_0100() 47 int ret = grantpt(fd); in ptsname_r_0100() 65 int ret = grantpt(fd); in ptsname_r_0200() 95 int ret = grantpt(fd); in ptsname_r_0400()
|
H A D | unlockpt.c | 37 result = grantpt(fdm); in unlockpt_0100() 39 t_error("%s grantpt failed", __func__); in unlockpt_0100()
|
/third_party/ltp/testcases/kernel/pty/ |
H A D | ptem01.c | 66 if (grantpt(masterfd) != 0) { in test1() 67 tst_brkm(TBROK | TERRNO, NULL, "grantpt() call failed"); in test1() 145 if (grantpt(masterfd) != 0) { in test2() 146 tst_brkm(TBROK | TERRNO, NULL, "grantpt() call failed"); in test2() 223 if (grantpt(masterfd) != 0) { in test3() 224 tst_brkm(TBROK | TERRNO, NULL, "grantpt() call failed"); in test3() 271 if (grantpt(masterfd) != 0) { in test4() 272 tst_brkm(TBROK | TERRNO, NULL, "grantpt() call failed"); in test4() 344 if (grantpt(masterfd[i]) != 0) { in test5() 346 "grantpt() cal in test5() [all...] |
H A D | pty01.c | 59 * mode we expect grantpt() to leave pty as 86 if (grantpt(masterfd) != 0) { in test1() 87 tst_brkm(TBROK | TERRNO, NULL, "grantpt() call failed"); in test1() 97 /* grantpt() is a no-op in bionic. */ in test1() 204 if (grantpt(masterfd) != 0) { in test2() 205 tst_brkm(TBROK | TERRNO, NULL, "grantpt() call failed"); in test2() 281 if (grantpt(masterfd) != 0) { in test4() 282 tst_brkm(TBROK, NULL, "grantpt() call failed"); in test4() 348 if (grantpt(masterfd) != 0) { in test5() 349 printf("proc %d: grantpt() cal in test5() [all...] |
H A D | pty03.c | 113 if (grantpt(ptmx)) in do_test() 114 tst_brk(TBROK | TERRNO, "grantpt(ptmx)"); in do_test()
|
H A D | hangup01.c | 220 if (grantpt(masterfd) != 0) in main() 221 tst_brkm(TBROK | TERRNO, NULL, "grantpt"); in main()
|
H A D | pty04.c | 120 if (grantpt(ptmx)) in open_pty() 121 tst_brk(TBROK | TERRNO, "grantpt(ptmx)"); in open_pty()
|
/third_party/musl/porting/liteos_a/user/src/misc/ |
H A D | pty.c | 17 int grantpt(int fd) in grantpt() function
|
/third_party/musl/src/misc/ |
H A D | pty.c | 17 int grantpt(int fd) in grantpt() function
|
/third_party/musl/libc-test/src/functionalext/supplement/termios/ |
H A D | tcdrain.c | 43 result = grantpt(fd_master); in tcdrain_0100() 45 t_error("%s grantpt failed", __func__); in tcdrain_0100()
|
H A D | tcflow.c | 41 result = grantpt(fdm); in tcflow_0100() 43 t_error("%s grantpt failed", __func__); in tcflow_0100()
|
/third_party/rust/crates/nix/src/ |
H A D | pty.rs | 113 /// [`grantpt(3)`](https://pubs.opengroup.org/onlinepubs/9699919799/functions/grantpt.html)) 115 /// `grantpt()` changes the mode and owner of the slave pseudoterminal device corresponding to the 118 pub fn grantpt(fd: &PtyMaster) -> Result<()> { in grantpt() functions 119 if unsafe { libc::grantpt(fd.as_raw_fd()) } < 0 { in grantpt() 139 /// use nix::pty::{grantpt, posix_openpt, ptsname, unlockpt}; 148 /// grantpt(&master_fd)?;
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | stdlib.h | 121 int grantpt (int);
|
/third_party/musl/porting/liteos_m/user/include/ |
H A D | stdlib.h | 120 int grantpt (int);
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | stdlib.h | 123 int grantpt (int);
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | stdlib.h | 121 int grantpt (int);
|
/third_party/musl/libc-test/src/api/ |
H A D | stdlib.c | 76 {int(*p)(int) = grantpt;} in f()
|
/third_party/musl/porting/linux/user/include/ |
H A D | stdlib.h | 126 int grantpt (int);
|
/third_party/musl/include/ |
H A D | stdlib.h | 127 int grantpt (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 | 107 grantpt(&master).expect("grantpt failed"); in open_ptty_pair()
|
H A D | test_unistd.rs | 13 use nix::pty::{grantpt, posix_openpt, ptsname, unlockpt}; 1244 grantpt(&fd).expect("grantpt failed"); in test_ttyname()
|
/third_party/rust/crates/libc/src/unix/ |
H A D | mod.rs | 1399 pub fn grantpt(fd: ::c_int) -> ::c_int; in grantpt() functions
|
/third_party/rust/crates/libc/src/fuchsia/ |
H A D | mod.rs | 3855 pub fn grantpt(fd: ::c_int) -> ::c_int; in grantpt() functions
|
/third_party/python/Modules/ |
H A D | posixmodule.c | 7418 if (grantpt(master_fd) < 0) { in os_openpty_impl()
|