Searched defs:uom (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_print.c312 char *uom = M; /* unit of measurement, initially ' ' (=M[0]) */ local
323 while ((total_bytes >= 1024) && (*uom != 'E')) {
324 uom++; /* next unit of measurement */
333 (void) sprintf(buf, "%1.1f %cB", fnum, *uom);
335 (void) sprintf(buf, "%llu %cB", total_bytes, *uom);
/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgstr.c867 char *uom = M; /* unit of measurement, initially ' ' (=M[0]) */ local
904 while ((number >= scale) && (*uom != 'E')) {
905 uom++; /* next unit of measurement */
915 (void) sprintf(a_buf, "%4.1f%c", fnum, *uom);
917 (void) sprintf(a_buf, "%4llu%c", number, *uom);
/illumos-gate/usr/src/cmd/du/
H A Ddu.c548 char *uom = M; /* unit of measurement, initially 'K' (=M[0]) */ local
578 while ((number >= scale) && (*uom != 'E')) {
579 uom++; /* next unit of measurement */
588 (void) sprintf(buf, "%4.1f%c", fnum, *uom);
590 (void) sprintf(buf, "%4llu%c", number, *uom);
/illumos-gate/usr/src/cmd/swap/
H A Dswap.c506 char *uom = M; /* unit of measurement, initially 'K' (=M[0]) */ local
534 while ((number >= scale) && (*uom != 'E')) {
535 uom++; /* Next unit of measurement */
544 (void) sprintf(buf, "%.1f%c", fnum, *uom);
546 (void) sprintf(buf, "%llu%c", number, *uom);
/illumos-gate/usr/src/cmd/fs.d/
H A Ddf.c1191 char *uom = M; /* unit of measurement, initially 'K' (=M[0]) */ local
1220 while ((number >= scale) && (*uom != 'E')) {
1221 uom++; /* next unit of measurement */
1229 (void) sprintf(buf, "%2.1f%c", fnum, *uom);
1231 (void) sprintf(buf, "%4llu%c", number, *uom);
/illumos-gate/usr/src/cmd/ls/
H A Dls.c2472 char *uom = "KMGTPE"; local
2487 * 16 Exabytes, so running off the end of the uom array should
2494 uom++;
2499 while ((number >= (unsigned long long)scale) && (*uom != 'E')) {
2500 uom++; /* next unit of measurement */
2518 fnum, *uom);
2521 number, *uom);

Completed in 71 milliseconds