Lines Matching refs:cp
59 * Put the character string cp out, with padding.
69 tputs(char *cp, int affcnt, int (*outc)(char))
74 if (cp == 0)
80 if (isdigit(*cp)) {
82 i = i * 10 + *cp++ - '0';
83 while (isdigit(*cp));
86 if (*cp == '.') {
87 cp++;
88 if (isdigit(*cp))
89 i += *cp - '0';
93 while (isdigit(*cp))
94 cp++;
101 if (*cp == '*')
102 cp++, i *= affcnt;
107 while (*cp)
108 (*outc)(*cp++);