Lines Matching refs:cp
175 char *cp; /* handy char pointer (short term usage) */ in __vfprintf() local
281 cp = fmt; \ in __vfprintf()
282 while (is_digit(*cp)) { \ in __vfprintf()
283 n2 = 10 * n2 + to_digit(*cp); \ in __vfprintf()
284 cp++; \ in __vfprintf()
286 if (*cp == '$') { \ in __vfprintf()
295 fmt = ++cp; \ in __vfprintf()
335 cp = fmt; in __vfprintf()
354 if ((m = fmt - cp) != 0) { in __vfprintf()
355 PRINT(cp, m); in __vfprintf()
477 *(cp = buf) = GETARG(int); in __vfprintf()
515 cp = "Inf"; in __vfprintf()
520 cp = "NaN"; in __vfprintf()
526 cp = cvt(_double, prec, flags, &softsign, in __vfprintf()
528 cp_free = cp; in __vfprintf()
608 if ((cp = GETARG(char *)) == NULL) in __vfprintf()
609 cp = "(null)"; in __vfprintf()
616 char *p = memchr(cp, 0, prec); in __vfprintf()
619 size = p - cp; in __vfprintf()
625 size = strlen(cp); in __vfprintf()
661 cp = buf + BUF; in __vfprintf()
671 *--cp = to_char(_umax & 7); in __vfprintf()
675 if (flags & ALT && *cp != '0') in __vfprintf()
676 *--cp = '0'; in __vfprintf()
682 *--cp = to_char(_umax % 10); in __vfprintf()
685 *--cp = to_char(_umax); in __vfprintf()
690 *--cp = xdigs[_umax & 15]; in __vfprintf()
696 cp = "bug in vfprintf: bad base"; in __vfprintf()
697 size = strlen(cp); in __vfprintf()
701 size = buf + BUF - cp; in __vfprintf()
708 cp = buf; in __vfprintf()
709 *cp = ch; in __vfprintf()
758 PRINT(cp, size); in __vfprintf()
772 PRINT(cp, ndig); in __vfprintf()
774 PRINT(cp, ndig); in __vfprintf()
779 PRINT(cp, expt); in __vfprintf()
780 cp += expt; in __vfprintf()
782 PRINT(cp, ndig-expt); in __vfprintf()
786 ox[0] = *cp++; in __vfprintf()
790 PRINT(cp, ndig-1); in __vfprintf()
795 PRINT(cp, 1); in __vfprintf()
800 PRINT(cp, size); in __vfprintf()
879 char *cp; /* handy char pointer (short term usage) */ in __find_arguments() local
919 cp = fmt; \ in __find_arguments()
920 while (is_digit(*cp)) { \ in __find_arguments()
921 n2 = 10 * n2 + to_digit(*cp); \ in __find_arguments()
922 cp++; \ in __find_arguments()
924 if (*cp == '$') { \ in __find_arguments()
929 fmt = ++cp; \ in __find_arguments()
945 cp = fmt; in __find_arguments()