/external/toybox/toys/other/ |
lsattr.c | 167 if (!*toys.optargs) dirtree_read(".", retell_dir); 169 for (; *toys.optargs; toys.optargs++) { 172 if (lstat(*toys.optargs, &sb)) perror_msg("stat '%s'", *toys.optargs); 174 dirtree_read(*toys.optargs, retell_dir); 175 else print_file_attr(*toys.optargs);// to handle "./Filename" or "./Dir" 301 char **argv = toys.optargs;
|
shred.c | 50 for (try = toys.optargs; *try; try++) { 78 if (++iter == TT.iterations && (toys.optargs && FLAG_z)) {
|
chvt.c | 27 vtnum=atoi(*toys.optargs);
|
factor.c | 79 for (ss = toys.optargs; *ss; ss++) factor(*ss);
|
mkswap.c | 25 int fd = xopen(*toys.optargs, O_RDWR), pagesize = sysconf(_SC_PAGE_SIZE);
|
oneit.c | 103 toy_exec(toys.optargs); 104 execvp(*toys.optargs, toys.optargs); 105 perror_msg("%s not in PATH=%s", *toys.optargs, getenv("PATH"));
|
rmmod.c | 32 mod_name = basename(*toys.optargs);
|
sysctl.c | 124 FILE *fp = xfopen(*toys.optargs ? *toys.optargs : "/etc/sysctl.conf", "r"); 152 if (!*toys.optargs) help_exit(0); 153 for (args = toys.optargs; *args; args++) process_key(*args, 0);
|
/external/toybox/toys/pending/ |
bootchartd.c | 262 if (*toys.optargs) { 263 if (!strcmp("start", *toys.optargs)) bchartd_opt = 1; 264 else if (!strcmp("stop", *toys.optargs)) bchartd_opt = 2; 265 else if (!strcmp("init", *toys.optargs)) bchartd_opt = 3; 266 else error_exit("Unknown option '%s'", *toys.optargs); 296 stop_logging(tmp_dir, bchartd_opt == 1 ? toys.optargs[1] : NULL); 309 if (bchartd_opt == 1 && toys.optargs[1]) { 312 if (!(prog_pid = xfork())) xexec(toys.optargs+1);
|
sh.c | 305 if (toys.optargs != toys.argv+1) free(toys.optargs); 356 char *dest = *toys.optargs ? *toys.optargs : getenv("HOME"); 363 exit(*toys.optargs ? atoi(*toys.optargs) : 0); 373 f = *toys.optargs ? xfopen(*toys.optargs, "r") : NULL;
|
vi.c | 43 if (!(TT.ls = linestack_load(*toys.optargs)))
|
/external/toybox/toys/posix/ |
cat.c | 95 loopfiles(toys.optargs, do_cat); 101 loopfiles(toys.optargs, do_cat);
|
chmod.c | 61 TT.mode = *toys.optargs; 64 for (file = toys.optargs+1; *file; file++) dirtree_read(*file, do_chmod);
|
comm.c | 51 file[i] = strcmp("-", toys.optargs[i]) 52 ? xopen(toys.optargs[i], O_RDONLY) : 0;
|
ln.c | 29 char *dest = toys.optargs[--toys.optc], *new; 49 char *oldnew, *try = toys.optargs[i];
|
wc.c | 44 if (*toys.optargs) xprintf(" %s", name); 102 loopfiles(toys.optargs, do_wc);
|
env.c | 40 for (ev = toys.optargs; *ev; ev++) {
|
mkdir.c | 51 for (s=toys.optargs; *s; s++) {
|
mkfifo.c | 48 for (s = toys.optargs; *s; s++)
|
nice.c | 37 xexec(toys.optargs);
|
renice.c | 28 for (arg = toys.optargs; *arg; arg++) {
|
tee.c | 51 loopfiles_rw(toys.optargs,
|
time.c | 31 if (!(pid = XVFORK())) xexec(toys.optargs);
|
/external/toybox/toys/android/ |
restorecon.c | 43 for (s = toys.optargs; *s; s++)
|
/external/toybox/toys/lsb/ |
pidof.c | 42 names_to_pid(toys.optargs, print_pid);
|