Lines Matching refs:c
83 char c = (char)*p++; in parsekeyword() local
88 if(ISLOWER(c)) in parsekeyword()
89 keyword[i] = c; in parsekeyword()
90 else if(c == ':') in parsekeyword()
96 if(c == ']') in parsekeyword()
131 static char_class charclass(unsigned char c) in charclass() argument
133 if(ISUPPER(c)) in charclass()
135 if(ISLOWER(c)) in charclass()
137 if(ISDIGIT(c)) in charclass()
146 unsigned char c = *p++; in setcharorrange() local
148 charset[c] = 1; in setcharorrange()
149 if(ISALNUM(c) && *p++ == '-') { in setcharorrange()
150 char_class cc = charclass(c); in setcharorrange()
155 if(endrange >= c && charclass(endrange) == cc) { in setcharorrange()
156 while(c++ != endrange) in setcharorrange()
157 if(charclass(c) == cc) /* Chars in class may be not consecutive. */ in setcharorrange()
158 charset[c] = 1; in setcharorrange()
169 unsigned char c; in setcharset() local
173 c = **p; in setcharset()
174 if(!c) in setcharset()
179 if(c == ']') { in setcharset()
184 charset[c] = 1; in setcharset()
187 else if(c == '[') { in setcharset()
193 charset[c] = 1; in setcharset()
198 else if(c == '^' || c == '!') { in setcharset()
201 charset[c] = 1; in setcharset()
208 charset[c] = 1; in setcharset()
211 else if(c == '\\') { in setcharset()
212 c = *(++(*p)); in setcharset()
213 if(c) in setcharset()
225 if(c == '[') { in setcharset()
227 charset[c] = 1; in setcharset()
230 else if(c == ']') { in setcharset()
233 else if(ISPRINT(c)) { in setcharset()
234 charset[c] = 1; in setcharset()
245 if(c == ']') in setcharset()
248 charset[c] = 1; in setcharset()