Lines Matching full:width
148 /* compute width of decimal equivalent */ in scaledtouint64()
177 /* compute width of number string */ in scaledtouint64()
265 int width; in uint64toscaled() local
275 width = widthin; in uint64toscaled()
277 width = 0; in uint64toscaled()
279 (void) snprintf(string, SCALED_STRLEN, "%%%dllu", width); in uint64toscaled()
318 /* reduce decimal places if we've overshot the desired width */ in uint64toscaled()
326 width = widthin; in uint64toscaled()
328 width = 0; in uint64toscaled()
330 (void) snprintf(string, SCALED_STRLEN, "%%%d.%dlf", width, decimals); in uint64toscaled()
375 int width; in scaledeqscaled() local
388 /* determine each number's width and modifier */ in scaledeqscaled()
400 * determine the width and modifier to use for comparison. in scaledeqscaled()
401 * Use widest width and smallest modifier. in scaledeqscaled()
402 * Rescale to new width and modifier in scaledeqscaled()
420 width = 0; in scaledeqscaled()
421 if (width1 > width) in scaledeqscaled()
422 width = width1; in scaledeqscaled()
423 if (width2 > width) in scaledeqscaled()
424 width = width2; in scaledeqscaled()
427 * Convert first number to width and modifier. in scaledeqscaled()
437 ret = scaledtoscaled(scaled1, width, modifier, in scaledeqscaled()
442 /* convert second number to width and modifier matching first number */ in scaledeqscaled()
443 ret = scaledtoscaled(scaled2, width, modifier, in scaledeqscaled()
461 int width; in scaledequint64() local
466 /* determine for number's width and modifier */ in scaledequint64()
467 ret = scaledtouint64(scaled, &tmpuint64, &width, &modifier, NULL, in scaledequint64()
472 if (width < minwidth) in scaledequint64()
473 width = minwidth; in scaledequint64()
476 * Convert first number to width and modifier. in scaledequint64()
486 ret = scaledtoscaled(scaled, width, modifier, in scaledequint64()
491 /* convert second number to width and modifier matching first number */ in scaledequint64()
492 ret = uint64toscaled(uint64, width, modifier, in scaledequint64()