Lines Matching refs:ch
117 static states step(struct re_guts *g, sopno start, sopno stop, states bef, wint_t ch, states aft, i…
133 static void print(struct match *m, const char *caption, states st, int ch, FILE *d);
139 static const char *pchar(int ch);
1039 wint_t ch, /* character or NONCHAR code */ in step() argument
1060 assert(!NONCHAR(ch) || ch != OPND(s)); in step()
1061 if (ch == (wint_t)OPND(s)) in step()
1065 if ((ch == BOL || ch == BOLEOL) && (sflags & SBOS) != 0) in step()
1069 if ((ch == EOL || ch == BOLEOL) && (sflags & SEOS) != 0) in step()
1073 if (ch == BOL || ch == BOLEOL) in step()
1077 if (ch == EOL || ch == BOLEOL) in step()
1081 if (ch == BOW) in step()
1085 if (ch == EOW) in step()
1089 if (ch == BOW || ch == EOW) in step()
1093 if (ch == NWBND) in step()
1097 if (!NONCHAR(ch)) in step()
1102 if (!NONCHAR(ch) && CHIN(cs, ch)) in step()
1178 int ch, in print() argument
1194 if (ch != '\0') in print()
1195 fprintf(d, " %s", pchar(ch)); in print()
1247 pchar(int ch) in pchar() argument
1251 if (isprint((uch)ch) || ch == ' ') in pchar()
1252 snprintf(pbuf, sizeof(pbuf), "%c", ch); in pchar()
1254 snprintf(pbuf, sizeof(pbuf), "\\%o", ch); in pchar()