Searched defs:optargs (Results 1 - 7 of 7) sorted by relevance

/external/toybox/toys/other/
H A Dpwdx.c20 char **optargs; local
22 for (optargs = toys.optargs; *optargs; optargs++) {
25 sprintf(toybuf, "/proc/%d/cwd", atoi(*optargs));
31 xprintf("%s: %s\n", *optargs, path);
H A Dpmap.c27 char **optargs; local
29 for (optargs = toys.optargs; *optargs; optargs++) {
30 pid_t pid = atolx(*optargs);
/external/toybox/toys/example/
H A Dskeleton.c68 char **optargs; local
83 for (optargs = toys.optargs; *optargs; optargs++)
84 printf("optarg=%s\n", *optargs);
/external/elfutils/libcpu/
H A Di386_parse.y241 %type <arg> args optargs
286 instr: bytes ':' bitfieldopt kID bitfieldopt optargs
456 optargs: kSPACE args label
/external/toybox/toys/net/
H A Drfkill.c35 char **optargs = toys.optargs; local
39 if (!strcmp((char *[]){"list", "block", "unblock"}[tvar], *optargs)) break;
40 if (tvar == 3) error_exit("unknown cmd '%s'", *optargs);
52 if (!*++optargs) error_exit("'%s' needs IDENTIFIER", optargs[-1]);
54 if (!strcmp(rftypes[i].name, *optargs)) break;
55 if (i == ARRAY_LEN(rftypes)) idx = atolx_range(*optargs, 0, INT_MAX);
/external/toybox/toys/lsb/
H A Dumount.c109 char **optargs, *pm = "/proc/mounts"; local
137 } else for (optargs = toys.optargs; *optargs; optargs++) {
138 char *abs = xabspath(*optargs, 0);
149 do_umount(abs ? abs : *optargs, ml ? ml->device : 0, flags);
/external/toybox/
H A Dtoys.h104 char **optargs; // Arguments left over from get_optflags() member in struct:toy_context
107 int optc; // Count of optargs

Completed in 421 milliseconds