parser 47 lib/common/schemas.c xmlRelaxNGParserCtxtPtr parser; parser 480 lib/common/schemas.c ctx->parser = xmlRelaxNGNewParserCtxt(relaxng_file); parser 481 lib/common/schemas.c CRM_CHECK(ctx->parser != NULL, goto cleanup); parser 484 lib/common/schemas.c xmlRelaxNGSetParserErrors(ctx->parser, parser 489 lib/common/schemas.c xmlRelaxNGSetParserErrors(ctx->parser, parser 495 lib/common/schemas.c ctx->rng = xmlRelaxNGParse(ctx->parser); parser 534 lib/common/schemas.c if (ctx->parser != NULL) { parser 535 lib/common/schemas.c xmlRelaxNGFreeParserCtxt(ctx->parser); parser 569 lib/common/schemas.c if (ctx->parser != NULL) { parser 570 lib/common/schemas.c xmlRelaxNGFreeParserCtxt(ctx->parser); parser 198 maint/gnulib/lib/argp-parse.c argp_parser_t parser; parser 227 maint/gnulib/lib/argp-parse.c if (group->parser) parser 234 maint/gnulib/lib/argp-parse.c err = (*group->parser)(key, arg, state); parser 279 maint/gnulib/lib/argp-parse.c struct parser *parser; parser 298 maint/gnulib/lib/argp-parse.c if (real || argp->parser) parser 326 maint/gnulib/lib/argp-parse.c && find_long_option (cvt->parser->long_opts, opt->name) < 0) parser 345 maint/gnulib/lib/argp-parse.c + (((group - cvt->parser->groups) + 1) << USER_BITS); parser 353 maint/gnulib/lib/argp-parse.c group->parser = argp->parser; parser 392 maint/gnulib/lib/argp-parse.c parser_convert (struct parser *parser, const struct argp *argp, int flags) parser 396 maint/gnulib/lib/argp-parse.c cvt.parser = parser; parser 397 maint/gnulib/lib/argp-parse.c cvt.short_end = parser->short_opts; parser 398 maint/gnulib/lib/argp-parse.c cvt.long_end = parser->long_opts; parser 399 maint/gnulib/lib/argp-parse.c cvt.child_inputs_end = parser->child_inputs; parser 409 maint/gnulib/lib/argp-parse.c parser->argp = argp; parser 412 maint/gnulib/lib/argp-parse.c parser->egroup = convert_options (argp, 0, 0, parser->groups, &cvt); parser 414 maint/gnulib/lib/argp-parse.c parser->egroup = parser->groups; /* No parsers at all! */ parser 436 maint/gnulib/lib/argp-parse.c if (opt || argp->parser) parser 459 maint/gnulib/lib/argp-parse.c parser_init (struct parser *parser, const struct argp *argp, parser 496 maint/gnulib/lib/argp-parse.c parser->storage = malloc (ssum); parser 497 maint/gnulib/lib/argp-parse.c if (! parser->storage) parser 500 maint/gnulib/lib/argp-parse.c storage = parser->storage; parser 501 maint/gnulib/lib/argp-parse.c parser->groups = parser->storage; parser 502 maint/gnulib/lib/argp-parse.c parser->child_inputs = (void **) (storage + gsum); parser 503 maint/gnulib/lib/argp-parse.c parser->long_opts = (struct option *) (storage + csum); parser 504 maint/gnulib/lib/argp-parse.c parser->short_opts = storage + lsum; parser 505 maint/gnulib/lib/argp-parse.c parser->opt_data = opt_data; parser 507 maint/gnulib/lib/argp-parse.c memset (parser->child_inputs, 0, clen); parser 508 maint/gnulib/lib/argp-parse.c parser_convert (parser, argp, flags); parser 510 maint/gnulib/lib/argp-parse.c memset (&parser->state, 0, sizeof (struct argp_state)); parser 511 maint/gnulib/lib/argp-parse.c parser->state.root_argp = parser->argp; parser 512 maint/gnulib/lib/argp-parse.c parser->state.argc = argc; parser 513 maint/gnulib/lib/argp-parse.c parser->state.argv = argv; parser 514 maint/gnulib/lib/argp-parse.c parser->state.flags = flags; parser 515 maint/gnulib/lib/argp-parse.c parser->state.err_stream = stderr; parser 516 maint/gnulib/lib/argp-parse.c parser->state.out_stream = stdout; parser 517 maint/gnulib/lib/argp-parse.c parser->state.next = 0; /* Tell getopt to initialize. */ parser 518 maint/gnulib/lib/argp-parse.c parser->state.pstate = parser; parser 520 maint/gnulib/lib/argp-parse.c parser->try_getopt = 1; parser 524 maint/gnulib/lib/argp-parse.c if (parser->groups < parser->egroup) parser 525 maint/gnulib/lib/argp-parse.c parser->groups->input = input; parser 526 maint/gnulib/lib/argp-parse.c for (group = parser->groups; parser 527 maint/gnulib/lib/argp-parse.c group < parser->egroup && (!err || err == EBADKEY); parser 534 maint/gnulib/lib/argp-parse.c if (!group->parser parser 541 maint/gnulib/lib/argp-parse.c err = group_parse (group, &parser->state, ARGP_KEY_INIT, 0); parser 549 maint/gnulib/lib/argp-parse.c if (parser->state.flags & ARGP_NO_ERRS) parser 551 maint/gnulib/lib/argp-parse.c parser->opt_data.opterr = 0; parser 552 maint/gnulib/lib/argp-parse.c if (parser->state.flags & ARGP_PARSE_ARGV0) parser 555 maint/gnulib/lib/argp-parse.c parser->state.argv--, parser->state.argc++; parser 558 maint/gnulib/lib/argp-parse.c parser->opt_data.opterr = 1; /* Print error messages. */ parser 560 maint/gnulib/lib/argp-parse.c if (parser->state.argv == argv && argv[0]) parser 562 maint/gnulib/lib/argp-parse.c parser->state.name = __argp_base_name (argv[0]); parser 564 maint/gnulib/lib/argp-parse.c parser->state.name = __argp_short_program_name (); parser 571 maint/gnulib/lib/argp-parse.c parser_finalize (struct parser *parser, parser 582 maint/gnulib/lib/argp-parse.c if (parser->state.next == parser->state.argc) parser 586 maint/gnulib/lib/argp-parse.c for (group = parser->groups; parser 587 maint/gnulib/lib/argp-parse.c group < parser->egroup && (!err || err==EBADKEY); parser 590 maint/gnulib/lib/argp-parse.c err = group_parse (group, &parser->state, ARGP_KEY_NO_ARGS, 0); parser 591 maint/gnulib/lib/argp-parse.c for (group = parser->egroup - 1; parser 592 maint/gnulib/lib/argp-parse.c group >= parser->groups && (!err || err==EBADKEY); parser 594 maint/gnulib/lib/argp-parse.c err = group_parse (group, &parser->state, ARGP_KEY_END, 0); parser 601 maint/gnulib/lib/argp-parse.c *end_index = parser->state.next; parser 605 maint/gnulib/lib/argp-parse.c *end_index = parser->state.next; parser 609 maint/gnulib/lib/argp-parse.c if (!(parser->state.flags & ARGP_NO_ERRS) parser 610 maint/gnulib/lib/argp-parse.c && parser->state.err_stream) parser 611 maint/gnulib/lib/argp-parse.c fprintf (parser->state.err_stream, parser 612 maint/gnulib/lib/argp-parse.c dgettext (parser->argp->argp_domain, parser 614 maint/gnulib/lib/argp-parse.c parser->state.name); parser 628 maint/gnulib/lib/argp-parse.c __argp_state_help (&parser->state, parser->state.err_stream, parser 632 maint/gnulib/lib/argp-parse.c for (group = parser->groups; group < parser->egroup; group++) parser 633 maint/gnulib/lib/argp-parse.c group_parse (group, &parser->state, ARGP_KEY_ERROR, 0); parser 641 maint/gnulib/lib/argp-parse.c for (group = parser->egroup - 1 parser 642 maint/gnulib/lib/argp-parse.c ; group >= parser->groups && (!err || err == EBADKEY) parser 644 maint/gnulib/lib/argp-parse.c err = group_parse (group, &parser->state, ARGP_KEY_SUCCESS, 0); parser 650 maint/gnulib/lib/argp-parse.c for (group = parser->egroup - 1; group >= parser->groups; group--) parser 651 maint/gnulib/lib/argp-parse.c group_parse (group, &parser->state, ARGP_KEY_FINI, 0); parser 656 maint/gnulib/lib/argp-parse.c free (parser->storage); parser 667 maint/gnulib/lib/argp-parse.c parser_parse_arg (struct parser *parser, char *val) parser 671 maint/gnulib/lib/argp-parse.c int index = --parser->state.next; parser 677 maint/gnulib/lib/argp-parse.c for (group = parser->groups parser 678 maint/gnulib/lib/argp-parse.c ; group < parser->egroup && err == EBADKEY parser 681 maint/gnulib/lib/argp-parse.c parser->state.next++; /* For ARGP_KEY_ARG, consume the arg. */ parser 683 maint/gnulib/lib/argp-parse.c err = group_parse (group, &parser->state, key, val); parser 688 maint/gnulib/lib/argp-parse.c parser->state.next--; /* For ARGP_KEY_ARGS, put back the arg. */ parser 690 maint/gnulib/lib/argp-parse.c err = group_parse (group, &parser->state, key, 0); parser 700 maint/gnulib/lib/argp-parse.c parser->state.next = parser->state.argc; parser 702 maint/gnulib/lib/argp-parse.c if (parser->state.next > index) parser 706 maint/gnulib/lib/argp-parse.c (--group)->args_processed += (parser->state.next - index); parser 709 maint/gnulib/lib/argp-parse.c parser->try_getopt = 1; parser 718 maint/gnulib/lib/argp-parse.c parser_parse_opt (struct parser *parser, int opt, char *val) parser 731 maint/gnulib/lib/argp-parse.c char *short_index = strchr (parser->short_opts, opt); parser 734 maint/gnulib/lib/argp-parse.c for (group = parser->groups; group < parser->egroup; group++) parser 737 maint/gnulib/lib/argp-parse.c err = group_parse (group, &parser->state, opt, parser 738 maint/gnulib/lib/argp-parse.c parser->opt_data.optarg); parser 749 maint/gnulib/lib/argp-parse.c group_parse (&parser->groups[group_key - 1], &parser->state, parser 750 maint/gnulib/lib/argp-parse.c user_key, parser->opt_data.optarg); parser 761 maint/gnulib/lib/argp-parse.c __argp_error (&parser->state, "-%c: %s", opt, parser 762 maint/gnulib/lib/argp-parse.c dgettext (parser->argp->argp_domain, bad_key_err)); parser 765 maint/gnulib/lib/argp-parse.c struct option *long_opt = parser->long_opts; parser 768 maint/gnulib/lib/argp-parse.c __argp_error (&parser->state, "--%s: %s", parser 770 maint/gnulib/lib/argp-parse.c dgettext (parser->argp->argp_domain, bad_key_err)); parser 782 maint/gnulib/lib/argp-parse.c parser_parse_next (struct parser *parser, int *arg_ebadkey) parser 787 maint/gnulib/lib/argp-parse.c if (parser->state.quoted && parser->state.next < parser->state.quoted) parser 792 maint/gnulib/lib/argp-parse.c parser->state.quoted = 0; parser 794 maint/gnulib/lib/argp-parse.c if (parser->try_getopt && !parser->state.quoted) parser 798 maint/gnulib/lib/argp-parse.c parser->opt_data.optind = parser->state.next; parser 800 maint/gnulib/lib/argp-parse.c parser->opt_data.optopt = KEY_END; parser 801 maint/gnulib/lib/argp-parse.c if (parser->state.flags & ARGP_LONG_ONLY) parser 802 maint/gnulib/lib/argp-parse.c opt = _getopt_long_only_r (parser->state.argc, parser->state.argv, parser 803 maint/gnulib/lib/argp-parse.c parser->short_opts, parser->long_opts, 0, parser 804 maint/gnulib/lib/argp-parse.c &parser->opt_data); parser 806 maint/gnulib/lib/argp-parse.c opt = _getopt_long_r (parser->state.argc, parser->state.argv, parser 807 maint/gnulib/lib/argp-parse.c parser->short_opts, parser->long_opts, 0, parser 808 maint/gnulib/lib/argp-parse.c &parser->opt_data); parser 810 maint/gnulib/lib/argp-parse.c parser->state.next = parser->opt_data.optind; parser 816 maint/gnulib/lib/argp-parse.c parser->try_getopt = 0; parser 817 maint/gnulib/lib/argp-parse.c if (parser->state.next > 1 parser 818 maint/gnulib/lib/argp-parse.c && strcmp (parser->state.argv[parser->state.next - 1], QUOTE) parser 824 maint/gnulib/lib/argp-parse.c parser->state.quoted = parser->state.next; parser 826 maint/gnulib/lib/argp-parse.c else if (opt == KEY_ERR && parser->opt_data.optopt != KEY_END) parser 841 maint/gnulib/lib/argp-parse.c if (parser->state.next >= parser->state.argc parser 842 maint/gnulib/lib/argp-parse.c || (parser->state.flags & ARGP_NO_ARGS)) parser 852 maint/gnulib/lib/argp-parse.c parser->opt_data.optarg = parser->state.argv[parser->state.next++]; parser 858 maint/gnulib/lib/argp-parse.c err = parser_parse_arg (parser, parser->opt_data.optarg); parser 860 maint/gnulib/lib/argp-parse.c err = parser_parse_opt (parser, opt, parser->opt_data.optarg); parser 878 maint/gnulib/lib/argp-parse.c struct parser parser; parser 922 maint/gnulib/lib/argp-parse.c err = parser_init (&parser, argp, argc, argv, flags, input); parser 928 maint/gnulib/lib/argp-parse.c err = parser_parse_next (&parser, &arg_ebadkey); parser 929 maint/gnulib/lib/argp-parse.c err = parser_finalize (&parser, err, arg_ebadkey, end_index); parser 946 maint/gnulib/lib/argp-parse.c struct parser *parser = state->pstate; parser 948 maint/gnulib/lib/argp-parse.c for (group = parser->groups; group < parser->egroup; group++) parser 229 maint/gnulib/lib/argp.h argp_parser_t parser;