Home
last modified time | relevance | path

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

/external/ltp/testcases/realtime/lib/
Dlibrttest.c115 char *all_options; in rt_init_long() local
117 if (asprintf(&all_options, ":b:mp:v:sc:%s", options) == -1) { in rt_init_long()
124 for (i = 0; i < strlen(all_options); i++) { in rt_init_long()
125 char opt = all_options[i]; in rt_init_long()
131 if (strchr(&all_options[i + 1], opt)) { 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()
168 while ((c = getopt_long(argc, argv, all_options, longopts, NULL)) != -1) { in rt_init_long()
/external/protobuf/src/google/protobuf/
Ddescriptor.cc2331 std::vector<std::string> all_options; in FormatBracketedOptions() local
2332 if (RetrieveOptions(depth, options, pool, &all_options)) { in FormatBracketedOptions()
2333 output->append(Join(all_options, ", ")); in FormatBracketedOptions()
2335 return !all_options.empty(); in FormatBracketedOptions()
2342 std::vector<std::string> all_options; in FormatLineOptions() local
2343 if (RetrieveOptions(depth, options, pool, &all_options)) { in FormatLineOptions()
2344 for (int i = 0; i < all_options.size(); i++) { in FormatLineOptions()
2346 all_options[i]); in FormatLineOptions()
2349 return !all_options.empty(); in FormatLineOptions()