Lines Matching refs:width
151 int width; /* width OR width parameter number */ member
224 int width; in parsefmt() local
264 width = precision = 0; in parsefmt()
397 width = 0; in parsefmt()
400 if(width > INT_MAX/10) in parsefmt()
402 width *= 10; in parsefmt()
403 width += *fmt - '0'; in parsefmt()
410 width = dollarstring(fmt, &fmt); in parsefmt()
411 if(width < 0) in parsefmt()
417 width = -1; in parsefmt()
513 if(width < 0) in parsefmt()
514 width = param_num++; in parsefmt()
518 if(usedinput[width/8] & (1 << (width&7))) in parsefmt()
521 if(width >= MAX_PARAMETERS) in parsefmt()
523 if(width >= max_param) in parsefmt()
524 max_param = width; in parsefmt()
526 in[width].type = FORMAT_WIDTH; in parsefmt()
528 usedinput[width/8] |= (unsigned char)(1 << (width&7)); in parsefmt()
569 optr->width = width; in parsefmt()
698 int width; /* Width of a field. */ in formatf() local
719 width = (int)input[optr->width].val.nums; in formatf()
720 if(width < 0) { in formatf()
723 if(width == INT_MIN) in formatf()
724 width = INT_MAX; in formatf()
726 width = -width; in formatf()
732 width = optr->width; in formatf()
763 while(--width > 0) in formatf()
767 while(--width > 0) in formatf()
821 width -= (int)(workend - w); in formatf()
826 --width; in formatf()
830 width -= prec; in formatf()
836 width -= 2; in formatf()
839 --width; in formatf()
842 while(width-- > 0) in formatf()
861 while(width-- > 0) in formatf()
870 while(width-- > 0) in formatf()
899 width -= (len > INT_MAX) ? INT_MAX : (int)len; in formatf()
905 while(width-- > 0) in formatf()
911 while(width-- > 0) in formatf()
934 width -= (int)(sizeof(nilstr) - 1); in formatf()
936 while(width-- > 0) in formatf()
941 while(width-- > 0) in formatf()
953 width = optr->width; in formatf()
969 if(width >= 0) { in formatf()
971 if(width >= (int)sizeof(work)) in formatf()
972 width = sizeof(work)-1; in formatf()
974 dlen = (size_t)curl_msnprintf(fptr, left, "%d", width); in formatf()
983 if(width > 0 && prec <= width) in formatf()
984 maxprec -= (size_t)width; in formatf()