Home
last modified time | relevance | path

Searched refs:exitval (Results 1 – 25 of 67) sorted by relevance

123

/external/toybox/toys/lsb/
Dpidof.c33 xprintf(" %s"+!!toys.exitval, toybuf);
34 toys.exitval = 0;
41 toys.exitval = 1; in pidof_main()
43 if (!toys.exitval) xputc('\n'); in pidof_main()
/external/toybox/toys/posix/
Dcmp.c44 toys.exitval = 0;
53 toys.exitval = 1;
69 toys.exitval = 1;
80 toys.exitval = 2; in cmp_main()
Dnohup.c24 toys.exitval = 125; in nohup_main()
42 toys.exitval = 0; in nohup_main()
Dtest.c95 toys.exitval = 2; in test_main()
158 toys.exitval = !result; in test_main()
Dfalse.c20 toys.exitval = 1; in false_main()
Dtty.c31 toys.exitval = !tty; in tty_main()
Dsleep.c29 toys.exitval = !!nanosleep(&tv, NULL); in sleep_main()
Dnice.c36 toys.exitval = 125;
Dtee.c66 if(len != writeall(fdl ? fdl->fd : 1, toybuf, len)) toys.exitval=1; in tee_main()
/external/toybox/toys/other/
Dtimeout.c68 toys.exitval = 125; in timeout_main()
88 if (WIFEXITED(status)) toys.exitval = WEXITSTATUS(status); in timeout_main()
89 else if (WTERMSIG(status)==SIGKILL) toys.exitval = 137; in timeout_main()
90 else toys.exitval = FLAG(preserve_status) ? 128+WTERMSIG(status) : 124; in timeout_main()
Dmountpoint.c28 toys.exitval++; in die()
61 toys.exitval = !(st1.st_dev != st2.st_dev || st1.st_ino == st2.st_ino); in mountpoint_main()
65 printf("%s is %sa mountpoint\n", *toys.optargs, toys.exitval ? "not " : ""); in mountpoint_main()
Dreboot.c33 if (toys.optflags & FLAG_f) toys.exitval = reboot(types[idx]); in reboot_main()
34 else toys.exitval = kill(1, sigs[idx]); in reboot_main()
Dnsenter.c140 toys.exitval = xrun(toys.optargs); in unshare_main()
165 toys.exitval = xrun(toys.optargs); in unshare_main()
Dusleep.c25 toys.exitval = !!nanosleep(&tv, NULL); in usleep_main()
Dchroot.c28 toys.exitval = 125; in chroot_main()
Dpwdx.c28 toys.exitval = 1; in pwdx_main()
Dreadlink.c41 } else toys.exitval = 1; in readlink_main()
Dflock.c36 if ((op & LOCK_NB) && errno == EAGAIN) toys.exitval = 1; in flock_main()
Dprintenv.c41 if (*var && !catch) toys.exitval = 1; in printenv_main()
Dwhich.c67 toys.exitval |= which_in_path(toys.optargs[i]); in which_main()
/external/toybox/toys/pending/
Duseradd.c140 toys.exitval = xrun((char *[]){"cp", "-R", skel, p, 0});
141 else toys.exitval = xrun((char *[]){"mkdir", "-p", p, 0});
142 if (!toys.exitval)
143 toys.exitval |= xrun((char *[]){"chown", "-R",
Dsh.c219 cmd->pid = toys.exitval; in run_pipeline()
334 toys.exitval = 1; in sh_main()
Dexpr.c250 toys.exitval = 2; // if exiting early, indicate error in expr_main()
258 toys.exitval = is_false(&ret); in expr_main()
/external/protobuf/jenkins/
Dmake_test_output.py42 exitval = values[6]
43 if int(exitval):
/external/toybox/
Dtoys.h108 char exitval; // Value error_exit feeds to exit() member

123