Lines Matching refs:num
281 number(char *buf, char *end, unsigned long long num, struct printf_spec spec) in number() argument
284 char tmp[3 * sizeof(num)] __aligned(2); in number()
289 bool is_zero = num == 0LL; in number()
300 if ((signed long long)num < 0) { in number()
302 num = -(signed long long)num; in number()
321 if (num < spec.base) in number()
322 tmp[i++] = hex_asc_upper[num] | locase; in number()
330 tmp[i++] = (hex_asc_upper[((unsigned char)num) & mask] | in number()
332 num >>= shift; in number()
333 } while (num); in number()
335 i = put_dec(tmp, num) - tmp; in number()
402 special_hex_number(char *buf, char *end, unsigned long long num, int size) in special_hex_number() argument
412 return number(buf, end, num, spec); in special_hex_number()
1134 unsigned long long num; in vsnprintf() local
1231 num = va_arg(args, long long); in vsnprintf()
1234 num = va_arg(args, unsigned long); in vsnprintf()
1237 num = va_arg(args, long); in vsnprintf()
1241 num = va_arg(args, ssize_t); in vsnprintf()
1243 num = va_arg(args, size_t); in vsnprintf()
1246 num = va_arg(args, ptrdiff_t); in vsnprintf()
1249 num = (unsigned char)va_arg(args, int); in vsnprintf()
1252 num = (signed char)va_arg(args, int); in vsnprintf()
1255 num = (unsigned short)va_arg(args, int); in vsnprintf()
1258 num = (short)va_arg(args, int); in vsnprintf()
1261 num = (int)va_arg(args, int); in vsnprintf()
1264 num = va_arg(args, unsigned int); in vsnprintf()
1267 str = number(str, end, num, spec); in vsnprintf()