Lines Matching refs:base
59 static char *ksprintn (char *buf, uintmax_t num, int base, int *len, int upper);
104 * Put a NUL-terminated ASCII number (base <= 36) in a buffer in reverse
110 ksprintn(char *nbuf, uintmax_t num, int base, int *lenp, int upper)
117 c = hex2ascii(num % base);
119 } while (num /= base);
133 * printf("reg=%b\n", regval, "<base><arg>*");
135 * where <base> is the output base expressed as a control character, e.g.
161 int base, lflag, qflag, tmp, width, ladjust, sharpflag, neg, sign, dot;
278 base = 10;
315 base = 8;
318 base = 16;
327 base = radix;
356 base = 10;
361 base = 16;
364 base = 16;
411 p = ksprintn(nbuf, num, base, &n, upper);
414 if (base == 8)
416 else if (base == 16)
432 if (base == 8) {
434 } else if (base == 16) {