Lines Matching refs:cp
248 char *cp; /* handy char pointer (short term usage) */ in kprintf() local
269 cp = NULL; /* XXX: shutup gcc */ in kprintf()
381 *(cp = bf) = va_arg(ap, int); in kprintf()
429 cp = bf; in kprintf()
448 if ((cp = va_arg(ap, char *)) == NULL) in kprintf()
450 cp = __UNCONST("(null)"); in kprintf()
457 char *p = memchr(cp, 0, prec); in kprintf()
460 size = p - cp; in kprintf()
466 size = strlen(cp); in kprintf()
502 cp = bf + KPRINTF_BUFSIZE; in kprintf()
512 *--cp = to_char(_uquad & 7); in kprintf()
516 if (flags & ALT && *cp != '0') in kprintf()
517 *--cp = '0'; in kprintf()
523 *--cp = to_char(_uquad % 10); in kprintf()
526 *--cp = to_char(_uquad); in kprintf()
531 *--cp = xdigs[_uquad & 15]; in kprintf()
538 cp = __UNCONST("bug in kprintf: bad base"); in kprintf()
539 size = strlen(cp); in kprintf()
543 size = bf + KPRINTF_BUFSIZE - cp; in kprintf()
550 cp = bf; in kprintf()
551 *cp = ch; in kprintf()
608 for (; size--; cp++) in kprintf()
609 KPRINTF_PUTCHAR(*cp); in kprintf()