Lines Matching full:digits
48 * Outputs from one to five digits depending on input.
85 /* Same with if's removed. Always emits five digits */
161 static const char digits[16] = "0123456789ABCDEF"; in number() local
169 /* locase = 0 or 0x20. ORing digits or letters with 'locase' in number()
170 * produces same digits or (maybe lowercased) letters */ in number()
200 tmp[i++] = (digits[do_div(num,base)] | locase); in number()
211 tmp[i++] = (digits[((unsigned char)num) & mask] in number()
247 /* actual digits of result */ in number()
300 /* (6 * 2 hex digits), 5 colons and trailing zero */ in mac_address_string()
319 /* (8 * 4 hex digits), 7 colons and trailing zero */ in ip6_addr_string()
339 /* (4 * 3 decimal digits), 3 dots and trailing zero */ in ip4_addr_string()
343 int i, digits; in ip4_addr_string() local
346 digits = put_dec_trunc(temp, addr[i]) - temp; in ip4_addr_string()
347 /* reverse the digits in the quad */ in ip4_addr_string()
348 while (digits--) in ip4_addr_string()
349 *p++ = temp[digits]; in ip4_addr_string()
485 int precision; /* min. # of digits for integers; max in vsnprintf_internal()
793 /* 21 digits plus null terminator, good for 64-bit or smaller ints */ in simple_itoa()
806 void print_grouped_ull(unsigned long long int_val, int digits) in print_grouped_ull() argument
811 digits = (digits + 2) / 3; in print_grouped_ull()
812 sprintf(str, "%*llu", digits * 3, int_val); in print_grouped_ull()