Lines Matching defs:master
31 // * unblock slave operations, when the master is closed
399 open_tty(int index, bool master)
402 fprintf(stderr, "open_tty(%d, %d): Bad index!\n", index, master);
405 sprintf(path, "/dev/%ct/r%x", (master ? 'p' : 't'), index);
407 int fd = open(path, O_RDWR | (master ? 0 : O_NOCTTY));
434 TestUnblockOnCloseRead(bool master, bool crossOver)
438 fTestMaster(master),
441 printf("TestUnblockOnCloseRead(%d, %d)\n", master, crossOver);
495 TestUnblockOnCloseWrite(bool master, bool crossOver, bool echo)
499 fTestMaster(master),
503 printf("TestUnblockOnCloseWrite(%d, %d, %d)\n", master, crossOver,
565 TestSelectAlreadyReady(bool master, bool write)
569 fTestMaster(master),
572 printf("TestSelectAlreadyReady(%d, %d)\n", master, write);
629 TestSelectNotifyOnClose(bool master)
632 fTestMaster(master)
634 printf("TestSelectNotifyOnClose(%d)\n", master);
675 // In case the slave is closed while we select() on the master, only a
700 TestSelectNotifyAfterPending(bool master, bool write, bool unblock)
704 fTestMaster(master),
708 printf("TestSelectNotifyAfterPending(%d, %d, %d)\n", master, write,
815 TestIoctlFIONRead(bool master)
819 fTestMaster(master)
821 printf("TestIoctlFIONRead(%d)\n", master);