Home
last modified time | relevance | path

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

/external/toybox/lib/
Dcommas.c64 int comma_scan(char *optlist, char *opt, int clean) in comma_scan() argument
68 if (optlist) for (;;) { in comma_scan()
69 char *s = comma_iterate(&optlist, &len); in comma_scan()
76 if (optlist) memmove(s, optlist, strlen(optlist)+1); in comma_scan()
86 int comma_scanall(char *optlist, char *scanlist) in comma_scanall() argument
93 i = comma_scan(optlist, s, 0); in comma_scanall()
Dlib.h340 int comma_scan(char *optlist, char *opt, int clean);
341 int comma_scanall(char *optlist, char *scanlist);
/external/toybox/toys/posix/
Dsort.c328 char *temp2, *optlist; in sort_main() local
339 optlist = toys.which->options; in sort_main()
340 temp2 = strchr(optlist, *temp); in sort_main()
341 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/cpython2/Tools/pybench/
DCommandLine.py424 optlist,files = getopt.getopt(self.arguments,flags,lflags)
434 self.optionlist = optlist
446 for optionname, value in optlist:
/external/openssh/
Dmdoc2man.awk28 optlist=0
/external/toybox/toys/lsb/
Dmount.c60 struct arg_list *optlist; in GLOBALS()
303 for (o = TT.optlist; o; o = o->next) comma_collate(&opts, o->arg); in mount_main()
/external/e2fsprogs/misc/
Dfsck.c822 static int opt_in_list(const char *opt, char *optlist) in opt_in_list() argument
826 if (!optlist) in opt_in_list()
828 list = string_copy(optlist); in opt_in_list()
/external/python/cpython2/Lib/
Dimaplib.py1444 optlist, args = getopt.getopt(sys.argv[1:], 'd:s:') variable
1446 optlist, args = (), () variable
1449 for opt,val in optlist:
/external/python/cpython3/Lib/
Dimaplib.py1519 optlist, args = getopt.getopt(sys.argv[1:], 'd:s:') variable
1521 optlist, args = (), () variable
1524 for opt,val in optlist:
/external/toybox/generated/
Dglobals.h96 struct arg_list *optlist; member