Home
last modified time | relevance | path

Searched refs:slavename (Results 1 – 4 of 4) sorted by relevance

/external/ltp/testcases/kernel/pty/
Dptem01.c57 char *slavename; in test1() local
66 slavename = ptsname(masterfd); in test1()
67 if (slavename == NULL) { in test1()
79 if ((slavefd = open(slavename, O_RDWR)) < 0) { in test1()
80 tst_brkm(TFAIL, NULL, "Could not open %s", slavename); in test1()
138 char *slavename; in test2() local
148 slavename = ptsname(masterfd); in test2()
149 if (slavename == NULL) { in test2()
161 if ((slavefd = open(slavename, O_RDWR)) < 0) { in test2()
162 tst_brkm(TBROK, NULL, "Could not open %s", slavename); in test2()
[all …]
Dpty01.c77 char *slavename; in test1() local
86 slavename = ptsname(masterfd); in test1()
87 if (slavename == NULL) { in test1()
95 if (stat(slavename, &st) != 0) { in test1()
96 tst_brkm(TBROK | TERRNO, NULL, "stat(%s) failed", slavename); in test1()
106 slavefd = open(slavename, O_RDWR); in test1()
115 slavefd = open(slavename, O_RDWR); in test1()
117 tst_brkm(TBROK, NULL, "Could not open %s", slavename); in test1()
199 char *slavename; in test2() local
207 slavename = ptsname(masterfd); in test2()
[all …]
Dhangup01.c161 char *slavename; in child() local
163 if ((slavename = ptsname(masterfd)) == NULL) { in child()
167 if ((slavefd = open(slavename, O_RDWR)) < 0) { in child()
179 if ((slavefd = open(slavename, O_RDWR)) < 0) { in child()
191 if ((slavefd = open(slavename, O_RDWR)) < 0) { in child()
212 char *slavename; in main() local
220 slavename = ptsname(masterfd); in main()
221 if (slavename == NULL) in main()
/external/python/cpython2/Tools/scripts/
Dtreesync.py91 slavename = os.path.join(slave, name)
96 subdirs.append((slavename, mastername))