Home
last modified time | relevance | path

Searched refs:cur_opt (Results 1 – 2 of 2) sorted by relevance

/external/ltp/testcases/realtime/lib/
Dlibrttest.c108 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()
[all …]
/external/arm-trusted-firmware/tools/cert_create/src/
Dmain.c305 const char *cur_opt; in main() local
389 cur_opt = cmd_opt_get_name(opt_idx); in main()
390 ext = ext_get_by_opt(cur_opt); in main()
394 cur_opt = cmd_opt_get_name(opt_idx); in main()
395 key = key_get_by_opt(cur_opt); in main()
399 cur_opt = cmd_opt_get_name(opt_idx); in main()
400 cert = cert_get_by_opt(cur_opt); in main()