Lines Matching refs:cur_opt
108 const struct option *cur_opt; in rt_init_long() local
141 cur_opt = longopts; in rt_init_long()
142 while (cur_opt && cur_opt->name) { in rt_init_long()
143 if (cur_opt->flag) { in rt_init_long()
145 " is non-null\n", cur_opt->name); in rt_init_long()
148 if (!strchr(all_options, cur_opt->val)) { in rt_init_long()
151 cur_opt->name, cur_opt->val, all_options); in rt_init_long()
154 if (strchr(longopt_vals, cur_opt->val)) { in rt_init_long()
157 cur_opt->name, cur_opt->val); in rt_init_long()
160 if (asprintf(&longopt_vals, "%s%c", longopt_vals, cur_opt->val) in rt_init_long()
165 cur_opt++; in rt_init_long()