Lines Matching defs:number

139  * A numbuf_t is used when converting a number to a string representation
725 * check if device numbers match. If there is a cached device number
726 * in the mtab_entry, use it, otherwise get the device number
797 * Count the number of matching characters
885 * n for the number of user-specified arguments
1140 * The given number is in units of "unit_from" size, but the
1141 * converted number will be in units of "unit_to" size. The unit sizes
1150 unsigned long long number, /* convert this number */
1154 if ((long long)number == (long long)-1)
1158 (void) sprintf(buf, "%llu", number);
1161 number / (unsigned long long)(unit_to / unit_from));
1164 number * (unsigned long long)(unit_from / unit_to));
1172 * The given number is in units of "unit_from" size,
1173 * this will first be converted to a number in 1024 or 1000 byte size,
1175 * Then the number is scaled down until it is small enough to be in a good
1185 unsigned long long number, /* convert this number */
1193 if ((long long)number == (long long)-1) {
1199 * Convert number from unit_from to given scale (1024 or 1000).
1200 * This means multiply number by unit_from and divide by scale.
1206 if (number > (UINT64_MAX / (unsigned long long)unit_from)) {
1207 number = (number / (unsigned long long)scale) *
1210 number = (number * (unsigned long long)unit_from) /
1215 * Now we have number as a count of scale units.
1217 * probably wrong with our number.
1220 while ((number >= scale) && (*uom != 'E')) {
1222 save = number;
1223 number = (number + (scale / 2)) / scale;
1231 (void) sprintf(buf, "%4llu%c", number, *uom);
1238 * number of blocks and the number of blocks free. The equation 'used = total -
1445 * number of blocks.
1779 * The function returns the number of errors that occurred while building