Lines Matching refs:flags
138 static void printn(uint32_t n, int b, int flags, struct tty *ttyp, int zf, int fld_size);
147 int flags;
169 pca.flags = TOTTY;
217 int flags = TOLOG;
227 flags |= TOTTY;
236 pca.flags = flags;
264 pca.flags = TOTTY;
281 pca.flags = TOLOG;
309 pca.flags = TOLOGLOCKED;
313 pca.flags |= TOCONS;
325 _printf(int flags, struct tty *ttyp, const char *format, ...)
330 pca.flags = flags;
345 prf(const char *fmt, va_list ap, int flags, struct tty *ttyp)
349 pca.flags = flags;
362 printn(uint32_t n, int b, int flags, struct tty *ttyp, int zf, int fld_size)
368 pca.flags = flags;
419 if ((pca->flags & TOCONS) && pca->tty == NULL && constty) {
421 pca->flags |= TOTTY;
423 if ((pca->flags & TOTTY) && pca->tty && tputchar(c, pca->tty) < 0 &&
424 (pca->flags & TOCONS) && pca->tty == constty)
426 if ((pca->flags & TOLOG) && c != '\0' && c != '\r' && c != 0177)
428 if ((pca->flags & TOLOGLOCKED) && c != '\0' && c != '\r' && c != 0177)
430 if ((pca->flags & TOCONS) && constty == 0 && c != '\0')
432 if (pca->flags & TOSTR) {
443 pca.flags = TOLOG | TOCONS;