Lines Matching defs:comp
19 static void testRegexp(xmlRegexpPtr comp, const char *value) {
22 ret = xmlRegexpExec(comp, (const xmlChar *) value);
32 xmlRegexpExec(comp, (const xmlChar *) value);
38 xmlRegexpPtr comp = NULL;
62 if (comp != NULL) {
63 xmlRegFreeRegexp(comp);
64 comp = NULL;
67 comp = xmlRegexpCompile((const xmlChar *) pattern);
68 if (comp == NULL) {
72 } else if (comp == NULL) {
74 comp = xmlRegexpCompile((const xmlChar *) expression);
75 if (comp == NULL) {
79 } else if (comp != NULL) {
80 testRegexp(comp, expression);
85 if (comp != NULL)
86 xmlRegFreeRegexp(comp);
271 xmlRegexpPtr comp = NULL;
355 comp = xmlRegexpCompile((const xmlChar *) pattern);
356 if (comp == NULL) {
361 xmlRegexpPrint(stdout, comp);
363 testRegexp(comp, argv[i]);
367 if (comp != NULL)
368 xmlRegFreeRegexp(comp);