Home
last modified time | relevance | path

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

/third_party/ltp/lib/
Dparse_opts.c152 char *optionstr; in parse_opts() local
177 optionstr = malloc(optstrlen); in parse_opts()
178 if (!optionstr) in parse_opts()
182 optionstr[0] = '\0'; in parse_opts()
185 strcat(optionstr, std_options[i].optstr); in parse_opts()
189 if (strchr(optionstr, user_optarr[i].option[0]) == NULL) in parse_opts()
190 strcat(optionstr, user_optarr[i].option); in parse_opts()
195 while ((opt = getopt(ac, av, optionstr)) > 0) { in parse_opts()
259 free(optionstr); in parse_opts()
/third_party/python/Lib/
Dconfigparser.py875 def optionxform(self, optionstr): argument
876 return optionstr.lower()