Lines Matching refs:pca
166 struct putchar_args pca;
174 pca.flags = TOTTY;
175 pca.tty = (struct tty *)sessp->s_ttyp;
179 __doprnt(fmt, &ap, putchar, &pca, 10);
220 struct putchar_args pca;
232 pca.flags = flags;
233 pca.tty = tp;
235 __doprnt(fmt, &ap, putchar, &pca, 10);
256 struct putchar_args pca;
257 pca.flags = TOTTY;
258 pca.tty = tp;
261 __doprnt(fmt, &ap, putchar, &pca, 10);
273 struct putchar_args pca;
274 pca.flags = TOLOG;
275 pca.tty = NULL;
277 putchar('<', &pca);
279 putchar('>', &pca);
300 struct putchar_args pca;
302 pca.flags = TOLOGLOCKED;
303 pca.tty = NULL;
306 pca.flags |= TOCONS;
310 __doprnt(fmt, &ap, putchar, &pca, 10);
321 struct putchar_args pca;
324 pca.flags = flags;
325 pca.tty = ttyp;
329 __doprnt(format, &ap, putchar, &pca, 10);
336 struct putchar_args pca;
338 pca.flags = flags;
339 pca.tty = ttyp;
358 __doprnt(fmt, &ap, putchar, &pca, 10);
377 struct putchar_args pca;
379 pca.flags = flags;
380 pca.tty = ttyp;
383 putchar('-', &pca);
394 putchar('0', &pca);
396 putchar(' ', &pca);
399 putchar(*--cp, &pca);
422 struct putchar_args *pca = arg;
423 char **sp = (char**) pca->tty;
427 if ((pca->flags & TOCONS) && pca->tty == NULL && constty) {
428 pca->tty = constty;
429 pca->flags |= TOTTY;
431 if ((pca->flags & TOTTY) && pca->tty && tputchar(c, pca->tty) < 0 &&
432 (pca->flags & TOCONS) && pca->tty == constty)
434 if ((pca->flags & TOLOG) && c != '\0' && c != '\r' && c != 0177)
436 if ((pca->flags & TOLOGLOCKED) && c != '\0' && c != '\r' && c != 0177)
438 if ((pca->flags & TOCONS) && constty == 0 && c != '\0')
440 if (pca->flags & TOSTR) {
449 struct putchar_args pca;
451 pca.flags = TOLOG | TOCONS;
452 pca.tty = NULL;
453 __doprnt(fmt, &ap, putchar, &pca, 10);