Lines Matching refs:expr
32 char expr[5000]; in testRegexpFile() local
68 while (fgets(expr, 4500, input) != NULL) { in testRegexpFile()
69 if (expr[0] == '#') in testRegexpFile()
71 len = strlen(expr); in testRegexpFile()
74 ((expr[len] == '\n') || (expr[len] == '\t') || in testRegexpFile()
75 (expr[len] == '\r') || (expr[len] == ' '))) len--; in testRegexpFile()
76 expr[len + 1] = 0; in testRegexpFile()
78 if ((am != NULL) && (expr[0] == 't') && (expr[1] == ' ')) { in testRegexpFile()
79 char *ptr = &expr[2]; in testRegexpFile()
85 "Bad line %s\n", expr); in testRegexpFile()
94 "Bad line %s\n", expr); in testRegexpFile()
102 } else if ((am != NULL) && (expr[0] == 'e') && (expr[1] == ' ')) { in testRegexpFile()
103 char *ptr = &expr[2]; in testRegexpFile()
109 "Bad line %s\n", expr); in testRegexpFile()
119 } else if ((am != NULL) && (expr[0] == 'f') && (expr[1] == ' ')) { in testRegexpFile()
120 char *ptr = &expr[2]; in testRegexpFile()
126 "Bad state %d : %s\n", state, expr); in testRegexpFile()
130 } else if ((am != NULL) && (expr[0] == 'c') && (expr[1] == ' ')) { in testRegexpFile()
131 char *ptr = &expr[2]; in testRegexpFile()
138 "Bad line %s\n", expr); in testRegexpFile()
147 "Bad line %s\n", expr); in testRegexpFile()
156 "Bad line %s\n", expr); in testRegexpFile()
163 "Bad line %s\n", expr); in testRegexpFile()
169 } else if ((am != NULL) && (expr[0] == '-') && (expr[1] == '-')) { in testRegexpFile()
179 } else if ((expr[0] == '=') && (expr[1] == '>')) { in testRegexpFile()
201 ret = xmlRegExecPushString(exec, BAD_CAST expr, NULL); in testRegexpFile()
204 "Unexpected line %s\n", expr); in testRegexpFile()