Home
last modified time | relevance | path

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

/third_party/ltp/testcases/realtime/lib/
Dlibrttest.c116 char *all_options; in rt_init_long() local
118 if (asprintf(&all_options, ":b:mp:v:sc:%s", options) == -1) { in rt_init_long()
125 for (i = 0; i < strlen(all_options); i++) { in rt_init_long()
126 char opt = all_options[i]; in rt_init_long()
132 if (strchr(&all_options[i + 1], opt)) { 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()
169 while ((c = getopt_long(argc, argv, all_options, longopts, NULL)) != -1) { in rt_init_long()
229 free(all_options); in rt_init_long()
/third_party/protobuf/src/google/protobuf/
Ddescriptor.cc2353 std::vector<std::string> all_options; in FormatBracketedOptions() local
2354 if (RetrieveOptions(depth, options, pool, &all_options)) { in FormatBracketedOptions()
2355 output->append(Join(all_options, ", ")); in FormatBracketedOptions()
2357 return !all_options.empty(); in FormatBracketedOptions()
2364 std::vector<std::string> all_options; in FormatLineOptions() local
2365 if (RetrieveOptions(depth, options, pool, &all_options)) { in FormatLineOptions()
2366 for (int i = 0; i < all_options.size(); i++) { in FormatLineOptions()
2368 all_options[i]); in FormatLineOptions()
2371 return !all_options.empty(); in FormatLineOptions()