Home
last modified time | relevance | path

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

/external/ltp/lib/
Dparse_opts.c156 char *optionstr; in parse_opts() local
181 optionstr = malloc(optstrlen); in parse_opts()
182 if (!optionstr) in parse_opts()
186 optionstr[0] = '\0'; in parse_opts()
189 strcat(optionstr, std_options[i].optstr); in parse_opts()
193 if (strchr(optionstr, user_optarr[i].option[0]) == NULL) in parse_opts()
194 strcat(optionstr, user_optarr[i].option); in parse_opts()
199 while ((opt = getopt(ac, av, optionstr)) > 0) { in parse_opts()
270 free(optionstr); in parse_opts()
/external/jacoco/org.jacoco.core/src/org/jacoco/core/runtime/
DAgentOptions.java199 public AgentOptions(final String optionstr) { in AgentOptions() argument
201 if (optionstr != null && optionstr.length() > 0) { in AgentOptions()
202 for (final String entry : optionstr.split(",")) { in AgentOptions()
206 "Invalid agent option syntax \"%s\".", optionstr)); in AgentOptions()