Searched refs:cur_opt (Results 1 – 2 of 2) sorted by relevance
/third_party/ltp/testcases/realtime/lib/ |
D | librttest.c | 109 const struct option *cur_opt; in rt_init_long() local 142 cur_opt = longopts; in rt_init_long() 143 while (cur_opt && cur_opt->name) { in rt_init_long() 144 if (cur_opt->flag) { in rt_init_long() 146 " is non-null\n", cur_opt->name); in rt_init_long() 149 if (!strchr(all_options, cur_opt->val)) { in rt_init_long() 152 cur_opt->name, cur_opt->val, all_options); in rt_init_long() 155 if (strchr(longopt_vals, cur_opt->val)) { in rt_init_long() 158 cur_opt->name, cur_opt->val); in rt_init_long() 161 if (asprintf(&longopt_vals, "%s%c", longopt_vals, cur_opt->val) in rt_init_long() [all …]
|
/third_party/ffmpeg/fftools/ |
D | cmdutils.c | 450 const char *cur_opt = argv[i]; in locate_option() local 452 if (*cur_opt++ != '-') in locate_option() 455 po = find_option(options, cur_opt); in locate_option() 456 if (!po->name && cur_opt[0] == 'n' && cur_opt[1] == 'o') in locate_option() 457 po = find_option(options, cur_opt + 2); in locate_option() 459 if ((!po->name && !strcmp(cur_opt, optname)) || in locate_option()
|