Lines Matching refs:base
61 static char *ksprintn (char *buf, uintmax_t num, int base, int *len, int upper);
200 * Put a NUL-terminated ASCII number (base <= 36) in a buffer in reverse
206 ksprintn(char *nbuf, uintmax_t num, int base, int *lenp, int upper)
213 c = hex2ascii(num % base);
215 } while (num /= base);
229 * printf("reg=%b\n", regval, "<base><arg>*");
231 * where <base> is the output base expressed as a control character, e.g.
268 int base, lflag, qflag, tmp, width, ladjust, sharpflag, neg, sign, dot;
385 base = 10;
422 base = 8;
425 base = 16;
434 base = radix;
467 base = 10;
472 base = 16;
475 base = 16;
522 p = ksprintn(nbuf, num, base, &n, upper);
525 if (base == 8)
527 else if (base == 16)
543 if (base == 8) {
545 } else if (base == 16) {