Lines Matching refs:cvt

315 		 struct group *group, struct parser_convert_state *cvt)  in convert_options()  argument
338 *cvt->short_end++ = opt->key; in convert_options()
341 *cvt->short_end++ = ':'; in convert_options()
343 *cvt->short_end++ = ':'; in convert_options()
345 *cvt->short_end = '\0'; /* keep 0 terminated */ in convert_options()
349 && find_long_option (cvt->parser->long_opts, opt->name) < 0) in convert_options()
352 cvt->long_end->name = opt->name; in convert_options()
353 cvt->long_end->has_arg = in convert_options()
359 cvt->long_end->flag = 0; in convert_options()
366 cvt->long_end->val = in convert_options()
368 + (((group - cvt->parser->groups) + 1) << USER_BITS); in convert_options()
371 (++cvt->long_end)->name = NULL; in convert_options()
378 group->short_end = cvt->short_end; in convert_options()
393 group->child_inputs = cvt->child_inputs_end; in convert_options()
394 cvt->child_inputs_end += num_children; in convert_options()
407 convert_options (children++->argp, parent, index++, group, cvt); in convert_options()
417 struct parser_convert_state cvt; in parser_convert() local
419 cvt.parser = parser; in parser_convert()
420 cvt.short_end = parser->short_opts; in parser_convert()
421 cvt.long_end = parser->long_opts; in parser_convert()
422 cvt.child_inputs_end = parser->child_inputs; in parser_convert()
425 *cvt.short_end++ = '-'; in parser_convert()
427 *cvt.short_end++ = '+'; in parser_convert()
428 *cvt.short_end = '\0'; in parser_convert()
430 cvt.long_end->name = NULL; in parser_convert()
435 parser->egroup = convert_options (argp, 0, 0, parser->groups, &cvt); in parser_convert()