Lines Matching refs:width

179                        unsigned int width, unsigned int flags)  in _out_rev()  argument
186 for(i = len; i < width; i++) { in _out_rev()
198 while(idx - start_idx < width) { in _out_rev()
209 … bool negative, unsigned int base, unsigned int prec, unsigned int width, unsigned int flags) in _ntoa_format() argument
213 if(width && (flags & FLAGS_ZEROPAD) && (negative || (flags & (FLAGS_PLUS | FLAGS_SPACE)))) { in _ntoa_format()
214 width--; in _ntoa_format()
219 while((flags & FLAGS_ZEROPAD) && (len < width) && (len < PRINTF_NTOA_BUFFER_SIZE)) { in _ntoa_format()
226 if(!(flags & FLAGS_PRECISION) && len && ((len == prec) || (len == width))) { in _ntoa_format()
258 return _out_rev(out, buffer, idx, maxlen, buf, len, width, flags); in _ntoa_format()
264 … unsigned long base, unsigned int prec, unsigned int width, unsigned int flags) in _ntoa_long() argument
283 …_ntoa_format(out, buffer, idx, maxlen, buf, len, negative, (unsigned int)base, prec, width, flags); in _ntoa_long()
290 … bool negative, unsigned long long base, unsigned int prec, unsigned int width, unsigned int flags) in _ntoa_long_long() argument
309 …_ntoa_format(out, buffer, idx, maxlen, buf, len, negative, (unsigned int)base, prec, width, flags); in _ntoa_long_long()
319 unsigned int width, unsigned int flags);
325 unsigned int width, unsigned int flags) in _ftoa() argument
336 return _out_rev(out, buffer, idx, maxlen, "nan", 3, width, flags); in _ftoa()
338 return _out_rev(out, buffer, idx, maxlen, "fni-", 4, width, flags); in _ftoa()
340 … buffer, idx, maxlen, (flags & FLAGS_PLUS) ? "fni+" : "fni", (flags & FLAGS_PLUS) ? 4U : 3U, width, in _ftoa()
347 return _etoa(out, buffer, idx, maxlen, value, prec, width, flags); in _ftoa()
428 if(width && (negative || (flags & (FLAGS_PLUS | FLAGS_SPACE)))) { in _ftoa()
429 width--; in _ftoa()
431 while((len < width) && (len < PRINTF_FTOA_BUFFER_SIZE)) { in _ftoa()
448 return _out_rev(out, buffer, idx, maxlen, buf, len, width, flags); in _ftoa()
455 unsigned int width, unsigned int flags) in _etoa() argument
459 return _ftoa(out, buffer, idx, maxlen, value, prec, width, flags); in _etoa()
525 unsigned int fwidth = width; in _etoa()
526 if(width > minwidth) { in _etoa()
557 while(idx - start_idx < width) out(' ', buffer, idx++, maxlen); in _etoa()
569 unsigned int flags, width, precision, n; in _vsnprintf() local
626 width = 0U; in _vsnprintf()
628 width = _atoi(&format); in _vsnprintf()
634 width = (unsigned int) - w; in _vsnprintf()
637 width = (unsigned int)w; in _vsnprintf()
739 precision, width, flags); in _vsnprintf()
745 width, flags); in _vsnprintf()
751 width, flags); in _vsnprintf()
758 …ng(out, buffer, idx, maxlen, va_arg(va, unsigned long long), false, base, precision, width, flags); in _vsnprintf()
762 …oa_long(out, buffer, idx, maxlen, va_arg(va, unsigned long), false, base, precision, width, flags); in _vsnprintf()
767 … idx = _ntoa_long(out, buffer, idx, maxlen, value, false, base, precision, width, flags); in _vsnprintf()
777 idx = _ftoa(out, buffer, idx, maxlen, va_arg(va, double), precision, width, flags); in _vsnprintf()
787 idx = _etoa(out, buffer, idx, maxlen, va_arg(va, double), precision, width, flags); in _vsnprintf()
796 while(l++ < width) { in _vsnprintf()
804 while(l++ < width) { in _vsnprintf()
820 while(l++ < width) { in _vsnprintf()
830 while(l++ < width) { in _vsnprintf()
839 width = sizeof(void *) * 2U; in _vsnprintf()
844 …long(out, buffer, idx, maxlen, (uintptr_t)va_arg(va, void *), false, 16U, precision, width, flags); in _vsnprintf()
848 … buffer, idx, maxlen, (unsigned long)((uintptr_t)va_arg(va, void *)), false, 16U, precision, width, in _vsnprintf()