Home
last modified time | relevance | path

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

/bionic/tests/
Dpty_test.cpp25 int master, slave; in TEST() local
28 ASSERT_EQ(0, openpty(&master, &slave, name, NULL, &w)); in TEST()
29 ASSERT_NE(-1, master); in TEST()
31 ASSERT_NE(master, slave); in TEST()
44 close(master); in TEST()
51 int master; in TEST() local
52 pid_t pid = forkpty(&master, NULL, NULL, NULL); in TEST()
65 close(master); in TEST()
/bionic/libc/bionic/
Dpty.cpp118 int openpty(int* master, int* slave, char* name, const termios* t, const winsize* ws) { in openpty() argument
119 *master = getpt(); in openpty()
120 if (*master == -1) { in openpty()
124 if (grantpt(*master) == -1 || unlockpt(*master) == -1) { in openpty()
125 close(*master); in openpty()
133 if (ptsname_r(*master, name, sizeof(buf)) != 0) { in openpty()
134 close(*master); in openpty()
140 close(*master); in openpty()
155 int master; in forkpty() local
157 if (openpty(&master, &slave, name, t, ws) == -1) { in forkpty()
[all …]
/bionic/libc/kernel/uapi/linux/netfilter/
Dxt_quota.h34 struct xt_quota_priv * master; member
Dxt_limit.h32 struct xt_limit_priv * master; member
Dxt_statistic.h52 struct xt_statistic_priv * master __attribute__((aligned(8))); member
Dxt_hashlimit.h55 struct xt_hashlimit_info * master; member
/bionic/libc/kernel/uapi/linux/
Dstm.h25 __u16 master; member
Disdn.h114 char master[10]; member
/bionic/libc/kernel/uapi/linux/hdlc/
Dioctl.h90 char master[IFNAMSIZ]; member