• Home
  • Raw
  • Download

Lines Matching refs:charset

72 static int parsekeyword(unsigned char **pattern, unsigned char *charset)  in parsekeyword()  argument
104 charset[CURLFNM_DIGIT] = 1; in parsekeyword()
106 charset[CURLFNM_ALNUM] = 1; in parsekeyword()
108 charset[CURLFNM_ALPHA] = 1; in parsekeyword()
110 charset[CURLFNM_XDIGIT] = 1; in parsekeyword()
112 charset[CURLFNM_PRINT] = 1; in parsekeyword()
114 charset[CURLFNM_GRAPH] = 1; in parsekeyword()
116 charset[CURLFNM_SPACE] = 1; in parsekeyword()
118 charset[CURLFNM_BLANK] = 1; in parsekeyword()
120 charset[CURLFNM_UPPER] = 1; in parsekeyword()
122 charset[CURLFNM_LOWER] = 1; in parsekeyword()
141 static void setcharorrange(unsigned char **pp, unsigned char *charset) in setcharorrange() argument
146 charset[c] = 1; in setcharorrange()
156 charset[c] = 1; in setcharorrange()
163 static int setcharset(unsigned char **p, unsigned char *charset) in setcharset() argument
169 memset(charset, 0, CURLFNM_CHSET_SIZE); in setcharset()
182 charset[c] = 1; in setcharset()
188 if(*pp++ == ':' && parsekeyword(&pp, charset)) in setcharset()
191 charset[c] = 1; in setcharset()
198 if(charset[CURLFNM_NEGATE]) { in setcharset()
199 charset[c] = 1; in setcharset()
203 charset[CURLFNM_NEGATE] = 1; /* negate charset */ in setcharset()
206 charset[c] = 1; in setcharset()
212 setcharorrange(p, charset); in setcharset()
214 charset['\\'] = 1; in setcharset()
218 setcharorrange(p, charset); in setcharset()
225 charset[c] = 1; in setcharset()
232 charset[c] = 1; in setcharset()
246 charset[c] = 1; in setcharset()
260 unsigned char charset[CURLFNM_CHSET_SIZE] = { 0 }; in loop() local
303 if(setcharset(&pp, charset)) { in loop()
307 if(charset[(unsigned int)*s]) in loop()
309 else if(charset[CURLFNM_ALNUM]) in loop()
311 else if(charset[CURLFNM_ALPHA]) in loop()
313 else if(charset[CURLFNM_DIGIT]) in loop()
315 else if(charset[CURLFNM_XDIGIT]) in loop()
317 else if(charset[CURLFNM_PRINT]) in loop()
319 else if(charset[CURLFNM_SPACE]) in loop()
321 else if(charset[CURLFNM_UPPER]) in loop()
323 else if(charset[CURLFNM_LOWER]) in loop()
325 else if(charset[CURLFNM_BLANK]) in loop()
327 else if(charset[CURLFNM_GRAPH]) in loop()
330 if(charset[CURLFNM_NEGATE]) in loop()