Lines Matching refs:num
144 static void uart_puthex(uint64_t num)
152 c = 0xf & (num >> bit);
770 ksprintn(char *nbuf, uintmax_t num, int base, int *lenp, int upper)
776 uint32_t num2 = (uint32_t) num;
778 uintmax_t num2 = num;
827 uintmax_t num;
834 num = 0;
904 num = (u_int)va_arg(ap, int);
906 for (q = ksprintn(nbuf, num, *p++, NULL, 0); *q;)
909 if (num == 0)
914 if (num & (1 << (n - 1))) {
988 num = (uintptr_t)va_arg(ap, void *);
1040 num = va_arg(ap, uintmax_t);
1042 num = va_arg(ap, u_quad_t);
1044 num = va_arg(ap, ptrdiff_t);
1046 num = va_arg(ap, u_long);
1048 num = va_arg(ap, size_t);
1050 num = (u_short)va_arg(ap, int);
1052 num = (u_char)va_arg(ap, int);
1054 num = va_arg(ap, u_int);
1058 num = va_arg(ap, intmax_t);
1060 num = va_arg(ap, quad_t);
1062 num = va_arg(ap, ptrdiff_t);
1064 num = va_arg(ap, long);
1066 num = va_arg(ap, ssize_t);
1068 num = (short)va_arg(ap, int);
1070 num = (char)va_arg(ap, int);
1072 num = va_arg(ap, int);
1074 if (sign && (intmax_t)num < 0) {
1076 num = -(intmax_t)num;
1078 p = ksprintn(nbuf, num, base, &tmp, upper);
1079 if (sharpflag && num != 0) {
1094 if (sharpflag && num != 0) {