Lines Matching refs:m

185 	int m;  in prmodes()  local
188 m = stio.imode; in prmodes()
189 if (m & IUCLC) in prmodes()
193 m = stio.omode; in prmodes()
194 if (m & OLCUC) in prmodes()
198 if (m & TAB3) in prmodes()
200 m = stio.lmode; in prmodes()
201 if (m & XCASE) in prmodes()
205 if (m & STFLUSH) in prmodes()
209 if (m & STWRAP) in prmodes()
213 if (m & STAPPL) in prmodes()
220 m = cb.c_cflag; in prmodes()
227 if (m & PARENB) { in prmodes()
228 if ((m & PAREXT) && (term & TERMIOS)) { in prmodes()
229 if (m & PARODD) in prmodes()
234 if (m & PARODD) in prmodes()
241 if (((m & PARENB) && !(m & CS7)) || in prmodes()
242 (!(m & PARENB) && !(m & CS8))) in prmodes()
243 (void) fprintf(output, "cs%c ", '5' + (m & CSIZE)/CS6); in prmodes()
244 if (m & CSTOPB) in prmodes()
246 if (m & HUPCL) in prmodes()
248 if (!(m & CREAD)) in prmodes()
250 if (m & CLOCAL) in prmodes()
252 if (m & LOBLK) in prmodes()
304 m = cb.c_iflag; in prmodes()
305 if (m & IGNBRK) in prmodes()
307 else if (!(m & BRKINT)) in prmodes()
309 if (!(m & INPCK)) in prmodes()
311 else if (!(m & IGNPAR)) in prmodes()
313 if (m & PARMRK) in prmodes()
315 if (!(m & ISTRIP)) in prmodes()
317 if (m & INLCR) in prmodes()
319 if (m & IGNCR) in prmodes()
321 if (!(m & ICRNL)) in prmodes()
323 if (m & IUCLC) in prmodes()
325 if (!(m & IXON)) in prmodes()
327 else if (m & IXANY) in prmodes()
329 if (m & IXOFF) in prmodes()
331 if ((term & TERMIOS) && (m & IMAXBEL)) in prmodes()
333 m = cb.c_oflag; in prmodes()
334 if (!(m & OPOST)) in prmodes()
337 if (m & OLCUC) in prmodes()
339 if (!(m & ONLCR)) in prmodes()
341 if (m & OCRNL) in prmodes()
343 if (m & ONOCR) in prmodes()
345 if (m & ONLRET) in prmodes()
347 if (m & OFILL) in prmodes()
348 if (m & OFDEL) in prmodes()
352 delay((m & CRDLY)/CR1, "cr"); in prmodes()
353 delay((m & NLDLY)/NL1, "nl"); in prmodes()
354 if ((m & TABDLY) == XTABS) in prmodes()
357 delay((m & TABDLY)/TAB1, "tab"); in prmodes()
358 delay((m & BSDLY)/BS1, "bs"); in prmodes()
359 delay((m & VTDLY)/VT1, "vt"); in prmodes()
360 delay((m & FFDLY)/FF1, "ff"); in prmodes()
363 m = cb.c_lflag; in prmodes()
364 if (!(m & ISIG)) in prmodes()
366 if (!(m & ICANON)) in prmodes()
368 if (m & XCASE) in prmodes()
370 if (!(m & ECHO)) in prmodes()
372 if (m & ECHOE) { in prmodes()
373 if (m & ECHOKE) in prmodes()
378 if (!(m & ECHOPRT)) in prmodes()
381 if (!(m & ECHOK)) in prmodes()
383 if (m & ECHONL) in prmodes()
385 if (m & NOFLSH) in prmodes()
387 if (m & TOSTOP) in prmodes()
389 if (!(m & ECHOCTL)) in prmodes()
391 if (m & DEFECHO) in prmodes()
393 if (m & FLUSHO) in prmodes()
395 if (m & PENDIN) in prmodes()
397 if (m & IEXTEN) in prmodes()
402 m = termiox.x_hflag; in prmodes()
403 if (m & RTSXOFF) in prmodes()
405 if (m & CTSXON) in prmodes()
407 if (m & DTRXOFF) in prmodes()
409 if (m & CDXON) in prmodes()
411 if (m & ISXOFF) in prmodes()
413 m = termiox.x_cflag; in prmodes()
414 switch (m & XMTCLK) { in prmodes()
426 switch (m & RCVCLK) { in prmodes()
438 switch (m & TSETCLK) { in prmodes()
450 switch (m & RSETCLK) { in prmodes()
470 int m; in pramodes() local
472 m = cb.c_cflag; in pramodes()
514 m = cb.c_cflag; in pramodes()
515 (void) fprintf(output, "-parenb " + ((m & PARENB) != 0)); in pramodes()
516 (void) fprintf(output, "-parodd " + ((m & PARODD) != 0)); in pramodes()
517 (void) fprintf(output, "cs%c ", '5'+ (m & CSIZE)/CS6); in pramodes()
518 (void) fprintf(output, "-cstopb " + ((m & CSTOPB) != 0)); in pramodes()
519 (void) fprintf(output, "-hupcl " + ((m & HUPCL) != 0)); in pramodes()
520 (void) fprintf(output, "-cread " + ((m & CREAD) != 0)); in pramodes()
521 (void) fprintf(output, "-clocal " + ((m & CLOCAL) != 0)); in pramodes()
523 (void) fprintf(output, "-loblk " + ((m & LOBLK) != 0)); in pramodes()
525 (void) fprintf(output, "-parext " + ((m & PAREXT) != 0)); in pramodes()
528 m = cb.c_iflag; in pramodes()
529 (void) fprintf(output, "-ignbrk " + ((m & IGNBRK) != 0)); in pramodes()
530 (void) fprintf(output, "-brkint " + ((m & BRKINT) != 0)); in pramodes()
531 (void) fprintf(output, "-ignpar " + ((m & IGNPAR) != 0)); in pramodes()
532 (void) fprintf(output, "-parmrk " + ((m & PARMRK) != 0)); in pramodes()
533 (void) fprintf(output, "-inpck " + ((m & INPCK) != 0)); in pramodes()
534 (void) fprintf(output, "-istrip " + ((m & ISTRIP) != 0)); in pramodes()
535 (void) fprintf(output, "-inlcr " + ((m & INLCR) != 0)); in pramodes()
536 (void) fprintf(output, "-igncr " + ((m & IGNCR) != 0)); in pramodes()
537 (void) fprintf(output, "-icrnl " + ((m & ICRNL) != 0)); in pramodes()
538 (void) fprintf(output, "-iuclc " + ((m & IUCLC) != 0)); in pramodes()
540 (void) fprintf(output, "-ixon " + ((m & IXON) != 0)); in pramodes()
541 (void) fprintf(output, "-ixany " + ((m & IXANY) != 0)); in pramodes()
542 (void) fprintf(output, "-ixoff " + ((m & IXOFF) != 0)); in pramodes()
544 (void) fprintf(output, "-imaxbel " + ((m & IMAXBEL) != 0)); in pramodes()
546 m = cb.c_lflag; in pramodes()
547 (void) fprintf(output, "-isig " + ((m & ISIG) != 0)); in pramodes()
548 (void) fprintf(output, "-icanon " + ((m & ICANON) != 0)); in pramodes()
549 (void) fprintf(output, "-xcase " + ((m & XCASE) != 0)); in pramodes()
550 (void) fprintf(output, "-echo " + ((m & ECHO) != 0)); in pramodes()
551 (void) fprintf(output, "-echoe " + ((m & ECHOE) != 0)); in pramodes()
552 (void) fprintf(output, "-echok " + ((m & ECHOK) != 0)); in pramodes()
553 (void) fprintf(output, "-echonl " + ((m & ECHONL) != 0)); in pramodes()
554 (void) fprintf(output, "-noflsh " + ((m & NOFLSH) != 0)); in pramodes()
557 (void) fprintf(output, "-tostop " + ((m & TOSTOP) != 0)); in pramodes()
558 (void) fprintf(output, "-echoctl " + ((m & ECHOCTL) != 0)); in pramodes()
559 (void) fprintf(output, "-echoprt " + ((m & ECHOPRT) != 0)); in pramodes()
560 (void) fprintf(output, "-echoke " + ((m & ECHOKE) != 0)); in pramodes()
561 (void) fprintf(output, "-defecho " + ((m & DEFECHO) != 0)); in pramodes()
562 (void) fprintf(output, "-flusho " + ((m & FLUSHO) != 0)); in pramodes()
563 (void) fprintf(output, "-pendin " + ((m & PENDIN) != 0)); in pramodes()
564 (void) fprintf(output, "-iexten " + ((m & IEXTEN) != 0)); in pramodes()
567 (void) fprintf(output, "-stflush " + ((m & STFLUSH) != 0)); in pramodes()
568 (void) fprintf(output, "-stwrap " + ((m & STWRAP) != 0)); in pramodes()
569 (void) fprintf(output, "-stappl " + ((m & STAPPL) != 0)); in pramodes()
572 m = cb.c_oflag; in pramodes()
573 (void) fprintf(output, "-opost " + ((m & OPOST) != 0)); in pramodes()
574 (void) fprintf(output, "-olcuc " + ((m & OLCUC) != 0)); in pramodes()
575 (void) fprintf(output, "-onlcr " + ((m & ONLCR) != 0)); in pramodes()
576 (void) fprintf(output, "-ocrnl " + ((m & OCRNL) != 0)); in pramodes()
577 (void) fprintf(output, "-onocr " + ((m & ONOCR) != 0)); in pramodes()
578 (void) fprintf(output, "-onlret " + ((m & ONLRET) != 0)); in pramodes()
579 (void) fprintf(output, "-ofill " + ((m & OFILL) != 0)); in pramodes()
580 (void) fprintf(output, "-ofdel " + ((m & OFDEL) != 0)); in pramodes()
581 delay((m & CRDLY)/CR1, "cr"); in pramodes()
582 delay((m & NLDLY)/NL1, "nl"); in pramodes()
583 if ((m & TABDLY) == XTABS) in pramodes()
586 delay((m & TABDLY)/TAB1, "tab"); in pramodes()
587 delay((m & BSDLY)/BS1, "bs"); in pramodes()
588 delay((m & VTDLY)/VT1, "vt"); in pramodes()
589 delay((m & FFDLY)/FF1, "ff"); in pramodes()
592 m = termiox.x_hflag; in pramodes()
593 (void) fprintf(output, "-rtsxoff " + ((m & RTSXOFF) != 0)); in pramodes()
594 (void) fprintf(output, "-ctsxon " + ((m & CTSXON) != 0)); in pramodes()
595 (void) fprintf(output, "-dterxoff " + ((m & DTRXOFF) != 0)); in pramodes()
596 (void) fprintf(output, "-rlsdxon " + ((m & CDXON) != 0)); in pramodes()
597 (void) fprintf(output, "-isxoff " + ((m & ISXOFF) != 0)); in pramodes()
598 m = termiox.x_cflag; in pramodes()
599 switch (m & XMTCLK) { in pramodes()
611 switch (m & RCVCLK) { in pramodes()
623 switch (m & TSETCLK) { in pramodes()
635 switch (m & RSETCLK) { in pramodes()
751 delay(int m, char *s) in delay() argument
753 if (m) in delay()
754 (void) fprintf(output, "%s%d ", s, m); in delay()