Lines Matching refs:expression
40 char expression[5000]; in testRegexpFile() local
49 while (fgets(expression, 4500, input) != NULL) { in testRegexpFile()
50 len = strlen(expression); in testRegexpFile()
53 ((expression[len] == '\n') || (expression[len] == '\t') || in testRegexpFile()
54 (expression[len] == '\r') || (expression[len] == ' '))) len--; in testRegexpFile()
55 expression[len + 1] = 0; in testRegexpFile()
57 if (expression[0] == '#') in testRegexpFile()
59 if ((expression[0] == '=') && (expression[1] == '>')) { in testRegexpFile()
60 char *pattern = &expression[2]; in testRegexpFile()
73 printf("Regexp: %s\n", expression) ; in testRegexpFile()
74 comp = xmlRegexpCompile((const xmlChar *) expression); in testRegexpFile()
80 testRegexp(comp, expression); in testRegexpFile()
94 char expression[5000]; in runFileTest() local
103 while (fgets(expression, 4500, input) != NULL) { in runFileTest()
104 len = strlen(expression); in runFileTest()
107 ((expression[len] == '\n') || (expression[len] == '\t') || in runFileTest()
108 (expression[len] == '\r') || (expression[len] == ' '))) len--; in runFileTest()
109 expression[len + 1] = 0; in runFileTest()
111 if (expression[0] == '#') in runFileTest()
113 if ((expression[0] == '=') && (expression[1] == '>')) { in runFileTest()
114 char *str = &expression[2]; in runFileTest()
133 if (expression[0] == '0') in runFileTest()
135 if (expression[0] == '1') in runFileTest()
137 printf("Subexp: %s", expression + 2) ; in runFileTest()
139 sub = xmlExpParse(ctxt, expression + 2); in runFileTest()