Lines Matching refs:cp
164 char *cp; /* handy char pointer (short term usage) */
165 char *cp_free = NULL; /* BIONIC: copy of cp to be freed after usage */
270 cp = fmt; \
271 while (is_digit(*cp)) { \
272 n2 = 10 * n2 + to_digit(*cp); \
273 cp++; \
275 if (*cp == '$') { \
284 fmt = ++cp; \
324 cp = fmt;
343 if ((m = fmt - cp) != 0) {
344 PRINT(cp, m);
466 *(cp = buf) = GETARG(int);
504 cp = "Inf";
509 cp = "NaN";
515 cp = cvt(_double, prec, flags, &softsign,
517 cp_free = cp;
597 if ((cp = GETARG(char *)) == NULL)
598 cp = "(null)";
605 char *p = memchr(cp, 0, prec);
608 size = p - cp;
614 size = strlen(cp);
650 cp = buf + BUF;
660 *--cp = to_char(_umax & 7);
664 if (flags & ALT && *cp != '0')
665 *--cp = '0';
671 *--cp = to_char(_umax % 10);
674 *--cp = to_char(_umax);
679 *--cp = xdigs[_umax & 15];
685 cp = "bug in vfprintf: bad base";
686 size = strlen(cp);
690 size = buf + BUF - cp;
697 cp = buf;
698 *cp = ch;
705 * All reasonable formats wind up here. At this point, `cp'
747 PRINT(cp, size);
761 PRINT(cp, ndig);
763 PRINT(cp, ndig);
768 PRINT(cp, expt);
769 cp += expt;
771 PRINT(cp, ndig-expt);
775 ox[0] = *cp++;
779 PRINT(cp, ndig-1);
784 PRINT(cp, 1);
789 PRINT(cp, size);
867 char *cp; /* handy char pointer (short term usage) */
907 cp = fmt; \
908 while (is_digit(*cp)) { \
909 n2 = 10 * n2 + to_digit(*cp); \
910 cp++; \
912 if (*cp == '$') { \
917 fmt = ++cp; \
933 cp = fmt;