Lines Matching refs:opt_data
276 struct _getopt_data opt_data; member
488 struct _getopt_data opt_data = _GETOPT_DATA_INITIALIZER; in parser_init() local
512 parser->opt_data = opt_data; in parser_init()
558 parser->opt_data.opterr = 0; in parser_init()
565 parser->opt_data.opterr = 1; /* Print error messages. */ in parser_init()
748 parser->opt_data.optarg); in parser_parse_opt()
758 parser->opt_data.optarg); in parser_parse_opt()
805 parser->opt_data.optind = parser->state.next; in parser_parse_next()
807 parser->opt_data.optopt = KEY_END; in parser_parse_next()
811 &parser->opt_data); in parser_parse_next()
815 &parser->opt_data); in parser_parse_next()
817 parser->state.next = parser->opt_data.optind; in parser_parse_next()
833 else if (opt == KEY_ERR && parser->opt_data.optopt != KEY_END) in parser_parse_next()
859 parser->opt_data.optarg = parser->state.argv[parser->state.next++]; in parser_parse_next()
865 err = parser_parse_arg (parser, parser->opt_data.optarg); in parser_parse_next()
867 err = parser_parse_opt (parser, opt, parser->opt_data.optarg); in parser_parse_next()