HomeSort by relevance Sort by last modified time
    Searched refs:optc (Results 1 - 25 of 78) sorted by null

1 2 3 4

  /external/toybox/toys/posix/
ln.c 29 char *dest = toys.optargs[--toys.optc], *new;
34 if (!toys.optc) {
35 toys.optc++;
43 if (toys.optc>1) error_exit("'%s' not a directory", dest);
47 for (i=0; i<toys.optc; i++) {
uuencode.c 25 char *name = toys.optargs[toys.optc-1], buf[(76/4)*3];
29 if (toys.optc > 1) fd = xopenro(toys.optargs[0]);
cal.c 75 if (toys.optc) {
81 tm->tm_year = atolx_range(toys.optargs[--toys.optc], 1, 9999);
85 if (toys.optc) {
86 tm->tm_mon = atolx_range(toys.optargs[--toys.optc], 1, 12);
cksum.c 84 if (toys.optc) printf(" %s", name);
97 if (toys.optc) toys.optc--;
ulimit.c 70 if ((toys.optflags&(FLAG_a|FLAG_p)) && toys.optc) error_exit("can't set -ap");
81 if (!toys.optc) {
107 if (toys.optc) {
head.c 39 if ((toys.optc > 1 && !(toys.optflags & FLAG_q)) || toys.optflags & FLAG_v) {
69 toys.optc--;
xargs.c 130 if (!toys.optc) {
133 toys.optc = 1;
136 for (entries = 0, bytes = -1; entries < toys.optc; entries++, bytes++)
  /external/ltp/testcases/kernel/controllers/cpuset/cpuset_hotplug_test/
cpuset_list_compute.c 33 int optc = 0; local
39 optc++;
46 optc++;
54 if (optc == 2)
57 if (argc == optc + 1) {
60 } else if (argc == optc + 2)
  /external/toybox/toys/other/
ionice.c 62 if (!TT.pid && !toys.optc) error_exit("Need -p or COMMAND");
79 if (toys.optc == 1) {
91 if (!strcmp(toys.optargs[toys.optc-1], classes[TT.class])) break;
92 if (toys.optc == 3 || TT.class == 4) TT.level = atolx(toys.optargs[1]);
taskset.c 73 if (i || toys.optc < 2) return;
102 if (toys.optc < 2) error_exit("Needs 2 args");
107 pid_t pid = strtol(toys.optargs[toys.optc-1], &c, 10);
factor.c 76 if (toys.optc) {
losetup.c 167 if (toys.optc > 1) perror_exit("max 1 arg");
170 if (toys.optc) error_exit("bad args");
176 if (!toys.optc || (file && toys.optc != 2))
inotifyd.c 50 toys.optc--;
111 if (--toys.optc <= 0) {
  /external/toybox/toys/lsb/
killall.c 82 toys.optc--;
86 if (!(toys.optflags & FLAG_l) && !toys.optc) help_exit("no name");
90 TT.err = xmalloc(2*toys.optc);
91 for (i=0; i<toys.optc; i++) TT.err[i] = ESRCH;
93 for (i=0; i<toys.optc; i++) {
seq.c 64 switch (toys.optc) {
67 default: last = parsef(toys.optargs[toys.optc-1]);
mknod.c 47 if (toys.optc != 4) perror_exit("need major/minor");
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
objgraph.py 172 optu = optc = optd = 0
177 optc = 1
180 if optu == optc == optd == 0:
181 optu = optc = optd = 1
192 more = (optu + optc + optd > 1)
201 if optc:
  /external/python/cpython2/Tools/scripts/
objgraph.py 172 optu = optc = optd = 0
177 optc = 1
180 if optu == optc == optd == 0:
181 optu = optc = optd = 1
192 more = (optu + optc + optd > 1)
201 if optc:
  /external/python/cpython3/Tools/scripts/
objgraph.py 167 optu = optc = optd = 0
172 optc = 1
175 if optu == optc == optd == 0:
176 optu = optc = optd = 1
187 more = (optu + optc + optd > 1)
196 if optc:
  /external/toybox/toys/pending/
groupdel.c 25 struct group *grp = xgetgrnam(toys.optargs[toys.optc-1]);
29 if (toys.optc == 2) {
test.c 49 if (!strcmp("]", toys.optargs[--toys.optc])) error_exit("Missing ']'");
53 toys.optc--;
55 if (!toys.optc) toys.exitval = 0;
89 else if (toys.optc == 1) toys.exitval = *toys.optargs[0] == 0;
90 else if (toys.optc == 3) {
groupadd.c 65 if (toys.optflags && toys.optc == 2)
68 if (toys.optc == 2) { //add user to group
  /external/toybox/toys/net/
netcat.c 101 if ((toys.optflags&FLAG_f) ? toys.optc :
102 (!(toys.optflags&(FLAG_l|FLAG_L)) && toys.optc!=2))
147 if (CFG_TOYBOX_FORK && toys.optc && xfork()) goto cleanup;
166 if (toys.optc) {
169 // TODO nommu, and -t only affects server mode...? Only do -t with optc
  /external/mksh/src/
funcs.c 249 int optc; local
253 while ((optc = ksh_getopt(wp, &builtin_opt, "LP")) != -1)
254 switch (optc) {
609 int optc; local
612 while ((optc = ksh_getopt(wp, &builtin_opt, Tpv)) != -1)
613 switch (optc) {
633 int optc, fcflags = FC_BI | FC_FUNC | FC_PATH | FC_WHENCE; local
636 while ((optc = ksh_getopt(wp, &builtin_opt, TpVv)) != -1)
637 switch (optc) {
773 int optc; local
922 int optc, rv = 0; local
1002 int optc, flag = 0, nflag = 0, rv = 0; local
1087 int optc; local
1204 int argc, optc, rv; local
1296 int optc, rv = 0; local
1391 int i, optc; local
2283 int optc, rv = 0; local
2441 int optc, i, j; local
2499 int argc, optc, rv = 0; local
3294 int how = SOFT | HARD, optc, what = 'f'; local
    [all...]
  /external/ltp/testcases/network/stress/ns-tools/
ns-udpclient.c 142 int optc; /* option */ local
168 while ((optc = getopt(argc, argv, "S:f:p:bdh")) != EOF) {
169 switch (optc) {

Completed in 417 milliseconds

1 2 3 4