Lines Matching full:digits
49 * Outputs from one to five digits depending on input.
86 /* Same with if's removed. Always emits five digits */
162 static const char digits[16] = "0123456789ABCDEF"; in number() local
170 /* locase = 0 or 0x20. ORing digits or letters with 'locase' in number()
171 * produces same digits or (maybe lowercased) letters */ in number()
201 tmp[i++] = (digits[do_div(num,base)] | locase); in number()
212 tmp[i++] = (digits[((unsigned char)num) & mask] in number()
248 /* actual digits of result */ in number()
323 /* (6 * 2 hex digits), 5 colons and trailing zero */ in mac_address_string()
342 /* (8 * 4 hex digits), 7 colons and trailing zero */ in ip6_addr_string()
362 /* (4 * 3 decimal digits), 3 dots and trailing zero */ in ip4_addr_string()
366 int i, digits; in ip4_addr_string() local
369 digits = put_dec_trunc(temp, addr[i]) - temp; in ip4_addr_string()
370 /* reverse the digits in the quad */ in ip4_addr_string()
371 while (digits--) in ip4_addr_string()
372 *p++ = temp[digits]; in ip4_addr_string()
517 int precision; /* min. # of digits for integers; max in vsnprintf_internal()
830 /* 21 digits plus null terminator, good for 64-bit or smaller ints */ in simple_itoa()
843 void print_grouped_ull(unsigned long long int_val, int digits) in print_grouped_ull() argument
848 digits = (digits + 2) / 3; in print_grouped_ull()
849 sprintf(str, "%*llu", digits * 3, int_val); in print_grouped_ull()