Home
last modified time | relevance | path

Searched refs:optlist (Results 1 – 17 of 17) sorted by relevance

/external/toybox/lib/
Dgetmountlist.c89 int comma_scan(char *optlist, char *opt, int clean) in comma_scan() argument
93 if (optlist) for (;;) { in comma_scan()
94 char *s = comma_iterate(&optlist, &len); in comma_scan()
101 if (optlist) memmove(s, optlist, strlen(optlist)+1); in comma_scan()
111 int comma_scanall(char *optlist, char *scanlist) in comma_scanall() argument
118 i = comma_scan(optlist, s, 0); in comma_scanall()
Dlib.h317 int comma_scan(char *optlist, char *opt, int clean);
318 int comma_scanall(char *optlist, char *scanlist);
/external/toybox/toys/posix/
Dsort.c330 char *temp2, *optlist; in sort_main() local
341 optlist = toys.which->options; in sort_main()
342 temp2 = strchr(optlist, *temp); in sort_main()
343 flag = (1<<(optlist-temp2+strlen(optlist)-1)); in sort_main()
/external/python/cpython2/Demo/scripts/
Dpp.py36 optlist, ARGS = getopt.getopt(sys.argv[1:], 'acde:F:np') variable
41 for option, optarg in optlist:
/external/toybox/toys/pending/
Dtraceroute.c540 unsigned char optlist[MAX_IPOPTLEN]; in traceroute_main() local
546 optlist[0] = IPOPT_NOP; in traceroute_main()
547 optlist[1] = IPOPT_LSRR;// loose source route option in traceroute_main()
549 optlist[2] = size + 3; in traceroute_main()
550 optlist[3] = IPOPT_MINOFF; in traceroute_main()
551 memcpy(optlist + 4, TT.gw_list, size); in traceroute_main()
554 (char *)optlist, size + sizeof(TT.gw_list[0])) < 0) in traceroute_main()
/external/python/cpython3/Tools/scripts/
Dobjgraph.py155 optlist, args = getopt.getopt(sys.argv[1:], 'cdu')
168 for opt, void in optlist:
/external/python/cpython2/Tools/scripts/
Dobjgraph.py160 optlist, args = getopt.getopt(sys.argv[1:], 'cdu')
173 for opt, void in optlist:
/external/python/cpython3/Doc/library/
Dgetopt.rst99 >>> optlist, args = getopt.getopt(args, 'abc:d:')
100 >>> optlist
111 >>> optlist, args = getopt.getopt(args, 'x', [
113 >>> optlist
/external/python/cpython2/Doc/library/
Dgetopt.rst104 >>> optlist, args = getopt.getopt(args, 'abc:d:')
105 >>> optlist
116 >>> optlist, args = getopt.getopt(args, 'x', [
118 >>> optlist
/external/python/cpython3/Tools/pybench/
DCommandLine.py428 optlist,files = getopt.getopt(self.arguments,flags,lflags)
438 self.optionlist = optlist
450 for optionname, value in optlist:
/external/python/cpython2/Tools/pybench/
DCommandLine.py424 optlist,files = getopt.getopt(self.arguments,flags,lflags)
434 self.optionlist = optlist
446 for optionname, value in optlist:
/external/libedit/doc/
Dmdoc2man.awk25 optlist=0
/external/toybox/toys/lsb/
Dmount.c51 struct arg_list *optlist; in GLOBALS()
282 for (o = TT.optlist; o; o = o->next) comma_collate(&opts, o->arg); in mount_main()
/external/e2fsprogs/misc/
Dfsck.c815 static int opt_in_list(const char *opt, char *optlist) in opt_in_list() argument
819 if (!optlist) in opt_in_list()
821 list = string_copy(optlist); in opt_in_list()
/external/python/cpython2/Lib/
Dimaplib.py1441 optlist, args = getopt.getopt(sys.argv[1:], 'd:s:') variable
1443 optlist, args = (), () variable
1446 for opt,val in optlist:
/external/python/cpython3/Lib/
Dimaplib.py1511 optlist, args = getopt.getopt(sys.argv[1:], 'd:s:') variable
1513 optlist, args = (), () variable
1516 for opt,val in optlist:
/external/toybox/generated/
Dglobals.h102 struct arg_list *optlist; member