Lines Matching refs:prec
699 int prec; /* Precision of a field. */ in formatf() local
736 prec = (int)input[optr->precision].val.nums; in formatf()
737 if(prec < 0) in formatf()
740 prec = -1; in formatf()
743 prec = optr->precision; in formatf()
745 prec = -1; in formatf()
802 if(prec == -1) in formatf()
803 prec = 1; in formatf()
822 prec -= (int)(workend - w); in formatf()
824 if(is_alt && base == 8 && prec <= 0) { in formatf()
829 if(prec > 0) { in formatf()
830 width -= prec; in formatf()
831 while(prec-- > 0 && w >= work) in formatf()
881 if(prec == -1 || prec >= (int) sizeof(nilstr) - 1) { in formatf()
892 else if(prec != -1) in formatf()
893 len = (size_t)prec; in formatf()
956 prec = optr->precision; in formatf()
978 if(prec >= 0) { in formatf()
983 if(width > 0 && prec <= width) in formatf()
990 if(prec > (int)maxprec) in formatf()
991 prec = (int)maxprec-1; in formatf()
992 if(prec < 0) in formatf()
993 prec = 0; in formatf()
995 len = curl_msnprintf(fptr, left, ".%d", prec); in formatf()