Lines Matching refs:ordered
811 struct option *opt, *ordered, *group; in options__order() local
817 ordered = malloc(len); in options__order()
818 if (!ordered) in options__order()
820 memcpy(ordered, opts, len); in options__order()
823 for (opt = group = ordered; opt->type != OPTION_END; opt++) { in options__order()
835 return ordered; in options__order()
873 struct option *ordered; in usage_with_options_internal() local
898 ordered = options__order(opts); in usage_with_options_internal()
899 if (ordered) in usage_with_options_internal()
900 opts = ordered; in usage_with_options_internal()
910 free(ordered); in usage_with_options_internal()