Lines Matching refs:cp
735 register const struct cclass *cp; local
743 for (cp = cclasses; cp->name != NULL; cp++)
744 if (strncmp(cp->name, sp, len) == 0 && cp->name[len] == '\0')
746 if (cp->name == NULL) {
752 u = cp->chars;
755 for (u = cp->multis; *u != '\0'; u += strlen(u) + 1)
806 register const struct cname *cp; local
816 for (cp = cnames; cp->name != NULL; cp++)
817 if (strncmp(cp->name, sp, len) == 0 && cp->name[len] == '\0')
818 return(cp->code); /* known name */
1161 mcadd(p, cs, cp) in mcadd() argument
1164 register const unsigned char *cp;
1168 cs->smultis += strlen(cp) + 1;
1178 (void) strcpy(cs->multis + oldend - 1, cp);
1188 mcsub(cs, cp)
1190 register unsigned char *cp;
1192 register unsigned char *fp = mcfind(cs, cp);
1215 mcin(cs, cp)
1217 register unsigned char *cp;
1219 return(mcfind(cs, cp) != NULL);
1228 mcfind(cs, cp)
1230 register unsigned char *cp;
1237 if (strcmp(cp, p) == 0)
1519 register unsigned char *cp; local
1579 cp = g->must;
1584 assert(cp < g->must + g->mlen);
1585 *cp++ = (unsigned char)OPND(s);
1587 assert(cp == g->must + g->mlen);
1588 *cp++ = '\0'; /* just on general principles */