Home | History | Annotate | Download | only in regex

Lines Matching refs:cp

770 	struct cclass *cp;
778 for (cp = cclasses; cp->name != NULL; cp++)
779 if (strncmp(cp->name, sp, len) == 0 && cp->name[len] == '\0')
781 if (cp->name == NULL) {
787 u = cp->chars;
790 for (u = cp->multis; *u != '\0'; u += strlen(u) + 1)
834 struct cname *cp;
844 for (cp = cnames; cp->name != NULL; cp++)
845 if (strncmp(cp->name, sp, len) == 0 && cp->name[len] == '\0')
846 return(cp->code); /* known name */
1166 mcadd( struct parse *p, cset *cs, char *cp)
1171 cs->smultis += strlen(cp) + 1;
1182 strlcpy(cs->multis + oldend - 1, cp, cs->smultis - oldend + 1);
1419 char *cp;
1474 cp = g->must;
1479 assert(cp < g->must + g->mlen);
1480 *cp++ = (char)OPND(s);
1482 assert(cp == g->must + g->mlen);
1483 *cp++ = '\0'; /* just on general principles */