Lines Matching refs:flags

162   int flags;  member
245 int flags; in dprintf_Pass1() local
256 flags = FLAGS_NEW; in dprintf_Pass1()
284 flags |= FLAGS_LONG; in dprintf_Pass1()
288 flags |= FLAGS_LONGLONG; in dprintf_Pass1()
296 flags |= FLAGS_SPACE; in dprintf_Pass1()
299 flags |= FLAGS_SHOWSIGN; in dprintf_Pass1()
302 flags |= FLAGS_LEFT; in dprintf_Pass1()
303 flags &= ~FLAGS_PAD_NIL; in dprintf_Pass1()
306 flags |= FLAGS_ALT; in dprintf_Pass1()
309 flags |= FLAGS_PREC; in dprintf_Pass1()
313 flags |= FLAGS_PRECPARAM; in dprintf_Pass1()
327 flags |= FLAGS_PREC; in dprintf_Pass1()
332 flags |= FLAGS_SHORT; in dprintf_Pass1()
337 flags |= FLAGS_LONGLONG; in dprintf_Pass1()
339 flags |= FLAGS_LONG; in dprintf_Pass1()
344 if(flags & FLAGS_LONG) in dprintf_Pass1()
345 flags |= FLAGS_LONGLONG; in dprintf_Pass1()
347 flags |= FLAGS_LONG; in dprintf_Pass1()
350 flags |= FLAGS_LONGDOUBLE; in dprintf_Pass1()
353 flags |= FLAGS_LONGLONG; in dprintf_Pass1()
359 flags |= FLAGS_LONGLONG; in dprintf_Pass1()
361 flags |= FLAGS_LONG; in dprintf_Pass1()
366 flags |= FLAGS_LONGLONG; in dprintf_Pass1()
368 flags |= FLAGS_LONG; in dprintf_Pass1()
372 if(!(flags & FLAGS_LEFT)) in dprintf_Pass1()
373 flags |= FLAGS_PAD_NIL; in dprintf_Pass1()
377 flags |= FLAGS_WIDTH; in dprintf_Pass1()
381 flags |= FLAGS_WIDTHPARAM; in dprintf_Pass1()
403 flags |= FLAGS_ALT; in dprintf_Pass1()
419 flags |= FLAGS_UNSIGNED; in dprintf_Pass1()
423 flags |= FLAGS_OCTAL; in dprintf_Pass1()
427 flags |= FLAGS_HEX|FLAGS_UNSIGNED; in dprintf_Pass1()
431 flags |= FLAGS_HEX|FLAGS_UPPER|FLAGS_UNSIGNED; in dprintf_Pass1()
435 flags |= FLAGS_CHAR; in dprintf_Pass1()
442 flags |= FLAGS_FLOATE; in dprintf_Pass1()
446 flags |= FLAGS_FLOATE|FLAGS_UPPER; in dprintf_Pass1()
450 flags |= FLAGS_FLOATG; in dprintf_Pass1()
454 flags |= FLAGS_FLOATG|FLAGS_UPPER; in dprintf_Pass1()
461 vto[i].flags = flags; in dprintf_Pass1()
465 if(flags & FLAGS_WIDTHPARAM) { in dprintf_Pass1()
471 vto[i].flags = FLAGS_NEW; in dprintf_Pass1()
475 if(flags & FLAGS_PRECPARAM) { in dprintf_Pass1()
481 vto[i].flags = FLAGS_NEW; in dprintf_Pass1()
511 if((vto[i].flags & FLAGS_LONGLONG) && (vto[i].flags & FLAGS_UNSIGNED)) in dprintf_Pass1()
514 else if(vto[i].flags & FLAGS_LONGLONG) in dprintf_Pass1()
520 if((vto[i].flags & FLAGS_LONG) && (vto[i].flags & FLAGS_UNSIGNED)) in dprintf_Pass1()
523 else if(vto[i].flags & FLAGS_LONG) in dprintf_Pass1()
526 else if(vto[i].flags & FLAGS_UNSIGNED) in dprintf_Pass1()
648 if(p->flags & FLAGS_WIDTHPARAM) in dprintf_formatf()
654 if(p->flags & FLAGS_PRECPARAM) { in dprintf_formatf()
659 else if(p->flags & FLAGS_PREC) in dprintf_formatf()
664 is_alt = (p->flags & FLAGS_ALT) ? 1 : 0; in dprintf_formatf()
669 if(p->flags & FLAGS_CHAR) { in dprintf_formatf()
671 if(!(p->flags & FLAGS_LEFT)) in dprintf_formatf()
675 if(p->flags & FLAGS_LEFT) in dprintf_formatf()
680 if(p->flags & FLAGS_OCTAL) { in dprintf_formatf()
685 else if(p->flags & FLAGS_HEX) { in dprintf_formatf()
688 digits = (p->flags & FLAGS_UPPER)? upper_digits : lower_digits; in dprintf_formatf()
692 else if(p->flags & FLAGS_UNSIGNED) { in dprintf_formatf()
749 if(is_neg || (p->flags & FLAGS_SHOWSIGN) || (p->flags & FLAGS_SPACE)) in dprintf_formatf()
752 if(!(p->flags & FLAGS_LEFT) && !(p->flags & FLAGS_PAD_NIL)) in dprintf_formatf()
758 else if(p->flags & FLAGS_SHOWSIGN) in dprintf_formatf()
760 else if(p->flags & FLAGS_SPACE) in dprintf_formatf()
765 if(p->flags & FLAGS_UPPER) in dprintf_formatf()
771 if(!(p->flags & FLAGS_LEFT) && (p->flags & FLAGS_PAD_NIL)) in dprintf_formatf()
780 if(p->flags & FLAGS_LEFT) in dprintf_formatf()
800 p->flags &= (~FLAGS_ALT); in dprintf_formatf()
814 if(p->flags & FLAGS_ALT) in dprintf_formatf()
817 if(!(p->flags&FLAGS_LEFT)) in dprintf_formatf()
823 if(p->flags&FLAGS_LEFT) in dprintf_formatf()
827 if(p->flags & FLAGS_ALT) in dprintf_formatf()
840 digits = (p->flags & FLAGS_UPPER)? upper_digits : lower_digits; in dprintf_formatf()
852 if(p->flags & FLAGS_LEFT) in dprintf_formatf()
857 if(! (p->flags & FLAGS_LEFT)) in dprintf_formatf()
872 if(p->flags & FLAGS_WIDTH) in dprintf_formatf()
874 else if(p->flags & FLAGS_WIDTHPARAM) in dprintf_formatf()
878 if(p->flags & FLAGS_PREC) in dprintf_formatf()
880 else if(p->flags & FLAGS_PRECPARAM) in dprintf_formatf()
883 if(p->flags & FLAGS_LEFT) in dprintf_formatf()
885 if(p->flags & FLAGS_SHOWSIGN) in dprintf_formatf()
887 if(p->flags & FLAGS_SPACE) in dprintf_formatf()
889 if(p->flags & FLAGS_ALT) in dprintf_formatf()
905 if(p->flags & FLAGS_LONG) in dprintf_formatf()
908 if(p->flags & FLAGS_FLOATE) in dprintf_formatf()
909 *fptr++ = (char)((p->flags & FLAGS_UPPER) ? 'E':'e'); in dprintf_formatf()
910 else if(p->flags & FLAGS_FLOATG) in dprintf_formatf()
911 *fptr++ = (char)((p->flags & FLAGS_UPPER) ? 'G' : 'g'); in dprintf_formatf()
929 if(p->flags & FLAGS_LONGLONG) in dprintf_formatf()
933 if(p->flags & FLAGS_LONG) in dprintf_formatf()
935 else if(!(p->flags & FLAGS_SHORT)) in dprintf_formatf()