/external/compiler-rt/test/msan/Linux/ |
forkpty.cc | 10 int master, slave; local 11 openpty(&master, &slave, NULL, NULL, NULL); 13 assert(__msan_test_shadow(&slave, sizeof(slave)) == -1);
|
/external/ltp/testcases/kernel/fs/fs_bind/bind/ |
00_Descriptions.txt | 27 test03 - shared child to slave parent. 31 test07 - private child to slave parent. 32 test07-2 - create slave then mount master - slave still propagates. 34 test09 - slave child to shared parent. 35 test10 - slave child to private parent. 36 test11 - slave child to slave parent. 37 test12 - slave child to uncloneable parent. 40 test15 - uncloneable child to slave parent [all...] |
/external/jcommander/src/test/java/com/beust/jcommander/args/ |
ArgsSlave.java | 29 @Parameter(names = "-slave") 30 public String slave; field in class:ArgsSlave
|
/external/python/cpython2/Lib/test/ |
test_openpty.py | 12 master, slave = os.openpty() 14 self.addCleanup(os.close, slave) 15 if not os.isatty(slave): 16 self.fail("Slave-end of pty is not a terminal.") 18 os.write(slave, 'Ping!')
|
/external/python/cpython3/Lib/test/ |
test_openpty.py | 11 master, slave = os.openpty() 13 self.addCleanup(os.close, slave) 14 if not os.isatty(slave): 15 self.fail("Slave-end of pty is not a terminal.") 17 os.write(slave, b'Ping!')
|
/external/syslinux/gpxe/src/include/gpxe/ |
spi_bit.h | 36 /** Master Out Slave In */ 38 /** Master In Slave Out */ 40 /** Slave 0 select */ 45 * Determine bit index for a particular slave 47 * @v slave Slave number 48 * @ret index Bit index (i.e. SPI_BIT_SSN, where N=slave) 50 #define SPI_BIT_SS( slave ) ( SPI_BIT_SS0 + (slave) )
|
/external/ltp/testcases/kernel/fs/fs_bind/rbind/ |
00_Descriptions.txt | 25 test07-2 - create slave then mount master - slave still propagates 28 test03 - shared child to slave parent. 32 test07 - private child to slave parent. 34 test09 - slave child to shared parent. 35 test10 - slave child to private parent. 36 test11 - slave child to slave parent. 37 test12 - slave child to uncloneable parent. 40 test15 - uncloneable child to slave parent [all...] |
/external/libnl/lib/route/link/ |
bonding.c | 98 * @arg slave ifindex of slave link to add to bond 108 int slave) 116 rtnl_link_set_ifindex(link, slave); 131 if ((err = rtnl_link_get_kernel(sock, slave, NULL, &link)) < 0) 147 * @arg slave slave link to add to bond 149 * Constructs a RTM_NEWLINK or RTM_SETLINK message adding the slave to 164 struct rtnl_link *slave) 168 rtnl_link_get_ifindex(slave)); [all...] |
/external/ltp/testcases/kernel/fs/fs_bind/move/ |
00_Descriptions.txt | 27 test03 - shared subtree to slave parent. 31 test07 - private subtree to slave parent. 33 test09 - slave subtree to shared parent. 34 test10 - slave subtree to private parent. 35 test11 - slave subtree to slave parent. 36 test12 - slave subtree to uncloneable parent. 39 test15 - uncloneable subtree to slave parent. 43 test19 - private to private - with slave children 61 shared subtree to slave parent [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_openpty.py | 12 master, slave = os.openpty()
13 if not os.isatty(slave):
14 self.fail("Slave-end of pty is not a terminal.")
16 os.write(slave, 'Ping!')
|
/external/libnl/src/ |
nl-link-release.c | 20 struct rtnl_link *slave; local 24 fprintf(stderr, "Usage: nl-link-release slave\n"); 32 if (!(slave = rtnl_link_get_by_name(link_cache, argv[1]))) { 37 if ((err = rtnl_link_bond_release(sock, slave)) < 0) { 38 fprintf(stderr, "Unable to release slave %s: %s\n",
|
nl-link-enslave.c | 20 struct rtnl_link *master, *slave; local 24 fprintf(stderr, "Usage: nl-link-enslave master slave\n"); 37 if (!(slave = rtnl_link_get_by_name(link_cache, argv[2]))) { 42 if ((err = rtnl_link_bond_enslave(sock, master, slave)) < 0) {
|
/external/ltp/testcases/kernel/fs/fs_bind/cloneNS/ |
00_Descriptions.txt | 26 test02 - namespaces with parent-slave 31 test07 - slave child to slave parent. 41 namespaces with parent-slave 68 slave child to slave parent.
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_openpty.py | 12 master, slave = os.openpty() 13 if not os.isatty(slave): 14 self.fail("Slave-end of pty is not a terminal.") 16 os.write(slave, 'Ping!')
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_openpty.py | 12 master, slave = os.openpty() 13 if not os.isatty(slave): 14 self.fail("Slave-end of pty is not a terminal.") 16 os.write(slave, 'Ping!')
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_openpty.py | 12 master, slave = os.openpty() 13 if not os.isatty(slave): 14 self.fail("Slave-end of pty is not a terminal.") 16 os.write(slave, 'Ping!')
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_openpty.py | 12 master, slave = os.openpty() 13 if not os.isatty(slave): 14 self.fail("Slave-end of pty is not a terminal.") 16 os.write(slave, 'Ping!')
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
treesync.py | 7 python treesync.py slave master
10 slave doesn't. All files in the slave tree that have a CVS/Entries
14 if the slave file is newer:
15 normalize the slave file
17 copy the slave to the master
19 copy the master to the slave
21 normalizing the slave means replacing CRLF with LF when the master
55 [slave, master] = args
61 process(slave, master) [all...] |
/external/python/cpython2/Tools/scripts/ |
treesync.py | 7 python treesync.py slave master 10 slave doesn't. All files in the slave tree that have a CVS/Entries 14 if the slave file is newer: 15 normalize the slave file 17 copy the slave to the master 19 copy the master to the slave 21 normalizing the slave means replacing CRLF with LF when the master 55 [slave, master] = args 61 process(slave, master [all...] |
/external/python/cpython3/Tools/scripts/ |
treesync.py | 7 python treesync.py slave master 10 slave doesn't. All files in the slave tree that have a CVS/Entries 14 if the slave file is newer: 15 normalize the slave file 17 copy the slave to the master 19 copy the master to the slave 21 normalizing the slave means replacing CRLF with LF when the master 55 [slave, master] = args 61 process(slave, master [all...] |
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t052import.py | 73 for slave in slaves: 74 parserName = self.writeInlineGrammar(slave)[0] 75 # slave parsers are imported as normal python modules 94 for slave in slaves: 95 parserName = self.writeInlineGrammar(slave)[0] 96 # slave parsers are imported as normal python modules 130 slave = textwrap.dedent( 159 slaves=[slave], 170 # String slave = 174 # writeFile(tmpdir, "S.g", slave); [all...] |
/bionic/tests/ |
pty_test.cpp | 31 int master, slave; local 34 ASSERT_EQ(0, openpty(&master, &slave, name, NULL, &w)); 36 ASSERT_NE(-1, slave); 37 ASSERT_NE(master, slave); 40 ASSERT_EQ(0, ttyname_r(slave, tty_name, sizeof(tty_name))); 44 ASSERT_EQ(0, ioctl(slave, TIOCGWINSZ, &w_actual)); 51 close(slave); 119 int slave; local 120 ASSERT_EQ(0, openpty(&master, &slave, nullptr, nullptr, nullptr)); 122 ASSERT_EQ(0, tcgetattr(slave, &tattr)) [all...] |
/external/valgrind/none/tests/ |
pth_2sig.c | 19 pthread_t slave; local 20 if (pthread_create(&slave, 0, slavethread, 0)) {
|
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
TestCompositeGrammars.java | 50 String slave = local 54 writeFile(tmpdir, "S.g", slave); 70 String slave = local 74 writeFile(tmpdir, "S.g", slave); 90 String slave = local 94 writeFile(tmpdir, "S.g", slave); 107 String slave = local 114 writeFile(tmpdir, "S.g", slave); 126 String slave = local 131 writeFile(tmpdir, "S.g", slave); 148 String slave = local 188 String slave = local 234 String slave = local 263 String slave = local 316 String slave = local 369 String slave = local 407 String slave = local 448 String slave = local 474 String slave = local 498 String slave = local 515 String slave = local 540 String slave = local 567 String slave = local 583 String slave = local 603 String slave = local 644 String slave = local 675 String slave = local 698 String slave = local 721 String slave = local 748 String slave = local 794 String slave = local 857 String slave = local 955 String slave = local [all...] |
/bionic/libc/bionic/ |
pty.cpp | 115 int openpty(int* master, int* slave, char* name, const termios* t, const winsize* ws) { 135 *slave = open(name, O_RDWR|O_NOCTTY); 136 if (*slave == -1) { 142 tcsetattr(*slave, TCSAFLUSH, t); 145 ioctl(*slave, TIOCSWINSZ, ws); 153 int slave; local 154 if (openpty(&master, &slave, name, t, ws) == -1) { 161 close(slave); 169 if (login_tty(slave) == -1) { 177 close(slave); [all...] |