Home
last modified time | relevance | path

Searched refs:master (Results 1 – 10 of 10) sorted by relevance

/bionic/libc/bionic/
Dpty.cpp117 int openpty(int* master, int* slave, char* name, const termios* t, const winsize* ws) { in openpty() argument
118 *master = getpt(); in openpty()
119 if (*master == -1) { in openpty()
123 if (grantpt(*master) == -1 || unlockpt(*master) == -1) { in openpty()
124 close(*master); in openpty()
132 if (ptsname_r(*master, name, sizeof(buf)) != 0) { in openpty()
133 close(*master); in openpty()
139 close(*master); in openpty()
154 int master; in forkpty() local
156 if (openpty(&master, &slave, name, t, ws) == -1) { in forkpty()
[all …]
/bionic/tests/
Dpty_test.cpp31 int master, slave; in TEST() local
34 ASSERT_EQ(0, openpty(&master, &slave, name, NULL, &w)); in TEST()
35 ASSERT_NE(-1, master); in TEST()
37 ASSERT_NE(master, slave); in TEST()
50 close(master); in TEST()
57 int master; in TEST() local
58 pid_t pid = forkpty(&master, NULL, NULL, NULL); in TEST()
71 close(master); in TEST()
118 int master; in TEST() local
120 ASSERT_EQ(0, openpty(&master, &slave, nullptr, nullptr, nullptr)); in TEST()
[all …]
/bionic/libc/kernel/uapi/linux/netfilter/
Dxt_quota.h31 struct xt_quota_priv * master; member
Dxt_limit.h30 struct xt_limit_priv * master; member
Dxt_statistic.h46 struct xt_statistic_priv * master __attribute__((aligned(8))); member
Dxt_hashlimit.h50 struct xt_hashlimit_info * master; member
/bionic/libc/kernel/uapi/linux/
Dstm.h24 __u16 master; member
Disdn.h95 char master[10]; member
/bionic/libc/kernel/uapi/linux/hdlc/
Dioctl.h76 char master[IFNAMSIZ]; member
/bionic/
DREADME.md215 <https://github.com/google/googletest/blob/master/googletest/docs/AdvancedGuide.md#running-test-pro…