Searched refs:uom (Results 1 - 2 of 2) sorted by relevance
/osnet-11/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_print.c | 312 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);
|
/osnet-11/usr/src/lib/libpkg/common/ |
H A D | pkgstr.c | 867 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);
|
Completed in 22 milliseconds