Lines Matching refs:ops
702 bin_zpty(char *nam, char **args, Options ops, UNUSED(int func))
704 if ((OPT_ISSET(ops,'r') && OPT_ISSET(ops,'w')) ||
705 ((OPT_ISSET(ops,'r') || OPT_ISSET(ops,'w')) &&
706 (OPT_ISSET(ops,'d') || OPT_ISSET(ops,'e') ||
707 OPT_ISSET(ops,'b') || OPT_ISSET(ops,'L'))) ||
708 (OPT_ISSET(ops,'w') && (OPT_ISSET(ops,'t') || OPT_ISSET(ops,'m'))) ||
709 (OPT_ISSET(ops,'n') && (OPT_ISSET(ops,'b') || OPT_ISSET(ops,'e') ||
710 OPT_ISSET(ops,'r') || OPT_ISSET(ops,'t') ||
711 OPT_ISSET(ops,'d') || OPT_ISSET(ops,'L') ||
712 OPT_ISSET(ops,'m'))) ||
713 (OPT_ISSET(ops,'d') && (OPT_ISSET(ops,'b') || OPT_ISSET(ops,'e') ||
714 OPT_ISSET(ops,'L') || OPT_ISSET(ops,'t') ||
715 OPT_ISSET(ops,'m'))) ||
716 (OPT_ISSET(ops,'L') && (OPT_ISSET(ops,'b') || OPT_ISSET(ops,'e') ||
717 OPT_ISSET(ops,'m')))) {
721 if (OPT_ISSET(ops,'r') || OPT_ISSET(ops,'w')) {
734 return (OPT_ISSET(ops,'r') ?
735 ptyread(nam, p, args + 1, OPT_ISSET(ops,'t'),
736 OPT_ISSET(ops, 'm')) :
737 ptywrite(p, args + 1, OPT_ISSET(ops,'n')));
738 } else if (OPT_ISSET(ops,'d')) {
754 } else if (OPT_ISSET(ops,'t')) {
775 return newptycmd(nam, *args, args + 1, OPT_ISSET(ops,'e'),
776 OPT_ISSET(ops,'b'));
783 if (OPT_ISSET(ops,'L'))