Home | History | Annotate | Download | only in libxml2

Lines Matching full:argv

57 int main(int argc, char **argv) {
64 if ((!strcmp(argv[i], "-debug")) || (!strcmp(argv[i], "--debug")))
69 if ((!strcmp(argv[i], "-memory")) || (!strcmp(argv[i], "--memory"))) {
73 if ((!strcmp(argv[i], "-noout")) || (!strcmp(argv[i], "--noout"))) {
76 if ((!strcmp(argv[i], "-tree")) || (!strcmp(argv[i], "--tree"))) {
83 if (argv[i][0] != '-') {
92 if (stat(argv[i], &info) < 0)
94 if ((fd = open(argv[i], O_RDONLY)) < 0)
113 ctxt = xmlRelaxNGNewParserCtxt(argv[i]);
122 printf("Relax-NG schema %s failed to compile\n", argv[i]);
137 doc = xmlReadFile(argv[i],NULL,0);
140 fprintf(stderr, "Could not parse %s\n", argv[i]);
152 printf("%s validates\n", argv[i]);
154 printf("%s fails to validate\n", argv[i]);
157 argv[i]);
170 argv[0]);
190 int main(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED) {
191 printf("%s : RelaxNG support not compiled in\n", argv[0]);